v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
MedicationRequests

Cancel from Requested or Approved (a cancel after dispense is a void on the estimate line instead). Declines the pending quote line and cancels the Rx.

post/medication-requests/{id}/cancel

Path parameters

idstring required

Request body

reasonstring

Response

OK

idstring
patientIdstring
patientNamestring nullable
clientIdstring nullable
inventoryItemIdstring nullable
medicationNamestring nullable
freeTextMedicationstring nullable
notesstring nullable
sourcestring
isOtcboolean
fulfillmentMethodstring nullable
statusstring
billingStatestring

Derived: none | quoted | quote_removed | unbilled | invoiced | paid. "unbilled" is the "Ready to bill" worklist predicate.

requestedByIdstring nullable
requestedByNamestring nullable
requestedAtstring date-time
approvedByIdstring nullable
approvedByNamestring nullable
approvedAtstring date-time nullable
deniedByIdstring nullable
deniedAtstring date-time nullable
denialReasonstring nullable
cancelledByIdstring nullable
cancelledAtstring date-time nullable
cancelReasonstring nullable
dispensedAtstring date-time nullable
prescriptionIdstring nullable
prescriptionItemIdstring nullable
estimateIdstring nullable
estimateLineItemIdstring nullable
invoiceIdstring nullable
renewalOfPrescriptionIdstring nullable
suggestedProviderIdstring nullable
suggestedDosagestring nullable
suggestedFrequencystring nullable
suggestedDurationstring nullable
suggestedInstructionsstring nullable
createdAtstring date-time
updatedAtstring date-time