SlideShare a Scribd company logo
1 of 62
Introduction to HL7 V2.5
                                Standard




Tuesday, June 09, 2009                    Bhaski - The Warrior Group   1
    Interoperability : Ability of two or systems or
     components to exchange information and use
     the information that has been exchanged
       [ source : IEEE Standard Computer Dictionary
       : A Compilation of IEEE Standard Computer
        Glossaries, IEEE, 1990]
    Functional interoperability - Message format
     and content
    Semantic interoperability - Terms (SNOMED-CT,
     LOINC), units
    Service (Business) Interoperability – SOA, HISA
    Vision : Plug and play (PnP)
Tuesday, June 09, 2009                                 2
    Computers work by matching
    Cannot handle the unexpected
    Easier to send than to receive
    Testing, Testing, Testing
    (N2 - N)/2 = Number of interface N

                                     Benefits of
                                     Standards




Tuesday, June 09, 2009                             3
    Reduce Cost
    Reduce Risk
    Competition (avoidance of lock-in)
    Change control (real costs of upgrades)
    Quality (leveling up)
    Compliance testing



Tuesday, June 09, 2009                         4
    OSI Level 7
    Organization
    Standards
    HL7 is a Language (s)
    • Syntax (Grammar)
    • Semantics (Words)



Tuesday, June 09, 2009       5
    Layer 7 - Application - network processes for
     application
    Layer 6 - Presentation - Data Representation
    Layer 5 - Session - Interhost communication
    Layer 4 - Transport - End-to-end connections
    Layer 3 - Network - Addresses and best path
    Layer 2 - Data Link - Access to media
    Layer 1 - Physical - Binary transmission

Tuesday, June 09, 2009                               6
Tuesday, June 09, 2009   7
Tuesday, June 09, 2009   8
    1988 - present (backwards compatible)
    Very widely used in hospitals
    Position-dependent syntax
    EVN||20040627||||20040601
    PID|||567890^^^CXH^PI~9999999484^^^NHS
    Local tailoring of Z-segments
    “If you have seen one implementation, then
     you have
    seen one implementation”
Tuesday, June 09, 2009                            9
    Message
    Segment
    Field
    Data Type (may repeat)
    Component
    SubComponent



Tuesday, June 09, 2009        10
   MESSAGE SYNTAX
   SEG –1..1
   [ SEG ] – 0..1
   { SEG } – 1..*
   { [ SEG ] } – 0..*




Tuesday, June 09, 2009   11
  DELIMITERS
• Defined at start of MSH segment
• Segment terminator is carriage return (hex 0D)
| (vertical bar): field separator
~(tilde): repetition separator
^ (caret): component separator
& (ampersand): subcomponent separator
 (backslash): escape character
Always start
   MSH|^~&|MegaReg|XYZHospC|SuperOE| |2.5|

Tuesday, June 09, 2009                             12
1. Introduction          11. Patient Referral
2. Control              12. Patient Care
3. ADT                   13. Laboratory Automation
4. Orders                14. Application Management
5. Query                  15. Personnel Management
6. Financial Management
7. Observation Reporting
8. Master Files
9. Medical Records
10. Scheduling

 Tuesday, June 09, 2009                               13
     Data Definition Tables
     Lower Layer Protocols
     Network Management
     BNF Message Descriptions
     Glossary




Tuesday, June 09, 2009           14
    HL7 V2.4, V2.5, V2.5.1(Lab test results),
     V2.6, V2.7(Device communication)




Tuesday, June 09, 2009                           15
Chapter 2 of the HL7 V2.x Standard



Tuesday, June 09, 2009                                        16
 Defines the generic rules that apply to all
  messages
 The Key: How to read the rest of the
  specification
 HL7 Encoding Rules: what the !@#$ are those
  |^& in my data stream?
 The programming procedures required to
  exchange all messages
 Standard conformance profiling rules for
  message
 specification
Tuesday, June 09, 2009                          17
    Expects ISO OSI Level 7. If not, lower level
     protocols are available:
      Ad hoc w/o basic transport (RS-232) – LLP
      Robust export but not level 7(TCP-IP)-MLLP
    Expects the following:
      Error free transmission
      Character conversion
      No assumed maximum message length

