Skip to main content
FHIR R4 MedicationRequest · US Core MedicationRequest
MedicationRequest is produced for all three FHIR outputs, from different source data. The Patient Everything and Patient Summary bundles populate it identically to one another; Bulk Medication History is built from pharmacy claim data and differs in several places. The Stable ID and Fields sections below cover both, with a column per output.

Stable ID

Fields

In the bundles, a medication with no usable drug code — neither a coded product nor a drug name with a description — is excluded entirely rather than published without a medication.
encounter, reasonCode, priority, substitution, and dispenseRequest.validityPeriod are not populated in either output.

Medication representation

FHIR allows the drug to be given either inline as a code or as a separate Medication resource. In the Patient Everything and Patient Summary bundles, which one is used depends on customer configuration: In both cases the coding published is the same “effective” code: the source’s coded product where it carries both a code and a description, otherwise the drug name code. If neither is fully populated, whichever of the two has a description is used.
Bulk Medication History does not have this configuration switch — it always uses medicationReference against a full Medication resource, regardless of customer configuration.