core.medication_request_status_reason_system
Home > @medplum/core > MEDICATION_REQUEST_STATUS_REASON_SYSTEM
MEDICATION_REQUEST_STATUS_REASON_SYSTEM variable
Canonical CodeSystem URL for MedicationRequest.statusReason values stamped by Medplum-managed order flows when a draft MR has to be retired without a confirmed vendor outcome.
Downstream reconciliation (vendor webhook bots, audit reports) should match statusReason.coding[?(@.system==MEDICATION_REQUEST_STATUS_REASON_SYSTEM)] to recognize records that originated from this soft-delete path rather than a clinician decision.
Signature:
MEDICATION_REQUEST_STATUS_REASON_SYSTEM = "https://medplum.com/fhir/CodeSystem/medication-request-status-reason"