Tuesday, June 09, 2009                              18
Tuesday, June 09, 2009   19
Tuesday, June 09, 2009   20
    A real world event that necessitates an
     exchange of information.




Tuesday, June 09, 2009                         21
    An atomic unit of data transferred between
     systems.
    A Message Type defines its domain.
    A Trigger Event defines the reason for the
     exchange.




Tuesday, June 09, 2009                            22
    A 3-character code contained within each
     message that identifies its type or domain.




Tuesday, June 09, 2009                             23
 One message type can have many different
  trigger event codes.
 A trigger event code may not be associated
  with
 more than one message type.




Tuesday, June 09, 2009                         24
  A message is comprised of a group
  of segments in a defined sequence.




Tuesday, June 09, 2009                 25
 Information about the message
 (MSH)
 Information about the patient
  PID, AL1, PV1)
 Information about the order
 (ORC, order detail segment,
  OBX, BLG)




Tuesday, June 09, 2009            26
    Segments of a message:
      are identified by a unique three
       character code known as the
       Segment ID.
      Can be required
          MSH is ALWAYS required!
    May be optional [..]
    May repeat {…}


Tuesday, June 09, 2009                    27
    A logical grouping of data field PID segment
     Definition (Partial)




Tuesday, June 09, 2009                              28
    SEQuence – the order of an element within the
     segment
    Max LENgth
    Data Type
    OPTionality:
       R - Required - Too few of these!
       O- Optional- Too many of these !
       C- Conditional-Based on what?
       X- Don’t use
       B- Retained for backwards compatibility
       W-Withdrawn


Tuesday, June 09, 2009                               29
    RP/# = Repetition:
       N-No or Y-Yes; may designate number of repetitions
    TBL# = Table Number
       A unique identifier for a table of values used by the
        data element
       HL7 defined values
       User defined values
       Externally defined values
 ITEM# - a unique identifier for the HL7 data
  element
 ELEMENT NAME

Tuesday, June 09, 2009                                          30
Messages are made up of segments
which are made up of fields which may have
components which may have sub-components.




Tuesday, June 09, 2009                       31
    An HL7 field is a set of characters defined by an
    HL7 data type. For example, marital status.
    PID.15 (data type CWE)




Tuesday, June 09, 2009                                   32
    A field entry may also have parts called
     components. For example, the patient’s
     name has components such as
      last name
      first name
      middle name or initial
    Components may be further divided into
     sub-components.

Tuesday, June 09, 2009                          33
Tuesday, June 09, 2009   34
    To determine the exact representation of an abstract
     message, one applies the HL7 encoding rules defined in
     Chapter 2 to the abstract definition from the functional
     chapter (example - Chapter 3, Patient Administration).




Tuesday, June 09, 2009                                      35
MSH|^~&|RegSys|Genhosp|LabSys|Genhosp|200812242336|
Security|ADT^A01^ADT_A01|MSG00001|P|2.6|||AL|NE<CR>
EVN|A01|200812242333<CR>
PID|||ID12345^^^^MR~ID12345001^^^^AN~123456789^^^^SS||
   Jones^William^A^III||19810615|M||C|
1200 N. Elm St.^Greensboro^NC^27401-1020|GL|
(919)555-1212|(919)555-3434||S||ID12345001|
123-45-6789|987654^NC<CR>
NK1|Jones^Barbara^K|Wife<CR>
PV1|1|I|2000^2012^01||||004777^Lieber^Sidney^J.|||Sur<CR>




  Tuesday, June 09, 2009                                    36
    In a message certain encoding characters delimit the
     constructs.
      The Segment Terminator <CR>
      The Field Separator |
      The Component Separator ^

       The Sub-Component Separator &

       The Repetition Character ~

       The Escape Character 

Tuesday, June 09, 2009                                      37
 The Encoding Characters are specified immediately
  following the segment ID in the MSH Segment.
 With the exception of the segment terminator,
 delimiter values are at the discretion of the sender.
 Most senders use the suggested values.




Tuesday, June 09, 2009                                   38
 The HL7 field separator marks the beginning of a
 data field within an HL7 segment.
 It always follows the segment ID to indicate the
  first data field in the segment.

                                |



Tuesday, June 09, 2009                               39
    Used to separate adjacent components within a field.
    The data type defines whether a field has
     components.


                                        ^


