OperationOutcome has no US Core profile — it is used here as a plain base FHIR resource. It is produced only
for the Bulk Medication History bundle, where it represents two distinct
situations rather than a single consistent concept. The Patient Everything and
Patient Summary bundles do not produce it — records that cannot be converted are
simply omitted from those bundles.Stable ID
No stableid is assigned to either usage below. Each occurrence should be treated as a standalone informational or
error entry for that processing run, not as a resource to track or deduplicate over time.
Usage 1: Incomplete medication record
If a medication record from the source system is missing its history source qualifier, it does not contain enough information to build aMedicationRequest/MedicationDispense, and an OperationOutcome is emitted in their place
for that record.
Usage 2: Patient-level error
If the original patient population request encountered an error while trying to locate or process a specific patient, that error is surfaced as its ownOperationOutcome, unrelated to any specific medication.

