3.129 Undirected retrieval query response
Raw XML
<Bundle xmlns="http://hl7.org/fhir">
<!-- id will typically be a guid -->
<id value="example-non-authoritative-deferred-retrieval"/>
<!-- The profile declaration isn't required, but will help with automated validation using existing tools for examples -->
<meta>
<profile
value="http://prescribeit.ca/fhir/StructureDefinition/interaction-bundle-non-authoritative-deferred-response"/>
<tag>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
<code value="PrescribeIT5.0"/>
</tag>
</meta>
<type value="searchset"/>
<link>
<relation value="self"/>
<url
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle?somesearchparams&_count=1"/>
</link>
<entry>
<fullUrl
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/0b480e45-1242-49b1-8728-ac05bafa89f8"/>
<!-- This should mirror exactly what was posted by the EHR with the Bundle.id inserted -->
<resource>
<Bundle>
<!-- Note: This id will not be present when the message is submitted to the inbox. It will be assigned by the inbox as part of processing -->
<id value="example-a1-401-e180"/>
<meta>
<profile
value="http://prescribeit.ca/fhir/StructureDefinition/interaction-bundle-401"/>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-bundle-message"/>
<tag>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
<code value="PrescribeIT5.0"/>
</tag>
<tag>
<system value="http://prescribeit.ca/fhir/CodeSystem/message-key"/>
<code value="S724THSR5LDA"/>
</tag>
<tag>
<system value="http://prescribeit.ca/fhir/CodeSystem/birth-date"/>
<code value="2012-06-07"/>
</tag>
<tag>
<system value="http://prescribeit.ca/fhir/CodeSystem/last-name"/>
<code value="Lerr Jr"/>
</tag>
</meta>
<type value="message"/>
<entry>
<fullUrl value="urn:uuid:54fc3e09-e279-4b74-a8ff-2649ec968642"/>
<resource>
<MessageHeader>
<id value="54fc3e09-e279-4b74-a8ff-2649ec968642"/>
<meta>
<profile
value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-401"/>
</meta>
<timestamp value="2016-05-13T12:15:38.123-06:00"/>
<event>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedmessageevents"/>
<code value="401"/>
</event>
<source>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-application-id">
<valueUri value="urn:oid:1.2.3.4.5.9.8888"/>
</extension>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-conformance-version">
<valueString
value="Sending software version number that passed conformance"/>
</extension>
<name value="Sending application internal identifier"/>
<software value="Sending application software name"/>
<version value="Sending software version number"/>
<!-- Note that the endpoint has to be a URI. Could be urn:oid:1.2.3.4 -->
<endpoint
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
</source>
<destination>
<endpoint
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/111111111"/>
</destination>
<data>
<reference value="Task/9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
</data>
</MessageHeader>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
<resource>
<Patient>
<id value="5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/v2/0203"/>
<code value="JHN"/>
</coding>
<text value="OHIP"/>
</type>
<system value="urn:oid:2.16.840.1.113883.4.59"/>
<!-- OHIP identification system -->
<value value="1234567890"/>
</identifier>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/v2/0203"/>
<code value="MR"/>
</coding>
<text value="Local Patient ID"/>
</type>
<system value="urn:oid:1.2.3.4.5.9.8888.1"/>
<!-- Sending Application identification system Patient ID -->
<value value="134IDY41W988"/>
</identifier>
<name>
<use value="official"/>
<family value="Lerr Jr"/>
<given value="Todd"/>
<given value="G."/>
<prefix value="Mr"/>
<suffix value="DDS"/>
</name>
<telecom>
<system value="phone"/>
<value value="(555) 555-1212"/>
<use value="mobile"/>
</telecom>
<telecom>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-contactpoint-confidential">
<valueBoolean value="true"/>
</extension>
<system value="phone"/>
<value value="(858) 429-5190"/>
<use value="home"/>
</telecom>
<gender value="male"/>
<birthDate value="2012-06-07"/>
<address>
<line value="123 North 102nd Street"/>
<line value="Apt 4d"/>
<city value="Harrisburg"/>
<state value="ON"/>
<postalCode value="M2N 7H6"/>
<country value="Canada"/>
</address>
</Patient>
</resource>
</entry>
<entry>
<fullUrl
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/2263396629"/>
<resource>
<Practitioner>
<id value="2263396629"/>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-practitioner-saml">
<valueAttachment>
<contentType value="application/xml"/>
<data
value="PHNhbWwyOkFzc2VydGlvbiB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiIgSUQ9Ijk3ODlkZjhmLTc1OWQtNDU2OC04Nzk3LWRiZjlmN2ZlYzJmYyIgSXNzdWVJbnN0YW50PSIyMDE2LTA1LTMxVDE5OjE2OjMwLjEwNVoiIFZlcnNpb249IjIuMCIgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIj48c2FtbDI6SXNzdWVyPmh0dHA6Ly9kZXZyaG0xOjU1NTUvPC9zYW1sMjpJc3N1ZXI+PGRzOlNpZ25hdHVyZSB4bWxuczpkcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnIyI+PGRzOlNpZ25lZEluZm8+PGRzOkNhbm9uaWNhbGl6YXRpb25NZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiLz48ZHM6U2lnbmF0dXJlTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wO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nV0ZVN0YXRlbWVudD48L3NhbWwyOkFzc2VydGlvbj4="/>
</valueAttachment>
</extension>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/v2/0203"/>
<code value="LN"/>
</coding>
<text value="License number"/>
</type>
<system value="urn:oid:2.16.840.1.113883.4.347"/>
<!-- License ID is part of the SAML token. If this is present it should have the same value as the SAML Token -->
<value value="134IDY41W988"/>
</identifier>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/v2/0203"/>
<code value="PRN"/>
</coding>
</type>
<system
value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-practitioner"/>
<value value="2263396629"/>
</identifier>
<name>
<use value="official"/>
<family value="Mouse"/>
<given value="Mickey"/>
<prefix value="Dr"/>
<suffix value="PhD"/>
</name>
<telecom>
<system value="phone"/>
<value value="(123) 456-7890"/>
<use value="work"/>
</telecom>
<telecom>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-contactpoint-confidential">
<valueBoolean value="true"/>
</extension>
<system value="phone"/>
<value value="(456) 789-0123"/>
<use value="mobile"/>
</telecom>
<practitionerRole>
<organization>
<reference
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
</organization>
</practitionerRole>
<practitionerRole>
<role>
<coding>
<system value="http://hl7.org/fhir/practitioner-role"/>
<code value="doctor"/>
<display value="Doctor"/>
</coding>
</role>
<specialty>
<!-- inv-1: Must have coding or text but not both <coding> <system value="http://hl7.org/fhir/ValueSet/practitioner-specialty"/> <code value="cardio"/> </coding> -->
<text value="Geriatrics">
<extension
url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
<valueString value="Gériatrie">
<extension
url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
<valueCode value="fr"/>
</extension>
</valueString>
</extension>
</text>
</specialty>
<specialty>
<text value="Palliative Care">
<extension
url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
<valueString value="Soins palliatifs">
<extension
url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
<valueCode value="fr"/>
</extension>
</valueString>
</extension>
</text>
</specialty>
</practitionerRole>
<communication>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="en-CA"/>
</coding>
</communication>
</Practitioner>
</resource>
</entry>
<entry>
<fullUrl
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
<resource>
<Organization>
<id value="CPR1000991"/>
<identifier>
<system
value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
<value value="CPR1000991"/>
</identifier>
<name value="PS Suite #8888"/>
<telecom>
<system value="phone"/>
<value value="(123) 123-4567"/>
<use value="work"/>
</telecom>
<address>
<type value="both"/>
<line value="456 Some Street"/>
<city value="Hamilton"/>
<state value="ON"/>
<postalCode value="A1B 2C4"/>
<country value="Canada"/>
</address>
</Organization>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
<resource>
<Task>
<id value="9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
<meta>
<profile
value="http://prescribeit.ca/fhir/StructureDefinition/task-e180-m"/>
</meta>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
<valueIdentifier>
<system value="urn:oid:1.2.3.4.5.9.8888.3"/>
<value value="ri-Group-Identifier"/>
</valueIdentifier>
</extension>
<modifierExtension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-do-not-autofill">
<valueBoolean value="true"/>
</modifierExtension>
<type>
<coding>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
<code value="e180-m"/>
</coding>
</type>
<priority value="high"/>
<status value="requested"/>
<subject>
<reference
value="MedicationOrder/9cee3f25-10f7-490d-863a-41e23c992e52"/>
</subject>
<for>
<reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
</for>
<created value="2016-02-01T12:15:38.123-06:00"/>
<lastModified value="2016-02-01T12:15:38.123-06:00"/>
<creator>
<reference
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/2263396629"/>
</creator>
<input>
<name value="previouslyUsed"/>
<valueDate value="1980-01-15"/>
</input>
</Task>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:9cee3f25-10f7-490d-863a-41e23c992e52"/>
<resource>
<MedicationOrder>
<id value="9cee3f25-10f7-490d-863a-41e23c992e52"/>
<contained>
<Medication>
<id value="med"/>
<code>
<!-- This is the name of the drug -->
<coding>
<!-- If DIN is found on PrescriptionMedicinalProduct Concept Code, then system value="https://fhir.infoway-inforoute.ca/CodeSystem/canadianclinicaldrugdataset" -->
<system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
<code value="2214997"/>
<display value="VENTOLIN HFA 100 MCG"/>
</coding>
<!-- TEXT element is mandatory on the prescription -->
<text value="VENTOLIN HFA 100 MCG"/>
</code>
</Medication>
</contained>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.category">
<valueCodeableConcept>
<coding>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontype"/>
<code value="medication"/>
</coding>
</valueCodeableConcept>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-treatment-type">
<valueCode value="CHRON"/>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
<valueString
value="Inhale 2 puffs 4 time per day for 40 days Route: Oral and Inhale 2 puffs 10 minutes before physical exertion Route: Oral"/>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-dispenser-instructions">
<valueString
value="To convey explicit instructions to the Pharmacist related to this medication order"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
<valueReference>
<reference
value="Observation/4fb26823-5296-4291-8bc4-82440fc0b343"/>
</valueReference>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
<valueReference>
<reference
value="Observation/f2a711d7-3476-40f4-93a9-118e7ca8ccc7"/>
</valueReference>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
<valueReference>
<reference value="List/da9514da-c9fe-418b-9a3d-091f3cf708b7"/>
</valueReference>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
<valueReference>
<reference
value="DetectedIssue/4899f3f8-7592-42f4-a325-cd11b4c42122"/>
</valueReference>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-over-25-dur">
<valueBoolean value="false"/>
</extension>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/identifier-type"/>
<code value="PLAC"/>
</coding>
</type>
<system value="urn:oid:1.2.3.4.5.9.8888.2"/>
<!-- OID Structure includes EMR application instance.branch assigned for MedOrder ID -->
<value value="mi-a1-VENTOLIN-20160201"/>
</identifier>
<status value="active"/>
<medicationReference>
<!-- This must match the Medication resource ID -->
<reference value="#med"/>
</medicationReference>
<patient>
<reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
</patient>
<dateWritten value="2016-02-01T12:15:38.123-06:00"/>
<prescriber>
<reference
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/2263396629"/>
</prescriber>
<dosageInstruction>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
<valueInteger value="1"/>
</extension>
<text
value="Inhale 2 puffs 4 time per day for 40 days Route: Oral"/>
<timing>
<!-- Dose Timing data element must also be part of the ext-medication-rendered-dosage -->
<repeat>
<boundsPeriod>
<start value="2016-05-13"/>
</boundsPeriod>
<frequency value="4"/>
<period value="1"/>
<periodUnit value="d"/>
</repeat>
</timing>
<route>
<coding>
<system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
<code value="PO"/>
</coding>
<text value="Oral"/>
</route>
<doseRange>
<low>
<value value="1"/>
<unit value="Puff"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="415215001"/>
</low>
<high>
<value value="2"/>
<unit value="Puff"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="415215001"/>
</high>
</doseRange>
<maxDosePerPeriod>
<numerator>
<value value="10"/>
<unit value="Puff"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="415215001"/>
</numerator>
<denominator>
<value value="1"/>
<system value="http://unitsofmeasure.org"/>
<code value="d"/>
</denominator>
</maxDosePerPeriod>
</dosageInstruction>
<dosageInstruction>
<extension
url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
<valueInteger value="2"/>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship">
<valueCode value="and"/>
</extension>
<text
value="Inhale 2 puffs 10 minutes before physical exertion Route: Oral"/>
<additionalInstructions>
<text value="10 minutes before physical exertion"/>
</additionalInstructions>
<route>
<coding>
<system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
<code value="PO"/>
</coding>
<text value="Oral"/>
</route>
<doseQuantity>
<value value="2"/>
<unit value="Puff"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="415215001"/>
</doseQuantity>
<maxDosePerPeriod>
<numerator>
<value value="10"/>
<unit value="Puff"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="415215001"/>
</numerator>
<denominator>
<value value="1"/>
<system value="http://unitsofmeasure.org"/>
<code value="d"/>
</denominator>
</maxDosePerPeriod>
</dosageInstruction>
<dispenseRequest>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
<valueQuantity>
<value value="1"/>
<unit value="Inhaler"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="334980009"/>
</valueQuantity>
</extension>
<extension
url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
<valueQuantity>
<value value="40"/>
<unit value="day"/>
<system value="http://unitsofmeasure.org"/>
<code value="d"/>
</valueQuantity>
</extension>
<validityPeriod>
<start value="2016-02-01T12:15:38.123-06:00"/>
</validityPeriod>
<quantity>
<value value="1"/>
<unit value="Inhaler"/>
<!-- See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct) -->
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
<code value="334980009"/>
</quantity>
<expectedSupplyDuration>
<value value="40"/>
<system value="http://unitsofmeasure.org"/>
<code value="d"/>
</expectedSupplyDuration>
</dispenseRequest>
</MedicationOrder>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:4fb26823-5296-4291-8bc4-82440fc0b343"/>
<resource>
<Observation>
<id value="4fb26823-5296-4291-8bc4-82440fc0b343"/>
<status value="final"/>
<category>
<!-- This is mandatory in FHIR and must be included as shown -->
<coding>
<system value="http://hl7.org/fhir/observation-category"/>
<code value="vital-signs"/>
</coding>
</category>
<code>
<coding>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/pCLOCD"/>
<code value="8302-2"/>
</coding>
</code>
<subject>
<reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
</subject>
<effectiveDateTime value="2016-03-16"/>
<valueQuantity>
<value value="180"/>
<system value="http://unitsofmeasure.org"/>
<code value="cm"/>
</valueQuantity>
</Observation>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:f2a711d7-3476-40f4-93a9-118e7ca8ccc7"/>
<resource>
<Observation>
<id value="f2a711d7-3476-40f4-93a9-118e7ca8ccc7"/>
<status value="final"/>
<category>
<!-- This is mandatory in FHIR and must be included as shown -->
<coding>
<system value="http://hl7.org/fhir/observation-category"/>
<code value="vital-signs"/>
</coding>
</category>
<code>
<coding>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/pCLOCD"/>
<code value="29463-7"/>
</coding>
</code>
<subject>
<reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
</subject>
<effectiveDateTime value="2016-03-16"/>
<valueQuantity>
<value value="80"/>
<system value="http://unitsofmeasure.org"/>
<code value="kg"/>
</valueQuantity>
</Observation>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:da9514da-c9fe-418b-9a3d-091f3cf708b7"/>
<resource>
<List>
<id value="da9514da-c9fe-418b-9a3d-091f3cf708b7"/>
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml">NSAID Intolerance|Severe Latex allergy|Penicillin allergy</div>
</text>
<status value="current"/>
<mode value="snapshot"/>
<code>
<coding>
<system value="http://hl7.org/fhir/list-example-use-codes"/>
<code value="allergies"/>
</coding>
</code>
<subject>
<reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
<display value="Todd G. Lerr Jr"/>
</subject>
</List>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:4899f3f8-7592-42f4-a325-cd11b4c42122"/>
<resource>
<DetectedIssue>
<id value="4899f3f8-7592-42f4-a325-cd11b4c42122"/>
<patient>
<reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
</patient>
<!--
<text value="Plain text representation of the concept"/> -->
<category>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="ALLDONE"/>
<display value="already performed"/>
</coding>
</category>
<implicated>
<reference
value="MedicationOrder/9cee3f25-10f7-490d-863a-41e23c992e52"/>
</implicated>
<detail
value="Aspirin contraindicated for patients intolerant of NSAIDs"/>
<mitigation>
<action>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="1"/>
<display value="Therapy Appropriate"/>
</coding>
<text value="Plain text representation of the concept"/>
</action>
</mitigation>
</DetectedIssue>
</resource>
</entry>
<signature>
<!-- NOTE: This signature has not actually been generated for this example, so don't expect to validate the signature -->
<type>
<system value="urn:iso-astm:E1762-95:2013"/>
<code value="1.2.840.10065.1.12.1.5"/>
</type>
<when value="2017-06-07T21:31:35Z"/>
<whoUri value="urn:oid:1.2.3.4.5.6.7.1900000"/>
<contentType value="text/xml"/>
<blob
value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48U2lnbmF0dXJlIHhtbG5zPSJo dHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj48U2lnbmVkSW5mbz48Q2Fub25pY2Fs aXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDYvMTIveG1sLWMx NG4xMSIvPjxTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAw LzA5L3htbGRzaWcjcnNhLXNoYTEiLz48UmVmZXJlbmNlPjxEaWdlc3RNZXRob2QgQWxnb3JpdGht PSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiLz48RGlnZXN0VmFsdWU+ cG1ZaWJYbzZpM0M3U3VtRFo5U3dqTDAwTFVRWG0ybjRMM1Z6b1pUdGt3ST08L0RpZ2VzdFZhbHVl PjwvUmVmZXJlbmNlPjwvU2lnbmVkSW5mbz48U2lnbmF0dXJlVmFsdWU+WjNIb1B3RXFBa202ZllX a1FJSVNJejdnTElwZ0o3TFV0cG8yaHovbzVKOExrdHJnYVI0Z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