Version 2 Messaging Conformance Version 2 Messaging Conformance HL7 Educational Summit Chicago, Illinois Abdul-Malik Shakir Principal Consultant, Shakir.

Slides:



Advertisements
Similar presentations
Healthcare Eligibility Benefit Inquiry & Response (270/271) A High-Level Comparison of v4010A1 to v5010 and The CAQH CORE Operating Rules Help National.
Advertisements

Requirements Engineering Process
Charge Posting Integration Profile Rita Noumeir Ph.D. IHE Planning Committee IHE Technical Committee.
IHE Eye Care Appointment Scheduler Linda Wedemeyer, MD Co-Chair, IHE Eye Care Planning Committee Ophthalmologist, Veterans Health Administration
HL7 V2 Implementation Guide Authoring Tool Proposal
March 7, 2011 COMPARATIVE ANALYSIS HL7 V2.5.1 Implementation Guide: Orders and Observations; Interoperable Laboratory Result Reporting to EHR (US REALM)
2/11/2014 8:44 AM The CDA Release 3 Specification Stack September 2009 HL7 Services-Aware Enterprise Architecture Framework (SAEAF)
HL7 V2 Conformance Testing Robert Snelick NIST January 20 th, 2004
HL7 Templates A means to Manage Complexity. Objectives What is an HL7 Template? What types of constraints can HL7 Templates define? What types of HL7.
© 2010 Health Level Seven ® International. All Rights Reserved. HL7 and Health Level Seven are registered trademarks of Health Level Seven International.
Requirements. UC&R: Phase Compliance model –RIF must define a compliance model that will identify required/optional features Default.
VARTAN – Validation Reporting Templates Jürgen Teutsch, NLR CAATS Workshop, 16-Feb-2006, Lanzarote.
OOAD – Dr. A. Alghamdi Mastering Object-Oriented Analysis and Design with UML Module 3: Requirements Overview Module 3 - Requirements Overview.
Data Standards Comparison via:. Data Standards Expressions The Purpose of Data Modeling Domain Information Models (DIM) The Canonical DIM Model Components.
IHIC 2011 – Orlando, FL Amnon Shabo (Shvo), PhD HL7 Clinical Genomics WG Co-chair and Modeling Facilitator HL7 Structured Documents WG.
HL7 Overview Gliwice January 10 th,  What is HL7?  HL7 in Healthcare Management Systems  Message structure  Message encoding schemes  HL7 tools.
Copyright © 1999, Regenstrief Institute for Health Care XML Representation of Data Types. Gunther Schadow Regenstrief Institute for Health Care.
4/12/2015 7:43 AM HL7 Interoperability Paradigms September 2007 WGM, Atlanta, GA John Koisch, OCTL Consulting Alan Honey, Kaiser Permanente Grahame Grieve,
S&I Framework Testing HL7 V2 Lab Results Interface and RI Pilot Robert Snelick National Institute of Standards and Technology June 23 rd, 2011 Contact:
Database Systems: Design, Implementation, and Management Tenth Edition
SAFER – HEALTHIER – PEOPLE CDC NEDSS Drug Reaction Notification 2 October Page: 1 Notification Messaging to Support FDA Building an HL7 Version.
Requirements Engineering n Elicit requirements from customer  Information and control needs, product function and behavior, overall product performance,
Object-Oriented Analysis and Design
Creating Architectural Descriptions. Outline Standardizing architectural descriptions: The IEEE has published, “Recommended Practice for Architectural.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
© Copyright Eliyahu Brutman Programming Techniques Course.
Sharif University of Technology Session # 7.  Contents  Systems Analysis and Design  Planning the approach  Asking questions and collecting data 
3/18/19990© 1999, Health Level Seven, Inc. Introduction: Vocabulary domains Marital Status –single (never married) –married –divorced –separated “Vocabulary”
The chapter will address the following questions:
10 December, 2013 Katrin Heinze, Bundesbank CEN/WS XBRL CWA1: DPM Meta model CWA1Page 1.
Jason Morrill NCOAUG Training Day February, 2008
Guide to Using Message Maker Robert Snelick National Institute of Standards & Technology (NIST) December 2005
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
Requirements Analysis
National Institute of Standards and Technology 1 Testing and Validating OAGi NDRs Puja Goyal Salifou Sidi Presented to OAGi April 30 th, 2008.
HL7 HL7  Health Level Seven (HL7) is a non-profit organization involved in the development of international healthcare.
IHE Profile – SOA Analysis: In Progress Update Brian McIndoe December 6, 2010.
National Institute of Standards and Technology Technology Administration U.S. Department of Commerce 1 Patient Care Devices Domain Test Effort Integrating.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
Toolkit for Planning an EHR-based Surveillance Program | HL7 Version 2 Messages An Introduction.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Sharing Value Sets (SVS Profile) Ana Estelrich GIP-DMP.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
PHTT 9/30/2014 Digging into SDC DRAFT Version 1. Clinical Care / EHRPublic Health Use PH Trigger Codes Record DX/Problem In EHR Asynchronous Core, “Initial”
Requirements Engineering Methods for Requirements Engineering Lecture-30.
IHE Profile – SOA Analysis: In Progress Update Brian McIndoe January 18, 2011.
National Institute of Standards and Technology Technology Administration U.S. Department of Commerce 1 Patient Care Devices Domain Test Effort Integrating.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
1 Software Requirements l Specifying system functionality and constraints l Chapters 5 and 6 ++
Health eDecisions Use Case 2: CDS Guidance Service Strawman of Core Concepts Use Case 2 1.
Master Data Management & Microsoft Master Data Services Presented By: Jeff Prom Data Architect MCTS - Business Intelligence (2008), Admin (2008), Developer.
16/11/ Web Services Choreography Requirements Presenter: Emilia Cimpian, NUIG-DERI, 07April W3C Working Draft.
LRI Validation Suite Meeting Prototype Tool Demonstration December 20th, 2011.
Winter 2007SEG2101 Chapter 31 Chapter 3 Requirements Specifications.
HL7 Version 3 Veli BICER. Agenda HL7 Problems with Version 2.x HL7 Models Use Case Model Information Model Interaction Model Message Model.
AIRA Interoperability Project Intro Presentation for Conformance & Guidance for Implementation/Testing.
UML - Development Process 1 Software Development Process Using UML.
PIX/PDQ – Today and Tomorrow Vassil Peytchev Epic.
Requirement Elicitation Review – Class 8 Functional Requirements Nonfunctional Requirements Software Requirements document Requirements Validation and.
Case Study: HL7 Conformance in VA Imaging Mike Henderson Principal Consultant Eastern Informatics, Inc.
June, 2006What IHE Delivers 1 IHE Workshop Changing the Way Healthcare Connects Donald Van Syckle DVS Consulting, Inc. Jim Riggi, CTO Medflow, Inc.
Chris K. Kim, MS Information Systems Manager
An Overview of Requirements Engineering Tools and Methodologies*
SysML v2 Formalism: Requirements & Benefits
IHE Eye Care “Charge Posting”
Template library tool and Kestrel training
Daniel Amyot and Jun Biao Yan
Software Requirements Specification (SRS) Template.
Manage Sourcing - Supplier
Presentation transcript:

