Specialty Medication Enrollment
0.1.0 - STU1 Ballot

Publication Build: This will be filled in by the publication tooling

## Example Bundle: Specialty Rx Query Response 2

### Example data content

expand all | contract all Bundle
id@value: specialty-rx-query-response-2
meta profile@value: http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response
type@value: message
timestamp@value: 2020-03-11T13:10:17-05:00 entry[1]fullUrl@value: http://example.org/MyEHR/MessageHeader/msgheader1
resource MessageHeader
id@value: res2
eventCoding system@value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type code@value: query-response
source name@value: MyEHR endpoint@value: http://example.org/MyEHR
response identifier@value: req2 code@value: ok
focus reference@value: urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c
entry[2]fullUrl@value: urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c
resource Parameters
id@value: 61ebe359-bfdc-4613-8bf2-c5e300945f0c parameter[1]name@value: requester-patient valueReference reference@value: Patient/patient1
parameter[2]name@value: responder-patient valueReference reference@value: Patient/patientEHR
parameter[3]name@value: search-result valueReference reference@value: Bundle/3456789
parameter[4]name@value: search-result valueReference reference@value: Bundle/987654
entry[3]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
identifier system@value: http://example.org/patient-id value@value: 1234
active@value: true
name family@value: Doe given[1]@value: Timothy given[2]@value: V.telecom[1]system@value: phone value@value: 555-555-5555 use@value: home
telecom[2]system@value: email value@value: tim.doe@example.com 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
communication language coding system@value: urn:ietf:bcp:47 code@value: en-US display@value: English (Region=United States)
entry[4]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
identifier type coding system@value: http://terminology.hl7.org/CodeSystem/v2-0203 code@value: PI display@value: Patient internal identifier
text@value: Patient internal identifier
system@value: http://example.org/MyEHR value@value: 30455
active@value: true
name family@value: Doe given@value: Tim telecom[1]system@value: phone value@value: 555-555-5555 use@value: home
telecom[2]system@value: email value@value: tim.doe@example.com 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
communication language coding system@value: urn:ietf:bcp:47 code@value: en-US display@value: English (Region=United States)
entry[5]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
type@value: searchset
timestamp@value: 2020-03-11T13:10:17-05:00
total@value: 3
link relation@value: self url@value: Condition?patient=patientEHR entry[1]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
text@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/condition-ver-status code@value: confirmed display@value: Confirmed
text@value: Confirmed
category coding system@value: http://terminology.hl7.org/CodeSystem/condition-category code@value: problem-list-item display@value: Problem List Item
text@value: Problem
code coding system@value: http://snomed.info/sct code@value: 13644009 display@value: Hypercholesterolemia (disorder)
text@value: Hypercholesterolemia (disorder)
subject reference@value: Patient/patientEHR
search mode@value: match
entry[2]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
text@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/condition-ver-status code@value: confirmed display@value: Confirmed
text@value: Confirmed
category coding system@value: http://terminology.hl7.org/CodeSystem/condition-category code@value: problem-list-item display@value: Problem List Item
text@value: Problem
code coding system@value: http://snomed.info/sct code@value: 84172003 display@value: Spondylitis (disorder)
text@value: Spondylitis (disorder)
subject reference@value: Patient/patientEHR
search mode@value: match
entry[3]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
text@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/condition-ver-status code@value: confirmed display@value: Confirmed
text@value: Confirmed
category coding system@value: http://terminology.hl7.org/CodeSystem/condition-category code@value: problem-list-item display@value: Problem List Item
text@value: Problem
code coding system@value: http://snomed.info/sct code@value: 427603009 display@value: Intermittent asthma (disorder)
text@value: Intermittent asthma (disorder)
subject reference@value: Patient/patientEHR
search mode@value: match
entry[6]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
type@value: searchset
timestamp@value: 2020-03-11T13:10:17-05:00
total@value: 3
link relation@value: self url@value: AllergyIntolerance?patient=patientEHR entry[1]fullUrl@value: http://example.org/MyEHR/AllergyIntolerance/1
resource AllergyIntolerance
id@value: 1
clinicalStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code@value: active display@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code@value: confirmed display@value: Confirmed
code text@value: Cashew
patient reference@value: Patient/patient1
search mode@value: match
entry[2]fullUrl@value: http://example.org/MyEHR/AllergyIntolerance/2
resource AllergyIntolerance
id@value: 2
clinicalStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code@value: active display@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code@value: confirmed display@value: Confirmed
code text@value: Bees
patient reference@value: Patient/patient1
search mode@value: match
entry[3]fullUrl@value: http://example.org/MyEHR/AllergyIntolerance/3
resource AllergyIntolerance
id@value: 3
clinicalStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code@value: active display@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code@value: confirmed display@value: Confirmed
code text@value: Penicillins
patient reference@value: Patient/patient1
reaction manifestation text@value: Hives
search mode@value: match

