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
The Query message requests information from a patient’s health records. It identifies the patient and specifies searches to be performed on the responding system’s server.
It is a message Bundle with:
query
focus
(see below)
query-string
parameter elementsSee Processing Detail for patient matching and other processing expectations.
Parameter | Cardinality | Type | Description, profile |
---|---|---|---|
query-string | 1..* | string | Search string. See Search Conventions |
requester-patient | 1..1 | Patient | Patient resource representing the requesting party's (Data Consumer's) understanding of the patient Profile: specialty-rx-patient |
responder-patient | 0..1 | Patient | Patient resource representing the responding party's (Data Source's) understanding of the patient. SHALL be populated when the Data Consumer system has performed a patient match against the Data Source prior to transmitting the Query Message Profile: specialty-rx-patient |
medication-request | 0..1 | MedicationRequest | The associated specialty prescription, which may be included to assist patient matching Profile: specialty-rx-medicationrequest |
prescriber | 0..1 | Practitioner | The prescriber of the associated specialty prescription Profile: specialty-rx-practitioner |
pharmacy | 0..1 | Organization | The pharmacy dispensing the associated specialty prescription Profile: specialty-rx-organization-pharmacy |
The Query Response message returns the requested information from a patient’s health records.
It is a message Bundle with:
query-response
See Processing Detail for patient matching and other processing expectations.
Parameter | Cardinality | Type | Description, profile |
---|---|---|---|
requester-patient | 1..1 | Patient | Patient resource representing the requesting party's (Data Consumer's) understanding of the patient Profile: specialty-rx-patient |
responder-patient | 1..1 | Patient |
Patient resource representing the responding party's (Data Source's) understanding of the patient Profile: specialty-rx-patient |
search-result | 1..* | Bundle | Searchset bundle containing the results from a single search contained in the request Profile: specialty-rx-bundle-search-result |
The Query Response - Unsolicited message transmits information from a patient’s health record to a stakeholder involved in fulfillment of a specialty medication. This message is not preceded by a request but instead is by a process event–typically sent when the medication is prescribed.
It is a message Bundle with:
query-response-unsolicited
Notes:
Parameter | Cardinality | Type | Description, profile |
---|---|---|---|
source-patient | 1..1 | Patient | Patient resource representing the Data Source's understanding of the patient Profile: specialty-rx-patient |
medication-request | 1..1 | MedicationRequest | The associated specialty prescription Profile: specialty-rx-medicationrequest |
prescriber | 1..1 | Practitioner | The prescriber of the associated specialty prescription Profile: specialty-rx-practitioner |
pharmacy | 1..1 | Organization | The pharmacy dispensing the associated specialty prescription Profile: specialty-rx-organization-pharmacy |
search-result | 1..* | Bundle | Searchset bundle containing the results from a single search of patient data Profile: specialty-rx-bundle-search-result |