Code Search for Developers
 
 
  

DEMO-TestData.xml from HL7v3 Test Harness at Krugle


Show DEMO-TestData.xml syntax highlighted

<?xml version="1.0" encoding="utf-8"?>
<!--  
    Copyright © 1996-2006 by DeltaWare Systems Inc. 

    The GNU General Public License (GPL)
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the 
    Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 
    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->

<configuration>
    <testData BaseDateTime="20060101000001">
        <medicalProfiles>
            <medicalProfile description="DEMO Profile" sequence="v1">
                <patient description="Patient 1"/>
                <items>
                    <prescription description="Prescription(5e79d8bd-abfc-40d5-acf4-8e526e08044f)">
                        <record-id client="5e79d8bd-abfc-40d5-acf4-8e526e08044f" root_OID="DIS_PRESCRIPTION_ID"
                            server="5e79d8bd-abfc-40d5-acf4-8e526e08044f"/>
                        <author description="Physician 2"/>
                        <location description="Physician Office 3"/>
                    </prescription>
                    <dispense description="Dispense(0db8dc96-3dd6-485b-b355-cf717f59c935)">
                        <record-id client="0db8dc96-3dd6-485b-b355-cf717f59c935" root_OID="DIS_DISPENSE_ID"
                            server="0db8dc96-3dd6-485b-b355-cf717f59c935"/>
                        <local-id client="b37581fe-5cdf-48fb-b497-dfdf572f76bd" server="b37581fe-5cdf-48fb-b497-dfdf572f76bd"
                            root_OID="PORTAL_DISPENSE_ID"/>
                        <statusCodecode="completed""/>
                        <author description="Physician 2"/>
                        <location description="Physician Office 3"/>
                        <prescription description="Prescription(5e79d8bd-abfc-40d5-acf4-8e526e08044f)"/>
                        <pickup>
                            <author description="Physician 2"/>
                            <location description="Physician Office 3"/>
                        </pickup>
                    </dispense>
                    <dispense description="Dispense(7b22ded8-29b6-49f1-98ae-30468d09db65)">
                        <record-id client="7b22ded8-29b6-49f1-98ae-30468d09db65" root_OID="DIS_DISPENSE_ID"
                            server="7b22ded8-29b6-49f1-98ae-30468d09db65"/>
                        <local-id client="da2e3d85-9452-45e1-aad9-1a1faefc2327" server="da2e3d85-9452-45e1-aad9-1a1faefc2327"
                            root_OID="PORTAL_DISPENSE_ID"/>
                        <statusCodecode="completed""/>
                        <author description="Physician 2"/>
                        <location description="Physician Office 3"/>
                        <prescription description="Prescription(5e79d8bd-abfc-40d5-acf4-8e526e08044f)"/>
                        <pickup>
                            <author description="Physician 2"/>
                            <location description="Physician Office 3"/>
                        </pickup>
                    </dispense>
                    <allergy description="Allergy(23eea46f-49a2-4c70-813d-386e43fa532d)">
                        <record-id client="23eea46f-49a2-4c70-813d-386e43fa532d" root_OID="DIS_ALLERGY_ID"
                            server="23eea46f-49a2-4c70-813d-386e43fa532d"/>
                        <author description="Physician 2"/>
                        <location description="Physician Office 3"/>
                        <statusCodecode="active""/>
                        <effectiveTime value="19890817"/>
                        <uncertaintyCode code="C"/>
                        <severity code="L"/>
                    </allergy>
                    <!--generated item-->
                    <allergy description="Allergy(5292ba21-d654-422e-a206-36056ba3de66)">
                        <record-id client="5292ba21-d654-422e-a206-36056ba3de66" root_OID="DIS_ALLERGY_ID"
                            server="5292ba21-d654-422e-a206-36056ba3de66"/>
                        <author description="Physician 2"/>
                        <location description="Physician Office 3"/>
                        <statusCodecode="active""/>
                        <effectiveTime value="20040424"/>
                        <uncertaintyCode code="U"/>
                        <severity code="H"/>
                    </allergy>
                </items>
            </medicalProfile>
        </medicalProfiles>
        <patients>
            <patient description="Patient 1" age="-P50Y" OID="PE_PHN">
                <client>
                    <id root="2.1"/>
                    <phn>12345678</phn>
                    <given>Jane</given>
                    <family>Smith</family>
                    <gender>F</gender>
                    <dob>19560307</dob>
                    <addr>
                        <line1>555 Dupont Rd.</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A5G4</postalCode>
                        <country/>
                    </addr>
                </client>
                <server>
                    <id root="2.1"/>
                    <phn>12345679</phn>
                    <given>JaneX</given>
                    <family>Smith</family>
                    <gender>M</gender>
                    <dob>19560308</dob>
                    <addr>
                        <line1>999 Dupont Rd.</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A5G4</postalCode>
                        <country/>
                    </addr>
                </server>
            </patient>
            <patient description="Patient 2" age="-P30Y" OID="PE_PHN">
                <client>
                    <id root="2.1"/>
                    <phn>12345677</phn>
                    <given>Adam</given>
                    <family>Everyman</family>
                    <gender>M</gender>
                    <dob>19760525</dob>
                    <telecom>9025551111</telecom>
                    <addr>
                        <line1>20 Everywhere St.</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A1X1</postalCode>
                        <country>Canada</country>
                    </addr>
                </client>
                <server>
                    <id root="2.1"/>
                    <phn>12345699</phn>
                    <given>AdamX</given>
                    <family>Everyman</family>
                    <gender>F</gender>
                    <dob>19750901</dob>
                    <telecom>9025552222</telecom>
                    <addr>
                        <line1>99 Everywhere St.</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A1X1</postalCode>
                        <country>CanadaX</country>
                    </addr>
                </server>
            </patient>
            <patient description="Patient 3" age="-P57Y" OID="PE_PHN">
                <client>
                    <id root="2.1"/>
                    <phn>12345666</phn>
                    <given>Lisa</given>
                    <family>Littlewoman</family>
                    <gender>F</gender>
                    <dob>19490525</dob>
                    <telecom>9025551112</telecom>
                    <addr>
                        <line1>500 Passmore Drive</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A1X1</postalCode>
                        <country>Canada</country>
                    </addr>
                    <keyword>j135p</keyword>
                </client>
                <server>
                    <id root="2.1"/>
                    <phn>12345999</phn>
                    <given>LisaX</given>
                    <family>Littlewoman</family>
                    <gender>M</gender>
                    <dob>19490108</dob>
                    <telecom>9025559992</telecom>
                    <addr>
                        <line1>999 Passmore Drive</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A1X1</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <keyword>j135pX</keyword>
                </server>
            </patient>
            <patient description="Patient 4" age="-P6M" OID="PE_PHN">
                <client>
                    <id root="2.1"/>
                    <phn>12345555</phn>
                    <given>Matthew</given>
                    <family>Littleguy</family>
                    <gender>M</gender>
                    <dob>20051125</dob>
                    <telecom>9025667777</telecom>
                    <addr>
                        <line1>231 Avery Rd</line1>
                        <line2/>
                        <city>Summerside</city>
                        <state>PEI</state>
                        <postalCode>C1N5G5</postalCode>
                        <country>Canada</country>
                    </addr>
                </client>
                <server>
                    <id root="2.1"/>
                    <phn>12349999</phn>
                    <given>MatthewX</given>
                    <family>Littleguy</family>
                    <gender>F</gender>
                    <dob>20051101</dob>
                    <telecom>9025669999</telecom>
                    <addr>
                        <line1>999 Avery Rd</line1>
                        <line2/>
                        <city>SummersideX</city>
                        <state>PEX</state>
                        <postalCode>X1N5G5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                </server>
            </patient>
            <patient description="Patient 5" age="-P7Y" OID="PE_PHN">
                <client>
                    <id root="2.1"/>
                    <phn>12347777</phn>
                    <given>John</given>
                    <family>Joseph</family>
                    <gender>M</gender>
                    <dob>19990525</dob>
                    <telecom>9022221111</telecom>
                    <addr>
                        <line1>10 Mason Rd</line1>
                        <line2/>
                        <city>Stratford</city>
                        <state>PEI</state>
                        <postalCode>C1B6H3</postalCode>
                        <country>Canada</country>
                    </addr>
                </client>
                <server>
                    <id root="2.1"/>
                    <phn>12347799</phn>
                    <given>JohnX</given>
                    <family>Joseph</family>
                    <gender>F</gender>
                    <dob>19990426</dob>
                    <telecom>9022229999</telecom>
                    <addr>
                        <line1>99 Mason Rd</line1>
                        <line2/>
                        <city>StratfordX</city>
                        <state>PEX</state>
                        <postalCode>X1B6H3</postalCode>
                        <country>CanadaX</country>
                    </addr>
                </server>
            </patient>
            <patient description="Patient 6" age="-P49Y" OID="PE_PHN">
                <client>
                    <id root="2.1"/>
                    <phn>00112201</phn>
                    <given>Joe</given>
                    <family>Smith</family>
                    <gender>M</gender>
                    <dob>19550307</dob>
                    <addr>
                        <line1>555 Dupont Rd.</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A5G4</postalCode>
                        <country/>
                    </addr>
                </client>
                <server>
                    <id root="2.1"/>
                    <phn>00112202</phn>
                    <given>JoeX</given>
                    <family>Smith</family>
                    <gender>F</gender>
                    <dob>19550408</dob>
                    <addr>
                        <line1>999 Dupont Rd.</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A5G4</postalCode>
                        <country/>
                    </addr>
                </server>
            </patient>
        </patients>
        <providers>
            <provider description="Physician 1" OID="DEPT_HEALTH_BILLING_NUMBER">
                <client>
                    <id root="2.15" extension="258"/>
                    <role>Physician</role>
                    <given>Dr. Rankin</given>
                    <family>Sethi</family>
                </client>
                <server>
                    <id root="2.15" extension="259"/>
                    <role>Physician</role>
                    <given>Dr. Rankin</given>
                    <family>SethiX</family>
                </server>
            </provider>
            <provider description="Physician 2" OID="DEPT_HEALTH_BILLING_NUMBER">
                <client>
                    <id root="2.15" extension="3"/>
                    <role>Physician</role>
                    <given>Dr. Kirklyn</given>
                    <family>Saunderson</family>
                </client>
                <server>
                    <id root="2.15" extension="9"/>
                    <role>Physician</role>
                    <given>Dr. Kirklyn</given>
                    <family>SaundersonX</family>
                </server>
            </provider>
            <provider description="Physician 3" OID="DEPT_HEALTH_BILLING_NUMBER">
                <client>
                    <id root="2.15" extension="6"/>
                    <role>Physician</role>
                    <given>Dr Bevin</given>
                    <family>Hodgkinson</family>
                </client>
                <server>
                    <id root="2.15" extension="7"/>
                    <role>Physician</role>
                    <given>Dr Bevin</given>
                    <family>HodgkinsonX</family>
                </server>
            </provider>
            <provider description="Physician 4" OID="DEPT_HEALTH_BILLING_NUMBER">
                <client>
                    <id root="2.15" extension="13"/>
                    <role>Physician</role>
                    <given>Dr. Jayson</given>
                    <family>Berrourad</family>
                </client>
                <server>
                    <id root="2.15" extension="19"/>
                    <role>Physician</role>
                    <given>Dr. Jayson</given>
                    <family>BerrouradX</family>
                </server>
            </provider>
            <provider description="Pharmacist 1" OID="DEPT_HEALTH_PHARMACIST_ID">
                <client>
                    <id root="2.16" extension="94102"/>
                    <role>Pharmacist</role>
                    <given>Ann Lynn</given>
                    <family>Glynn</family>
                </client>
                <server>
                    <id root="2.16" extension="94103"/>
                    <role>Pharmacist</role>
                    <given>Ann LynnX</given>
                    <family>Glynn</family>
                </server>
            </provider>
            <provider description="Pharmacist 2" OID="DEPT_HEALTH_PHARMACIST_ID">
                <client>
                    <id root="2.16" extension="9423"/>
                    <role>Pharmacist</role>
                    <given>Sherma</given>
                    <family>Swant</family>
                </client>
                <server>
                    <id root="2.16" extension="9429"/>
                    <role>Pharmacist</role>
                    <given>ShermaX</given>
                    <family>Swant</family>
                </server>
            </provider>
            <provider description="Pharmacist 3" OID="DEPT_HEALTH_PHARMACIST_ID">
                <client>
                    <id root="2.16" extension="9431"/>
                    <role>Pharmacist</role>
                    <given>Ulysse</given>
                    <family>Galt</family>
                </client>
                <server>
                    <id root="2.16" extension="9439"/>
                    <role>Pharmacist</role>
                    <given>UlysseX</given>
                    <family>Galt</family>
                </server>
            </provider>
            <provider description="Pharmacist 4" OID="DEPT_HEALTH_PHARMACIST_ID">
                <client>
                    <id root="2.16" extension="9433"/>
                    <role>Pharmacist</role>
                    <given>Manoel</given>
                    <family>Womell</family>
                </client>
                <server>
                    <id root="2.16" extension="9438"/>
                    <role>Pharmacist</role>
                    <given>ManoelX</given>
                    <family>Womell</family>
                </server>
            </provider>
        </providers>
        <serviceDeliveryLocations>
            <location description="Pharmacy 1" OID="DEPT_HEALTH_PHARMACY_ID">
                <client>
                    <id root="2.14" extension="0000400507"/>
                    <name>Sherwood Drug Mart</name>
                    <addr>
                        <line1>19 BrakeleyPoint Rd</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A5G5</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9025555151</telecom>
                </client>
                <server>
                    <id root="2.14" extension="0000400508"/>
                    <name>Sherwood Drug MartX</name>
                    <addr>
                        <line1>99 BrakeleyPoint Rd</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A5G5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9025555159</telecom>
                </server>
            </location>
            <location description="Pharmacy 2" OID="DEPT_HEALTH_PHARMACY_ID">
                <client>
                    <id root="2.14" extension="0000441287"/>
                    <name>Shoppers Drug Mart</name>
                    <addr>
                        <line1>500 University Avenue</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A5G8</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9023332626</telecom>
                </client>
                <server>
                    <id root="2.14" extension="0000441288"/>
                    <name>Shoppers Drug MartX</name>
                    <addr>
                        <line1>599 University Avenue</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A5G8</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9023332699</telecom>
                </server>
            </location>
            <location description="Pharmacy 3" OID="DEPT_HEALTH_PHARMACY_ID">
                <client>
                    <id root="2.14" extension="0000441055"/>
                    <name>Lawton's Drugs</name>
                    <addr>
                        <line1>21 Brakely Point Rd</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A5G5</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9024642525</telecom>
                </client>
                <server>
                    <id root="2.14" extension="0000441059"/>
                    <name>Lawton's DrugsX</name>
                    <addr>
                        <line1>99 Brakely Point Rd</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A5G5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9024642599</telecom>
                </server>
            </location>
            <location description="Pharmacy 4" OID="DEPT_HEALTH_PHARMACY_ID">
                <client>
                    <id root="2.14" extension="0000441303"/>
                    <name>Wal-Mart Pharmacy</name>
                    <addr>
                        <line1>101 NorthRiver Rd.</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A6T9</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9022222222</telecom>
                </client>
                <server>
                    <id root="2.14" extension="0000441309"/>
                    <name>Wal-Mart PharmacyX</name>
                    <addr>
                        <line1>199 NorthRiver Rd.</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A6T9</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9022222299</telecom>
                </server>
            </location>
            <location description="Physician Location 1" OID="DEPT_HEALTH_FACILITY_ID">
                <client>
                    <id root="2.17" extension="9874"/>
                    <name>Dr. Rankin's Office</name>
                    <addr>
                        <line1>Suite 300</line1>
                        <line2>20 Bunbury Lane</line2>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A5G5</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9025555555</telecom>
                </client>
                <server>
                    <id root="2.17" extension="9879"/>
                    <name>Dr. Rankin's OfficeX</name>
                    <addr>
                        <line1>Suite 399</line1>
                        <line2>99 Bunbury Lane</line2>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A5G5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9025555999</telecom>
                </server>
            </location>
            <location description="Physician Office 2" OID="DEPT_HEALTH_FACILITY_ID">
                <client>
                    <id root="2.17" extension="1"/>
                    <name>Dr. Rankin's Office #2</name>
                    <addr>
                        <line1>55 Dover Ave</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A3H9</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9022225589</telecom>
                </client>
                <server>
                    <id root="2.17" extension="1"/>
                    <name>Dr. Rankin's Office #2X</name>
                    <addr>
                        <line1>99 Dover Ave</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A3H9</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9022225599</telecom>
                </server>
            </location>
            <location description="Physician Office 3" OID="DEPT_HEALTH_FACILITY_ID">
                <client>
                    <id root="2.17" extension="2"/>
                    <name>Dr. Kirklyn's Office</name>
                    <addr>
                        <line1>500 North River Rd.</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A3Z5</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9025551920</telecom>
                </client>
                <server>
                    <id root="2.17" extension="2"/>
                    <name>Dr. Kirklyn's OfficeX</name>
                    <addr>
                        <line1>599 North River Rd.</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A3Z5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9025551929</telecom>
                </server>
            </location>
            <location description="Physician Office 4" OID="DEPT_HEALTH_FACILITY_ID">
                <client>
                    <id root="2.17" extension="3"/>
                    <name>Dr. Bevin's Office</name>
                    <addr>
                        <line1>200 River St.</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A2H5</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9023335555</telecom>
                </client>
                <server>
                    <id root="2.17" extension="3"/>
                    <name>Dr. Bevin's OfficeX</name>
                    <addr>
                        <line1>209 River St.</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A2H5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9023335559</telecom>
                </server>
            </location>
            <location description="Physician Office 5" OID="DEPT_HEALTH_FACILITY_ID">
                <client>
                    <id root="2.17" extension="4"/>
                    <name>Dr. Jayson's Office</name>
                    <addr>
                        <line1>12 Vermont Rd</line1>
                        <line2/>
                        <city>Charlottetown</city>
                        <state>PEI</state>
                        <postalCode>C1A3X5</postalCode>
                        <country>Canada</country>
                    </addr>
                    <telecom>9024542525</telecom>
                </client>
                <server>
                    <id root="2.17" extension="4"/>
                    <name>Dr. Jayson's OfficeX</name>
                    <addr>
                        <line1>99 Vermont Rd</line1>
                        <line2/>
                        <city>CharlottetownX</city>
                        <state>PEX</state>
                        <postalCode>X1A3X5</postalCode>
                        <country>CanadaX</country>
                    </addr>
                    <telecom>9024542599</telecom>
                </server>
            </location>
        </serviceDeliveryLocations>
        <drugs>
            <drug description="drug 1 - Inhibace 2.5 mg">
                <code code="1911473" codeSystem="DIN"/>
                <name>Inhibace 2.5 mg</name>
                <desc>Angiotensin converting enzyme inhibitor</desc>
                <formCode code="ORCAP"/>
                <quantity value="100"/>
                <packageformCode code="STRIP"/>
                <cost value="5.00" per="1">
                    <coverage description="Insurance Coverage 1">
                        <cost value="5.00" per="1"/>
                        <copayment value="0"/>
                        <deductible value="0"/>
                        <patientcost value="0"/>
                    </coverage>
                </cost>
            </drug>
            <drug description="drug 2 - Flovent  HFA">
                <code code="02244292" codeSystem="DIN"/>
                <name>Flovent HFA</name>
                <desc>Corticosteroid for Oral Inhalation</desc>
                <formCode code="INHL"/>
                <quantity value="7500" unit="uG"/>
                <packageformCode code="INHALER"/>
                <cost value="25.00" per="7500"/>
            </drug>
            <drug description="drug 3 - Biaxin BID">
                <code code="01984853" codeSystem="DIN"/>
                <name>Biaxin BID</name>
                <desc>Clarithromycin</desc>
                <formCode code="TAB"/>
                <quantity value="250"/>
                <packageformCode code="STRIP"/>
                <cost value="2.00" per="1"/>
            </drug>
            <drug description="drug 4 - Ventolin HFA">
                <code code="02241497" codeSystem="DIN"/>
                <name>Ventolin HFA</name>
                <desc>Bronchodilator—Beta2–adrenergic Stimulant</desc>
                <formCode code="INHL"/>
                <quantity value="20000" unit="uG"/>
                <packageformCode code="INHALER"/>
            </drug>
            <drug description="drug 5 - Metoprolol">
                <code code="02246010" codeSystem="DIN"/>
                <name>METOPROLOL</name>
                <desc>Adrenoceptor blocking agent</desc>
                <formCode code="TAB"/>
                <quantity value="100"/>
                <packageformCode code="STRIP"/>
            </drug>
            <drug description="drug 6 - Slow K">
                <code code="74225" codeSystem="DIN"/>
                <name>SLOW K</name>
                <desc>Potassium suppliment</desc>
                <formCode code="TAB"/>
                <quantity value="1000"/>
                <packageformCode code="STRIP"/>
            </drug>
            <drug description="drug 7 - Apo Hydro Chlorothiazide">
                <code code="326844" codeSystem="DIN"/>
                <name>Apo Hydro Chlorothiazide</name>
                <desc>Diuretic</desc>
                <formCode code="TAB"/>
                <quantity value="500"/>
                <packageformCode code="STRIP"/>
            </drug>
            <drug description="drug 8 - Amoxicillin">
                <code code="452149" codeSystem="DIN"/>
                <name>Amoxicillin</name>
                <desc>Antibiotic</desc>
                <formCode code="POWD"/>
                <quantity value="150" unit="ml"/>
                <packageformCode code="STRIP"/>
            </drug>
            <drug description="drug 9 - Prevnar">
                <code code="12153" codeSystem="DIN"/>
                <name>Prevnar</name>
                <desc>Pneumococcal 7-valent Conjugate Vaccine</desc>
                <formCode code="SOL"/>
                <quantity value="26" unit="ug"/>
                <packageformCode code="STRIP"/>
            </drug>
        </drugs>
        <allergies>
            <allergy description="Allergy 1 - Sulfa">
                <code code="EALG" codeSystem="ACTCODE"/>
                <value codeSystem="ENTITYCODE" code="NDA02"/>
            </allergy>
            <allergy description="Allergy 2 - Peanuts">
                <code code="EALG" codeSystem="ACTCODE"/>
                <value codeSystem="ENTITYCODE" code="NDA01"/>
            </allergy>
            <allergy description="Allergy(23eea46f-49a2-4c70-813d-386e43fa532d)">
                <code code="EALG" codeSystem="ACTCODE"/>
                <value code="NDA12" codeSystem="ENTITYCODE"/>
            </allergy>
            <!--generated item-->
            <allergy description="Allergy(5292ba21-d654-422e-a206-36056ba3de66)">
                <code code="ALG" codeSystem="ACTCODE"/>
                <value code="NDA02" codeSystem="ENTITYCODE"/>
            </allergy>
        </allergies>
        <reactions>
            <reaction description="Reaction 1 - Nausea">
                <text>Nausea occurs as soon as medication is administered.</text>
                <value code="Nausea" codeSystem="ICD10CA"/>
            </reaction>
            <reaction description="Reaction 2 - Anaphylactic Shock">
                <text>Extreme allergy to peanuts. Must carry EPI E-Z PEN at all times in case of exposure.</text>
                <value code="anaphylactic shock" codeSystem="ICD10CA"/>
            </reaction>
        </reactions>
        <immunizations>
            <immunization description="immunization 1">
                <routeCode code="IC"/>
                <approachSiteCode code="LT"/>
                <doseQuantity unit="ml" value="0.5"/>
                <drug description="drug 9 - Prevnar"/>
            </immunization>
            <immunization description="immunization 2">
                <routeCode code="IC"/>
                <approachSiteCode code="LT"/>
                <doseQuantity unit="ml" value="0.5"/>
                <drug description="drug 9 - Prevnar"/>
            </immunization>
        </immunizations>
        <observations>
            <observation description="Patient Observation 1">
                <code code="3141-9" codeSystem="LOINC"/>
                <effectiveTime value="20051225"/>
                <value unit="kg" value="90"/>
            </observation>
            <observation description="Observation 2">
                <code code="3141-9" codeSystem="LOINC"/>
                <effectiveTime value="20060101"/>
                <value unit="kg" value="55"/>
                <subObservation>
                    <code code="3141-7" codeSystem="LOINC"/>
                    <value unit="mm[Hg]" value="130"/>
                </subObservation>
                <subObservation>
                    <code code="3141-6" codeSystem="LOINC"/>
                    <value unit="mm[Hg]" value="90"/>
                </subObservation>
            </observation>
            <observation description="Patient Observation 9">
                <code code="3137-5" codeSystem="LOINC"/>
                <effectiveTime value="20051201"/>
                <value unit="cm" value="167"/>
            </observation>
        </observations>
        <conditions>
            <condition description="Condition 1">
                <value code="O000" codeSystem="ICD10CA"/>
                <text>Patient is pregnant with third child.</text>
            </condition>
            <condition description="Condition 2">
                <value code="G439" codeSystem="ICD10CA"/>
                <text>Patient is monitoring diet to see if they can determine a pattern.</text>
                <chronic/>
            </condition>
        </conditions>
        <prescriptions>
            <prescription description="Prescription 1">
                <statusCodecode="active""/>
                <confidentialityCodecode="normal""/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <dosageInstruction description="Drug 1 Instructions"/>
                <supplyRequestItem>
                    <quantity value="365"/>
                    <expectedUseTime>
                        <width value="365" unit="d"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                    <subsequentSupplyRequest>
                        <repeatNumber value="4"/>
                        <quantity value="90"/>
                        <expectedUseTime>
                            <width value="90" unit="d"/>
                        </expectedUseTime>
                    </subsequentSupplyRequest>
                </supplyRequestItem>
                <coverage description="Insurance Coverage 1"/>
                <observation description="Patient Observation 1"/>
                <non-authoritative code="VFPAPER"/>
                <reason type="observationDiagnosis">
                    <priorityNumber value="1"/>
                    <text>High blood pressure</text>
                    <statusCodecode="completed""/>
                    <value code="Z013" codeSystem="ICD10CA"/>
                </reason>
                <category code="CHRON"/>
            </prescription>
            <prescription description="Prescription 2">
                <statusCodecode="active""/>
                <confidentialityCodecode="normal""/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <dosageInstruction description="Drug 1 Instructions"/>
                <trialSupplycode code="TF"/>
                <effectiveTime>
                    <low value="20050810"/>
                    <high value="20060810"/>
                </effectiveTime>
                <supplyRequestItem>
                    <quantity value="10"/>
                    <expectedUseTime>
                        <width value="365" unit="d"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                    <subsequentSupplyRequest>
                        <effectiveTime>
                            <width value="30" unit="d"/>
                        </effectiveTime>
                        <repeatNumber value="1"/>
                        <quantity value="30"/>
                        <expectedUseTime>
                            <width value="30" unit="d"/>
                        </expectedUseTime>
                    </subsequentSupplyRequest>
                    <supplyEventFutureSummary>
                        <repeatNumber value="5"/>
                        <quantity value="100" unit="mg"/>
                    </supplyEventFutureSummary>
                    <supplyEventFirstSummary>
                        <effectiveTime>
                            <high value="20060101"/>
                        </effectiveTime>
                        <quantity value="10" unit="mg"/>
                    </supplyEventFirstSummary>
                    <supplyEventLastSummary>
                        <effectiveTime>
                            <high value="20060101"/>
                        </effectiveTime>
                        <quantity value="10" unit="mg"/>
                    </supplyEventLastSummary>
                    <supplyEventPastSummary>
                        <repeatNumber value="10"/>
                        <quantity value="10" unit="mg"/>
                    </supplyEventPastSummary>
                </supplyRequestItem>
                <coverage description="Insurance Coverage 1"/>
                <observation description="Patient Observation 1"/>
                <non-authoritative code="VFPAPER"/>
                <priorPrescription description="Prescription 1"/>
                <reason type="observationDiagnosis">
                    <priorityNumber value="1"/>
                    <text>Pain in the ear.</text>
                    <statusCodecode="completed""/>
                    <value code="Z013" codeSystem="ICD10CA"/>
                </reason>
                <category code="123"/>
                <substitutionPermission>
                    <code code="G"/>
                    <reasonCode code="ALGALT" codeSystem="ACTCODE"/>
                </substitutionPermission>
            </prescription>
            <prescription description="Drug 1 - infered Precription">
                <statusCodecode="active""/>
                <confidentialityCodecode="normal""/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <dosageInstruction description="Drug 1 Instructions"/>
                <trialSupplycode code="TF"/>
                <effectiveTime>
                    <low value="20050810"/>
                    <high value="20060810"/>
                </effectiveTime>
                <supplyRequestItem>
                    <quantity value="10"/>
                    <expectedUseTime>
                        <width value="365" unit="d"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                    <subsequentSupplyRequest>
                        <effectiveTime>
                            <width value="30" unit="d"/>
                        </effectiveTime>
                        <repeatNumber value="1"/>
                        <quantity value="30"/>
                        <expectedUseTime>
                            <width value="30" unit="d"/>
                        </expectedUseTime>
                    </subsequentSupplyRequest>
                    <supplyEventFutureSummary>
                        <repeatNumber value="5"/>
                        <quantity value="100" unit="mg"/>
                    </supplyEventFutureSummary>
                    <supplyEventFirstSummary>
                        <effectiveTime>
                            <high value="20060101"/>
                        </effectiveTime>
                        <quantity value="10" unit="mg"/>
                    </supplyEventFirstSummary>
                    <supplyEventLastSummary>
                        <effectiveTime>
                            <high value="20060101"/>
                        </effectiveTime>
                        <quantity value="10" unit="mg"/>
                    </supplyEventLastSummary>
                    <supplyEventPastSummary>
                        <repeatNumber value="10"/>
                        <quantity value="10" unit="mg"/>
                    </supplyEventPastSummary>
                </supplyRequestItem>
                <coverage description="Insurance Coverage 1"/>
                <observation description="Patient Observation 1"/>
                <non-authoritative code="VFPAPER"/>
                <priorPrescription description="Prescription 1"/>
                <reason type="observationDiagnosis">
                    <priorityNumber value="1"/>
                    <text>Pain in the ear.</text>
                    <statusCodecode="completed""/>
                    <value code="Z013" codeSystem="ICD10CA"/>
                </reason>
                <category code="123"/>
                <substitutionPermission>
                    <code code="G"/>
                    <reasonCode code="ALGALT" codeSystem="ACTCODE"/>
                </substitutionPermission>
            </prescription>
            <prescription description="Prescription(5e79d8bd-abfc-40d5-acf4-8e526e08044f)">
                <statusCodecode="active""/>
                <confidentialityCodecode="normal""/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <reason type="observationDiagnosis">
                    <statusCodecode="completed""/>
                    <priorityNumber value="1"/>
                </reason>
                <non-authoritative code="VFPAPER"/>
                <dosageInstruction>
                    <text>take 1 tablet per day with meals</text>
                    <routeCode code="PO"/>
                    <maxDoseQuantity>
                        <numerator value="1" unit="tab"/>
                        <denominator value="1" unit="day"/>
                    </maxDoseQuantity>
                    <administrationUnitCode code="PUFF"/>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </dosageInstruction>
                <effectiveTime/>
                <pharmacylocation description=""/>
                <supplyRequestItem>
                    <quantity value="365" unit=""/>
                    <expectedUseTime>
                        <width value="100" unit="d"/>
                    </expectedUseTime>
                    <initialSupplyRequest/>
                    <subsequentSupplyRequest>
                        <repeatNumber value="12"/>
                    </subsequentSupplyRequest>
                </supplyRequestItem>
                <category code="CHRON"/>
            </prescription>
        </prescriptions>
        <refusalToFills>
            <refusalToFill description="resfusal 1">
                <code code=""/>
                <reasonCode code=""/>
                <IssueList description=""/>
            </refusalToFill>
            <refusalToFill description="resfusal 2">
                <code code=""/>
                <reasonCode code=""/>
                <IssueList description=""/>
            </refusalToFill>
        </refusalToFills>
        <otherMedications>
            <otherMedication description="OtherMedication 1">
                <routeCode code="EAR"/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <dosageInstruction description="Drug 1 Instructions"/>
            </otherMedication>
            <otherMedication description="OtherMedication 2">
                <routeCode code="EAR"/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <dosageInstruction description="Drug 1 Instructions"/>
            </otherMedication>
        </otherMedications>
        <dispenses>
            <dispense description="Dispense 1 - of Drug 1 - infered Precription">
                <statusCodecode="completed""/>
                <dosageInstruction description="Drug 1 Instructions"/>
                <supplyEvent>
                    <statusCodecode="active""/>
                    <code code="FF"/>
                    <effectiveTime>
                        <low value="20040101"/>
                        <high nullFlavor="NI"/>
                    </effectiveTime>
                    <quantity value="90"/>
                    <expectedUseTime>
                        <width unit="d" value="90"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </supplyEvent>
            </dispense>
            <dispense description="Dispense 1 of Prescription 1">
                <statusCodecode="completed""/>
                <dosageInstruction description="Drug 1 Instructions"/>
                <supplyEvent>
                    <code code="FF"/>
                    <effectiveTime>
                        <low value="20060101"/>
                        <high nullFlavor="NI"/>
                    </effectiveTime>
                    <quantity value="90"/>
                    <expectedUseTime>
                        <width unit="d" value="90"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </supplyEvent>
            </dispense>
            <dispense description="Dispense 2 of Prescription 1">
                <statusCodecode="completed""/>
                <dosageInstruction description="Drug 1 Instructions"/>
                <supplyEvent>
                    <code code="FF"/>
                    <effectiveTime>
                        <low value="20060101"/>
                        <high nullFlavor="NI"/>
                    </effectiveTime>
                    <quantity value="100"/>
                    <expectedUseTime>
                        <width unit="d" value="100"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </supplyEvent>
            </dispense>
            <dispense description="Dispense(0db8dc96-3dd6-485b-b355-cf717f59c935)">
                <dosageInstruction>
                    <text>take 1 tablet per day with meals</text>
                    <maxDoseQuantity>
                        <numerator value="1" unit=""/>
                        <denominator value="1" unit="day"/>
                    </maxDoseQuantity>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </dosageInstruction>
                <supplyEvent>
                    <code code="RF"/>
                    <effectiveTime>
                        <low value="20060101000001"/>
                    </effectiveTime>
                    <quantity value="30" unit=""/>
                    <expectedUseTime>
                        <width value="30" unit="d"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </supplyEvent>
            </dispense>
            <dispense description="Dispense(7b22ded8-29b6-49f1-98ae-30468d09db65)">
                <dosageInstruction>
                    <text>take 1 tablet per day with meals</text>
                    <maxDoseQuantity>
                        <numerator value="1" unit=""/>
                        <denominator value="1" unit="day"/>
                    </maxDoseQuantity>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </dosageInstruction>
                <supplyEvent>
                    <code code="RF"/>
                    <effectiveTime>
                        <low value="20060101000001"/>
                    </effectiveTime>
                    <quantity value="30" unit=""/>
                    <expectedUseTime>
                        <width value="30" unit="d"/>
                    </expectedUseTime>
                    <drug description="drug 1 - Inhibace 2.5 mg"/>
                </supplyEvent>
            </dispense>
        </dispenses>
        <dosageInstructions>
            <dosageInstruction description="Drug 1 Instructions">
                <text>Take 1 pill per day</text>
                <routeCode code="PO"/>
                <maxDoseQuantity>
                    <numerator value="1" unit="cap"/>
                    <denominator value="1" unit="day"/>
                </maxDoseQuantity>
                <administrationUnitCode code="PUFF"/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <instruction>Dose should be taken at same time each day</instruction>
            </dosageInstruction>
            <dosageInstruction description="Drug 1 Instructions 2">
                <text>Take 5 pills a day at meals</text>
                <effectiveTime>
                    <low value="20040101"/>
                    <high value="20040110"/>
                </effectiveTime>
                <routeCode code="RECINSTL"/>
                <approachSiteCode code="PA"/>
                <maxDoseQuantity>
                    <numerator value="2" unit="cap"/>
                    <denominator value="1" unit="day"/>
                </maxDoseQuantity>
                <administrationUnitCode code="PUFF"/>
                <drug description="drug 1 - Inhibace 2.5 mg"/>
                <instruction>on an empty stomach</instruction>
                <dosageLine sequenceNumber="1">
                    <text>A free form description of how the dispensed medication is to be administered to the patient</text>
                </dosageLine>
            </dosageInstruction>
        </dosageInstructions>
        <coverages>
            <coverage description="Insurance Coverage 1">
                <record-id client="FA" server="FA" root_OID="DEPT_HEALTH_PROGRAM_ID"/>
                <underwriter>
                    <record-id client="88" server="89"/>
                    <name>PEI</name>
                </underwriter>
            </coverage>
            <coverage description="Insurance Coverage 2">
                <record-id client="DCAP" server="DCAP" root_OID="DEPT_HEALTH_PROGRAM_ID"/>
                <underwriter>
                    <record-id client="88" server="89"/>
                    <name>PEI</name>
                </underwriter>
            </coverage>
        </coverages>
        <issues>
            <issue description="Issue 1">
                <code code="INT"/>
                <text>The patient has an intolerance to glucose</text>
                <priorityCode code="I"/>
                <detectedIssueDefinition>
                    <record-id client="2345" server="2349" root_OID="DIS_MONOGRAPH_ID"/>
                    <name>FDB</name>
                </detectedIssueDefinition>
                <severity code="M"/>
            </issue>
            <issue description="Issue 2">
                <code code="INT"/>
                <text>The patient has an intolerance to peanuts</text>
                <priorityCode code="I"/>
                <detectedIssueDefinition>
                    <record-id client="2346" server="2348" root_OID="DIS_MONOGRAPH_ID"/>
                    <name>FDB</name>
                </detectedIssueDefinition>
                <severity code="M"/>
            </issue>
        </issues>
        <issueLists>
            <issueList description="Issue List 1">
                <issue description="Issue 1">
                    <causes>
                        <dispense description="Dispense 1 - of Drug 1 - infered Precription"/>
                    </causes>
                    <managment description="Issue 1 Management 1">
                        <code code="10"/>
                        <text>I told the patient to lay off the glucose</text>
                        <time value="20050101100101"/>
                        <author description="Pharmacist 1"/>
                    </managment>
                </issue>
                <issue description="Issue 2">
                    <causes>
                        <dispense description="Dispense 1 - of Drug 1 - infered Precription"/>
                    </causes>
                    <managment description="Issue 2 Management 1">
                        <code code="10"/>
                        <text>I told the patient to lay off the glucose</text>
                        <time value="20050101100101"/>
                        <author description="Pharmacist 1"/>
                    </managment>
                </issue>
            </issueList>
        </issueLists>
        <SOFA>
            <payee description="Pharmacy 1" program="FA">
                <Daily-totals Date="20051130">
                    <payment-total value="100"/>
                    <sub-total code="ADPPSPEL" value="200" count="10"/>
                    <sub-total code="ADRFSPEL" value="50" count="3"/>
                    <sub-total code="ADNFSPEL" value="20" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051201">
                    <payment-total value="101"/>
                    <sub-total code="ADPPSPEL" value="201" count="11"/>
                    <sub-total code="ADRFSPEL" value="51" count="3"/>
                    <sub-total code="ADNFSPEL" value="21" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051215">
                    <payment-total value="102"/>
                    <sub-total code="ADPPSPEL" value="202" count="12"/>
                    <sub-total code="ADRFSPEL" value="52" count="3"/>
                    <sub-total code="ADNFSPEL" value="22" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051231">
                    <payment-total value="103"/>
                    <sub-total code="ADPPSPEL" value="203" count="13"/>
                    <sub-total code="ADRFSPEL" value="53" count="3"/>
                    <sub-total code="ADNFSPEL" value="23" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20060101">
                    <payment-total value="104"/>
                    <sub-total code="ADPPSPEL" value="204" count="14"/>
                    <sub-total code="ADRFSPEL" value="54" count="3"/>
                    <sub-total code="ADNFSPEL" value="24" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20060102">
                    <payment-total value="105"/>
                    <sub-total code="ADPPSPEL" value="205" count="15"/>
                    <sub-total code="ADRFSPEL" value="55" count="3"/>
                    <sub-total code="ADNFSPEL" value="25" count="2"/>
                </Daily-totals>
            </payee>
            <payee description="Pharmacy 1" program="DQ">
                <Daily-totals Date="20051130">
                    <payment-total value="100"/>
                    <sub-total code="ADPPSPEL" value="200" count="10"/>
                    <sub-total code="ADRFSPEL" value="50" count="3"/>
                    <sub-total code="ADNFSPEL" value="20" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051201">
                    <payment-total value="101"/>
                    <sub-total code="ADPPSPEL" value="201" count="11"/>
                    <sub-total code="ADRFSPEL" value="51" count="3"/>
                    <sub-total code="ADNFSPEL" value="21" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051215">
                    <payment-total value="102"/>
                    <sub-total code="ADPPSPEL" value="202" count="12"/>
                    <sub-total code="ADRFSPEL" value="52" count="3"/>
                    <sub-total code="ADNFSPEL" value="22" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051231">
                    <payment-total value="103"/>
                    <sub-total code="ADPPSPEL" value="203" count="13"/>
                    <sub-total code="ADRFSPEL" value="53" count="3"/>
                    <sub-total code="ADNFSPEL" value="23" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20060101">
                    <payment-total value="104"/>
                    <sub-total code="ADPPSPEL" value="204" count="14"/>
                    <sub-total code="ADRFSPEL" value="54" count="3"/>
                    <sub-total code="ADNFSPEL" value="24" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20060102">
                    <payment-total value="105"/>
                    <sub-total code="ADPPSPEL" value="205" count="15"/>
                    <sub-total code="ADRFSPEL" value="55" count="3"/>
                    <sub-total code="ADNFSPEL" value="25" count="2"/>
                </Daily-totals>
            </payee>
            <payee description="Pharmacy 2" program="FA">
                <Daily-totals Date="20051130">
                    <payment-total value="100"/>
                    <sub-total code="ADPPSPEL" value="200" count="10"/>
                    <sub-total code="ADRFSPEL" value="50" count="3"/>
                    <sub-total code="ADNFSPEL" value="20" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051201">
                    <payment-total value="101"/>
                    <sub-total code="ADPPSPEL" value="201" count="11"/>
                    <sub-total code="ADRFSPEL" value="51" count="3"/>
                    <sub-total code="ADNFSPEL" value="21" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051215">
                    <payment-total value="102"/>
                    <sub-total code="ADPPSPEL" value="202" count="12"/>
                    <sub-total code="ADRFSPEL" value="52" count="3"/>
                    <sub-total code="ADNFSPEL" value="22" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20051231">
                    <payment-total value="103"/>
                    <sub-total code="ADPPSPEL" value="203" count="13"/>
                    <sub-total code="ADRFSPEL" value="53" count="3"/>
                    <sub-total code="ADNFSPEL" value="23" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20060101">
                    <payment-total value="104"/>
                    <sub-total code="ADPPSPEL" value="204" count="14"/>
                    <sub-total code="ADRFSPEL" value="54" count="3"/>
                    <sub-total code="ADNFSPEL" value="24" count="2"/>
                </Daily-totals>
                <Daily-totals Date="20060102">
                    <payment-total value="105"/>
                    <sub-total code="ADPPSPEL" value="205" count="15"/>
                    <sub-total code="ADRFSPEL" value="55" count="3"/>
                    <sub-total code="ADNFSPEL" value="25" count="2"/>
                </Daily-totals>
            </payee>
        </SOFA>
    </testData>
    <system>
        <soap required="false"/>
        <client OID="PORTAL_APPLICATION">
            <uri>198.203.1.21</uri>
        </client>
        <server OID="DIS_APPLICATION">
            <uri>198.203.1.23</uri>
        </server>
        <OIDs>
            <DIN server="2.16.840.1.113883.5.1105" client="2.16.840.1.113883.5.1105" description="Canadian Drug Identification Number"/>
            <ICD9CM server="2.16.840.1.113883.11.15931" client="2.16.840.1.113883.11.15931" description="ICD9CM diagnosis codes"/>
            <AHFS server="2.16.840.1.113883.6.234" client="2.16.840.1.113883.6.234" description="American Hospital Formulary System (AHFS)"/>
            <OPINION server="2.16.840.1.113883.5.1102" client="2.16.840.1.113883.5.1102"
                description="Online Product Identification Number Index of Nova Scotia (OPINIONs)"/>
            <AIC server="2.16.840.1.113883.5.1103" client="2.16.840.1.113883.5.1103" description="Active Ingredient Code"/>
            <AIGC server="2.16.840.1.113883.5.1104" client="2.16.840.1.113883.5.1104" description="Active Ingredient Group (AIG) Code"/>
            <NPN server="2.16.840.1.113883.5.1107" client="2.16.840.1.113883.5.1107" description="Natural Product Number (NPN)"/>
            <SNOMED server="2.16.840.1.113883.6.96" client="2.16.840.1.113883.6.96" description="SNOMED Clinical Terms (CT)"/>
            <AIGN server="2.16.840.1.113883.5.1106" client="2.16.840.1.113883.5.1106" description="Active Ingredient Group (AIG) Number"/>
            <ICD10CA server="2.16.840.1.113883.11.19436" client="2.16.840.1.113883.11.19436"
                description="ICD10CA - icd10 Canadian Codes - diagnosis codes and reaction codes"/>
            <LOINC server="2.16.840.1.113883.6.1" client="2.16.840.1.113883.6.1"
                description="Logical Observation Identifiers Names and Codes (LOINC) - used for Allergy Tests, and Observation Type codes"/>
            <ATC server="2.16.840.1.113883.6.73" client="2.16.840.1.113883.6.73" description="Anatomical Therapeutic Chemical (ATC) classification"/>
            <ENCODEFM server="2.16.840.1.113883.5.1108" client="2.16.840.1.113883.5.1108" description="Encode-FM"/>
            <ACTCODE server="2.16.840.1.113883.5.4" client="2.16.840.1.113883.5.4"
                description="HL7 v3 ActCode - need this for allergies as allergy type can be either ActCode vocab or SNOMED - we support ActCode."/>
            <ENTITYCODE server="2.16.840.1.113883.5.1060" client="2.16.840.1.113883.5.1060"
                description="HL7v3 EntityCode - need this for allergies for expressing the allergen (NonDrugAgentEntity) as the alternative is SNOMED which we are not supporting."/>
            <DIS_MESSAGE_ID server="2.16.124.9.101.1.1.1" client="2.16.124.9.101.1.1.1" description="Unique DIS Message Identifier"/>
            <DIS_ADJUDICATED_INVOICE_GROUP_ID server="2.16.124.9.101.1.1.2" client="2.16.124.9.101.1.1.2"
                description="Adjudicated Invoice Group Identiifer"/>
            <DIS_DISPENSE_ID server="2.16.124.9.101.1.1.3" client="2.16.124.9.101.1.1.3" description="DIS Assigned Dispense Identifier"/>
            <DIS_PRESCRIPTION_ID server="2.16.124.9.101.1.1.4" client="2.16.124.9.101.1.1.4" description="DIS Assigned Prescription Identifier"/>
            <DIS_PATIENT_CONSENT_ID server="2.16.124.9.101.1.1.5" client="2.16.124.9.101.1.1.5" description="Patient Consent Event Identifier"/>
            <DIS_OBSERVATION_ID server="2.16.124.9.101.1.1.6" client="2.16.124.9.101.1.1.6"
                description="Observation Identifier (e.g.  Height, weight.)"/>
            <DIS_SPECIAL_AUTH_ID server="2.16.124.9.101.1.1.7" client="2.16.124.9.101.1.1.7" description="Special Authorization Identifier"/>
            <DIS_OTHER_ACTIVE_MED_ID server="2.16.124.9.101.1.1.8" client="2.16.124.9.101.1.1.8" description="Other Active Medication Identifier"/>
            <DIS_IMMUNIZATION_ID server="2.16.124.9.101.1.1.9" client="2.16.124.9.101.1.1.9" description="Immunization Identifier"/>
            <DIS_ALLERGY_ID server="2.16.124.9.101.1.1.10" client="2.16.124.9.101.1.1.10" description="Allergy Identifier"/>
            <DIS_MEDICAL_CONDITION_ID server="2.16.124.9.101.1.1.11" client="2.16.124.9.101.1.1.11" description="Medical Condition Identifier"/>
            <DIS_PATIENT_NOTE_ID server="2.16.124.9.101.1.1.12" client="2.16.124.9.101.1.1.12" description="Patient Note Identifier"/>
            <DIS_REACTION_ID server="2.16.124.9.101.1.1.13" client="2.16.124.9.101.1.1.13" description="Reaction Identifier"/>
            <DIS_MONOGRAPH_ID server="2.16.124.9.101.1.1.14" client="2.16.124.9.101.1.1.14" description="FDB Drug Monograph Identifier"/>
            <DIS_CONTROL_ACT_ID server="2.16.124.9.101.1.1.15" client="2.16.124.9.101.1.1.15" description="DIS Control Act Id"/>
            <DIS_MEDICATION_DOCUMENT_ID server="2.16.124.9.101.1.1.16" client="2.16.124.9.101.1.1.16" description="FDB Document Identifier"/>
            <PORTAL_MESSAGE_ID server="2.16.124.9.101.1.8.1" client="2.16.124.9.101.1.8.1" description="Unique Portal Message Identifier"/>
            <PORTAL_INVOICE_REQUEST_ID server="2.16.124.9.101.1.8.2" client="2.16.124.9.101.1.8.2" description="Portal Payment Request Identifier"/>
            <PORTAL_QUERY_ID server="2.16.124.9.101.1.8.3" client="2.16.124.9.101.1.8.3" description="Portal Query Message Identifier"/>
            <PORTAL_PARAMETER_LIST_ID server="2.16.124.9.101.1.8.4" client="2.16.124.9.101.1.8.4" description="Portal Parameter List Identifier"/>
            <PORTAL_CONTROL_ACT_ID server="2.16.124.9.101.1.8.5" client="2.16.124.9.101.1.8.5" description="Portal Control Act Identifier"/>
            <PORTAL_DISPENSE_ID server="2.16.124.9.101.1.8.6" client="2.16.124.9.101.1.8.6" description="Portal Dispense Identifier"/>
            <PE_PHN server="2.1" client="2.1" description="PEI PHN"/>
            <NB_PHN server="2.2" client="2.2" description="New Brunswick PIN"/>
            <NS_PHN server="2.3" client="2.3" description="Nova Scotia MSI"/>
            <NF_PHN server="2.4" client="2.4" description="Newfoundland PIN"/>
            <QB_PHN server="2.5" client="2.5" description="Quebec PIN"/>
            <ON_PHN server="2.6" client="2.6" description="Ontario PIN"/>
            <MB_PHN server="2.7" client="2.7" description="Manitoba PHIN"/>
            <SK_PHN server="2.8" client="2.8" description="Sask. PIN"/>
            <AB_PHN server="2.9" client="2.9" description="Alberta ULI"/>
            <BC_PHN server="2.10" client="2.10" description="British Columbia PHN"/>
            <NU_PHN server="2.11" client="2.11" description="Nunavut Health Number"/>
            <NT_PHN server="2.12" client="2.12" description="North West Territory PIN"/>
            <YT_PHN server="2.13" client="2.13" description="Yukon PIN"/>
            <DEPT_HEALTH_PHARMACY_ID server="2.14" client="2.14" description="PEI Dept of Health Pharmacy Identifier"/>
            <DEPT_HEALTH_BILLING_NUMBER server="2.15" client="2.15" description="PEI Dept of Health Prescriber Billing Number Identifier"/>
            <DEPT_HEALTH_PHARMACIST_ID server="2.16" client="2.16" description="PEI Dept of Health Pharmacist Identification Number"/>
            <DEPT_HEALTH_FACILITY_ID server="2.17" client="2.17" description="PEI Dept of Health Health Care Facility Identifier"/>
            <PEI_MED_SOCIETY server="2.18" client="2.18" description="PEI Medical Society License Number"/>
            <PEI_PHARMACIST_BOARD_ID server="2.19" client="2.19" description="Prince Edward Island Pharmacy Board Pharmacist License Number"/>
            <DEPT_HEALTH server="2.16.124.9.101.1" client="2.16.124.9.101.1" description="PEI Dept of Health"/>
            <DIS_APPLICATION server="2.16.124.9.101.1.1" client="2.16.124.9.101.1.1"
                description="PEI Dept of Health Drug Information System Application Identifier"/>
            <DEPT_HEALTH_PROGRAM_ID server="2.16.124.9.101.1.2" client="2.16.124.9.101.1.2"
                description="PEI Dept of Health Provincial Drug Program Identifier"/>
            <PORTAL_APPLICATION server="2.16.124.9.101.1.8" client="2.16.124.9.101.1.8"
                description="PEI Dept of Health Portal System Application Identifier"/>
            <DIS_ALLERGY_TEST_ID server="2.1.1.1" client="2.1.1.1" description="Allergy tests"/>
            <DIS_INTERACTION_ID server="2.16.840.1.113883.1.6" client="2.16.840.1.113883.1.6" description=""/>
            <HIC server="2.1.1.2" client="2.1.1.2" description="HIC Canadian Drug Identification Number"/>
            <DIS_PROF_SERVICE_ID server="2.16.124.9.101.1.1.18" client="2.16.124.9.101.1.1.18" description="Professional Service"/>
        </OIDs>
    </system>
</configuration>




See more files for this project here

HL7v3 Test Harness

The HL7 Test Harness system is an HL7 v3 message conformance testing application that also provides the ability to simulate the message processing actions of a client and/or server system. The app provides message workflow, format and content testing.

Project homepage: http://sourceforge.net/projects/hl7-testharness
Programming language(s): C#,XML
License: gpl2

  0001 - Prescription WorkFlow DEMO.xml
  0002 - Allergy WorkFlow DEMO.xml
  CodeSystems.xml
  DEMO-SubWorkFlow_Find_Candidate.xml
  DEMO-SubWorkFlow_Find_Candidate_Simple.xml
  DEMO-SubWorkFlow_Patient_Profile.xml
  DEMO-TestData.xml