Specialty Medication Enrollment
2.0.0 - STU2 US United States of America flag

This page is part of the Specialty Medication Enrollment (v2.0.0: STU2) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Example Bundle: Specialty Rx Query Response 1

Example data content

expand all | contract allBundle
id@value:  specialty-rx-query-response-1
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response
type@value:  message
timestamp@value:  2020-03-11T08:10:17-05:00entry[1]fullUrl@value:  urn:uuid:d0b62e34-db4a-4ef7-832c-52cb4c7f9289
resource
id@value:  72f68739-f49a-4536-b8d4-15f57197abde
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response
eventCodingsystem@value:  http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-typecode@value:  query-responsedisplay@value:  Query Response
sourcename@value:  Specialty Sandbox Staticendpoint@value:  http://example.org/MyEHR/$process-message
responseidentifier@value:  5065aa9f-bd6d-49a8-924c-5d00f5d0b997code@value:  ok
focusreference@value:  urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7

entry[2]fullUrl@value:  urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7
resource
id@value:  b5000d0c-fed9-4746-ac26-b5ce0111a2b7
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-responseparameter[1]name@value:  responder-patientvalueReferencereference@value:  http://example.org/MyEHR/Patient/patientEHR
parameter[2]name@value:  requester-patientvalueReferencereference@value:  urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa
parameter[3]name@value:  search-resultvalueReferencereference@value:  urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164
parameter[4]name@value:  search-resultvalueReferencereference@value:  urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084
parameter[5]name@value:  search-resultvalueReferencereference@value:  urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57
parameter[6]name@value:  search-resultvalueReferencereference@value:  urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e
parameter[7]name@value:  search-resultvalueReferencereference@value:  urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8
parameter[8]name@value:  search-resultvalueReferencereference@value:  urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4

entry[3]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[4]fullUrl@value:  urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa
resource
id@value:  2a87e733-8fe5-4dca-a9ae-bb24c36d41aa
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patientidentifier[1]typecodingsystem@value:  http://terminology.hl7.org/CodeSystem/v2-0203code@value:  PIdisplay@value:  Patient internal identifier
system@value:  http://example.org/MyPharmacyApp/patient-idvalue@value:  540002
identifier[2]typecodingsystem@value:  http://terminology.hl7.org/CodeSystem/v2-0203code@value:  MRdisplay@value:  Medical record number
text@value:  MRN from prescription
systemextension@url:  http://hl7.org/fhir/StructureDefinition/data-absent-reasonvalueCode@value:  unknown
value@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:  urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164
resource
id@value:  aecbb129-9a73-4b59-9d66-ff5cdb3f3164
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
total@value:  3
linkrelation@value:  selfurl@value:  AllergyIntolerance?clinical-status=active&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/patientEHR

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/patientEHR

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/patientEHR
reactionmanifestationtext@value:  Hives

searchmode@value:  match

entry[6]fullUrl@value:  urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084
resource
id@value:  9ce2a97b-5cab-4986-814f-4734016e6084
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
total@value:  3
linkrelation@value:  selfurl@value:  Condition?clinical-status=active&patient=patientEHRentry[1]fullUrl@value:  http://example.org/MyEHR/Condition/1
resource
id@value:  1
metaprofile@value:  http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition
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
metaprofile@value:  http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition
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
metaprofile@value:  http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition
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[7]fullUrl@value:  urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57
resource
id@value:  53a1e123-5b56-44ae-b7e8-36e0b9800f57
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
total@value:  1
linkrelation@value:  selfurl@value:  Coverage?patient=patientEHR
entryfullUrl@value:  http://example.org/MyEHR/Coverage/coverage-1
resource
id@value:  coverage-1
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage
status@value:  active
beneficiaryreference@value:  Patient/patientEHR
payoridentifiervalue@value:  Pharmacy Plans USclass[1]typecodingsystem@value:  http://terminology.hl7.org/CodeSystem/coverage-classcode@value:  rxbin
value@value:  560564
class[2]typecodingsystem@value:  http://terminology.hl7.org/CodeSystem/coverage-classcode@value:  rxpcn
value@value:  HMMK
class[3]typecodingsystem@value:  http://terminology.hl7.org/CodeSystem/coverage-classcode@value:  rxgroup
value@value:  SILVER0334
class[4]typecodingsystem@value:  http://terminology.hl7.org/CodeSystem/coverage-classcode@value:  rxid
value@value:  JSO1345505608801

