Specialty Medication Enrollment
2.1.0 - CI Build United States of America flag

Specialty Medication Enrollment, published by HL7 International - Pharmacy. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/HL7/fhir-specialty-rx/ and changes regularly. See the Directory of published versions

Example Bundle: Specialty Rx Query Response 2

Example data content

expand all | contract allBundle
id@value:  specialty-rx-query-response-2
metaprofile@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:00entry[1]fullUrl@value:  http://example.org/MyEHR/MessageHeader/msgheader1
resource
id@value:  res2
eventCodingsystem@value:  http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-typecode@value:  query-response
sourcename@value:  MyEHRendpoint@value:  http://example.org/MyEHR
responseidentifier@value:  req2code@value:  ok
focusreference@value:  urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c

entry[2]fullUrl@value:  urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c
resource
id@value:  61ebe359-bfdc-4613-8bf2-c5e300945f0cparameter[1]name@value:  requester-patientvalueReferencereference@value:  http://example.org/MyPharmacyApp/Patient/patient1
parameter[2]name@value:  responder-patientvalueReferencereference@value:  http://example.org/MyEHR/Patient/patientEHR
parameter[3]name@value:  search-resultvalueReferencereference@value:  http://example.org/MyEHR/Bundle/3456789
parameter[4]name@value:  search-resultvalueReferencereference@value:  http://example.org/MyEHR/Bundle/987654

entry[3]fullUrl@value:  http://example.org/MyPharmacyApp/Patient/patient1
resource
id@value:  patient1
metasource@value:  http://example.org/MyPharmacyAppprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient
identifiersystem@value:  http://example.org/patient-idvalue@value:  1234
active@value:  true
namefamily@value:  Doegiven[1]@value:  Timothygiven[2]@value:  V.telecom[1]system@value:  phonevalue@value:  555-555-5555use@value:  home
telecom[2]system@value:  emailvalue@value:  tim.doe@example.com
gender@value:  male
birthDate@value:  1987-02-20
addressline@value:  2224 Century Avecity@value:  Minnetonkastate@value:  MNpostalCode@value:  55345country@value:  US
communicationlanguagecodingsystem@value:  urn:ietf:bcp:47code@value:  en-USdisplay@value:  English (Region=United States)

entry[4]fullUrl@value:  http://example.org/MyEHR/Patient/patientEHR
resource
id@value:  patientEHR
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient
identifiertypecodingsystem@value:  http://terminology.hl7.org/CodeSystem/v2-0203code@value:  MRdisplay@value:  Medical record number
text@value:  Medical record number
system@value:  http://example.org/MyEHRvalue@value:  30455
active@value:  true
namefamily@value:  Doegiven@value:  Timtelecom[1]system@value:  phonevalue@value:  555-555-5555use@value:  home
telecom[2]system@value:  emailvalue@value:  tim.doe@example.com
gender@value:  male
birthDate@value:  1987-02-20
addressline@value:  2224 Century Avenuecity@value:  Minnetonkastate@value:  MNpostalCode@value:  55345country@value:  US
communicationlanguagecodingsystem@value:  urn:ietf:bcp:47code@value:  en-USdisplay@value:  English (Region=United States)

entry[5]fullUrl@value:  http://example.org/MyEHR/Bundle/3456789
resource
id@value:  3456789
metaprofile@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
linkrelation@value:  selfurl@value:  Condition?patient=patientEHRentry[1]fullUrl@value:  http://example.org/MyEHR/Condition/1
resource
id@value:  1
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-clinicalcode@value:  activedisplay@value:  Active
text@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-ver-statuscode@value:  confirmeddisplay@value:  Confirmed
text@value:  Confirmed
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-categorycode@value:  problem-list-itemdisplay@value:  Problem List Item
text@value:  Problem
codecodingsystem@value:  http://snomed.info/sctcode@value:  13644009display@value:  Hypercholesterolemia (disorder)
text@value:  Hypercholesterolemia (disorder)
subjectreference@value:  Patient/patientEHR

searchmode@value:  match
entry[2]fullUrl@value:  http://example.org/MyEHR/Condition/2
resource
id@value:  2
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-clinicalcode@value:  activedisplay@value:  Active
text@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-ver-statuscode@value:  confirmeddisplay@value:  Confirmed
text@value:  Confirmed
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-categorycode@value:  problem-list-itemdisplay@value:  Problem List Item
text@value:  Problem
codecodingsystem@value:  http://snomed.info/sctcode@value:  84172003display@value:  Spondylitis (disorder)
text@value:  Spondylitis (disorder)
subjectreference@value:  Patient/patientEHR

searchmode@value:  match
entry[3]fullUrl@value:  http://example.org/MyEHR/Condition/3
resource
id@value:  3
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-clinicalcode@value:  activedisplay@value:  Active
text@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-ver-statuscode@value:  confirmeddisplay@value:  Confirmed
text@value:  Confirmed
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/condition-categorycode@value:  problem-list-itemdisplay@value:  Problem List Item
text@value:  Problem
codecodingsystem@value:  http://snomed.info/sctcode@value:  427603009display@value:  Intermittent asthma (disorder)
text@value:  Intermittent asthma (disorder)
subjectreference@value:  Patient/patientEHR

searchmode@value:  match

