Ensemble HL7 Version 3 Development Guide
Sample Routing Production
[Back] 
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

The sample data that you use to run the sample production Demo.HL7v3.Production.InterfaceEngine must actually contain HL7 Version 3.0 messages of type MFMT_IN002101 or QUPA_IN101103, or no messages will be routed. This appendix provides a sample of each type of message.

If you are viewing the book online, you can copy the text of each message into a file with a *.xml extension, and use that as your sample data to run the Demo.HL7v3.Production.InterfaceEngine production. You can find the sample production in the ENSDEMO namespace.
To use the sample production with these files:
  1. Create three directories under the directory into which you installed Ensemble:
  2. Copy your *.xml files to the directory <ensemblesys>\Dev\HL7v3\Source.
  3. Start the Demo.HL7v3.Production.InterfaceEngine production in the ENSDEMO namespace.
  4. Copy your *.xml files to the directory <ensemblesys>\Dev\HL7v3\In. They should disappear when consumed by the production
  5. Look for your transformed *.xml files in the directory <ensemblesys>\Dev\HL7v3\Out.
Sample Message MFMT_IN002101
<MFMT_IN002101>
  <id extension="9223372036854775800" root="2.16.528.1.1007.3.2.700222.1" />
  <creationTime value="2006-01-01 12:00:00PM" />
  <versionCode code="NATCHEZEd2005-Okt" />
  <interactionId extension="MFMT_IN002101" root="2.16.840.1.113883.1.6" />
  <processingCode code="ER" />
  <processingModeCode code="T" />
  <acceptAckCode code="ER" />
<receiver>
<device>
  <id extension="000700856" root="2.16.528.1.1007.3.2" />
<name use="L">
  <given>ZIM Applicatie Regio Utrecht</given>
  </name>
<agencyFor classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
  <id extension="00100100" root="2.16.528.1.1007.3.3" />
<name use="L">
  <given>ZIM Beheersorganisatie Utrecht</given>
  </name>
  </representedOrganization>
  </agencyFor>
  </device>
  </receiver>
<sender>
  <telecom use="WP" value="tel:+31307236354" />
<device>
  <id extension="000700222" root="2.16.528.1.1007.3.2" />
<name use="L">
  <given>ABC-HIS Goodhope Hospital</given>
  </name>
<agencyFor classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
  <id extension="00600862" root="2.16.528.1.1007.3.3" />
<name use="L">
  <given>Goodhope Hospital</given>
  </name>
  </representedOrganization>
  </agencyFor>
  </device>
  </sender>
<ControlActProcess moodCode="EVN">
  <effectiveTime value="20040417" />
<authorOrPerformer typeCode="AUT">
<participant>
<AssignedPerson>
  <id extension="000120450" root="2.16.528.1.1007.3.1" />
<Organization>
  <id extension="00988137" root="2.16.528.1.1007.3.3" />
  </Organization>
  </AssignedPerson>
  </participant>
  </authorOrPerformer>
<overseer typeCode="RESP">
<AssignedPerson>
  <id extension="000120450" root="2.16.528.1.1007.3.1" />
<Organization>
  <id extension="00988137" root="2.16.528.1.1007.3.3" />
  </Organization>
  </AssignedPerson>
  </overseer>
<subject>
<registrationProcess classCode="REG" moodCode="RQO">
  <code code="722933" codeSystem="2.16.840.1.113883.2.4.15.4"
        codeSystemName="ActRegistryCodeNL" displayName="Voorschrift" />
  <statusCode code="active" codeSystem="2.16.840.1.113883.5.14" />
<effectiveTime>
  <low value="20040417" />
  </effectiveTime>
<subject2 typeCode="SUBJ">
<ActReference classCode="SBADM" moodCode="RQO">
  <id extension="9223372036854775800" root="2.16.528.1.1007.3.2.400416.16" />
  <statusCode code="active" />
<recordTarget>
<patient>
  <id extension="000197245" root="2.16.840.1.113883.2.4.6.3" />
  <statusCode code="" />
