Demo entry 6344713

HL7_example

   

Submitted by anonymous on Jan 23, 2017 at 18:09
Language: XML. Code size: 6.8 kB.

	
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--Example copyright 2003 by Health Level Seven, Inc. -->
<Message xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 MCCI_MT000100.xsd">
   <id root="2.16.840.1.113883.1122" extension="CNTRL-3456"/>
   <!-- message ID, [msh.10]  -->
   <creationTime value="200208161430"/>
   <!-- [msh.7]  -->
   <versionId>3.0</versionId>
   <interactionId root="2.16.840.1.113883.19.4.1" extension="POLB_IN004410"/>
   <!-- interaction id= Observation Event Complete, 
      Notification  (POLB_IN004410) source=ORU^R01-->
   <processingCode code="P"/>
   <!-- processing code, [msh.11] -->
   <acceptAckCode code="ER"/>
   <!-- errors only -->
   <applicationAckCode code="ER"/>
   <communicationFunctionRsp>
      <!-- presume "respond_to" is a sending contact -->
      <typeCode code="RSP"/>
      <telecom use="WP" vaue="tel:555-555-5555"/>
      <servedBy>
         <name>
            <family>Hippocrates</family>
            <given>Harold</given>
            <given>H</given>
            <suffix qualifier="AC">MD</suffix>
         </name>
         <telecom use="WP" vaue="tel:555-555-5555"/>
      </servedBy>
   </communicationFunctionRsp>
   <communicationFunctionRcv>
      <typeCode code="RCV"/>
      <telecom value="mllp://127.127.127.0:1234"/>
      <!-- This telecom expression for an IP address and a port is being considered
         for use by HL7 to establish the path fr the lower level protocol. -->
      <deviceRcv>
         <!-- Receiving application, [msh.5] -->
         <id root="2.16.840.1.113883.1122" extension="GHH OE"/>
         <name use="L">
            <given>MyAppliation</given>
         </name>
         <telecom value="tel:555-555-2005" use="H"/>
         <agencyFor>
            <representedOrganization>
               <id root="2.16.840.1.113883.19.3.1001"/>
               <name xsi:type="TN">GHH Outpatient Clinic</name>
            </representedOrganization>
         </agencyFor>
         <location>
            <location>
               <id root="2.16.840.1.113883.1122" extension="BLDG4"/>
               <name xsi:type="TN">GHH Outpatient Clinic</name>
            </location>
         </location>
      </deviceRcv>
   </communicationFunctionRcv>
   <communicationFunctionSnd>
      <typeCode code="SND"/>
      <telecom value="127.127.127.255"/>
      <deviceSnd>
         <!-- sending application, [msh.3] -->
         <id extension="GHH LAB" root="2.16.840.1.113883.1122"/>
         <name use="L">
            <given>YourApplication</given>
         </name>
         <telecom value="tel:555-555-2005" use="H"/>
         <agencyFor>
            <!-- sending facility [msh.4]  -->
            <representedOrganization>
               <id nullFlavor="OTH"/>
            </representedOrganization>
         </agencyFor>
         <location>
            <location>
               <id root="2.16.840.1.113883.1122" extension="ELAB-3"/>
               <name xsi:type="TN">GHH Lab</name>
            </location>
         </location>
      </deviceSnd>
   </communicationFunctionSnd>
   <ControlActProcess classCode="CACT" moodCode="EVN">
      <!--  Message interaction control event wrapper, 
         substituted by the sender -->
      <!-- act control event  -->
      <responseCode code="N"/>
      <overseer typeCode="VRF">
         <COCT_MT090100.AssignedEntity>
            <id root="2.16.840.1.113883.1122" extension="444-444-4444"/>
         </COCT_MT090100.AssignedEntity>
      </overseer>
      <subject>
         <Observation>
            <!-- This is the Observation event at the root of the message -->
            <!--- ID is the filler order number ... -->
            <id root="2.16.840.1.113883.1122" extension="1045813"/>
            <code code="1554-5" codeSystemName="LN"
                 displayName="GLUCOSE^POST 12H
                      CFST:MCNC:PT:SER/PLAS:QN"/>
            <statusCode code="completed"/>
            <!-- time the sample was taken -->
            <effectiveTime>
               <center value="20020215073000"/>
            </effectiveTime>
            <!-- time of the actual lab test -->
            <activityTime>
               <center value="20020215083000"/>
            </activityTime>
            <priorityCode code="R"/>
            <value xsi:type="PQ" value="182" unit="mg/dL"/>
            <interpretationCode code="H"/>
            <author>
               <!-- this is the signatory author -->
               <!-- time of signature -->
               <time value="20020816093000"/>
               <modeCode code="WRITTEN"/>
               <!-- signature is on file -->
               <signatureCode code="S"/>
               <COCT_MT090000.AssignedEntity>
                  <id root="2.16.840.1.113883.1122" extension="444-444-4444"/>
                  <assigneePerson>
                     <name use="L" xsi:type="PN">
                        <family>Hippocrates</family>
                        <given>Harold</given>
                        <given>H</given>
                        <suffix qualifier="AC">MD</suffix>
                     </name>
                  </assigneePerson>
               </COCT_MT090000.AssignedEntity>
            </author>
            <recordTarget>
               <COCT_MT050000.Patient>
                  <id root="2.16.840.1.113883.1122" extension="375913"/>
                  <patientPerson>
                     <!-- Ohio DL -->
                     <id root="2.16.840.1.113883.1122" extension="444-22-2222"
                          validTime="-20030520" displayable="true"/>
                     <name use="L" xsi:type="PN">
                        <family>Everywoman</family>
                        <given>Eve</given>
                        <given>E</given>
                     </name>
                  </patientPerson>
               </COCT_MT050000.Patient>
            </recordTarget>
            <inFulfillmentOf>
               <!-- placer order -->
               <priorObservationOrderOrPromiseStub>
                  <id root="2.16.840.1.113883.1122" extension="845439" displayable="true"/>
                  <code code="1554-5" codeSystemName="LN" displayName="Serum Glucose"/>
               </priorObservationOrderOrPromiseStub>
            </inFulfillmentOf>
            <referenceRange>
               <referenceInterpretationRange>
                  <value xsi:type="IVL_PQ">
                     <low value="70" unit="mg/dL"/>
                     <high value="105" unit="mg/dL"/>
                  </value>
               </referenceInterpretationRange>
            </referenceRange>
         </Observation>
      </subject>
   </ControlActProcess>
</Message>

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).