Version 2 Messaging Conformance Version 2 Messaging Conformance HL7 Educational Summit Chicago, Illinois Abdul-Malik Shakir Principal Consultant, Shakir Consulting July 2005

March 2005V2 Messaging Conformance2 of 122 My HL7 Background Abdul-Malik Shakir Principal Consultant, Shakir Consulting, La Verne, CA HL7 Member since 1991 Three-term Member of the HL7 Board of Directors Co-Chair of the Board Education and Implementation Committees Member of the Board Architectural Review Board Member of the Board Process Improvement Committee Co-Chair of the Modeling & Methodology Technical Committee

March 2005V2 Messaging Conformance3 of 122 Session Outline Part I Background HL7: What, and Why Message Profile: Why and When Message Profiles: What and How Concepts and Constituents Levels and Examples Part II Messaging Workbench What and Why Features and Use Reports and Examples Contacts and Help CADHS ELR Project Project Scope Message Profiles

March 2005V2 Messaging Conformance4 of 122 Health Level Seven What and Why

March 2005V2 Messaging Conformance5 of 122 An HL7 Messaging Scenario: Why User Interface Program Module Program Module Dataset User Interface Program Module Program Module Dataset Message Creation Message Parsing A to B Transformation A to B Transformation Message Parsing Message Creation B to A Transformation B to A Transformation Order Entry Application System Laboratory Application System Lab Order Transaction Order Entry Application System Laboratory Application System Lab Result Transaction

March 2005V2 Messaging Conformance6 of 122 Reaching the Limits of Application Interfaces Lab Order Entry ADT Pharmacy Radiology Decision Support Decision Support Electronic Health Record Electronic Health Record Administrative Systems Administrative Systems ? Enterprise Systems Enterprise Systems ? External Systems External Systems ?