<Person>
<name use="L">
  <given>Tom</given>
  <prefix qualifier="VV">de</prefix>
  <family>Jong</family>
  </name>
  </Person>
<Organization>
  <id extension="00123456" root="2.16.528.1.1007.3.3" />
  </Organization>
  </patient>
  </recordTarget>
<authorOrPerformer typeCode="AUT">
  <time value="20040417151000" />
<assignedEntity>
  <id extension="0000120450" root="2.16.528.1.1007.3.1" />
<assignedPerson>
  <name />
<LocatedEntity>
  <Place />
  </LocatedEntity>
  </assignedPerson>
<Organization>
  <id extension="00988137" root="2.16.528.1.1007.3.3" />
  </Organization>
  </assignedEntity>
  </authorOrPerformer>
<overseer typeCode="RESP">
<assignedEntity>
  <id extension="000120450" root="2.16.528.1.1007.3.1" />
  <code code="01.015" codeSystem="2.16.840.1.113883.2.4.15.111"
        codeSystemName="RoleCode" displayName="GP" />
<assignedPerson>
  <name />
<LocatedEntity>
  <Place />
  </LocatedEntity>
  </assignedPerson>
<Organization>
  <id extension="00988137" root="2.16.528.1.1007.3.3" />
  </Organization>
  </assignedEntity>
  </overseer>
  </ActReference>
  </subject2>
  </registrationProcess>
  </subject>
  </ControlActProcess>
  </MFMT_IN002101>
Sample Message QUPA_IN101103
<QUPA_IN101103>
 <id extension="1001" root="2.16.528.1.1007.3.2.2.233"/>
 <creationTime value="20040719140000"/>
 <versionCode code="NATCHEZEd2005-Okt"/>
 <interactionId extension="QUPA_IN101103" root="2.16.840.1.113883"/>
 <processingCode code="P"/>
 <processingModeCode code="T"/>
 <acceptAckCode code="ER"/>
 <receiver>
  <telecom use="WP" value="tel:+31299324874"/>
  <device>
   <id extension="000900478" root="2.16.528.1.1007.3.2"/>
   <name use="L">
    <given>ZIM Systeeem regio Utrecht</given>
   </name>
  </device>
 </receiver>
 <sender>
  <telecom use="WP" value="tel:+31307236354"/>
  <device>
   <id extension="1" root="2.16.528.1.1007.3.2"/>
   <name use="L">
    <given>ABC-HIS Goodhope Hospital</given>
   </name>
  </device>
 </sender>
 <ControlActProcess moodCode="EVN">
  <effectiveTime value="20040719135956"/>
  <authorOrPerformer typeCode="AUT">
   <participant>
    <AssignedPerson>
     <id extension="000120450" root="2.16.528.1.1007.3.1"/>
     <Organization>
      <id extension="00304845" root="2.16.528.1.1007.3.2"/>
     </Organization>
    </AssignedPerson>
   </participant>
  </authorOrPerformer>
  <reasonOf>
   <justifiedDetectedIssue>
    <code code="QNAT" codeSystem="2.16.840.1.113883.2.4.5.4"
          codeSystemName="ActCodeNL"/>
    <targetOf>
     <source moodCode="DEF">
      <code code="EMAUTH" codeSystem="2.16.840.1.113883.2.4.5.4"
            codeSystemName="ActCodeNL"/>
     </source>
    </targetOf>
   </justifiedDetectedIssue>
  </reasonOf>
  <queryByParameter>
   <queryId extension="5523264" root="2.16.528.1.1007.3.2.400893.15"/>
   <statusCode code="new"/>
   <person.addr>
    <value>
     <postalCode>1200 BR</postalCode>
    </value>
    <semanticsText>Person.addr</semanticsText>
   </person.addr>
   <person.birthTime>
    <value>
     <center value="19750103"/>
    </value>
    <semanticsText>Person.birthTime</semanticsText>
   </person.birthTime>
  </queryByParameter>
 </ControlActProcess>
</QUPA_IN101103>