Tuesday, June 09, 2009                                      40
     Used to separate occurrences of a repeating field.
     The “repetitions” are of a common structure (like rows
      in a database) defined by the data type. The content of
      each repetition may be (and usually is) different.


                                        ~

    Tuesday, June 09, 2009                                      41
    Used in alphanumeric fields defined by data
     types ST, TX or FT
    Used for highlighting
    Used to escape the other delimiters
    Used for hex character representation
    Must both precede and follow the
     character(s) being escaped

                            
Tuesday, June 09, 2009                             42
Tuesday, June 09, 2009   43
 Used to separate adjacent subcomponents.
 The data type defines whether the components of a
  field have subcomponents.
 When a component of a data type is itself a data type
  with components, its parts will be expressed as
  subcomponents of the full data type.




                                     &
Tuesday, June 09, 2009                                    44
 Is the last character of EVERY segment.
 Is ALWAYS the ASCII CR character (hex 0D).
 Is NEVER omitted.
 Can NEVER be changed.




                            <CR>
Tuesday, June 09, 2009                         45
Tuesday, June 09, 2009   46
Tuesday, June 09, 2009   47
Tuesday, June 09, 2009   48
    If components, subcomponents, or repetitions at the
     end of a data field are ‘not present’, their separators
     may be omitted


    If no more fields are present in a segment, the data
    field separators may be omitted




          Padding doesn’t violate the rules, it’s just not good practice!


Tuesday, June 09, 2009                                                      49
    End each segment with the REQUIRED
     segment terminator




Tuesday, June 09, 2009                    50
    Rule 1: Ignore the unexpected

    Rule 2: If it’s not there, assume it’s not
     present.




Tuesday, June 09, 2009                            51
    Ignore segments, fields, components,
     subcomponents, and repetitions of a field that
     are present but not expected.




Tuesday, June 09, 2009                                52
    Treat fields, components, subcomponents, and
     repetitions that are expected but not sent as not
     present.
       DON’T break the interface
       DO return an ERR segment in the acknowledgment
          message for each required field that is missing
    Treat segments that were expected but not sent
     as
     consisting entirely of fields that were not sent.
       Example: If the PR1 procedure segment is not sent on
          a discharge, assume that procedure info is not present -
          do NOT assume it’s NULL.


Tuesday, June 09, 2009                                               53
    New messages may be introduced in subsequent
     versions.
  New segments may be introduced and placed
     anywhere in an existing message structure in
     subsequent versions.
  In subsequent versions new F/C/S/R - can only be
     introduced at the end of a segment, field,
     component, or repetition list.
  Data types can only be extended in subsequent
     versions by adding components to the end.
  Non-repeating field can become repeating, but first
     repetition meaning should remain the same.
Tuesday, June 09, 2009                                   54
    Retained for backwards compatibility only”
     designates fields no longer recommended for
     use, but retained as place holders. These
     fields may need to be valued to support prior
     versions.
    Obsolete message elements may be
     withdrawn when they are no longer referred
     to by other parts of the Standard: e.g.,
     superseded data types such as CE.
Tuesday, June 09, 2009                               55
Data Types




Tuesday, June 09, 2009                56
Here are the ones that occur most frequently:
    Alphanumeric (ST TX FT SRT)
    Numeric (CQ MO NM SI SN)
    Identifier (ID IS HD EI RP PL PT
    VID)
    Date/Time (DT TM DTM)
    Coded Values (CF CN CX XCN
    CNE CWE)
    Demographics (XAD XPN
    XON XTN SAD FN)
    Price Data (CP)
    ADT/Finance (FC)
    Extended Queries (QSC QIP RCD)
    Master Files (DLN JCC VH)
    Medical Records (PPN)
    Time Series (DR RI SCV TQ)
Tuesday, June 09, 2009                          57
Tuesday, June 09, 2009   58
    Original Mode
       Application Level Acknowledgements
       Version 2.1
    Enhanced Mode
       Accept and Application Level
       Acknowledgements
       Version 2.2+




Tuesday, June 09, 2009                       59
    Original Mode (only mode in V2.1)
    Application acknowledgment only




Tuesday, June 09, 2009                   60
    Enhanced Mode (available in V2.2 and later)
       Allows accept/commit and application
        acknowledgments
       Supports interface engine use cases