March 2005V2 Messaging Conformance7 of 122 Health Level Seven: Why The number of interfaces between N systems is given by the formula (N 2 -N)/2. Linking 2 systems only needs 1 interface, (2 2 – 2) / 2 = 1; Linking 6 systems needs as many as 15 interfaces, (6 2 – 6) / 2 = 15 The benefits of using the HL7 standard increase rapidly with the number of systems involved.

March 2005V2 Messaging Conformance8 of 122 Abstract Message Specification MSHMessage Header EVNEvent Type PIDPatient Identification [PD1]Additional Demographics [ { NK1 } ]Next of Kin /Associated Parties PV1Patient Visit [ PV2 ]Patient Visit - Additional Info. … [ { GT1 } ]Guarantor [ { IN1Insurance [ IN2 ]Insurance Additional Info. [ IN3 ] Insurance Add'l Info - Cert. } ] … [ ] optional { } may repeat Segment IDSegment Name

March 2005V2 Messaging Conformance9 of 122 MSH Segment Definition

March 2005V2 Messaging Conformance10 of 122 MSH Segment Definition SEQ - position within segment LEN - length of field DT - data type for field OPT - optionality for field RP/# - repeatability TBL# - table number for codes ITEM# - HL7 element number ELEMENT NAME - name

March 2005V2 Messaging Conformance11 of 122 Sample HL7 v2.x Message Segments MSH: Message Header PID: Patient Identification OBR: Observation Request OBX: Observation Result MSH|^~\&|LABGL1||DMCRES|| ||ORU^R01|LABGL |P|2.3 |||NE|NE PID||| ^Y^C8||Newman^Alfred^E|| |M||W|25 Centscheap Ave^^ Whatmeworry^UT^85201^^P||(555) |(444) ||M|| OBR||110801^LABGL| ^DMCRES| ^CELL COUNTS+DIFFERENTIAL TESTS (COMPOSITE)^LN||| ||35^ML|||||||IN2973^Schadow^Gunther^^^^MD^UPIN ||||||||||^Once||||||CA20837^Spinosa^John^^^^MD^UPIN OBX||NM|4544-3^HEMATOCRIT (AUTOMATED)^LN||45||39-49 |||| F||| ||CA20837 OBX||NM|789-8^ERYTHROCYTES COUNT (AUTOMATED)^LN||4.94|10*12/mm3 | ||||F||| ||CA20837 Delimiters | Field ^ Component & Subcomponent ~ Repetition \ Escape Character

March 2005V2 Messaging Conformance12 of 122 Message Profiles Why and When

March 2005V2 Messaging Conformance13 of 122 Revealing assumptions is an essential component of effective communication. Yes, I do play football. Do you play football? Reveal Assumptions

March 2005V2 Messaging Conformance14 of 122 Message Profiles are an effective means of documenting our assumptions about message structures Yes, I use HL7. Do you use HL7? Reveal Assumptions MSH EVN PID [PD1] [ { NK1 } ] MSH EVN PID [ NK1 ] OBX

March 2005V2 Messaging Conformance15 of 122 Message Profiles provide a language that allows us to unambiguously express our understanding and assumptions about the information in a message structure used in a particular scenario Reduce Ambiguity MSH EVN PID [PD1] [ { NK1 } ]

March 2005V2 Messaging Conformance16 of 122 Sharing message profiles provides an opportunity to identify and reconcile conflicts in our understanding and to validate our assumptions about message structures. Highlight Conflicts MSH EVN PID [PD1] [ { NK1 } ] MSH EVN PID [ NK1 ] OBX

March 2005V2 Messaging Conformance17 of 122 Consolidate Viewpoints Message Profile MSH EVN PID [PD1] [ { NK1 } ] MSH EVN PID [ NK1 ] OBX MSH EVN { PID } [PD1] [ { GT1 } ] MSH EVN { PID } [PD1] [ { NK1 } ] [ { GT1 } ] [ OBX ] Canonical Message Profile

March 2005V2 Messaging Conformance18 of 122 Value of Message Profiling Reveal Assumptions Reduce Ambiguity Highlight Conflicts Consolidate Viewpoints

March 2005V2 Messaging Conformance19 of 122 Compliance and Conformance Compliance Messages that adhere to the rules and conventions for constructing of a specific version of a standard are compliant to that version of the standard. Conformance Messages that adhere to the constraints of a precise and unambiguous specification called a message profile are said to be conformant to the profile. ComplianceConformance

March 2005V2 Messaging Conformance20 of 122 Conformance Project Background Began in 1997 by the HL7 Conformance SIG The SIG, in conjunction with the Andover Working Group (AWG), prepared this specification to: Define the HL7 Message Profile Recommend a specification for defining specific message profiles of HL7 messages Facilitate HL7 interpretation by users familiar with the HL7 standard, reducing interface analysis time and dissatisfaction with the HL7 standard

March 2005V2 Messaging Conformance21 of 122 Conformance SIG HL7 Conformance has two objectives: Interoperability Implementable message profiles Certification Conformance Statement Normative Documentation Chapter 2 Message Profile Schema/DTD Tutorial - education You are invited to participate! Bi-weekly calls List server

March 2005V2 Messaging Conformance22 of 122 Message Profiles What and How

March 2005V2 Messaging Conformance23 of 122 Message Profile Defined Unambiguous specification of a standard HL7 message for use within a particular set of requirements Prescribes a set of precise constraints upon one or more standard messages Supported by use case analysis and interaction modeling Measurable What data will be passed in a message The format in which the data will be passed The acknowledgement responsibilities of the sender and receiver

March 2005V2 Messaging Conformance24 of 122 Message Profile Defined (continued) Based on HL7, although may further constrain Static structure and content of each message The dynamic interactions Parts of a valid message profile Use Case Model Static Definition Dynamic Definition Represented as an XML document Can be registered with HL7 May be reused by other HL7 users May be used for documentation

March 2005V2 Messaging Conformance25 of 122 Conceptual Overview Message Profile = Static Profile + Dynamic Profile Critical Care Unit ADT System Initiating Message Response Message Initiating Message Clinical Data Repository

March 2005V2 Messaging Conformance26 of 122 Use Case Model Documents the scope and requirements for an HL7 Message Profile or set of Message Profiles May include a use case diagram or detailed text Provides a name that clearly and concisely defines the exchange Defines the actors, including the sending and receiving applications Defines the responsibilities of these actors Documents the situations in which the exchange of a particular HL7 Message Profile is required Documents the purpose V3.0 Message Development Framework (MDF 99)

March 2005V2 Messaging Conformance27 of 122 Static Definition A specification for a message structure intended to support the use case Based on a message defined in HL7 Std Defined at the message, segment, and field levels Follows the HL7 rules (chapter 2) May further constrain Identifies only those specific elements used in the exchange Removes all instances of optionality, defining explicitly Segments, segment groups, fields and components usage rules Cardinalities Value sets and coding systems Implementation notes

March 2005V2 Messaging Conformance28 of 122 Static Definition Example... NK1 MSH EVN PID NK1 PV1 PV2 OBX AL1 HL7 Message Structure... NK1 MSH EVN PID NK1 PV1 PV2 OBX AL1 Message Profile Segments/Segment Groups: Usage (Optionality) Cardinality (min, max) Fields/Components: - Usage (Optionality) - Cardinality (min, max) - Value Sets/Coding system - Descriptions

March 2005V2 Messaging Conformance29 of 122 Dynamic Definition Defines interaction between the sender and receiver Acknowledgment mode supported Conditions under which an accept and/or application level acknowledgment is expected Always Never Only on success Only on error Interaction Model Defines specific interactions between the applications that support message profile communication requirements Includes interaction diagrams that illustrate the sequence of trigger event and resulting message flows between the sending and receiving applications Dynamic can refer one to many static definitions

March 2005V2 Messaging Conformance30 of 122 Dynamic Interaction Critical Care Unit HIS/CIS Clinical Data Repository A/D/T System Order Filling Application Accept Ack Accept + App ACK Receiver Responsibility MSH-15,16 No ACK

March 2005V2 Messaging Conformance31 of 122 How it all ties together

March 2005V2 Messaging Conformance32 of 122 Message Profiles Concepts and Constituents

March 2005V2 Messaging Conformance33 of 122 Profiling Concepts Profile Types HL7 Standard Constrainable Implementable Future type to allow for expected receiver behavior Generic term element used Segment groups Segments Fields Components Sub-components Cardinality Usage Message Constituents

March 2005V2 Messaging Conformance34 of 122 Profile Types HL7 Standard Profile represents a specific HL7 published standard creation and publication limited to HL7 use Constrainable May have optionality - not implementable Narrower profiles may be defined based on this Realm Specific (National, Regional, SIGs, etc.) Supplier / Consumer Specific Implementation Further constrained No optionality

March 2005V2 Messaging Conformance35 of 122 Cardinality Identifies minimum and maximum number of repetitions Special values for cardinality Minimum number of repetitions is 0, the element may be omitted from a message The maximum value may have no practical limit (In this case, it may be identified as *)

March 2005V2 Messaging Conformance36 of 122 Cardinality Examples Examples of common cardinality combinations are: Element Cardinality

March 2005V2 Messaging Conformance37 of 122 Usage The circumstances under which an element appears in a message Some elements must always be present others may never be present others may only be present in certain circumstances Rules governing the expected behavior of the sending and limited restrictions on the receiving application with respect to the element

March 2005V2 Messaging Conformance38 of 122 Usage (continued) R - Required A conforming sending application populate all R elements with a non-empty value A conforming receiving application process (save/print/archive/etc.) or ignore the information conveyed by required elements must not raise an error due to the presence of a required element, but may raise an error due to the absence of a required element For complete compatibility with HL7, any element designated as required in a standard HL7 message definition shall also be required in all HL7 Message Profiles of that standard message

March 2005V2 Messaging Conformance39 of 122 Usage (continued) RE - Required but may be empty May be missing from the message, but must be sent by the sending application if there is relevant data A conforming sending application must be capable of providing all RE element if it knows the required values for the element, then it must send that element if the conforming sending application does not know the required values, then element will be omitted A conforming receiving applications will be expected to process (save/print/archive/etc.) or ignore data contained in the element must be able to successfully process the message if the element is omitted (I.e. no error message should be generated because the element is missing

March 2005V2 Messaging Conformance40 of 122 Usage (continued) Optional This code indicates that the Usage for this element has not yet been defined May NOT be used in Implemention profiles (no-optionality profiles) Conformance cannot be tested on an Optional field

March 2005V2 Messaging Conformance41 of 122 Usage (continued) C - Conditional Predicate associated with this element that identifies the conditions under which the element must be present must be testable and based on other values within the message may be expressed as a mathematical expression or in text and may utilize operators such as equivalence, logical AND, logical OR and NOT The conforming sending and receiving applications shall both evaluate the predicate If the predicate is satisfied: See rules for R (Required) If the predicate is NOT satisfied: A conformant sending application must NOT send the element A conformant receiving application must NOT raise an error if the condition predicate is false and the element is not present, though it MAY raise an error if the element IS present

March 2005V2 Messaging Conformance42 of 122 Usage (continued) CE - Conditional but may be empty This usage also has an associated condition predicate similar to Conditional (C) If the predicate is satisfied: See rules for RE (Required but may be empty) If the predicate is not satisfied: The conformant sending application must NOT send the element The conformant receiving application MAY raise an application error if the element IS present X - Not supported Conformant sending applications will NOT send the element Conformant receiving applications MAY ignore the element if it IS present, or may raise an application error

March 2005V2 Messaging Conformance43 of 122 Optionality / Usage Relationship Conformance Usage codes are more specific than HL7 Optionality codes HL7 OptionalityAllowed Conformance UsageComment R - RequiredR O - OptionalR, RE, O*, C, CE, XO is only permitted for constrainable profiles C - ConditionalC, CE, R**, RE**** If satisfied by use case X – Not SupportedX B – Backward Compatibility R, RE, O*, C, CE, XO is only permitted for constrainable profiles W – WithdrawnX

March 2005V2 Messaging Conformance44 of 122 Usage / Cardinality Relationship Both Usage and Cardinality govern the appearance of a field in a message Cardinality constrained by the usage code If Required (R), the minimum and maximum cardinality for the element shall always be >= 1 If the usage of an element is not Required (R) (i.e. any code other than R), the minimum cardinality shall be 0 except in the following condition: where an element will not always be present but, when present, must have a minimum number of repetitions greater than one, this may be indicated by specifying –the non-required Usage code –the minimum cardinality representing the minimum number of repetitions when the element is present.

March 2005V2 Messaging Conformance45 of 122 Usage-Cardinality Combinations

March 2005V2 Messaging Conformance46 of 122 Usage Within Hierarchical Elements Messages are constructed using a hierarchy of elements At least one lower level element must be present for the higher level element to be considered to be present Adds an implicit conditional constraint on elements that enforce the presence of an element Places constraints on what combinations of usage codes may be used within a hierarchy

March 2005V2 Messaging Conformance47 of 122 Message Profiles Levels and Examples

March 2005V2 Messaging Conformance48 of 122 Message Level Profile Segment Definitions The set of segments and segment groups included within the message of an HL7 Message Profile shall be defined Any segments or segment groups that are required by HL7 shall be included Segment Usage Segment Cardinality Profile does not allow for empty segment HL7 abstract message syntax PLUS Usage Cardinality

March 2005V2 Messaging Conformance49 of 122 Message Level Profile Example

March 2005V2 Messaging Conformance50 of 122 Message Level Profile Example

March 2005V2 Messaging Conformance51 of 122 Segment Level Profile The set of fields of each instance of a segment within the Message Profile If a segment occurs multiple times, it may be represented by different segment profiles Field Usage Field Cardinality Null Syntax (tabular HL7 segment definitions) Length (updated) Usage (new column) Cardinality (new column)

March 2005V2 Messaging Conformance52 of 122 Segment Level Profile Example (PID)

March 2005V2 Messaging Conformance53 of 122 Field Level Profile Field definitions Each individual field is completely defined to eliminate any possible ambiguity If HL7 2.x field descriptions are not sufficient, a precise semantic definition shall be specified Exact allowed value set shall be specified Coded Values (ID and IS) HL7 tables (ID) may be extended User defined (IS) may be redefined and/or extended Coded Entry (CE, CF, CWE, and CNE) Composite Data (CM) types Appendix for and 2.4 for XML encoding Deprecated and all CM fields are using new data types as of 2.5

March 2005V2 Messaging Conformance54 of 122 Proposed for v2.6 (in membership ballot) Annotations Implementations (from v2.5) Design Comments Other Vocabulary Definition (collection of tables) Constraints Textual and, optionally, Formal Testable Pattern Matching Element Relationships Condition Predicate (from v2.5)

March 2005V2 Messaging Conformance55 of 122 Profile Registration Tool Message Profile registration utility on the HL7 Members Page of the HL7 WWW ( Valid Conformance Documents (XML) Message Profile Identifier generated Repository of Message Profile Catalogue of Message Profile Users (future) application name and version contact person application role (whether the application sends or receives messages described by the profile) Search Capabilities

March 2005V2 Messaging Conformance56 of 122 Message Profile Identifier Uniquely identifies static and dynamic profile The static profile identifier is a means to uniquely identify a message profile, expressed as an ASN.1 Object Identifier (OID) The sending application uses the profile identifiers to determine the specific HL7 Message Profile to send Branch from ISO to HL7 and Message Profile

March 2005V2 Messaging Conformance57 of 122 Message Profile Pub/Subscribe Topics SeqTopic Element NameValue 1Conformance SIG IDconfsig 2An organization identifierAbbreviated version of the organization name 3The HL7 versionRefer to HL7 Table Version ID for valid valuesHL7 Table Version ID 4Topic Typeprofile 5Accept AcknowledgementThe accept acknowledgement responsibilities.(refer to HL7 Table 0155 – Accept/application acknowledgment conditions for valid values)HL7 Table 0155 – Accept/application acknowledgment conditions 6Application AcknowledgementThe application acknowledgement responsibilities (refer to HL7 Table 0155 – Accept/application acknowledgment conditions for valid values) HL7 Table 0155 – Accept/application acknowledgment conditions 7Acknowledgement ModeDeferred or Immediate An example of message profile publish/subscribe topics: confSig-MyOrganization-2.4-profile-AL-NE-Immediate

March 2005V2 Messaging Conformance58 of 122 MSH-21 Message Profile Identifier Sites may use this field to assert adherence to, or reference, a message profile. Message profiles contain detailed explanations of grammar, syntax, and usage for a particular message or set of messages. Repetition of this field allows more flexibility in creating and naming message profiles. Using repetition, this field can identify a set of message profiles that the message conforms to. the first repetition could reference a vendor's message profile The second could reference another compatible provider's profile or a later version of the first vendor profile. As of v2.5, the HL7 message profile identifiers might be used for conformance claims and/or publish/subscribe systems. Prior to v2.5, the field was called Conformance Statement ID. For backward compatibility, the Conformance Statement ID can be used here.

March 2005V2 Messaging Conformance59 of 122 Certification The process by which an applications conformance claim in verified against the actual application implementation Certification is a very important part of conformance Conducted by providers, national or regional health organizations Not conducted by HL7

March 2005V2 Messaging Conformance60 of 122 Verification (Validation) The process by which message instance(s) are verified against the message profile on which it is based Verification is a very important part of conformance Conducted by providers, national or regional health organizations Not conducted by HL7

March 2005V2 Messaging Conformance61 of 122 Australian Healthcare Messaging Laboratory (

March 2005V2 Messaging Conformance62 of 122 Considerations Message profile is independent of message instance encoding - ER7/XML XML Message Instance It represents an XML document and it contains data and meta-data (tags) as described by its schema/DTD XML DTD/Schema Contains the rules (structure, content, data types, cardinality) for constructing and validating an XML document Version 2.xml specification from XML SIG (informative -> normative)

March 2005V2 Messaging Conformance63 of 122 Conformance Benefits Consistent Documentation Reuse of Specification Lower Cost of Integration Similar to Version 3 Conformance SIG is developing Implementation guide Chaos -> order Site Specific Profiles Supports specific needs Required of third-party application vendors RFP Simplifies introduction/acquisition of new applications

March 2005V2 Messaging Conformance64 of 122 Conformance Support in the HL7 Standard Version 2.4, 2.5, 2.6 MSH:21 Profile identifier OID data type for ASN.1 identifiers Conformance Section Implementation Guide Version 3 At the core of the Message Development Process Chapter 7 of HDF Implementation Guide

March 2005V2 Messaging Conformance65 of 122 Domain Use Case Profiled App Role1 Sends Receives Role1 Sends Receives Role1 Sends Receives Role1 Sends Receives Sends Receives Application Profile Leaf-level Use Cases Analogous to V2.x Profiling Static Message Structures Interaction Model Use Case Model Version 3 Deliverables (for a given domain) HMD Version 3 Conformance (for a given application) Actors V3 Conformance

March 2005V2 Messaging Conformance66 of 122 Break

March 2005V2 Messaging Conformance67 of 122 Messaging Workbench What and Why

March 2005V2 Messaging Conformance68 of 122 The Messaging Workbench (MWB) For those who: Design HL7 2.x messages Manage specification repositories Collaborate on varied messaging projects within and outside of their organizations Free of charge from HL7 Web site ( HL7 -> SIG -> Conformance -> Documents Encouraged by the Conformance SIG Open Source Project Call for participation It will continue to be supported within the VA for the foreseeable future

March 2005V2 Messaging Conformance69 of 122 Design Features - 1 Rapid prototyping of message profiles derived from standard libraries, from profile inheritance or from scratch Quick and easy alteration of existing profiles to meet new requirements Design time comparison of profiles on an element by element basis Linkage of data elements or constants to message elements for a more complete specification

March 2005V2 Messaging Conformance70 of 122 Design Features - 2 Tools for storage and retrieval of profiles as well as updating and customizing message element libraries The ability to capture and analyze ER7 messages Capability to reverse engineer specifications from captured messages. A suite of reports that document specifications and produce example messages in text, xml and html formats Additional style sheets available for PDF

March 2005V2 Messaging Conformance71 of 122 HL7

March 2005V2 Messaging Conformance72 of 122 Constrainable

March 2005V2 Messaging Conformance73 of 122 Constrainable (continued)

March 2005V2 Messaging Conformance74 of 122 Implementation

March 2005V2 Messaging Conformance75 of 122 Message Profile

March 2005V2 Messaging Conformance76 of 122 Messaging Workbench Features and Use

March 2005V2 Messaging Conformance77 of 122 Capture/Analyze Message

March 2005V2 Messaging Conformance78 of 122 Reverse Engineer from Message

March 2005V2 Messaging Conformance79 of 122 New Profile Using Libraries

March 2005V2 Messaging Conformance80 of 122 New Profile Using Libraries (contd)

March 2005V2 Messaging Conformance81 of 122 New Profile Using Libraries (contd)

March 2005V2 Messaging Conformance82 of 122 New Profile Using Libraries (contd)

March 2005V2 Messaging Conformance83 of 122 New Profile Using Libraries (contd)

March 2005V2 Messaging Conformance84 of 122 New Profile using copy/paste

March 2005V2 Messaging Conformance85 of 122 New Profile Copy/Paste (contd)

March 2005V2 Messaging Conformance86 of 122 New Profile Copy/Paste (contd)

March 2005V2 Messaging Conformance87 of 122 Modifying a Profile – HL7

March 2005V2 Messaging Conformance88 of 122 Modifying a Profile – Constrainable

March 2005V2 Messaging Conformance89 of 122 Modifying Profile – Constr (contd)

March 2005V2 Messaging Conformance90 of 122 Modifying Profile – Implementation

March 2005V2 Messaging Conformance91 of 122 Modifying Profile – Impl (contd)

March 2005V2 Messaging Conformance92 of 122 Diagram Drawing Tool

March 2005V2 Messaging Conformance93 of 122 Messaging Workbench Reports and Examples

March 2005V2 Messaging Conformance94 of 122 Reports

March 2005V2 Messaging Conformance95 of 122 Reports (continued)

March 2005V2 Messaging Conformance96 of 122 Reports (continued)

March 2005V2 Messaging Conformance97 of 122 Reports (continued)

March 2005V2 Messaging Conformance98 of 122 Reports (continued)

March 2005V2 Messaging Conformance99 of 122 Reports (continued)

March 2005V2 Messaging Conformance100 of 122 Producing Profile Reports

March 2005V2 Messaging Conformance101 of 122 Producing Profile Reports (contd)

March 2005V2 Messaging Conformance102 of 122 Producing Profile Reports (contd)

March 2005V2 Messaging Conformance103 of 122 Producing Profile Reports (contd) Browser View

March 2005V2 Messaging Conformance104 of 122 Producing Profile Reports (contd)

March 2005V2 Messaging Conformance105 of 122 HL7 Message Profile

March 2005V2 Messaging Conformance106 of 122 Register Profile with HL7

March 2005V2 Messaging Conformance107 of 122 Messaging Workbench Contacts and Help

March 2005V2 Messaging Conformance108 of 122 MWB Contacts The Conformance SIG is interested in your feedback and suggestions for improvement of the tool Conformance SIG list server is a good source for general information about the tool and for making improvement suggestions For specific questions you may also contact Pete Rontey via at

March 2005V2 Messaging Conformance109 of 122 Where to Get More Information MWB On-line help

March 2005V2 Messaging Conformance110 of 122 Where to Get More Info (contd) MWB On-line help (contd)

March 2005V2 Messaging Conformance111 of 122 Where to Get More Info (cont) MWB Updates/Downloads

March 2005V2 Messaging Conformance112 of 122 Where to Get More Info (contd) Conformance Tools Forum at Yahoo Groups

California Department of Health Services Electronic Laboratory Reporting Project

March 2005V2 Messaging Conformance114 of 122 California Electronic Laboratory Reporting System

March 2005V2 Messaging Conformance115 of 122 Inbound Message ProcessingOutbound Message Processing Data Persistence Business Intelligence Functional Areas of the CA-ELR System

March 2005V2 Messaging Conformance116 of 122 California Electronic Laboratory Reporting System Inbound Laboratory Message Inbound Message Profile Transform Translate Inbound Message Mapping Canonical Laboratory Message Canonical Message Profile Transform Translate Outbound Message Mapping Outbound Laboratory Message Outbound Lab Message Supplier Lab Message Consumer Knowledge Management Service Knowledge Management Service Object Graph Generation Laboratory Message Objects Object Relational Mapping Laboratory Message Respository Object Relational Map ELR Database Design Model CA Public Health Logical Data Model HL7 RIM & CDC PHLDM Canonical Message Profile Laboratory Message Object Model Extract, Transform, and Load Laboratory Datamart Business Intelligence Application Business Intelligence Application Business Intelligence Application Message Profile Extract, Transform, and Load Additional Data Sources

March 2005V2 Messaging Conformance117 of 122 Message Profiles Describe message structure and anticipated application behavior Identify required, optional, and conditional message elements Identify coding systems or value-sets for coded elements Enable message validation, transformation, and persistence Are essential for achieving system-to-system interoperability

March 2005V2 Messaging Conformance118 of 122 Message-Level Profile Which Segments are Supported? Which Segments are Required? How are Segments Grouped? What is the order of Segments and Segment groups Which Segments/Segment Groups are repeatable? What is the cardinality of repeating segments/segment Groups?

March 2005V2 Messaging Conformance119 of 122 Segment-Level Profile Which Fields are Supported? Which Fields are Required? What is the order of fields within the segment? What is the datatype of each field? Which fields are repeatable? What is the cardinality of repeating fields? What maximum field length is supported? What value tables are associated with the field?

March 2005V2 Messaging Conformance120 of 122 Field-Level Profile Which Field components are supported? Which Field components are Required? What is the order of components within a field? What is the datatype of each field component? Which fields components are repeatable? What is the cardinality of repeating fields components? What maximum length is supported for field components? What value tables are associated with the field components?

March 2005V2 Messaging Conformance121 of 122 Questions / Discussion / Feedback

March 2005V2 Messaging Conformance122 of 122 Thank You Abdul-Malik Shakir Principal Consultant Shakir Consulting 1911 Foothill Blvd., Suite 148 La Verne, CA Office: (909) Mobile: (626)