Message Examples
XCPD ITI-55 Request
The following is an example of an XCPD Request Message sent from a requesting location to the Surescripts RLE.
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1">urn:ihe:iti:2007:CrossGatewayQuery</a:Action>
<a:MessageID>urn:uuid:5466c2e4-h5er-85ed-448e-432ed6t315e</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<Assertion ID="_cba9fd90-059c-4963-acbd-24b3ae8b7622" IssueInstant="2013-11-05T19:38:58.937Z" Version="2.0" xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
<AttributeStatement>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization">
<AttributeValue>Originator Health Clinic</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id">
<AttributeValue>urn:oid:3.2.132.132132.1.32.13.2.1.3.321321.123</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">
<AttributeValue>
<PurposeOfUse
code="TREATMENT" codeSystem="2.16.840.1.113883.3.18.7.1" codeSystemName="nhin-purpose" displayName="Treatment" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</AttributeValue>
</Attribute>
</AttributeStatement>
</Assertion>
</o:Security>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<PRPA_IN201305UV02 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3">
<id root="1.2.840.114350.1.13.79051.1.7.2.696777" extension="33404" />
<creationTime value="20131105133858-0600" />
<interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201305UV02" />
<processingCode code="P" />
<processingModeCode code="T" />
<acceptAckCode code="NE" />
<receiver typeCode="RCV">
<device classCode="DEV" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.2.688879.1001600" />
<asAgent classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.356.1.7.2.688879" />
</representedOrganization>
</asAgent>
</device>
</receiver>
<sender typeCode="SND">
<device classCode="DEV" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.2.688879.2000" />
<asAgent classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.3.688884.100" />
</representedOrganization>
</asAgent>
</device>
</sender>
<controlActProcess classCode="CACT" moodCode="EVN">
<code code="PRPA_TE201305UV02" />
<authorOrPerformer typeCode="AUT">
<assignedDevice classCode="ASSIGNED">
<id root="1.2.840.114350.1.13.79051.1.7.3.688884.100" />
</assignedDevice>
</authorOrPerformer>
<queryByParameter>
<queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba" />
<statusCode code="new" />
<responseModalityCode code="R" />
<responsePriorityCode code="I" />
<parameterList>
<livingSubjectAdministrativeGender>
<value code="M" />
<semanticsText>LivingSubject.administrativeGender</semanticsText>
</livingSubjectAdministrativeGender>
<livingSubjectBirthTime>
<value value="19610601" />
<semanticsText>LivingSubject.birthTime</semanticsText>
</livingSubjectBirthTime>
<livingSubjectId>
<value root="1.2.840.114350.1.13.79051.1.7.3.688884.100" extension="P120665500" />
<value root="2.16.840.1.113883.4.1" extension="511427863" />
<semanticsText>LivingSubject.id</semanticsText>
</livingSubjectId>
<livingSubjectName>
<value>
<given>Roman</given>
<family>Little</family>
</value>
<semanticsText>LivingSubject.name</semanticsText>
</livingSubjectName>
<patientAddress>
<value>
<streetAddressLine>5E Gold Spike Rd</streetAddressLine>
<city>Ulta</city>
<state>NV</state>
<postalCode>95632</postalCode>
</value>
<semanticsText>Patient.addr</semanticsText>
</patientAddress>
</parameterList>
</queryByParameter>
</controlActProcess>
</PRPA_IN201305UV02>
</s:Body>
</s:Envelope>XCPD ITI-55 Response
XCPD ITI-55 Response - Patient Found
The following is an example of an XCPD Response Message sent from Surescripts to the requesting location containing the results of the XCPD Request when a patient match is found.
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action
xmlns="http://www.w3.org/2005/08/addressing">urn:hl7-org:v3:PRPA_IN201306UV02:CrossGatewayPatientDiscovery
</Action>
<MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:89d2e1e0-42e3-42c8-a507-221196d7bef6
</MessageID>
<To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous
</To>
<RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:5466c2e4-h5er-85ed-448e-432ed6t315e
</RelatesTo>
</soap:Header>
<soap:Body>
<ns2:PRPA_IN201306UV02
xmlns:ns10="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
xmlns:ns7="http://www.hhs.gov/healthit/nhin"
xmlns:ns6="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade"
xmlns:ns5="http://www.w3.org/2005/08/addressing"
xmlns:ns4="urn:gov:hhs:fha:nhinc:common:nhinccommon"
xmlns:ns3="urn:hl7-org:sdtc"
xmlns:ns2="urn:hl7-org:v3" ITSVersion="XML_1.0">
<ns2:id root="a3a17464-55db-4d91-8012-ea37fcc2e959"/>
<ns2:creationTime value="20160620221404.443+0000"/>
<ns2:interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201306UV02"/>
<ns2:processingCode code="P"/>
<ns2:processingModeCode code="T"/>
<ns2:acceptAckCode code="NE"/>
<ns2:receiver typeCode="RCV">
<ns2:device classCode="DEV" determinerCode="INSTANCE">
<ns2:id root="1.2.840.114350.1.13.79051.1.7.2.688879.2000"/>
<ns2:asAgent classCode="AGNT">
<ns2:representedOrganization classCode="ORG" determinerCode="INSTANCE">
<ns2:id root="1.2.840.114350.1.13.79051.1.7.3.688884.100"/>
</ns2:representedOrganization>
</ns2:asAgent>
</ns2:device>
</ns2:receiver>
<ns2:sender typeCode="SND">
<ns2:device classCode="DEV" determinerCode="INSTANCE">
<ns2:id root="2.16.840.1.113883.3.2054.2.1"/>
<ns2:asAgent classCode="AGNT">
<ns2:representedOrganization classCode="ORG" determinerCode="INSTANCE">
<ns2:id root="2.16.840.1.113883.3.2054.2.1"/>
<ns2:name>
<ns2:family>Surescripts</ns2:family>
</ns2:name>
</ns2:representedOrganization>
</ns2:asAgent>
</ns2:device>
</ns2:sender>
<ns2:acknowledgement>
<ns2:typeCode code="AA"/>
<ns2:targetMessage>
<ns2:id root="1.2.840.114350.1.13.79051.1.7.2.696777" extension="33404"/>
</ns2:targetMessage>
</ns2:acknowledgement>
<ns2:controlActProcess classCode="CACT" moodCode="EVN">
<ns2:code code="PRPA_TE201306UV02" codeSystem="2.16.840.1.113883.1.6"/>
<ns2:subject typeCode="SUBJ">
<ns2:registrationEvent classCode="REG" moodCode="EVN">
<ns2:id nullFlavor="NA"/>
<ns2:statusCode code="active"/>
<ns2:subject1 typeCode="SBJ">
<ns2:patient classCode="PAT">
<ns2:id root="2.16.840.1.113883.3.2054.2.1" extension="6509781"/>
<ns2:statusCode code="active"/>
<ns2:patientPerson classCode="PSN" determinerCode="INSTANCE">
<ns2:name>
<ns2:given>ROMAN</ns2:given>
<ns2:family>LITTLE</ns2:family>
</ns2:name>
<ns2:administrativeGenderCode code="M"/>
<ns2:birthTime value="19610601"/>
<ns2:addr>
<ns2:streetAddressLine>5E GOLD SPIKE ROAD</ns2:streetAddressLine>
<ns2:city>ULTA</ns2:city>
<ns2:state>NV</ns2:state>
<ns2:postalCode>95632</ns2:postalCode>
</ns2:addr>
</ns2:patientPerson>
<ns2:subjectOf1>
<ns2:queryMatchObservation classCode="OBS" moodCode="EVN">
<ns2:code code="IHE_PDQ"/>
<ns2:value
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:INT" value="100"/>
</ns2:queryMatchObservation>
</ns2:subjectOf1>
</ns2:patient>
</ns2:subject1>
<ns2:custodian typeCode="CST">
<ns2:assignedEntity classCode="ASSIGNED">
<ns2:id root="2.16.840.1.113883.3.2054.2.1"/>
<ns2:code code="SupportsHealthDataLocator" codeSystem="1.3.6.1.4.1.19376.1.2.27.2"/>
</ns2:assignedEntity>
</ns2:custodian>
</ns2:registrationEvent>
</ns2:subject>
<ns2:queryAck>
<ns2:queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba"/>
<ns2:queryResponseCode code="OK"/>
</ns2:queryAck>
<ns2:queryByParameter>
<ns2:queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba"/>
<ns2:statusCode code="new"/>
<ns2:responseModalityCode code="R"/>
<ns2:responsePriorityCode code="I"/>
<ns2:parameterList>
<ns2:livingSubjectAdministrativeGender>
<ns2:value code="M"/>
<ns2:semanticsText>LivingSubject.administrativeGender</ns2:semanticsText>
</ns2:livingSubjectAdministrativeGender>
<ns2:livingSubjectBirthTime>
<ns2:value value="19610601"/>
<ns2:semanticsText>LivingSubject.birthTime</ns2:semanticsText>
</ns2:livingSubjectBirthTime>
<ns2:livingSubjectId>
<ns2:value root="1.2.840.114350.1.13.79051.1.7.3.688884.100" extension="P120665500"/>
<ns2:value root="2.16.840.1.113883.4.1" extension="511427863"/>
<ns2:semanticsText>LivingSubject.id</ns2:semanticsText>
</ns2:livingSubjectId>
<ns2:livingSubjectName>
<ns2:value>
<ns2:given>Roman</ns2:given>
<ns2:family>Little</ns2:family>
</ns2:value>
<ns2:semanticsText>LivingSubject.name</ns2:semanticsText>
</ns2:livingSubjectName>
<ns2:patientAddress>
<ns2:value>
<streetAddressLine>5E Gold Spike Rd</streetAddressLine>
<city>Ulta</city>
<state>NV</state>
<ns2:postalCode>95632</ns2:postalCode>
</ns2:value>
<ns2:semanticsText>Patient.addr</ns2:semanticsText>
</ns2:patientAddress>
</ns2:parameterList>
</ns2:queryByParameter>
</ns2:controlActProcess>
</ns2:PRPA_IN201306UV02>
</soap:Body>
</soap:Envelope>XCPD ITI-55 Response - No Patient Match
The following is an example of an XCPD Response Message sent from Surescripts to the requesting location containing the results of the XCPD Request when no patient match is found.
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action
xmlns="http://www.w3.org/2005/08/addressing">urn:hl7-org:v3:PRPA_IN201306UV02:CrossGatewayPatientDiscovery
</Action>
<MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:f06012f2-a836-4413-a3de-f85b2cfc91ac
</MessageID>
<To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous
</To>
<RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:f36c9790-5096-4008-92fb-7f88bcbb9f17
</RelatesTo>
</soap:Header>
<soap:Body>
<PRPA_IN201306UV02
xmlns="urn:hl7-org:v3"
xmlns:ns2="urn:hl7-org:sdtc"
xmlns:ns3="urn:gov:hhs:fha:nhinc:common:nhinccommon"
xmlns:ns4="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade"
xmlns:ns5="http://www.w3.org/2005/08/addressing"
xmlns:ns6="http://www.hhs.gov/healthit/nhin"
xmlns:ns7="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" ITSVersion="XML_1.0">
<id root="752de60c-1d10-440f-87da-4c20708045de"/>
<creationTime value="20160718232236.001+0000"/>
<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 classCode="DEV" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.2.688879.2000"/>
<asAgent classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.3.688884.100"/>
</representedOrganization>
</asAgent>
</device>
</receiver>
<sender typeCode="SND">
<device classCode="DEV" determinerCode="INSTANCE">
<id root="2.16.840.1.113883.3.2054.2.1"/>
<asAgent classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
<id root="2.16.840.1.113883.3.2054.2.1"/>
<name>
<family>Surescripts</family>
</name>
</representedOrganization>
</asAgent>
</device>
</sender>
<acknowledgement>
<typeCode code="AA"/>
<targetMessage>
<id root="1.2.840.114350.1.13.79051.1.7.2.696777" extension="33404"/>
</targetMessage>
</acknowledgement>
<controlActProcess classCode="CACT" moodCode="EVN">
<code code="PRPA_TE201306UV02" codeSystem="2.16.840.1.113883.1.6"/>
<queryAck>
<queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba"/>
<queryResponseCode code="NF"/>
</queryAck>
<queryByParameter>
<queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba"/>
<statusCode code="new"/>
<responseModalityCode code="R"/>
<responsePriorityCode code="I"/>
<parameterList>
<livingSubjectAdministrativeGender>
<value code="M"/>
<semanticsText>LivingSubject.administrativeGender</semanticsText>
</livingSubjectAdministrativeGender>
<livingSubjectBirthTime>
<value value="19891005"/>
<semanticsText>LivingSubject.birthTime</semanticsText>
</livingSubjectBirthTime>
<livingSubjectId>
<value root="1.2.840.114350.1.13.79051.1.7.3.688884.100" extension="P120665500"/>
<value root="2.16.840.1.113883.4.1" extension="511427863"/>
<semanticsText>LivingSubject.id</semanticsText>
</livingSubjectId>
<livingSubjectName>
<value>
<given>Morley</given>
<family>Miller</family>
</value>
<semanticsText>LivingSubject.name</semanticsText>
</livingSubjectName>
<mothersMaidenName>
<value>
<family></family>
</value>
<semanticsText>Person.MothersMaidenName</semanticsText>
</mothersMaidenName>
<patientAddress>
<value>
<streetAddressLine>2841 Bryant Ave S</streetAddressLine>
<streetAddressLine>Apt 922</streetAddressLine>
<city>Minneapolis</city>
<state>MN</state>
<postalCode>55408</postalCode>
<country></country>
</value>
<semanticsText>Patient.addr</semanticsText>
</patientAddress>
<patientTelecom>
<value value="" use=""/>
<semanticsText>Patient.telecom</semanticsText>
</patientTelecom>
</parameterList>
</queryByParameter>
</controlActProcess>
</PRPA_IN201306UV02>
</soap:Body>
</soap:Envelope>XCPD ITI-55 Response - Error Returned Processing Request
The following is an example of a XCPD Response Message sent from Surescripts to the requesting system when an error was encountered while processing the request.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:hl7-org:v3:PRPA_IN201306UV02:CrossGatewayPatientDiscovery</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:56e063dd-d134-49e3-85f6-889a5f1f856d</MessageID>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:0b71ae63-f260-4cff-b1fa-7ba70e8b5f69</RelatesTo>
</soap:Header>
<soap:Body>
<PRPA_IN201306UV02 xmlns="urn:hl7-org:v3" xmlns:ns2="urn:hl7-org:sdtc" xmlns:ns3="http://www.w3.org/2005/08/addressing" xmlns:ns4="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:ns5="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade" xmlns:ns6="http://www.hhs.gov/healthit/nhin" xmlns:ns7="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" ITSVersion="XML_1.0">
<id root="e1b2f097-a805-40cd-94f0-88613936cc46"/>
<creationTime value="20160726133257.733+0000"/>
<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 classCode="DEV" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.2.688879.2000"/>
<asAgent classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
<id root="1.2.840.114350.1.13.79051.1.7.3.688884.100"/>
</representedOrganization>
</asAgent>
</device>
</receiver>
<sender typeCode="SND">
<device classCode="DEV" determinerCode="INSTANCE">
<id root="2.16.840.1.113883.3.2054.2.1"/>
<asAgent classCode="AGNT">
<representedOrganization classCode="ORG" determinerCode="INSTANCE">
<id root="2.16.840.1.113883.3.2054.2.1"/>
<name>
<family>Surescripts</family>
</name>
</representedOrganization>
</asAgent>
</device>
</sender>
<acknowledgement>
<typeCode code="AE"/>
<targetMessage>
<id root="1.2.840.114350.1.13.79051.1.7.2.696777" extension="33404"/>
</targetMessage>
</acknowledgement>
<controlActProcess classCode="CACT" moodCode="EVN">
<code code="PRPA_TE201306UV02" codeSystem="2.16.840.1.113883.1.6"/>
<reasonOf typeCode="RSON">
<detectedIssueEvent classCode="ALRT" moodCode="EVN">
<mitigatedBy typeCode="MITGT">
<detectedIssueManagement classCode="ACT" moodCode="EVN">
<code code="AnswerNotAvailable" codeSystem="1.3.6.1.4.1.19376.1.2.27.3"/>
<text>Only M, F, UN administrative gender codes are accepted</text>
</detectedIssueManagement>
</mitigatedBy>
</detectedIssueEvent>
</reasonOf>
<queryAck>
<queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba"/>
<queryResponseCode code="AE"/>
</queryAck>
<queryByParameter>
<queryId root="ea35eb04-4651-11e3-a0b6-0050568b42ba"/>
<statusCode code="new"/>
<responseModalityCode code="R"/>
<responsePriorityCode code="I"/>
<parameterList>
<livingSubjectAdministrativeGender>
<value code="UNK"/>
<semanticsText>LivingSubject.administrativeGender</semanticsText>
</livingSubjectAdministrativeGender>
<livingSubjectBirthTime>
<value value="19280612"/>
<semanticsText>LivingSubject.birthTime</semanticsText>
</livingSubjectBirthTime>
<livingSubjectId>
<value root="1.2.840.114350.1.13.79051.1.7.3.688884.100" extension="P120665500"/>
<value root="2.16.840.1.113883.4.1" extension="511427863"/>
<semanticsText>LivingSubject.id</semanticsText>
</livingSubjectId>
<livingSubjectName>
<value>
<given>Theresa</given>
<family>Olson</family>
</value>
<semanticsText>LivingSubject.name</semanticsText>
</livingSubjectName>
<mothersMaidenName>
<value>
<family></family>
</value>
<semanticsText>Person.MothersMaidenName</semanticsText>
</mothersMaidenName>
<patientAddress>
<value>
<streetAddressLine>3141 East Avenue South</streetAddressLine>
<streetAddressLine></streetAddressLine>
<city>La Crosse</city>
<state>WI</state>
<postalCode>546017228</postalCode>
<country></country>
</value>
<semanticsText>Patient.addr</semanticsText>
</patientAddress>
<patientTelecom>
<value value="" use=""/>
<semanticsText>Patient.telecom</semanticsText>
</patientTelecom>
</parameterList>
</queryByParameter>
</controlActProcess>
</PRPA_IN201306UV02>
</soap:Body>
</soap:Envelope>PLQ ITI-56 Request
The following is an example of a PLQ Request Message sent from the requesting location to the Surescripts RLE to locate a list of communities that may have records for a patient referenced by a patient identifier.
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:xcpd="urn:ihe:iti:xcpd:2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1">urn:ihe:iti:2007:CrossGatewayQuery</a:Action>
<a:MessageID>urn:uuid:52e5fg51-7ed4-dg2e-7548-2e555e2s6fd</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<DirectAddressReplyOverride/>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<Assertion ID="_cba9fd90-059c-4963-acbd-24b3ae8b7622" IssueInstant="2013-11-05T19:38:58.937Z" Version="2.0" xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
<AttributeStatement>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization">
<AttributeValue>Originator Health Clinic</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id">
<AttributeValue>urn:oid:3.2.132.132132.1.32.13.2.1.3.321321.123</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">
<AttributeValue>
<PurposeOfUse
code="TREATMENT" codeSystem="2.16.840.1.113883.3.18.7.1" codeSystemName="nhin-purpose" displayName="Treatment" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</AttributeValue>
</Attribute>
</AttributeStatement>
</Assertion>
</o:Security>
</s:Header>
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<PatientLocationQueryRequest xmlns="urn:ihe:iti:xcpd:2009">
<RequestedPatientId assigningAuthorityName="Surescripts" root="2.16.840.1.113883.3.2054.2.1" extension="6509781"/>
</PatientLocationQueryRequest>
</s:Body>
</s:Envelope>PLQ ITI-56 Response
PLQ ITI-56 Response - Patient Record Locations Returned
The following is an example of a PLQ Response Message sent from Surescripts to the requesting location containing the results of the PLQ Request.
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action
xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2009:PatientLocationQueryResponse
</Action>
<MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:8f780679-e5b8-4769-aa99-ca21582aa6a3
</MessageID>
<To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous
</To>
<RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:52e5fg51-7ed4-dg2e-7548-2e555e2s6fd
</RelatesTo>
</soap:Header>
<soap:Body>
<PatientLocationQueryResponse
xmlns="urn:ihe:iti:xcpd:2009"
xmlns:ns10="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
xmlns:ns2="urn:hl7-org:v3"
xmlns:ns3="urn:hl7-org:sdtc"
xmlns:ns4="urn:gov:hhs:fha:nhinc:common:nhinccommon"
xmlns:ns5="http://www.w3.org/2005/08/addressing"
xmlns:ns6="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade"
xmlns:ns7="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
xmlns:ns8="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
xmlns:ns9="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
<PatientLocationResponse>
<HomeCommunityId>urn:oid:1.3.6.1.4.1.21367.13.70.82</HomeCommunityId>
<CorrespondingPatientId extension="280024" root="1.2872.1.1"/>
<RequestedPatientId extension="6509781" root="2.16.840.1.113883.3.2054.2.1"/>
</PatientLocationResponse>
<PatientLocationResponse>
<HomeCommunityId>urn:oid:2.16.840.1.113883.3.2054.2.1</HomeCommunityId>
<CorrespondingPatientId extension="B320025" root="2.16.840.1.113883.3.333"/>
<RequestedPatientId extension="6509781" root="2.16.840.1.113883.3.2054.2.1"/>
</PatientLocationResponse>
<PatientLocationResponse>
<HomeCommunityId>urn:oid:2.16.840.1.113883.3.2054.2.1</HomeCommunityId>
<CorrespondingPatientId extension="6509781" root="2.16.840.1.113883.3.2054.2.1"/>
<RequestedPatientId extension="6509781" root="2.16.840.1.113883.3.2054.2.1"/>
</PatientLocationResponse>
</PatientLocationQueryResponse>
</soap:Body>
</soap:Envelope>PLQ ITI-56 Response - Not a Health Data Locator
The following is an example of a PLQ Response Message sent from Surescripts to the requesting location when Surescripts never had, or no longer has information on the requested patient. The response will be a soap fault and indicate that Surescripts is ‘Not a Health Data Locator’. The requesting system should drop this Patient ID correlation and start over with an XCPD for this patient.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:xcpd:2009:RespondingGateway_PortType:RespondingGateway_PatientLocationQuery:Fault:ExpectedProcessorException</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:094671f5-264f-4132-a86e-ceb3c01d55f1</MessageID>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:97adff56-3721-4f4a-bdab-7920874c53f3</RelatesTo>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Sender</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text xml:lang="en">Not a Health Data Locator for patient identifiers with root O<Brien></soap:Text>
</soap:Reason>
</soap:Fault>
</soap:Body>
</soap:Envelope>PLQ ITI-56 Response - Error Returned Processing Request
The following is an example of a PLQ Response Message sent from Surescripts to the requesting system when an error was encountered while processing the request.
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action
xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:xcpd:2009:RespondingGateway_PortType:RespondingGateway_PatientLocationQuery:Fault:ExpectedProcessorException
</Action>
<MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:c54b4e94-686d-4e8f-9257-430e13d6b026
</MessageID>
<To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous
</To>
<RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:6cb07a13-7c55-47a3-a299-88e5f53e7a60
</RelatesTo>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Sender</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text xml:lang="en">A patient identifier root (max length = 64 characters) must be entered.</soap:Text>
</soap:Reason>
</soap:Fault>
</soap:Body>
</soap:Envelope>XCA Query ITI-38 Request
The following is an example of a XCA Query Request Message sent from the requesting location to Surescripts.
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1">urn:ihe:iti:2007:CrossGatewayQuery</a:Action>
<a:MessageID>urn:uuid:8dgs25ed-he8s-rtg5-wed1-26we15fs7ts</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<DirectAddressReplyOverride/>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<Assertion ID="_cba9fd90-059c-4963-acbd-24b3ae8b7622" IssueInstant="2013-11-05T19:38:58.937Z" Version="2.0" xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
<AttributeStatement>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization">
<AttributeValue>Originator Health Clinic</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id">
<AttributeValue>urn:oid:3.2.132.132132.1.32.13.2.1.3.321321.123</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">
<AttributeValue>
<PurposeOfUse
code="TREATMENT" codeSystem="2.16.840.1.113883.3.18.7.1" codeSystemName="nhin-purpose" displayName="Treatment" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</AttributeValue>
</Attribute>
</AttributeStatement>
</Assertion>
</o:Security>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<AdhocQueryRequest xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
<ResponseOption returnType="LeafClass" returnComposedObjects="true"/>
<AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
<Slot name="$XDSDocumentEntryPatientId">
<ValueList>
<Value>6509781^^^&2.16.840.1.113883.3.2054.2.1</Value>
</ValueList>
</Slot>
<Slot name="$XDSDocumentEntryStatus">
<ValueList>
<Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</Value>
</ValueList>
</Slot>
</AdhocQuery>
</AdhocQueryRequest>
</s:Body>
</s:Envelope>XCA Query ITI-38 Response
XCA Query ITI-38 Response - Location Summary Metadata Returned
The following is an example of an XCA Query Response Message sent from Surescripts to the requesting location.
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action
xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayQueryResponse
</Action>
<MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:5f13b87f-02bc-4d6d-aa93-eba20017b153
</MessageID>
<To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous
</To>
<RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:8dgs25ed-he8s-rtg5-wed1-26we15fs7ts
</RelatesTo>
</soap:Header>
<soap:Body>
<ns4:AdhocQueryResponse
xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" totalResultCount="1" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success">
<ns2:RegistryObjectList>
<ns2:ExtrinsicObject mimeType="text/xml" lid="81d301a8-60a6-4730-b00a-2cc09b840e10" objectType="urn:uuid:34268e47-fdf5-41a6-ba33-82133c465248" status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved" id="81d301a8-60a6-4730-b00a-2cc09b840e10" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<ns2:Slot name="languageCode">
<ns2:ValueList>
<ns2:Value>en-us</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Slot name="repositoryUniqueId">
<ns2:ValueList>
<ns2:Value>2.16.840.1.113883.3.2054.2.1</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Slot name="sourcePatientId">
<ns2:ValueList>
<ns2:Value>6509781^^^&2.16.840.1.113883.3.2054.2.1&ISO</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Slot name="URI">
<ns2:ValueList>
<ns2:Value>LocationSummary.xml</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Name>
<ns2:LocalizedString value="Surescripts Location Summary"/>
</ns2:Name>
<ns2:VersionInfo versionName="1.0" comment="initial version"/>
<ns2:Classification classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d" classifiedObject="81d301a8-60a6-4730-b00a-2cc09b840e10" nodeRepresentation="" lid="urn:uuid:9ee45e3c-5ede-3656-faaf-193b57ea4c92" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification" id="urn:uuid:9ee45e3c-5ede-3656-faaf-193b57ea4c92" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<ns2:Slot name="authorInstitution">
<ns2:ValueList>
<ns2:Value>Surescripts^^^^^^^^^2.16.840.1.113883.3.2054.2.1</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
</ns2:Classification>
<ns2:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="81d301a8-60a6-4730-b00a-2cc09b840e10" nodeRepresentation="56816-2" lid="urn:uuid:9ee45e46-5ede-3656-5655-193b57ea4c92" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification" id="urn:uuid:9ee45e46-5ede-3656-5655-193b57ea4c92" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<ns2:Slot name="codingScheme">
<ns2:ValueList>
<ns2:Value>2.16.840.1.113883.6.1</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Name>
<ns2:LocalizedString xml:lang="en-us" charset="UTF-8" value="Location Summary"/>
</ns2:Name>
</ns2:Classification>
<ns2:Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="81d301a8-60a6-4730-b00a-2cc09b840e10" nodeRepresentation="urn:ihe:pcc:xphr:2007" lid="urn:uuid:9ee45e50-5ede-3656-a81a-0600bfffed7c" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification" id="urn:uuid:9ee45e50-5ede-3656-a81a-0600bfffed7c" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<ns2:Slot name="codingScheme">
<ns2:ValueList>
<ns2:Value>1.3.6.1.4.1.19376.1.2.3</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Name>
<ns2:LocalizedString xml:lang="en-us" charset="UTF-8" value="Exchange of Personal Health Records"/>
</ns2:Name>
</ns2:Classification>
<ns2:Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="81d301a8-60a6-4730-b00a-2cc09b840e10" nodeRepresentation="56816-2" lid="urn:uuid:9ee45e5a-5ede-3656-2e72-0600bfffed7c" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification" id="urn:uuid:9ee45e5a-5ede-3656-2e72-0600bfffed7c" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<ns2:Slot name="codingScheme">
<ns2:ValueList>
<ns2:Value>2.16.840.1.113883.6.1</ns2:Value>
</ns2:ValueList>
</ns2:Slot>
<ns2:Name>
<ns2:LocalizedString xml:lang="en-us" charset="UTF-8" value="Location Summary"/>
</ns2:Name>
</ns2:Classification>
<ns2:ExternalIdentifier registryObject="81d301a8-60a6-4730-b00a-2cc09b840e10" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="2.16.840.1.113883.3.2054.2.1.53008131" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier" id="urn:uuid:9ee45e64-5ede-3656-33d3-0bd6a784cb6d">
<ns2:Name>
<ns2:LocalizedString xml:lang="en-us" charset="UTF-8" value="XDSDocumentEntry.uniqueId"/>
</ns2:Name>
</ns2:ExternalIdentifier>
<ns2:ExternalIdentifier registryObject="81d301a8-60a6-4730-b00a-2cc09b840e10" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="6509781^^^&2.16.840.1.113883.3.2054.2.1&ISO" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier" id="urn:uuid:9ee45e6e-5ede-3656-e81e-0bd6a784cb6d">
<ns2:Name>
<ns2:LocalizedString xml:lang="en-us" charset="UTF-8" value="XDSDocumentEntry.patientId"/>
</ns2:Name>
</ns2:ExternalIdentifier>
</ns2:ExtrinsicObject>
</ns2:RegistryObjectList>
</ns4:AdhocQueryResponse>
</soap:Body>
</soap:Envelope>
<Slot name="codingScheme">
<ValueList>
<Value>2.16.840.1.113883.6.1</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString xml:lang="en-us" charset="UTF-8" value="Summary of episode note"/>
</Name>
</Classification>
<Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="d52192e8-97d7-4608-aa62-c0f038cff984" nodeRepresentation="urn:ihe:pcc:xphr:2007" lid="urn:uuid:6264c6b8-a25c-069a-5885-64afd52d425c" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification" id="urn:uuid:6264c6b8-a25c-069a-5885-64afd52d425c" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<Slot name="codingScheme">
<ValueList>
<Value>1.3.6.1.4.1.19376.1.2.3</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString xml:lang="en-us" charset="UTF-8" value="Exchange of Personal Health Records"/>
</Name>
</Classification>
<Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="d52192e8-97d7-4608-aa62-c0f038cff984" nodeRepresentation="34133-9" lid="urn:uuid:6264c6c2-a25c-069a-4014-5464b0bbc308" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification" id="urn:uuid:6264c6c2-a25c-069a-4014-5464b0bbc308" home="urn:oid:2.16.840.1.113883.3.2054.2.1">
<Slot name="codingScheme">
<ValueList>
<Value>2.16.840.1.113883.6.1</Value>
</ValueList>
</Slot>
<Name>
<LocalizedString xml:lang="en-us" charset="UTF-8" value="Summary of episode note"/>
</Name>
</Classification>
<ExternalIdentifier registryObject="d52192e8-97d7-4608-aa62-c0f038cff984" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="2.16.840.1.113883.3.2054.2.1.6509811" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier" id="urn:uuid:6264c6cc-a25c-069a-23c2-85681bdb2f75">
<Name>
<LocalizedString xml:lang="en-us" charset="UTF-8" value="XDSDocumentEntry.uniqueId"/>
</Name>
</ExternalIdentifier>
<ExternalIdentifier registryObject="d52192e8-97d7-4608-aa62-c0f038cff984" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="6509781^^^&2.16.840.1.113883.3.2054.2.1&ISO" objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier" id="urn:uuid:6264c6d6-a25c-069a-ae6a-9ea49181029c">
<Name>
<LocalizedString xml:lang="en-us" charset="UTF-8" value="XDSDocumentEntry.patientId"/>
</Name>
</ExternalIdentifier>
</ExtrinsicObject>
</RegistryObjectList>
</ns3:AdhocQueryResponse>
</soap:Body>
</soap:Envelope>XCA Query ITI-38 Response - No Documents Available
The following is an example of an XCA Query Response Message sent from Surescripts to the requesting location when no documents are available for the requested patient.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayQueryResponse</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:b2d43bfd-2fba-4adc-8887-18915c07c0bc</MessageID>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:077f3111-6609-48db-88cf-dd4280498461</RelatesTo>
</soap:Header>
<soap:Body>
<ns3:AdhocQueryResponse xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" totalResultCount="0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/>
</soap:Body>
</soap:Envelope>XCA Query ITI-38 Response - Error Returned Processing Request
The following is an example of an XCA Query Error Response Message sent from Surescripts to the requesting location.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayQueryResponse</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:8ab7dcfa-7aee-4415-98a9-9eb7f5a97a9d</MessageID>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:6ac7dafa-8aee-4415-98a9-9eb7f5a97a6f</RelatesTo>
</soap:Header>
<soap:Body>
<ns3:AdhocQueryResponse xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure">
<ns2:RegistryErrorList highestSeverity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error">
<ns2:RegistryError codeContext="Subject Organization required" errorCode="XDSRegistryError" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/>
</ns2:RegistryErrorList>
<RegistryObjectList/>
</ns3:AdhocQueryResponse>
</soap:Body>
</soap:Envelope>XCA Retrieve ITI-39 Request
The following is an example of a XCA Retrieve Request Message sent from the requesting location to Surescripts.
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:urn="urn:ihe:iti:xds-b:2007">
<s:Header>
<a:Action s:mustUnderstand="1">urn:ihe:iti:2007:CrossGatewayQuery</a:Action>
<a:MessageID>urn:uuid:ew8d2w81-95we-h2w8-71e5-25w5f1sd6f1</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<a:To s:mustUnderstand="1" u:Id="_1">https://test.abc.com/abc.community/xca.svc</a:To>
<a:From a:IsReferenceParameter="true">
<a:Address>urn:abc:123.xcarequest</a:Address>
</a:From>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2013-11-05T19:38:58.953Z</u:Created>
<u:Expires>2013-11-05T19:43:58.953Z</u:Expires>
</u:Timestamp>
<Assertion ID="_cba9fd90-059c-4963-acbd-24b3ae8b7622" IssueInstant="2013-11-05T19:38:58.937Z" Version="2.0" xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
<AttributeStatement>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization">
<AttributeValue>Originator Health Clinic</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id">
<AttributeValue>urn:oid:3.2.132.132132.1.32.13.2.1.3.321321.123</AttributeValue>
</Attribute>
<Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">
<AttributeValue>
<PurposeOfUse
code="TREATMENT" codeSystem="2.16.840.1.113883.3.18.7.1" codeSystemName="nhin-purpose" displayName="Treatment" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</AttributeValue>
</Attribute>
</AttributeStatement>
</Assertion>
</o:Security>
</s:Header>
<s:Body>
<urn:RetrieveDocumentSetRequest><!--One Document request-->
<urn:DocumentRequest>
<urn:HomeCommunityId>urn:oid:2.16.840.1.113883.3.2054.2.1</urn:HomeCommunityId>
<urn:RepositoryUniqueId>2.16.840.1.113883.3.2054.2.1</urn:RepositoryUniqueId>
<urn:DocumentUniqueId>2.16.840.1.113883.3.2054.2.1.53008131</urn:DocumentUniqueId>
</urn:DocumentRequest>
</urn:RetrieveDocumentSetRequest>
</s:Body>
</s:Envelope>XCA Retrieve ITI-39 Response
XCA Retrieve ITI-39 Response - Records Returned
The following is an example of a XCA Retrieve Response Message sent from Surescripts to the requesting location.
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action
xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayRetrieveResponse
</Action>
<MessageID
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:3e9cabc7-e902-44b3-8c33-a3ccc88b108f
</MessageID>
<To
xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous
</To>
<RelatesTo
xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:ew8d2w81-95we-h2w8-71e5-25w5f1sd6f1
</RelatesTo>
</soap:Header>
<soap:Body>
<ns2:RetrieveDocumentSetResponse
xmlns:ns6="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
xmlns:ns2="urn:ihe:iti:xds-b:2007">
<ns4:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/>
<ns2:DocumentResponse>
<ns2:HomeCommunityId>urn:oid:2.16.840.1.113883.3.2054.2.1</ns2:HomeCommunityId>
<ns2:RepositoryUniqueId>2.16.840.1.113883.3.2054.2.1</ns2:RepositoryUniqueId>
<ns2:DocumentUniqueId>2.16.840.1.113883.3.2054.2.1.53008131</ns2:DocumentUniqueId>
<ns2:NewDocumentUniqueId>2.16.840.1.113883.3.2054.2.1.53008141</ns2:NewDocumentUniqueId>
<ns2:mimeType>text/xml</ns2:mimeType>
<ns2:Document>PD94bWwgdmVy0ZD48G....
.... encoded document data truncated for readability .....
</ns2:Document>
</ns2:DocumentResponse>
</ns2:RetrieveDocumentSetResponse>
</soap:Body>
</soap:Envelope>XCA Retrieve ITI-39 Response - Error Returned Processing Request
The following is an example of an XCA Retrieve Error Response Message sent from Surescripts to the requesting location.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2007:CrossGatewayRetrieveResponse</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:d64dc016-c965-4808-b773-f57b679ff487</MessageID>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">3a4655c4-b075-4c10-8af2-c5b16b442b9d</RelatesTo>
</soap:Header>
<soap:Body>
<RetrieveDocumentSetResponse xmlns="urn:ihe:iti:xds-b:2007" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0">
<ns3:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure">
<ns3:RegistryErrorList highestSeverity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error">
<ns3:RegistryError codeContext="Home Community ID must be specified" errorCode="XDSMissingHomeCommunityId" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/>
</ns3:RegistryErrorList>
</ns3:RegistryResponse>
</RetrieveDocumentSetResponse>
</soap:Body>
</soap:Envelope>Surescripts Location Summary CDA
Note: Each location is listed in multiple elements within the Location Summary CDA.
- HTML table data within the structuredBody is typically viewed by users with a stylesheet applied within the EHR.
- Each location is also included as an XML encounter entry with discrete data elements.
a. Encounter entries are available to be parsed by a system for use within the EHR.
b. When available, data includes encounter date, NPI, address, organization and provider names, phone, and specialty information as seen in the table data of the structured body.
The following table includes further explanation for key fields.
Note: While name and address information is typically included, encounter date and NPI are the mandatory fields that will always be included. Other elements are optional and will be included when available.
Element | Description |
|---|---|
recordTarget/patientRole> | Contains patient data |
id root | Assign authority |
id extension | Patient ID |
addr | Patient address |
name | Patient name |
author & custodian | Will always be Surescripts |
structuredBody | |
text | The text table within the structuredBody contains an HTML formatted version of the location information contained in the Location Summary CDA. This is typically viewed by a person using a stylesheet. |
encounter | For each row from the text table, a separate encounter entry will be included. The encounter entry is XML and may be parsed for use in an application. |
effectiveTime | Indicates the date of the encounter |
performer/assignedEntity/id | Extension contains the NPI with id root always set to 2.16.840.1.113883.4.6 |
performer/assignedEntity/addr | Contains the address of the location |
performer/assignedEntity/telecom | Contains the phone number of the location |
performer/assignedEntity/assignedPerson | Contains provider name |
participant/code | The NUCC coded specialty |
participant/addr | Contains the address of the location (will match the address from performer/assignedEntity/addr). |
participant/telecom | Contains the phone of the location (will match the phone number from performer/assignedEntity/telecom). |
participant/playingEntity | Contains the organization name, if known; otherwise, it contains the concatenated provider first and last name. |
The following is an example of a Surescripts Location Summary CDA.
<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">
<realmCode code="US"/>
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
<templateId root="2.16.840.1.113883.10.20.22.1.2"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="2.16.840.1.113883.3.2054.2.1.53008131"/>
<code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Location Summary"/>
<title>Surescripts Location Summary</title>
<effectiveTime value="20161219203004"/>
<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" codeSystemName="HL7 Confidentiality Code" displayName="normal"/>
<languageCode code="en-US"/>
<recordTarget>
<patientRole>
<id root="2.16.840.1.113883.3.2054.2.1" extension="6509781"/>
<addr>
<streetAddressLine>5E GOLD SPIKE RD</streetAddressLine>
<city>ULTA</city>
<state>NV</state>
<postalCode>95632</postalCode>
<country>US</country>
</addr>
<telecom nullFlavor="NI" value=""/>
<patient>
<name>
<given>ROMAN</given>
<family>LITTLE</family>
</name>
<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" codeSystemName="AdministrativeGender" displayName="Male"/>
<birthTime value="19610601"/>
</patient>
</patientRole>
</recordTarget>
<author>
<time value="20161219203004"/>
<assignedAuthor>
<id nullFlavor="NA" root="2.16.840.1.113883.3.2054.2.1"/>
<addr>
<streetAddressLine>920 2nd Avenue South</streetAddressLine>
<streetAddressLine>Suite 400</streetAddressLine>
<city>Minneapolis</city>
<state>MN</state>
<postalCode>55402</postalCode>
<country>US</country>
</addr>
<telecom nullFlavor="NI" value=""/>
<assignedAuthoringDevice>
<softwareName>Surescripts RLE</softwareName>
</assignedAuthoringDevice>
<representedOrganization>
<name>Surescripts</name>
</representedOrganization>
</assignedAuthor>
</author>
<custodian>
<assignedCustodian>
<representedCustodianOrganization>
<id nullFlavor="NA" root="2.16.840.1.113883.3.2054.2.1"/>
<name>Surescripts</name>
<telecom nullFlavor="NI" value=""/>
<addr>
<streetAddressLine>920 2nd Avenue South</streetAddressLine>
<streetAddressLine>Suite 400</streetAddressLine>
<city>Minneapolis</city>
<state>MN</state>
<postalCode>55402</postalCode>
<country>US</country>
</addr>
</representedCustodianOrganization>
</assignedCustodian>
</custodian>
<documentationOf>
<serviceEvent classCode="PCPR">
<effectiveTime>
<low nullFlavor="NA"/>
<high nullFlavor="NA"/>
</effectiveTime>
</serviceEvent>
</documentationOf>
<component>
<structuredBody>
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.22"/>
<templateId root="2.16.840.1.113883.10.20.22.2.22" extension="2015-08-01"/>
<templateId root="2.16.840.1.113883.10.20.22.2.22.1"/>
<templateId root="2.16.840.1.113883.10.20.22.2.22.1" extension="2015-08-01"/>
<code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of Encounters"/>
<title>Surescripts Location Summary</title>
<text>
<paragraph>The following is a list of possible locations where this patient may have records.</paragraph>
<table border="1">
<thead>
<tr>
<th>Date</th>
<th>Organization Name</th>
<th>Last Name</th>
<th>First Name</th>
<th>Suffix</th>
<th>Specialty</th>
<th>Address</th>
<th>City</th>
<th>State</th>
<th>Zip</th>
<th>Phone</th>
<th>Provider NPI</th>
</tr>
</thead>
<tbody>
<tr ID="encounter1">
<td>06/18/2016</td>
<td>Ajit Medical Center</td>
<td>Jones</td>
<td>Jennifer</td>
<td/>
<td>Nuclear Cardiology</td>
<td>4940 Excelsior Ave</td>
<td>Suffton</td>
<td>GA</td>
<td>25856</td>
<td>(706) 455-2345</td>
<td>1287373835</td>
</tr>
<tr ID="encounter2">
<td>07/15/2015</td>
<td>Highland Clinic</td>
<td/>
<td/>
<td/>
<td/>
<td>414 Cleveland Avenue</td>
<td>Suffton</td>
<td>GA</td>
<td>25856</td>
<td>(706) 644-5555</td>
<td>1233333339</td>
</tr>
<tr ID="encounter3">
<td>06/24/2015</td>
<td>Turner Health Care</td>
<td>Turner</td>
<td>Mary</td>
<td/>
<td>Adult Medicine</td>
<td>78 Potter Way</td>
<td>Suffton</td>
<td>GA</td>
<td>25856</td>
<td>(706) 777-2222</td>
<td>1288888880</td>
</tr>
<tr ID="encounter4">
<td>01/30/2015</td>
<td/>
<td>Young</td>
<td>Gloria</td>
<td>MD</td>
<td>Cardiovascular Disease</td>
<td>4350 Dewey Ave Ste 72</td>
<td>Omaha</td>
<td>NE</td>
<td>68105-1017</td>
<td>(402) 444-3333 x 2305</td>
<td>1222222220</td>
</tr>
<tr ID="encounter5">
<td>11/30/2014</td>
<td>Turner Health Care</td>
<td>Turner</td>
<td>Mary</td>
<td/>
<td>Adult Medicine</td>
<td>78 Potter Way</td>
<td>Suffton</td>
<td>GA</td>
<td>25856</td>
<td>(706) 777-2222</td>
<td>1288888880</td>
</tr>
<tr ID="encounter6">
<td>05/14/2014</td>
<td>Center For Health North Clinic</td>
<td/>
<td/>
<td/>
<td>Internal Medicine</td>
<td>649 S 42nd St</td>
<td>Omaha</td>
<td>NE</td>
<td>68198-1002</td>
<td>(402) 644-9988</td>
<td>1244444448</td>
</tr>
</tbody>
</table>
</text>
<entry>
<encounter classCode="ENC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
<templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="20160618-1287373835" assigningAuthorityName="Surescripts"/>
<code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory">
<originalText>Patient Interaction</originalText>
</code>
<text>
<reference value="#encounter1"/>
</text>
<effectiveTime value="20160618"/>
<performer typeCode="PRF">
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
<assignedEntity classCode="ASSIGNED">
<id root="2.16.840.1.113883.4.6" extension="1287373835"/>
<addr>
<streetAddressLine>4940 Excelsior Ave</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)455-2345" use="WP"/>
<assignedPerson>
<name>
<given>Jennifer</given>
<family>Jones</family>
</name>
</assignedPerson>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="SDLOC">
<id root="2.16.840.1.113883.10.20.22.4.32"/>
<code code="207UN0901X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Health Care Provider Taxonomy" displayName="Nuclear Cardiology">
<originalText>Nuclear Cardiology</originalText>
</code>
<addr>
<streetAddressLine>4940 Excelsior Ave</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)455-2345" use="WP"/>
<playingEntity classCode="PLC">
<name>Ajit Medical Center</name>
</playingEntity>
</participantRole>
</participant>
</encounter>
</entry>
<entry>
<encounter classCode="ENC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
<templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="20150715-1233333339" assigningAuthorityName="Surescripts"/>
<code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory">
<originalText>Patient Interaction</originalText>
</code>
<text>
<reference value="#encounter2"/>
</text>
<effectiveTime value="20150715"/>
<performer typeCode="PRF">
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
<assignedEntity classCode="ASSIGNED">
<id root="2.16.840.1.113883.4.6" extension="1233333339"/>
<addr>
<streetAddressLine>414 Cleveland Avenue</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)644-5555" use="WP"/>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="SDLOC">
<id root="2.16.840.1.113883.10.20.22.4.32"/>
<addr>
<streetAddressLine>414 Cleveland Avenue</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)644-5555" use="WP"/>
<playingEntity classCode="PLC">
<name>Highland Clinic</name>
</playingEntity>
</participantRole>
</participant>
</encounter>
</entry>
<entry>
<encounter classCode="ENC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
<templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="20150624-1288888880" assigningAuthorityName="Surescripts"/>
<code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory">
<originalText>Patient Interaction</originalText>
</code>
<text>
<reference value="#encounter3"/>
</text>
<effectiveTime value="20150624"/>
<performer typeCode="PRF">
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
<assignedEntity classCode="ASSIGNED">
<id root="2.16.840.1.113883.4.6" extension="1288888880"/>
<addr>
<streetAddressLine>78 Potter Way</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)777-2222" use="WP"/>
<assignedPerson>
<name>
<given>Mary</given>
<family>Turner</family>
</name>
</assignedPerson>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="SDLOC">
<id root="2.16.840.1.113883.10.20.22.4.32"/>
<code code="207QA0505X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Health Care Provider Taxonomy" displayName="Adult Medicine">
<originalText>Adult Medicine</originalText>
</code>
<addr>
<streetAddressLine>78 Potter Way</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)777-2222" use="WP"/>
<playingEntity classCode="PLC">
<name>Turner Health Care</name>
</playingEntity>
</participantRole>
</participant>
</encounter>
</entry>
<entry>
<encounter classCode="ENC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
<templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="20150130-1222222220" assigningAuthorityName="Surescripts"/>
<code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory">
<originalText>Patient Interaction</originalText>
</code>
<text>
<reference value="#encounter4"/>
</text>
<effectiveTime value="20150130"/>
<performer typeCode="PRF">
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
<assignedEntity classCode="ASSIGNED">
<id root="2.16.840.1.113883.4.6" extension="1222222220"/>
<addr>
<streetAddressLine>4350 Dewey Ave</streetAddressLine>
<streetAddressLine>Ste 72</streetAddressLine>
<city>Omaha</city>
<state>NE</state>
<postalCode>681051017</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(402)444-3333x2305" use="WP"/>
<assignedPerson>
<name>
<given>Gloria</given>
<family>Young</family>
<suffix qualifier="AC">MD</suffix>
</name>
</assignedPerson>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="SDLOC">
<id root="2.16.840.1.113883.10.20.22.4.32"/>
<code code="207RC0000X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Health Care Provider Taxonomy" displayName="Cardiovascular Disease">
<originalText>Cardiovascular Disease</originalText>
</code>
<addr>
<streetAddressLine>4350 Dewey Ave</streetAddressLine>
<streetAddressLine>Ste 72</streetAddressLine>
<city>Omaha</city>
<state>NE</state>
<postalCode>681051017</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(402)444-3333x2305" use="WP"/>
<playingEntity classCode="PLC">
<name>Gloria Young</name>
</playingEntity>
</participantRole>
</participant>
</encounter>
</entry>
<entry>
<encounter classCode="ENC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
<templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="20141130-1288888880" assigningAuthorityName="Surescripts"/>
<code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory">
<originalText>Patient Interaction</originalText>
</code>
<text>
<reference value="#encounter5"/>
</text>
<effectiveTime value="20141130"/>
<performer typeCode="PRF">
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
<assignedEntity classCode="ASSIGNED">
<id root="2.16.840.1.113883.4.6" extension="1288888880"/>
<addr>
<streetAddressLine>78 Potter Way</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)777-2222" use="WP"/>
<assignedPerson>
<name>
<given>Mary</given>
<family>Turner</family>
</name>
</assignedPerson>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="SDLOC">
<id root="2.16.840.1.113883.10.20.22.4.32"/>
<code code="207QA0505X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Health Care Provider Taxonomy" displayName="Adult Medicine">
<originalText>Adult Medicine</originalText>
</code>
<addr>
<streetAddressLine>78 Potter Way</streetAddressLine>
<city>Suffton</city>
<state>GA</state>
<postalCode>25856</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(706)777-2222" use="WP"/>
<playingEntity classCode="PLC">
<name>Turner Health Care</name>
</playingEntity>
</participantRole>
</participant>
</encounter>
</entry>
<entry>
<encounter classCode="ENC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.49"/>
<templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
<id root="2.16.840.1.113883.3.2054.2.1" extension="20140514-1244444448" assigningAuthorityName="Surescripts"/>
<code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory">
<originalText>Patient Interaction</originalText>
</code>
<text>
<reference value="#encounter6"/>
</text>
<effectiveTime value="20140514"/>
<performer typeCode="PRF">
<time>
<low nullFlavor="UNK"/>
<high nullFlavor="UNK"/>
</time>
<assignedEntity classCode="ASSIGNED">
<id root="2.16.840.1.113883.4.6" extension="1244444448"/>
<addr>
<streetAddressLine>649 S 42nd St</streetAddressLine>
<city>Omaha</city>
<state>NE</state>
<postalCode>681981002</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(402)644-9988" use="WP"/>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="SDLOC">
<id root="2.16.840.1.113883.10.20.22.4.32"/>
<code code="207R00000X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Health Care Provider Taxonomy" displayName="Adult Medicine">
<originalText>Internal Medicine</originalText>
</code>
<addr>
<streetAddressLine>649 S 42nd St</streetAddressLine>
<city>Omaha</city>
<state>NE</state>
<postalCode>681981002</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1-(402)644-9988" use="WP"/>
<playingEntity classCode="PLC">
<name>Center For Health North Clinic</name>
</playingEntity>
</participantRole>
</participant>
</encounter>
</entry>
</section>
</component>
</structuredBody>
</component>
</ClinicalDocument>The graphic below is an example of a Surescripts XHTML-rendered version of the elements included in the Surescripts Location Summary CDA.