### Generated Narrative

Bundle specialty-rx-query-response-2 of type message

Entry 1 - Full URL = http://example.org/MyEHR/MessageHeader/msgheader1

Resource MessageHeader:

> Generated Narrative

> ### Texts

> -
> *

> event: Query Response

> ### Sources

> - | Name | Endpoint
> * | MyEHR | http://example.org/MyEHR

> ### Responses

> - | Identifier | Code
> * | req2 | OK

> focus: Generated Summary: type: message; timestamp: Mar 11, 2020 6:10:17 PM

Entry 2 - Full URL = urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c

Resource Parameters:

> ## Parameters

> requester-patient | Patient/patient1
> responder-patient | Patient/patientEHR
> search-result | Bundle/3456789
> search-result | Bundle/987654

Entry 3 - Full URL = http://example.org/MyPharmacyApp/Patient/patient1

Resource Patient:

> Timothy V. Doe Male 1987-02-20 ( id: 1234)

Entry 4 - Full URL = http://example.org/MyEHR/Patient/patientEHR

Resource Patient:

> Tim Doe Male 1987-02-20 ( Patient internal identifier: 30455)

Entry 5 - Full URL = http://example.org/MyEHR/Bundle/3456789

Resource Bundle:

> Bundle 3456789 of type searchset

> Entry 1 - Full URL = http://example.org/MyEHR/Condition/1

> Search:mode = match

> Resource Condition:

> > Generated Narrative

> > ### Texts

> > -
> > *

> > clinicalStatus: Active

> > verificationStatus: Confirmed

> > category: Problem

> > code: Hypercholesterolemia (disorder)

> > subject: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:17 PM

> Entry 2 - Full URL = http://example.org/MyEHR/Condition/2

> Search:mode = match

> Resource Condition:

> > Generated Narrative

> > ### Texts

> > -
> > *

> > clinicalStatus: Active

> > verificationStatus: Confirmed

> > category: Problem

> > code: Spondylitis (disorder)

> > subject: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:17 PM

> Entry 3 - Full URL = http://example.org/MyEHR/Condition/3

> Search:mode = match

> Resource Condition:

> > Generated Narrative

> > ### Texts

> > -
> > *

> > clinicalStatus: Active

> > verificationStatus: Confirmed

> > category: Problem

> > code: Intermittent asthma (disorder)

> > subject: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:17 PM

Entry 6 - Full URL = http://example.org/MyEHR/Bundle/987654

Resource Bundle:

> Bundle 987654 of type searchset

> Entry 1 - Full URL = http://example.org/MyEHR/AllergyIntolerance/1

> Search:mode = match

> Resource AllergyIntolerance:

> > Generated Narrative

> > ### Texts

> > -
> > *

> > clinicalStatus: Active

> > verificationStatus: Confirmed

> > code: Cashew

> > patient: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:13 PM

> Entry 2 - Full URL = http://example.org/MyEHR/AllergyIntolerance/2

> Search:mode = match

> Resource AllergyIntolerance:

> > Generated Narrative

> > ### Texts

> > -
> > *

> > clinicalStatus: Active

> > verificationStatus: Confirmed

> > code: Bees

> > patient: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:13 PM

> Entry 3 - Full URL = http://example.org/MyEHR/AllergyIntolerance/3

> Search:mode = match

> Resource AllergyIntolerance:

> > Generated Narrative

> > ### Texts

> > -
> > *

> > clinicalStatus: Active

> > verificationStatus: Confirmed

> > code: Penicillins

> > patient: Generated Summary: type: message; timestamp: Mar 11, 2020 1:10:13 PM

> > ### Reactions

> > - | Manifestation
> > * | Hives