Tuesday, June 09, 2009                             61
Tuesday, June 09, 2009   62

More Related Content

Viewers also liked

씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...bark man
 
레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...
레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...
레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...bark man
 
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...bark man
 
Baby one more time
Baby one more timeBaby one more time
Baby one more timecharlcooke
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence Muhammad Ahad
 
2014 Standards and Certification Criteria 2014 Edition
2014 Standards and Certification Criteria 2014 Edition2014 Standards and Certification Criteria 2014 Edition
2014 Standards and Certification Criteria 2014 EditionBrian Ahier
 
Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...
Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...
Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...Health IT Conference – iHT2
 
Information+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in Riga
Information+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in RigaInformation+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in Riga
Information+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in Rigachronaki
 
Interoperability Standards: The Key to Mobile Data
Interoperability Standards:The Key to Mobile DataInteroperability Standards:The Key to Mobile Data
Interoperability Standards: The Key to Mobile DataFrancisco J Grajales III
 
HL7 Interface Lifecycle Management at Interconnected Health 2012
HL7 Interface Lifecycle Management at Interconnected Health 2012HL7 Interface Lifecycle Management at Interconnected Health 2012
HL7 Interface Lifecycle Management at Interconnected Health 2012Caristix
 
Public Health Information Model Standards
Public Health Information Model StandardsPublic Health Information Model Standards
Public Health Information Model StandardsJason Siegel
 
Vishal_Mahajan_Updated
Vishal_Mahajan_UpdatedVishal_Mahajan_Updated
Vishal_Mahajan_UpdatedVishal Mahajan
 

Viewers also liked (20)

씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 작용,씨알리스 차이,씨알리스 강간뉴스,씨알리스 냄새,씨알리스 새로운 오르가즘...
 
레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...
레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...
레비트라 구입방법 카톡:DDF11 & DDF11.KR 레비트라 50mg구입,레비트라 정품구하는방법,레비트라 거래,레비트라 조치법,레비트라 ...
 
kat resume
kat resumekat resume
kat resume
 
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...
씨알리스 구입방법 카톡:DDF11 & DDF11.KR 씨알리스 구합니다,씨알리스 50mg구입처,씨알리스 20mg정품구입처,씨알리스 50mg...
 
Portfolio 2016
Portfolio 2016Portfolio 2016
Portfolio 2016
 
Baby one more time
Baby one more timeBaby one more time
Baby one more time
 
AccountResumeS Lisa
AccountResumeS LisaAccountResumeS Lisa
AccountResumeS Lisa
 
Unidad 6 d. penal 301
Unidad  6 d. penal 301Unidad  6 d. penal 301
Unidad 6 d. penal 301
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Ciclo de Vida e Impacto Ambiental
Ciclo de Vida e Impacto AmbientalCiclo de Vida e Impacto Ambiental
Ciclo de Vida e Impacto Ambiental
 
2014 Standards and Certification Criteria 2014 Edition
2014 Standards and Certification Criteria 2014 Edition2014 Standards and Certification Criteria 2014 Edition
2014 Standards and Certification Criteria 2014 Edition
 
Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...
Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...
Health IT Summit Austin 2013 - Case Study "Enabling Data Interoperability thr...
 
Information+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in Riga
Information+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in RigaInformation+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in Riga
Information+Integration ? Innovation an HL7/EFMI/HIMSS @eHealthweek2015 in Riga
 
Interoperability Standards: The Key to Mobile Data
Interoperability Standards:The Key to Mobile DataInteroperability Standards:The Key to Mobile Data
Interoperability Standards: The Key to Mobile Data
 
HL7 Interface Lifecycle Management at Interconnected Health 2012
HL7 Interface Lifecycle Management at Interconnected Health 2012HL7 Interface Lifecycle Management at Interconnected Health 2012
HL7 Interface Lifecycle Management at Interconnected Health 2012
 
El paradigma de la sustentabilidad
El paradigma de la sustentabilidadEl paradigma de la sustentabilidad
El paradigma de la sustentabilidad
 
Public Health Information Model Standards
Public Health Information Model StandardsPublic Health Information Model Standards
Public Health Information Model Standards
 
Hl7 Message Standard
Hl7 Message StandardHl7 Message Standard
Hl7 Message Standard
 
