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. For a full list of available versions, see the Directory of published versions

Example Bundle: Specialty Rx Query 1

Example data content

expand all | contract allBundle
id@value:  specialty-rx-query-1
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query
type@value:  message
timestamp@value:  2020-03-11T08:10:13-05:00entry[1]fullUrl@value:  https://example.org/MyPharmacyApp/MessageHeader/reqheader1
resource
id@value:  req1
eventCodingsystem@value:  http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-event-typecode@value:  query
sourcename@value:  MyPharmacyAppendpoint@value:  http://example.org/MyPharmacyApp
focusreference@value:  urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b

entry[2]fullUrl@value:  urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0b
resource
id@value:  61ebe359-bfdc-4613-8bf2-c5e300945f0b
metaprofile@value:  http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-queryparameter[1]name@value:  query-stringvalueString@value:  AllergyIntolerance?clinical-status=active
parameter[2]name@value:  query-stringvalueString@value:  Condition?clinical-status=active
parameter[3]name@value:  query-stringvalueString@value:  Coverage
parameter[4]name@value:  query-stringvalueString@value:  Observation?category=vital-signs
parameter[5]name@value:  query-stringvalueString@value:  Observation?category=laboratory
parameter[6]name@value:  query-stringvalueString@value:  MedicationRequest
parameter[7]name@value:  requester-patientvalueReferencereference@value:  http://example.org/MyEHR/Patient/patient1

entry[3]fullUrl@value:  http://example.org/MyEHR/Patient/patient1
resource
id@value:  patient1
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 Avecity@value:  Minnetonkastate@value:  MNpostalCode@value:  55345country@value:  US
communicationlanguagecodingsystem@value:  urn:ietf:bcp:47code@value:  en-USdisplay@value:  English (Region=United States)

Generated Narrative

Bundle specialty-rx-query-1 of type message


Entry 1 - fullUrl = https://example.org/MyPharmacyApp/MessageHeader/reqheader1

Resource MessageHeader:

Generated Narrative: MessageHeader

Resource MessageHeader "req1"

Profile: Specialty Rx MessageHeader - Query

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

Sources

-NameEndpoint
*MyPharmacyApphttp://example.org/MyPharmacyApp

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


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

Resource Parameters:

Parameters

query-stringAllergyIntolerance?clinical-status=active
query-stringCondition?clinical-status=active
query-stringCoverage
query-stringObservation?category=vital-signs
query-stringObservation?category=laboratory
query-stringMedicationRequest
requester-patienthttp://example.org/MyEHR/Patient/patient1


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

Resource Patient:

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