searchmode@value:  match

entry[8]fullUrl@value:  urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e
resource
id@value:  82ae67e4-f23a-4c17-b80a-9076a37f5d6e
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
total@value:  0
linkrelation@value:  selfurl@value:  Observation?category=vital-signs&patient=patientEHR

entry[9]fullUrl@value:  urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8
resource
id@value:  6b28b7d5-95e1-485b-a0bc-2420a20635a8
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
total@value:  1
linkrelation@value:  selfurl@value:  Observation?category=laboratory&patient=patientEHR
entryfullUrl@value:  http://example.org/MyEHR/Observation/observation-1
resource
id@value:  observation-1
metaversionId@value:  206588lastUpdated@value:  2019-04-18T04:10:12.426+00:00profile@value:  http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
status@value:  final
categorycodingsystem@value:  http://terminology.hl7.org/CodeSystem/observation-categorycode@value:  laboratorydisplay@value:  Laboratory
text@value:  Laboratory
codecodingsystem@value:  http://loinc.orgcode@value:  5811-5display@value:  Specific gravity of Urine by Test strip
text@value:  SPEC GRAV
subjectreference@value:  Patient/patientEHRdisplay@value:  Tim Doe
effectiveDateTime@value:  2019-04-18
valueQuantityvalue@value:  1.017system@value:  http://unitsofmeasure.orgcode@value:  {urine specific gravity}
referenceRangelowvalue@value:  1.003system@value:  http://unitsofmeasure.orgcode@value:  {urine specific gravity}
highvalue@value:  1.035system@value:  http://unitsofmeasure.orgcode@value:  {urine specific gravity}

searchmode@value:  match

entry[10]fullUrl@value:  urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4
resource
id@value:  89b0b6ce-4a31-4718-b38a-798efab6c9e4
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result
type@value:  searchset
total@value:  1
linkrelation@value:  selfurl@value:  MedicationRequest?patient=patientEHR
entryfullUrl@value:  http://example.org/MyEHR/MedicationRequest/prescription-1
resource
id@value:  prescription-1
status@value:  stopped
intent@value:  order
medicationCodeableConceptcodingsystem@value:  http://www.nlm.nih.gov/research/umls/rxnormcode@value:  802652display@value:  1 ML Enbrel 50 MG/ML Prefilled Syringe
subjectreference@value:  Patient/patientEHR
authoredOn@value:  2020-05-11
requesterreference@value:  http://example.org/MyEHR/Practitioner/50645003
dispenseRequestquantityvalue@value:  4unit@value:  {each}
expectedSupplyDurationvalue@value:  30unit@value:  dayssystem@value:  http://unitsofmeasure.orgcode@value:  d
performerreference@value:  http://example.org/MyEHR/Organization/pharmacy-305660
substitutionallowedBoolean@value:  false

searchmode@value:  match

Generated Narrative

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


Entry 1 - fullUrl = urn:uuid:d0b62e34-db4a-4ef7-832c-52cb4c7f9289

Resource MessageHeader:

Generated Narrative: MessageHeader

Resource MessageHeader "72f68739-f49a-4536-b8d4-15f57197abde"

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 'Query Response')

Sources

-NameEndpoint
*Specialty Sandbox Statichttp://example.org/MyEHR/$process-message

Responses

-IdentifierCode
*id: 5065aa9f-bd6d-49a8-924c-5d00f5d0b997OK

focus: See above (urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7)


Entry 2 - fullUrl = urn:uuid:b5000d0c-fed9-4746-ac26-b5ce0111a2b7