HL7 Standards
HL7 StandardsHL7 Standards
HL7 Standards
 
Vishal_Mahajan_Updated
Vishal_Mahajan_UpdatedVishal_Mahajan_Updated
Vishal_Mahajan_Updated
 

Similar to HL7 Interface

Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...
Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...
Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...IRJET Journal
 
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting TechniqueLossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting TechniqueIRJET Journal
 
Abap programming overview
Abap programming overview Abap programming overview
Abap programming overview k kartheek
 
Combinational logic circuits
Combinational logic circuitsCombinational logic circuits
Combinational logic circuitsAswiniT3
 
Autonomous Learning for Autonomous Systems, by Prof. Plamen Angelov
Autonomous Learning for Autonomous Systems, by Prof. Plamen AngelovAutonomous Learning for Autonomous Systems, by Prof. Plamen Angelov
Autonomous Learning for Autonomous Systems, by Prof. Plamen AngelovJenny Midwinter
 
OpenSees: Future Directions
OpenSees: Future DirectionsOpenSees: Future Directions
OpenSees: Future Directionsopenseesdays
 
FUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGN
FUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGNFUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGN
FUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGNPankaj Singh
 
Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...NECST Lab @ Politecnico di Milano
 
ICWE2017 BigDataEurope
ICWE2017 BigDataEuropeICWE2017 BigDataEurope
ICWE2017 BigDataEuropeBigData_Europe
 
The DEBS Grand Challenge 2017
The DEBS Grand Challenge 2017The DEBS Grand Challenge 2017
The DEBS Grand Challenge 2017Roman Katerinenko
 
Data Compression Project Presentation
Data Compression Project PresentationData Compression Project Presentation
Data Compression Project PresentationMyuran Kanga, MS, MBA
 
Xml processing-by-asfak
Xml processing-by-asfakXml processing-by-asfak
Xml processing-by-asfakAsfak Mahamud
 
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobilNLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobilDatabricks
 
Cisco Connect Toronto 2017 - Model-driven Telemetry
Cisco Connect Toronto 2017 - Model-driven TelemetryCisco Connect Toronto 2017 - Model-driven Telemetry
Cisco Connect Toronto 2017 - Model-driven TelemetryCisco Canada
 

Similar to HL7 Interface (20)

Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...
Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...
Performance Analysis, Designing and Testing 512 Bit Sram Memory Chip Using Xi...
 
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting TechniqueLossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
Lossless Data Compression Using Rice Algorithm Based On Curve Fitting Technique
 
Abap programming overview
Abap programming overview Abap programming overview
Abap programming overview
 
Combinational logic circuits
Combinational logic circuitsCombinational logic circuits
Combinational logic circuits
 
8th Semester Computer Science (2013-June) Question Papers
8th Semester Computer Science (2013-June) Question Papers8th Semester Computer Science (2013-June) Question Papers
8th Semester Computer Science (2013-June) Question Papers
 
Odp
OdpOdp
Odp
 
Autonomous Learning for Autonomous Systems, by Prof. Plamen Angelov
Autonomous Learning for Autonomous Systems, by Prof. Plamen AngelovAutonomous Learning for Autonomous Systems, by Prof. Plamen Angelov
Autonomous Learning for Autonomous Systems, by Prof. Plamen Angelov
 
Log4 J
Log4 JLog4 J
Log4 J
 
OpenSees: Future Directions
OpenSees: Future DirectionsOpenSees: Future Directions
OpenSees: Future Directions
 
FUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGN
FUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGNFUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGN
FUSION APU & TRENDS/ CHALLENGES IN FUTURE SoC DESIGN
 
Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...Pretzel: optimized Machine Learning framework for low-latency and high throug...
Pretzel: optimized Machine Learning framework for low-latency and high throug...
 
ICWE2017 BigDataEurope
ICWE2017 BigDataEuropeICWE2017 BigDataEurope
ICWE2017 BigDataEurope
 
Type-safe DSLs
Type-safe DSLsType-safe DSLs
Type-safe DSLs
 
The DEBS Grand Challenge 2017
The DEBS Grand Challenge 2017The DEBS Grand Challenge 2017
The DEBS Grand Challenge 2017
 
Data Compression Project Presentation
Data Compression Project PresentationData Compression Project Presentation
Data Compression Project Presentation
 
