This page is part of the US Prescription Drug Monitoring Program (PDMP) (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
| Official URL: http://hl7.org/fhir/us/pdmp/OperationDefinition/pdmp-history | Version: 1.0.0-ballot | |||
| Active as of 2024-04-01 | Computable Name: PdmpOperationGetPdmpHistory | |||
Operation returning an individual patient’s PDMP history
Notes:
pdmp-history-data response parameter’s content.pdmp-history-data and/or pdmp-history-link are populated when the PDMP Responder has PDMP information available for the requested patient.outcome and, optionally, pre-stage-retrieval-key are populated when the PDMP Responder is replying to a request in which the pre-stage-only parameter is set to true (see details below).outcome is populated if the PDMP Responder is unable to locate information for the requested patient. pdmp-history-link may also be populated in this scenario. See this section for additional response specifics and an example.outcome is populated if the PDMP Responder encounters an exception that prevents completion of response processing. See this section for additional response specifics and an example.outcome is populated in addition to one or more other parameters if the PDMP Responder encounters a non-fatal exception when executing a request that impacts the content of the response, to indicate the issue and impact on the PDMP history content see this section for additional response specifics and an example.outcome may be populated in addition to one or more other parameters to return other warning or processing information.pre-stage-only input parameter set to true directs the PDMP Responder to gather information for the requested patient and stage it for retrieval via a subsequent pdmp-history call.
outcome parameter with an indication that the request was accepted and optionally returns a key value in the pre-stage-retrieval-key output parameter that the PDMP Requester must include in the subsequent operation call’s pre-stage-retrieval-key input parameter.authorized-practitioner-role parameter…
authorized-practitioner parameter in its .practitioner element.authorized-practitioner-organization parameter in its .organization element.delegate-practitioner-role parameter…
delegate-practitioner parameter in its .practitioner element.delegate-organization parameter in its .organization element.pdmp-history-data parameter are expected to reference one another according to the rules of the associated FHIR profiles.Examples:
An example of the Parameters resource submitted to this operation:
An example of the Parameters resource returned by this operation:
URL: [base]/$pdmp-history
Input parameters Profile: PDMP Parameters - Request
Output parameters Profile: PDMP Parameters - Response
Parameters
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | patient | 1..1 | Patient | The patient whose PDMP history is desired | ||
| IN | animal-owner | 0..1 | RelatedPerson | If the patient is an animal, this parameter reflects its owner's information | ||
| IN | authorized-practitioner | 1..1 | Practitioner | The Practitioner resource reflecting the provider who is authorized to view the returned PDMP information | ||
| IN | authorized-practitioner-role | 1..1 | PractitionerRole | The PractitionerRole resource reflecting the authorized provider's practice information | ||
| IN | authorized-practitioner-organization | 0..1 | Organization | An Organization resource reflecting the authorized provider's organization | ||
| IN | delegate-practitioner | 0..1 | Practitioner | A Practitioner resource reflecting a provider who is requesting the PDMP information on behalf of another party | ||
| IN | delegate-practitioner-role | 0..1 | PractitionerRole | A PractitionerRole resource reflecting the delegate's practice information | ||
| IN | delegate-organization | 0..1 | Organization | An Organization resource reflecting the delegate's organization | ||
| IN | pre-stage-only | 0..1 | boolean | Indicates that the PDMP Responder is expected to gather the requested information and stage it for future retrieval (via a subsequent invocation of this operation) | ||
| IN | pre-stage-retrieval-key | 0..1 | string | The pre-stage-retrieval-key returned from a previous operation call in which the pre-stage-only parameter was set to true | ||
| OUT | pdmp-history-data | 0..1 | Bundle | A Bundle of type 'collection' that contains medication dispensation and administration information for the requested patient (if found) | ||
| OUT | pdmp-history-link | 0..1 | url | A url to access an external report containing a PDMP history for the requested patient | ||
| OUT | pre-stage-retrieval-key | 0..1 | string | This parameter is used only when responding to an invocation in which the pre-stage-only parameter was set to true. This element may be populated with a string value that the requester is to submit in the pre-stage-retrieval-key parameter of the subsequent invocation that retrieves the staged information | ||
| OUT | outcome | 0..1 | OperationOutcome | An OperationOutcome resource containing processing information associated with the operation response, including error, warning and/or informational information |