Resource Parameters:

Parameters

responder-patienthttp://example.org/MyEHR/Patient/patientEHR
requester-patienturn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa
search-resulturn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164
search-resulturn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084
search-resulturn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57
search-resulturn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e
search-resulturn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8
search-resulturn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4


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

Resource Patient:

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


Entry 4 - fullUrl = urn:uuid:2a87e733-8fe5-4dca-a9ae-bb24c36d41aa

Resource Patient:

Tim Doe Male, DoB: 1987-02-20 ( Patient internal identifier: 540002)


Entry 5 - fullUrl = urn:uuid:aecbb129-9a73-4b59-9d66-ff5cdb3f3164

Resource Bundle:

Bundle aecbb129-9a73-4b59-9d66-ff5cdb3f3164 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/patientEHR)


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/patientEHR)


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/patientEHR)

Reactions

-Manifestation
*Hives ()


Entry 6 - fullUrl = urn:uuid:9ce2a97b-5cab-4986-814f-4734016e6084

Resource Bundle:

Bundle 9ce2a97b-5cab-4986-814f-4734016e6084 of type searchset


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

Search:Mode = match

Resource Condition:

Generated Narrative: Condition

Resource Condition "1"

Profile: US Core Condition Profile

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"

Profile: US Core Condition Profile

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"

Profile: US Core Condition Profile

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 7 - fullUrl = urn:uuid:53a1e123-5b56-44ae-b7e8-36e0b9800f57

Resource Bundle:

Bundle 53a1e123-5b56-44ae-b7e8-36e0b9800f57 of type searchset


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

Search:Mode = match

Resource Coverage:

Generated Narrative: Coverage

Resource Coverage "coverage-1"

Profile: Specialty Rx Coverage

status: ACTIVE

beneficiary: See above (Patient/patientEHR)

class

type: RX BIN (Coverage Class Codes#rxbin)

value: id: 560564

class

type: RX PCN (Coverage Class Codes#rxpcn)

value: id: HMMK

class

type: RX Group (Coverage Class Codes#rxgroup)

value: id: SILVER0334

class

type: RX Id (Coverage Class Codes#rxid)

value: id: JSO1345505608801


Entry 8 - fullUrl = urn:uuid:82ae67e4-f23a-4c17-b80a-9076a37f5d6e

Resource Bundle:

Bundle 82ae67e4-f23a-4c17-b80a-9076a37f5d6e of type searchset


Entry 9 - fullUrl = urn:uuid:6b28b7d5-95e1-485b-a0bc-2420a20635a8

Resource Bundle:

Bundle 6b28b7d5-95e1-485b-a0bc-2420a20635a8 of type searchset


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

Search:Mode = match

Resource Observation:

Generated Narrative: Observation

Resource Observation "observation-1" Version "206588" Updated "2019-04-18 04:10:12+0000"

Profile: US Core Laboratory Result Observation Profile

status: FINAL

category: Laboratory (Observation Category Codes#laboratory)

code: SPEC GRAV (LOINC#5811-5 "Specific gravity of Urine by Test strip")

subject: See above (Patient/patientEHR: Tim Doe)

effective: 2019-04-18

value: 1.017 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')1.035 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')


Entry 10 - fullUrl = urn:uuid:89b0b6ce-4a31-4718-b38a-798efab6c9e4

Resource Bundle:

Bundle 89b0b6ce-4a31-4718-b38a-798efab6c9e4 of type searchset


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

Search:Mode = match

Resource MedicationRequest:

Generated Narrative: MedicationRequest

Resource MedicationRequest "prescription-1"

status: STOPPED

intent: ORDER

subject: See above (Patient/patientEHR)

authoredOn: 2020-05-11

requester: http://example.org/MyEHR/Practitioner/50645003

dispenseRequest

quantity: 4 {each}

ExpectedSupplyDurations

-ValueUnitSystemCode
*30daysUnified Code for Units of Measure (UCUM)d

Substitutions

-Allowed[x]
*false