All Downloads are FREE. Search and download functionalities are using the official Maven repository.

example-messages.PDQv3_Response.xml Maven / Gradle / Ivy

Go to download

This project demonstrates how a client-side application can make use of IHE Producer Endpoints

There is a newer version: 5.0-rc2
Show newest version
<PRPA_IN201306UV02 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <id root="1.2.3" extension="211338"/>
    <creationTime value="20100324122837"/>
    <interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201306UV02"/>
    <processingCode code="P"/>
    <processingModeCode code="T"/>
    <acceptAckCode code="NE"/>
    <receiver typeCode="RCV">
        <device determinerCode="INSTANCE" classCode="DEV">
            <id root="1.2.840.114350.1.13.99998.8735"/>
            <asAgent classCode="AGNT">
                <representedOrganization determinerCode="INSTANCE" classCode="ORG">
                    <id root="1.2.840.114350.1.13.99998"/>
                </representedOrganization>
            </asAgent>
        </device>
    </receiver>
    <sender typeCode="SND">
        <device determinerCode="INSTANCE" classCode="DEV">
            <id root="1.2.840.114350.1.13.99999.4567"/>
            <asAgent classCode="AGNT">
                <representedOrganization determinerCode="INSTANCE" classCode="ORG">
                    <id root="1.2.840.114350.1.13.99999.1234"/>
                </representedOrganization>
            </asAgent>
        </device>
    </sender>
    <acknowledgement>
        <typeCode code="AA"/>
        <targetMessage>
            <id root="1.2.840.114350.1.13.0.1.7.1.1" extension="35423"/>
        </targetMessage>
    </acknowledgement>
    <controlActProcess classCode="CACT" moodCode="EVN">
        <code code="PRPA_TE201306UV02" codeSystem="2.16.840.1.113883.1.6"/>
        <effectiveTime value="20100324122837"/>
        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="79007"
                            assigningAuthorityName="HZLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Maier</family>
                                <given>Michael</given>
                                <given>Joachim</given>
                            </name>
                            <telecom value="tel:089/23563957654" use="H"/>
                            <administrativeGenderCode code="M"/>
                            <birthTime value="19350331"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>89000</postalCode>
                                <city>Muenchen</city>
                                <streetAddressLine>Muenchner Freiheit 1</streetAddressLine>
                            </addr>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>
        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="78245"
                            assigningAuthorityName="PKLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Mayer</family>
                                <given>Hans</given>
                            </name>
                            <name>
                                <family qualifier="BR">Mayer</family>
                            </name>
                            <telecom value="tel:021-75736" use="H"/>
                            <administrativeGenderCode code="M"/>
                            <birthTime value="19451201"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>57100</postalCode>
                                <city>Bonn</city>
                                <streetAddressLine>Schwalbenweg 17</streetAddressLine>
                            </addr>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>
        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="78246"
                            assigningAuthorityName="PKLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Meier</family>
                                <given>Alexander</given>
                            </name>
                            <name>
                                <family qualifier="BR">Meier</family>
                            </name>
                            <telecom value="tel:01727593714" use="H"/>
                            <administrativeGenderCode code="M"/>
                            <birthTime value="19600606"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>98765</postalCode>
                                <city>Walldorf</city>
                                <streetAddressLine>Hauptstrasse 430</streetAddressLine>
                            </addr>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>

        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="79653"
                            assigningAuthorityName="HZLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Mueller</family>
                                <given>Hannes</given>
                            </name>
                            <name>
                                <family qualifier="BR">Mueller</family>
                            </name>
                            <telecom value="tel:022/843274" use="H"/>
                            <administrativeGenderCode code="M"/>
                            <birthTime value="19400101"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>57000</postalCode>
                                <city>Koeln</city>
                                <streetAddressLine>Am Domplatz 14</streetAddressLine>
                            </addr>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>
        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.411.1" extension="79471"
                            assigningAuthorityName="HZLN"/>
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="78912"
                            assigningAuthorityName="PKLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Mueller</family>
                                <given>Hans</given>
                            </name>
                            <name>
                                <family qualifier="BR">Mueller</family>
                            </name>
                            <telecom value="tel:022/235715" use="H"/>
                            <telecom value="tel:022/874491" use="H"/>
                            <telecom value="tel:01732356265" use="H"/>
                            <administrativeGenderCode code="M"/>
                            <birthTime value="19400101"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>57000</postalCode>
                                <city>Koeln</city>
                                <streetAddressLine>Am Domplatz 1</streetAddressLine>
                            </addr>
                            <asOtherIDs classCode="PAT">
                                <id root="2.16.840.1.113883.4.1" extension="123-11-1234"/>
                                <scopingOrganization classCode="ORG" determinerCode="INSTANCE">
                                    <id root="2.16.840.1.113883.4.1"/>
                                </scopingOrganization>
                            </asOtherIDs>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>
        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="79233"
                            assigningAuthorityName="HZLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Mueller</family>
                                <given>Joachim</given>
                            </name>
                            <name>
                                <family qualifier="BR">Mueller</family>
                            </name>
                            <telecom value="tel:022/844275" use="H"/>
                            <administrativeGenderCode code="M"/>
                            <birthTime value="19400101"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>57000</postalCode>
                                <city>Koeln</city>
                                <streetAddressLine>Am Domplatz 112</streetAddressLine>
                            </addr>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>
        <subject typeCode="SUBJ">
            <registrationEvent classCode="REG" moodCode="EVN">
                <statusCode code="active"/>
                <subject1 typeCode="SBJ">
                    <patient classCode="PAT">
                        <id root="2.16.840.1.113883.3.37.4.1.1.2.511.1" extension="78006"
                            assigningAuthorityName="PKLN"/>
                        <statusCode code="active"/>
                        <patientPerson classCode="PSN" determinerCode="INSTANCE">
                            <name use="L">
                                <family>Schmidt</family>
                                <given>Heidi</given>
                            </name>
                            <name>
                                <family qualifier="BR">Schmidt</family>
                            </name>
                            <telecom value="tel:06221/23657" use="H"/>
                            <telecom value="tel:06221/82548" use="H"/>
                            <telecom value="tel:0172873459873" use="H"/>
                            <administrativeGenderCode code="F"/>
                            <birthTime value="19800131"/>
                            <addr>
                                <country>DE</country>
                                <postalCode>69126</postalCode>
                                <city>Heidelberg</city>
                                <streetAddressLine>Victoriastr. 1</streetAddressLine>
                            </addr>
                        </patientPerson>
                        <subjectOf1>
                            <queryMatchObservation classCode="COND" moodCode="EVN">
                                <code code="IHE_PDQ"/>
                                <value xsi:type="INT" value="50"/>
                            </queryMatchObservation>
                        </subjectOf1>
                    </patient>
                </subject1>
                <custodian typeCode="CST">
                    <assignedEntity classCode="ASSIGNED">
                        <id root="1.2.3"/>
                    </assignedEntity>
                </custodian>
            </registrationEvent>
        </subject>
        <queryAck>
            <queryId root="1.2.840.114350.1.13.28.1.18.5.999" extension="18204"/>
            <queryResponseCode code="OK"/>
            <resultTotalQuantity value="9"/>
            <resultCurrentQuantity value="9"/>
            <resultRemainingQuantity value="0"/>
        </queryAck>
        <queryByParameter>
            <queryId extension="18204" root="1.2.840.114350.1.13.28.1.18.5.999"/>
            <statusCode code="new"/>
            <responseModalityCode code="R"/>
            <responsePriorityCode code="I"/>
            <initialQuantity value="2"/>
            <matchCriterionList>
                <minimumDegreeMatch>
                    <value value="75" xmlns:ns1="http://www.w3.org/2001/XMLSchema-instance" ns1:type="INT"/>
                    <semanticsText>Degree of match requested</semanticsText>
                </minimumDegreeMatch>
            </matchCriterionList>
            <parameterList>
                <livingSubjectAdministrativeGender>
                    <value code="F"/>
                    <semanticsText>LivingSubject.administrativeGender</semanticsText>
                </livingSubjectAdministrativeGender>
                <livingSubjectBirthTime>
                    <value value="19400101"/>
                    <semanticsText>LivingSubject.birthTime</semanticsText>
                </livingSubjectBirthTime>
                <livingSubjectName>
                    <value>
                        <given>MARY</given>
                    </value>
                    <semanticsText>LivingSubject.name</semanticsText>
                </livingSubjectName>
                <livingSubjectName>
                    <value>
                        <family>Heidi</family>
                    </value>
                    <semanticsText>LivingSubject.name</semanticsText>
                </livingSubjectName>
                <otherIDsScopingOrganization>
                    <value root="1.3.6.1.4.1.21367.2005.1.2"/>
                    <semanticsText>OtherIDs.scopingOrganization.id</semanticsText>
                </otherIDsScopingOrganization>
                <patientAddress>
                    <value>
                        <streetAddressLine>3443 North Arctic Avenue</streetAddressLine>
                        <city>Some City</city>
                    </value>
                    <semanticsText>Patient.address</semanticsText>
                </patientAddress>
            </parameterList>
        </queryByParameter>
    </controlActProcess>
</PRPA_IN201306UV02>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy