This page is part of the Specialty Medication Enrollment (v0.1.0: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
<Bundle xmlns="http://hl7.org/fhir">
<id value="specialty-rx-query-response-3-w-op-outcome"/>
<meta>
<profile
value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response"/>
</meta>
<type value="message"/>
<timestamp value="2020-03-11T13:10:17-05:00"/>
<entry>
<fullUrl value="http://example.org/MyEHR/MessageHeader/msgheader1"/>
<resource>
<MessageHeader>
<id value="res2"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>event</b>: <span title="{http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type query-response}">Query Response</span></p><h3>Sources</h3><table class="grid"><tr><td>-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td>*</td><td>MyEHR</td><td><a href="http://example.org/MyEHR">http://example.org/MyEHR</a></td></tr></table><h3>Responses</h3><table class="grid"><tr><td>-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>req2</td><td>ok</td></tr></table><p><b>focus</b>: <a href="#Parameters_61ebe359-bfdc-4613-8bf2-c5e300945f0c">See above (Parameters/61ebe359-bfdc-4613-8bf2-c5e300945f0c)</a></p></div>
</text>
<eventCoding>
<system
value="http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type"/>
<code value="query-response"/>
</eventCoding>
<source>
<name value="MyEHR"/>
<endpoint value="http://example.org/MyEHR"/>
</source>
<response>
<identifier value="req2"/>
<code value="ok"/>
</response>
<focus>
<reference value="urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c"/>
</focus>
</MessageHeader>
</resource>
</entry>
<entry>
<fullUrl value="urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c"/>
<resource>
<Parameters>
<id value="61ebe359-bfdc-4613-8bf2-c5e300945f0c"/>
<parameter>
<name value="requester-patient"/>
<valueReference>
<reference value="Patient/patient1"/>
</valueReference>
</parameter>
<parameter>
<name value="responder-patient"/>
<valueReference>
<reference value="Patient/patientEHR"/>
</valueReference>
</parameter>
<parameter>
<name value="search-result"/>
<valueReference>
<reference value="Bundle/3456789"/>
</valueReference>
</parameter>
<parameter>
<name value="search-result"/>
<valueReference>
<reference value="Bundle/987654"/>
</valueReference>
</parameter>
</Parameters>
</resource>
</entry>
<entry>
<fullUrl value="http://example.org/MyPharmacyApp/Patient/patient1"/>
<resource>
<Patient>
<id value="patient1"/>
<meta>
<source value="http://example.org/MyPharmacyApp"/>
<profile
value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>identifier</b>: id: 1234</p><p><b>active</b>: true</p><p><b>name</b>: Timothy V. Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href="mailto:tim.doe@example.com">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Ave Minnetonka MN 55345 US </p><h3>Communications</h3><table class="grid"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title="Codes: {urn:ietf:bcp:47 en-US}">English (Region=United States)</span></td></tr></table></div>
</text>
<identifier>
<system value="http://example.org/patient-id"/>
<value value="1234"/>
</identifier>
<active value="true"/>
<name>
<family value="Doe"/>
<given value="Timothy"/>
<given value="V."/>
</name>
<telecom>
<system value="phone"/>
<value value="555-555-5555"/>
<use value="home"/>
</telecom>
<telecom>
<system value="email"/>
<value value="tim.doe@example.com"/>
</telecom>
<gender value="male"/>
<birthDate value="1987-02-20"/>
<address>
<line value="2224 Century Ave"/>
<city value="Minnetonka"/>
<state value="MN"/>
<postalCode value="55345"/>
<country value="US"/>
</address>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="en-US"/>
<display value="English (Region=United States)"/>
</coding>
</language>
</communication>
</Patient>
</resource>
</entry>
<entry>
<fullUrl value="http://example.org/MyEHR/Patient/patientEHR"/>
<resource>
<Patient>
<id value="patientEHR"/>
<meta>
<profile
value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><p><b>identifier</b>: Patient internal identifier: 30455</p><p><b>active</b>: true</p><p><b>name</b>: Tim Doe </p><p><b>telecom</b>: ph: 555-555-5555(HOME), <a href="mailto:tim.doe@example.com">tim.doe@example.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1987-02-20</p><p><b>address</b>: 2224 Century Avenue Minnetonka MN 55345 US </p><h3>Communications</h3><table class="grid"><tr><td>-</td><td><b>Language</b></td></tr><tr><td>*</td><td><span title="Codes: {urn:ietf:bcp:47 en-US}">English (Region=United States)</span></td></tr></table></div>
</text>
<identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="PI"/>
<display value="Patient internal identifier"/>
</coding>
<text value="Patient internal identifier"/>
</type>
<system value="http://example.org/MyEHR"/>
<value value="30455"/>
</identifier>
<active value="true"/>
<name>
<family value="Doe"/>
<given value="Tim"/>
</name>
<telecom>
<system value="phone"/>
<value value="555-555-5555"/>
<use value="home"/>
</telecom>
<telecom>
<system value="email"/>
<value value="tim.doe@example.com"/>
</telecom>
<gender value="male"/>
<birthDate value="1987-02-20"/>
<address>
<line value="2224 Century Avenue"/>
<city value="Minnetonka"/>
<state value="MN"/>
<postalCode value="55345"/>
<country value="US"/>
</address>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="en-US"/>
<display value="English (Region=United States)"/>
</coding>
</language>
</communication>
</Patient>
</resource>
</entry>
<entry>
<fullUrl value="http://example.org/MyEHR/Bundle/3456789"/>
<resource>
<Bundle>
<id value="3456789"/>
<meta>
<profile
value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result"/>
</meta>
<type value="searchset"/>
<timestamp value="2020-03-11T13:10:17-05:00"/>
<total value="3"/>
<link>
<relation value="self"/>
<url value="Condition?patient=patientEHR"/>
</link>
<entry>
<fullUrl value="http://example.org/MyEHR/Condition/1"/>
<resource>
<Condition>
<id value="1"/>
<clinicalStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="active"/>
<display value="Active"/>
</coding>
<text value="Active"/>
</clinicalStatus>
<verificationStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
<code value="confirmed"/>
<display value="Confirmed"/>
</coding>
<text value="Confirmed"/>
</verificationStatus>
<category>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-category"/>
<code value="problem-list-item"/>
<display value="Problem List Item"/>
</coding>
<text value="Problem"/>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="13644009"/>
<display value="Hypercholesterolemia (disorder)"/>
</coding>
<text value="Hypercholesterolemia (disorder)"/>
</code>
<subject>
<reference value="Patient/patientEHR"/>
</subject>
</Condition>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
<entry>
<fullUrl value="http://example.org/MyEHR/Condition/2"/>
<resource>
<Condition>
<id value="2"/>
<clinicalStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="active"/>
<display value="Active"/>
</coding>
<text value="Active"/>
</clinicalStatus>
<verificationStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
<code value="confirmed"/>
<display value="Confirmed"/>
</coding>
<text value="Confirmed"/>
</verificationStatus>
<category>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-category"/>
<code value="problem-list-item"/>
<display value="Problem List Item"/>
</coding>
<text value="Problem"/>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="84172003"/>
<display value="Spondylitis (disorder)"/>
</coding>
<text value="Spondylitis (disorder)"/>
</code>
<subject>
<reference value="Patient/patientEHR"/>
</subject>
</Condition>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
<entry>
<fullUrl value="http://example.org/MyEHR/Condition/3"/>
<resource>
<Condition>
<id value="3"/>
<clinicalStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="active"/>
<display value="Active"/>
</coding>
<text value="Active"/>
</clinicalStatus>
<verificationStatus>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
<code value="confirmed"/>
<display value="Confirmed"/>
</coding>
<text value="Confirmed"/>
</verificationStatus>
<category>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-category"/>
<code value="problem-list-item"/>
<display value="Problem List Item"/>
</coding>
<text value="Problem"/>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="427603009"/>
<display value="Intermittent asthma (disorder)"/>
</coding>
<text value="Intermittent asthma (disorder)"/>
</code>
<subject>
<reference value="Patient/patientEHR"/>
</subject>
</Condition>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
</Bundle>
</resource>
</entry>
<entry>
<fullUrl value="http://example.org/MyEHR/Bundle/987654"/>
<resource>
<Bundle>
<id value="987654"/>
<meta>
<profile
value="http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result"/>
</meta>
<type value="searchset"/>
<timestamp value="2020-03-11T13:10:17-05:00"/>
<total value="0"/>
<link>
<relation value="self"/>
<url value="AllergyIn?patient=patientEHR"/>
</link>
<entry>
<fullUrl value="http://example.org/MyEHR/OperationOutcome/100"/>
<resource>
<OperationOutcome>
<id value="100"/>
<issue>
<severity value="error"/>
<code value="processing"/>
<diagnostics
value="Unknown resource type 'AllergyIn' - Server knows how to handle: [RiskAssessment, Provenance, Organization, CareTeam, MedicationDispense, DiagnosticReport, ImagingStudy, HealthcareService, Specimen, CarePlan, FamilyMemberHistory, Goal, AllergyIntolerance, StructureDefinition, Medication, Procedure, Encounter, OperationDefinition, DocumentReference, Condition, MedicationRequest, Immunization, Device, Patient, PractitionerRole, ServiceRequest, Practitioner, Observation, MedicationAdministration, MedicationStatement, Location]"/>
</issue>
</OperationOutcome>
</resource>
<search>
<mode value="outcome"/>
</search>
</entry>
</Bundle>
</resource>
</entry>
</Bundle>