HL7 message examples

Source: Internet
Author: User
Summary

This whitepaper contains 2 use case descriptions. each Use Case cocould be supported by either the HL7 v2.x or the HL7 V3 messaging standard. each example use case has two example messages associated with it: A HL7 v2.x message, and its functional equivalent in V3. the whitepaper aims to show some of the differences as well as similarities between example v2.x and V3 message instances.

1. Introduction

This whitepaper has the aim to restrict strate how V2 message strcutures are present in V3, and vice versa. as you're probably aware of, HL7 V3 is not backwards compatible with the v2.x standard although some of the message constructs (e.g. data Types) are similar in nature. nevertheless, all use cases supported by v2.x are supported by V3. Not that it is not the intent of this whitepaper to discuss migration issues from v2.x to V3, nor to discuss the circumstances where using V3 may be more appropriate than v2.x as a messaging standard. it merely attempts to show some of the similarities between v2.x and V3 using message examples.

2. Laboratory Results Use Case

This section contains an example business use case related to a laboratory results message, as well as a v2.4 and a V3 representation. the V3 message is based upon the normative XML its 1.0 and schema from the May 2006 informative edition of HL7 V3. the use case is the completion of a serum glucose Laboratory Result of 182 mg/dl authored by Howard H. hippocrates. the laboratory test was ordered by Patricia primary for patient Eve E. everywoman. the use case takes place in the US realm.

2.1 The v2.4 message

the v2.4 representation of the use-case is a ORU ^ R01 message. the syntax encoding is based on the classic HL7 V2 syntax, commonly referred to as the vertical-bar syntax. the MSH (message header) segment contains the message type, in this case, Oru ^ R01, which identifies the message type and the trigger event. the sender is the ghh lab in ELAB-3. the processing application is the ghh OE system located in bldg4. the message was sent on. the MSH segment is the initial segment of the message structure.

MSH | ^ ~ \ & | Ghh lab | ELAB-3 | ghh OE | bldg4 | 200202150930 | ORU ^ R01 | CNTRL-3456 | p | 2.4 PID | 555-44-4444 | everywoman ^ Eve ^ e ^ ^ L | Jones | 19620320 | f | 153 Fernwood dr. ^ Statesville ^ Oh ^ 35292 | (206) 3345232 | (206) 752-121 | ac555444444 | 67-a4335 ^ Oh ^ 20030520 obr | 1 | 845439 ^ ghh OE | 1045813 ^ ghh lab | 15545 ^ glucose | 200202150730 | | 555-55-5555 ^ primary ^ Patricia P ^ MD ^ | f | 444-44-4444 ^ Hippocrates ^ Howard H ^ ^ MD obx | 1 | Sn | 1554-5 ^ glucose ^ Post 12 h CFST: mcnc: Pt: Ser/Plas: Qn ||^ 182 | mg/dl | 70_105 | H ||| F

The PID (Patient Identification) segment contains the demographic information of the patient. eve E. everywoman was born on 1962-03-20 and lives in Statesville Oh. her patient id number (presumably assigned to her by the good health hospned) is 555-44-4444.

The obr (observation request) segment identifies the observation as it was orignally ordered: 15545 ^ glucose. The observation was ordered by participant primary MD and stored med by Howard Hippocrates Md.

The obx (observation) segment contains the results of the observation: 182 mg/dl.

2.2 The V3 message

The V3 representation of the use case is a polb_in224200 interaction. the root element of the XML instance contains information necessary for its proper validation. the root element is polb_in224200. the XML its version 1.0 uses a single V3 namespace for all instances. all IDS use oids as the method of ensuring global uniqueness. the following object identifiers (oids, not present in the HL7 V2 message) are used within the good health hospwing (ghh ):

    • Ghh application IDs: 2.16.840.1.113883.19.20.2.1
    • Ghh lab interaction IDs: 2.16.840.1.113883.19.20.2.7
    • Ghh location IDs: 2.16.840.1.113883.19.20.2.2
    • Ghh provider (person) IDs: 2.16.840.1.113883.19.20.2.3
    • Ghh patient IDs: 2.16.840.1.113883.19.20.2.5
    • Ghh placer order IDs: 2.16.840.1.113883.19.4262.14
    • Ghh lab filler order IDs: 2.16.840.1.113883.19.00002.4
    • The code system for the observation within the ghh is loinc: 2.16.840.1.113883.6.1
    • USA Social Security Number (SSN): 2.16.840.1.113883.4.1
    • The HL7 interactions type code system: 2.16.840.1.113883.1.6
    • The HL7 trigger event code system: 2.16.840.1.113883.1.8
    • The HL7 confidentialitycode code system: 2.16.840.1.113883.5.25
2.2.1 The V3 message-transmission wrapper

Note that the root element uniquely identifies the message's interaction identifier, in this case, polb_in224200, which identifies the message type, the trigger event, and the caller responsibilities. the processing application is described in the specified ER/device element, the sender/device element and sender/aslocatedentity/location identify the sending application and facility. the caller is the ghh_oe System in bldg4. the sender is ghh_lab at location E-LAB3. the root element wraps the payload, which is the Control Act wrapper for this message.

 
  

  

   
2.2.2 the V3 message-trigger event Control Act wrapper

The message control act is yet another wrapper around the actual message. it represents the trigger event polb_te224200. information about the date and time the trigger event occurred, as well as the responsible parties for the trigger event is not present in this example, even though it cocould be conveyed as part of the wrapper. note that the date and time of the laboratory observation as well as the author of the observation are contained in the domain content and not in the Control Act wrapper.

 


   
2.2.3 the V3 message-domain content

The "domain content" starts with its own root element-observationevent. the elements within specify the type of observation, the ID, the time of the observation, statuscode, and the results. the value for the actual result is shown in the value element. the interpretationcode element shows that the value has been interpreted as high (H), while referencerange provides the normal values for this Participating observation.

 

The parameter Ming provider, mr. harold H Hippocrates, is already ded with his ID and name. there are two levels of information present, the practitioner level and the person level. the ID is on the practitioner level, while the name is on the person level.

 
Harold H Hippocrates MD

The patient, Eve E. everywoman, is also represented with two levels-the patient and the person. the available elements within the patient element are few since this is part of a closely-coupled message (e.g. the address isn't sent ). on the other hand, the ID is available as well as the name, thus providing for at least some form of error checking.

 
Eve e everywoman

The original order for the laboratory observation is referenced by the flfs act relationship named infulfillmentof, which identifies the order by Placer number. this number shocould be used by the operator to match the results to the order. the available elements within the placerorder element are few since this is part of a closely-coupled message (e.g. the details of the ordering provider aren't sent ).

 
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.