entry[6]fullUrl@value:  http://example.org/MyEHR/Bundle/987654
resource
id@value:  987654
metaprofile@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
linkrelation@value:  selfurl@value:  AllergyIntolerance?patient=patientEHRentry[1]fullUrl@value:  http://example.org/MyEHR/AllergyIntolerance/1
resource
id@value:  1
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/allergyintolerance-clinicalcode@value:  activedisplay@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/allergyintolerance-verificationcode@value:  confirmeddisplay@value:  Confirmed
codetext@value:  Cashew
patientreference@value:  Patient/patient1

searchmode@value:  match
entry[2]fullUrl@value:  http://example.org/MyEHR/AllergyIntolerance/2
resource
id@value:  2
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/allergyintolerance-clinicalcode@value:  activedisplay@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/allergyintolerance-verificationcode@value:  confirmeddisplay@value:  Confirmed
codetext@value:  Bees
patientreference@value:  Patient/patient1

searchmode@value:  match
entry[3]fullUrl@value:  http://example.org/MyEHR/AllergyIntolerance/3
resource
id@value:  3
clinicalStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/allergyintolerance-clinicalcode@value:  activedisplay@value:  Active
verificationStatuscodingsystem@value:  http://terminology.hl7.org/CodeSystem/allergyintolerance-verificationcode@value:  confirmeddisplay@value:  Confirmed
codetext@value:  Penicillins
patientreference@value:  Patient/patient1
reactionmanifestationtext@value:  Hives

searchmode@value:  match

Generated Narrative

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


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

Resource MessageHeader:

Generated Narrative: MessageHeader

Resource MessageHeader "res2"

Profile: Specialty Rx Query Response MessageHeader

event: Query Response (Details: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-type code query-response = 'Query Response', stated as 'null')

Sources

-NameEndpoint
*MyEHRhttp://example.org/MyEHR

Responses

-IdentifierCode
*id: req2OK

focus: See above (urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0c)


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

Resource Parameters:

Parameters

requester-patienthttp://example.org/MyPharmacyApp/Patient/patient1
responder-patienthttp://example.org/MyEHR/Patient/patientEHR
search-resulthttp://example.org/MyEHR/Bundle/3456789
search-resulthttp://example.org/MyEHR/Bundle/987654


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

Resource Patient:

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


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

Resource Patient:

Tim Doe Male, DoB: 1987-02-20 ( Medical record number: 30455)


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

Resource Bundle:

Bundle 3456789 of type searchset


Entry 1 - fullUrl = http://example.org/MyEHR/Condition/1

Search:Mode = match

Resource Condition:

Generated Narrative: Condition

Resource Condition "1"

clinicalStatus: Active (Condition Clinical Status Codes#active)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Problem (Condition Category Codes#problem-list-item "Problem List Item")

code: Hypercholesterolemia (disorder) (SNOMED CT#13644009)

subject: See above (Patient/patientEHR)


Entry 2 - fullUrl = http://example.org/MyEHR/Condition/2

Search:Mode = match

Resource Condition:

Generated Narrative: Condition

Resource Condition "2"

clinicalStatus: Active (Condition Clinical Status Codes#active)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Problem (Condition Category Codes#problem-list-item "Problem List Item")

code: Spondylitis (disorder) (SNOMED CT#84172003)

subject: See above (Patient/patientEHR)


Entry 3 - fullUrl = http://example.org/MyEHR/Condition/3

Search:Mode = match

Resource Condition:

Generated Narrative: Condition

Resource Condition "3"

clinicalStatus: Active (Condition Clinical Status Codes#active)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Problem (Condition Category Codes#problem-list-item "Problem List Item")

code: Intermittent asthma (disorder) (SNOMED CT#427603009)

subject: See above (Patient/patientEHR)


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

Resource Bundle:

Bundle 987654 of type searchset


Entry 1 - fullUrl = http://example.org/MyEHR/AllergyIntolerance/1

Search:Mode = match

Resource AllergyIntolerance:

Generated Narrative: AllergyIntolerance

Resource AllergyIntolerance "1"

clinicalStatus: Active (AllergyIntolerance Clinical Status Codes#active)

verificationStatus: Confirmed (AllergyIntolerance Verification Status#confirmed)

code: Cashew ()

patient: See above (Patient/patient1)


Entry 2 - fullUrl = http://example.org/MyEHR/AllergyIntolerance/2

Search:Mode = match

Resource AllergyIntolerance:

Generated Narrative: AllergyIntolerance

Resource AllergyIntolerance "2"

clinicalStatus: Active (AllergyIntolerance Clinical Status Codes#active)

verificationStatus: Confirmed (AllergyIntolerance Verification Status#confirmed)

code: Bees ()

patient: See above (Patient/patient1)


Entry 3 - fullUrl = http://example.org/MyEHR/AllergyIntolerance/3

Search:Mode = match

Resource AllergyIntolerance:

Generated Narrative: AllergyIntolerance

Resource AllergyIntolerance "3"

clinicalStatus: Active (AllergyIntolerance Clinical Status Codes#active)

verificationStatus: Confirmed (AllergyIntolerance Verification Status#confirmed)

code: Penicillins ()

patient: See above (Patient/patient1)

Reactions

-Manifestation
*Hives ()