RxGovernance

Create a prescription for an already-dispensed transaction (post-dispense flow)

Changed on
post/rx/governance/post-dispense-prescription

Request

  • Base URL
    https://api.clinicos.vet/backend/business
  • Auth
    HTTP bearer

Request body

transactionIdstring
patientIdstring
providerIdstring
dosagestring nullable
frequencystring nullable
durationstring nullable
instructionsstring nullable
refillsPrnboolean nullable

PRN ("as needed") refills: unlimited fills until the Rx expires (ITE-1596).

validUntilstring date nullable

Rx expiration override. Null = the regional default validity window.

medicationExpirationDatestring date nullable

Medication expiration printed on the label when no dispensed lot supplies one.

fulfillmentMethodstring
notesstring nullable

Response

Created

successboolean
prescriptionIdstring nullable
transactionIdstring nullable
patientIdstring
messagestring
invoiceLineItemIdstring nullable

Populated when the request supplied string? CreateMedicationRequestDto.InvoiceId and an estimate line item was created in the same call.

invoiceIdstring nullable

The estimate the dispense was attached to — either the one the caller supplied or one auto-created/resolved server-side. Lets a client that had no estimate of its own adopt the server's estimate instead of failing to reconcile the line.

estimateIdstring nullable

The estimate the request's billable line was placed on at creation (in-house / same-day requests). Null for external (non-billable) requests.

estimateLineItemIdstring nullable

The Pending estimate line created for this request at creation, if any.

medicationRequestIdstring nullable

The lifecycle MedicationRequest recorded for this operation. The compound endpoint applies capture → approve → dispense as far as the caller's permissions allow; string? MedicationRequestResultDto.RequestStatus says where it stopped.

requestStatusstring nullable

Lifecycle status after this call: requested | approved | dispensed.

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)