50120130406023
5012013040602350120130406023
50120130406023
 
Xml processing-by-asfak
Xml processing-by-asfakXml processing-by-asfak
Xml processing-by-asfak
 
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobilNLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
NLP-Focused Applied ML at Scale for Global Fleet Analytics at ExxonMobil
 
J1067783
J1067783J1067783
J1067783
 
Cisco Connect Toronto 2017 - Model-driven Telemetry
Cisco Connect Toronto 2017 - Model-driven TelemetryCisco Connect Toronto 2017 - Model-driven Telemetry
Cisco Connect Toronto 2017 - Model-driven Telemetry
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

HL7 Interface

  • 1. Introduction to HL7 V2.5 Standard Tuesday, June 09, 2009 Bhaski - The Warrior Group 1
  • 2. Interoperability : Ability of two or systems or components to exchange information and use the information that has been exchanged [ source : IEEE Standard Computer Dictionary : A Compilation of IEEE Standard Computer Glossaries, IEEE, 1990]  Functional interoperability - Message format and content  Semantic interoperability - Terms (SNOMED-CT, LOINC), units  Service (Business) Interoperability – SOA, HISA  Vision : Plug and play (PnP) Tuesday, June 09, 2009 2
  • 3. Computers work by matching  Cannot handle the unexpected  Easier to send than to receive  Testing, Testing, Testing  (N2 - N)/2 = Number of interface N Benefits of Standards Tuesday, June 09, 2009 3
  • 4. Reduce Cost  Reduce Risk  Competition (avoidance of lock-in)  Change control (real costs of upgrades)  Quality (leveling up)  Compliance testing Tuesday, June 09, 2009 4
  • 5. OSI Level 7  Organization  Standards  HL7 is a Language (s)  • Syntax (Grammar)  • Semantics (Words) Tuesday, June 09, 2009 5
  • 6. Layer 7 - Application - network processes for application  Layer 6 - Presentation - Data Representation  Layer 5 - Session - Interhost communication  Layer 4 - Transport - End-to-end connections  Layer 3 - Network - Addresses and best path  Layer 2 - Data Link - Access to media  Layer 1 - Physical - Binary transmission Tuesday, June 09, 2009 6
  • 9. 1988 - present (backwards compatible)  Very widely used in hospitals  Position-dependent syntax  EVN||20040627||||20040601  PID|||567890^^^CXH^PI~9999999484^^^NHS  Local tailoring of Z-segments  “If you have seen one implementation, then you have  seen one implementation” Tuesday, June 09, 2009 9
  • 10. Message  Segment  Field  Data Type (may repeat)  Component  SubComponent Tuesday, June 09, 2009 10
  • 11. MESSAGE SYNTAX  SEG –1..1  [ SEG ] – 0..1  { SEG } – 1..*  { [ SEG ] } – 0..* Tuesday, June 09, 2009 11
  • 12.  DELIMITERS • Defined at start of MSH segment • Segment terminator is carriage return (hex 0D) | (vertical bar): field separator ~(tilde): repetition separator ^ (caret): component separator & (ampersand): subcomponent separator (backslash): escape character Always start MSH|^~&|MegaReg|XYZHospC|SuperOE| |2.5| Tuesday, June 09, 2009 12
  • 13. 1. Introduction 11. Patient Referral 2. Control 12. Patient Care 3. ADT 13. Laboratory Automation 4. Orders 14. Application Management 5. Query 15. Personnel Management 6. Financial Management 7. Observation Reporting 8. Master Files 9. Medical Records 10. Scheduling Tuesday, June 09, 2009 13
  • 14. Data Definition Tables  Lower Layer Protocols  Network Management  BNF Message Descriptions  Glossary Tuesday, June 09, 2009 14
  • 15. HL7 V2.4, V2.5, V2.5.1(Lab test results), V2.6, V2.7(Device communication) Tuesday, June 09, 2009 15
  • 16. Chapter 2 of the HL7 V2.x Standard Tuesday, June 09, 2009 16
  • 17.  Defines the generic rules that apply to all messages  The Key: How to read the rest of the specification  HL7 Encoding Rules: what the !@#$ are those |^& in my data stream?  The programming procedures required to exchange all messages  Standard conformance profiling rules for message specification Tuesday, June 09, 2009 17
  • 18. Expects ISO OSI Level 7. If not, lower level protocols are available: Ad hoc w/o basic transport (RS-232) – LLP Robust export but not level 7(TCP-IP)-MLLP  Expects the following: Error free transmission Character conversion No assumed maximum message length Tuesday, June 09, 2009 18
  • 19. Tuesday, June 09, 2009 19
  • 20. Tuesday, June 09, 2009 20
  • 21. A real world event that necessitates an exchange of information. Tuesday, June 09, 2009 21
  • 22. An atomic unit of data transferred between systems.  A Message Type defines its domain.  A Trigger Event defines the reason for the exchange. Tuesday, June 09, 2009 22
  • 23. A 3-character code contained within each message that identifies its type or domain. Tuesday, June 09, 2009 23
  • 24.  One message type can have many different trigger event codes.  A trigger event code may not be associated with more than one message type. Tuesday, June 09, 2009 24
  • 25.  A message is comprised of a group of segments in a defined sequence. Tuesday, June 09, 2009 25
  • 26.  Information about the message (MSH)  Information about the patient PID, AL1, PV1)  Information about the order (ORC, order detail segment, OBX, BLG) Tuesday, June 09, 2009 26
  • 27. Segments of a message: are identified by a unique three character code known as the Segment ID. Can be required MSH is ALWAYS required!  May be optional [..]  May repeat {…} Tuesday, June 09, 2009 27
  • 28. A logical grouping of data field PID segment Definition (Partial) Tuesday, June 09, 2009 28
  • 29. SEQuence – the order of an element within the segment  Max LENgth  Data Type  OPTionality:  R - Required - Too few of these!  O- Optional- Too many of these !  C- Conditional-Based on what?  X- Don’t use  B- Retained for backwards compatibility  W-Withdrawn Tuesday, June 09, 2009 29
  • 30. RP/# = Repetition:  N-No or Y-Yes; may designate number of repetitions  TBL# = Table Number  A unique identifier for a table of values used by the data element  HL7 defined values  User defined values  Externally defined values  ITEM# - a unique identifier for the HL7 data element  ELEMENT NAME Tuesday, June 09, 2009 30
  • 31. Messages are made up of segments which are made up of fields which may have components which may have sub-components. Tuesday, June 09, 2009 31
  • 32. An HL7 field is a set of characters defined by an HL7 data type. For example, marital status. PID.15 (data type CWE) Tuesday, June 09, 2009 32
  • 33. A field entry may also have parts called components. For example, the patient’s name has components such as last name first name middle name or initial  Components may be further divided into sub-components. Tuesday, June 09, 2009 33
  • 34. Tuesday, June 09, 2009 34
  • 35. To determine the exact representation of an abstract message, one applies the HL7 encoding rules defined in Chapter 2 to the abstract definition from the functional chapter (example - Chapter 3, Patient Administration). Tuesday, June 09, 2009 35
  • 36. MSH|^~&|RegSys|Genhosp|LabSys|Genhosp|200812242336| Security|ADT^A01^ADT_A01|MSG00001|P|2.6|||AL|NE<CR> EVN|A01|200812242333<CR> PID|||ID12345^^^^MR~ID12345001^^^^AN~123456789^^^^SS|| Jones^William^A^III||19810615|M||C| 1200 N. Elm St.^Greensboro^NC^27401-1020|GL| (919)555-1212|(919)555-3434||S||ID12345001| 123-45-6789|987654^NC<CR> NK1|Jones^Barbara^K|Wife<CR> PV1|1|I|2000^2012^01||||004777^Lieber^Sidney^J.|||Sur<CR> Tuesday, June 09, 2009 36
  • 37. In a message certain encoding characters delimit the constructs.  The Segment Terminator <CR>  The Field Separator |  The Component Separator ^  The Sub-Component Separator &  The Repetition Character ~  The Escape Character Tuesday, June 09, 2009 37
  • 38.  The Encoding Characters are specified immediately following the segment ID in the MSH Segment.  With the exception of the segment terminator, delimiter values are at the discretion of the sender.  Most senders use the suggested values. Tuesday, June 09, 2009 38
  • 39.  The HL7 field separator marks the beginning of a data field within an HL7 segment.  It always follows the segment ID to indicate the first data field in the segment. | Tuesday, June 09, 2009 39
  • 40. Used to separate adjacent components within a field.  The data type defines whether a field has components. ^ Tuesday, June 09, 2009 40
  • 41. Used to separate occurrences of a repeating field.  The “repetitions” are of a common structure (like rows in a database) defined by the data type. The content of each repetition may be (and usually is) different. ~ Tuesday, June 09, 2009 41
  • 42. Used in alphanumeric fields defined by data types ST, TX or FT  Used for highlighting  Used to escape the other delimiters  Used for hex character representation  Must both precede and follow the character(s) being escaped Tuesday, June 09, 2009 42
  • 43. Tuesday, June 09, 2009 43
  • 44.  Used to separate adjacent subcomponents.  The data type defines whether the components of a field have subcomponents.  When a component of a data type is itself a data type with components, its parts will be expressed as subcomponents of the full data type. & Tuesday, June 09, 2009 44
  • 45.  Is the last character of EVERY segment.  Is ALWAYS the ASCII CR character (hex 0D).  Is NEVER omitted.  Can NEVER be changed. <CR> Tuesday, June 09, 2009 45
  • 46. Tuesday, June 09, 2009 46
  • 47. Tuesday, June 09, 2009 47
  • 48. Tuesday, June 09, 2009 48
  • 49. If components, subcomponents, or repetitions at the end of a data field are ‘not present’, their separators may be omitted If no more fields are present in a segment, the data field separators may be omitted Padding doesn’t violate the rules, it’s just not good practice! Tuesday, June 09, 2009 49
  • 50. End each segment with the REQUIRED segment terminator Tuesday, June 09, 2009 50
  • 51. Rule 1: Ignore the unexpected  Rule 2: If it’s not there, assume it’s not present. Tuesday, June 09, 2009 51
  • 52. Ignore segments, fields, components, subcomponents, and repetitions of a field that are present but not expected. Tuesday, June 09, 2009 52
  • 53. Treat fields, components, subcomponents, and repetitions that are expected but not sent as not present.  DON’T break the interface  DO return an ERR segment in the acknowledgment message for each required field that is missing  Treat segments that were expected but not sent as consisting entirely of fields that were not sent.  Example: If the PR1 procedure segment is not sent on a discharge, assume that procedure info is not present - do NOT assume it’s NULL. Tuesday, June 09, 2009 53
  • 54. New messages may be introduced in subsequent versions.  New segments may be introduced and placed anywhere in an existing message structure in subsequent versions.  In subsequent versions new F/C/S/R - can only be introduced at the end of a segment, field, component, or repetition list.  Data types can only be extended in subsequent versions by adding components to the end.  Non-repeating field can become repeating, but first repetition meaning should remain the same. Tuesday, June 09, 2009 54
  • 55. Retained for backwards compatibility only” designates fields no longer recommended for use, but retained as place holders. These fields may need to be valued to support prior versions.  Obsolete message elements may be withdrawn when they are no longer referred to by other parts of the Standard: e.g., superseded data types such as CE. Tuesday, June 09, 2009 55
  • 57. Here are the ones that occur most frequently:  Alphanumeric (ST TX FT SRT)  Numeric (CQ MO NM SI SN)  Identifier (ID IS HD EI RP PL PT  VID)  Date/Time (DT TM DTM)  Coded Values (CF CN CX XCN  CNE CWE)  Demographics (XAD XPN  XON XTN SAD FN)  Price Data (CP)  ADT/Finance (FC)  Extended Queries (QSC QIP RCD)  Master Files (DLN JCC VH)  Medical Records (PPN)  Time Series (DR RI SCV TQ) Tuesday, June 09, 2009 57
  • 58. Tuesday, June 09, 2009 58
  • 59. Original Mode  Application Level Acknowledgements  Version 2.1  Enhanced Mode  Accept and Application Level Acknowledgements  Version 2.2+ Tuesday, June 09, 2009 59
  • 60. Original Mode (only mode in V2.1)  Application acknowledgment only Tuesday, June 09, 2009 60
  • 61. Enhanced Mode (available in V2.2 and later)  Allows accept/commit and application acknowledgments  Supports interface engine use cases Tuesday, June 09, 2009 61
  • 62. Tuesday, June 09, 2009 62