Skip to main content

ReceivePrescriptionInput

Input for receivePrescription: transitions to PRESCRIPTION_OBTAINED from DRAFT (initial path) or PRESCRIPTION_REQUESTED (follow-up path).

input ReceivePrescriptionInput {
adjustedTreatments: [TreatmentAdjustmentInput!]
header: PrescriptionHeaderInput
prescriptionDoctorId: ContactID!
prescriptionId: PrescriptionID!
receivedOn: Date!
}

Fields​

ReceivePrescriptionInput.adjustedTreatments ● [TreatmentAdjustmentInput!] list input​

Optional treatment adjustments applied as the document arrives: the paper VO the doctor issued may prescribe something other than what was drafted. An adjustment may also add a service via benefitPositionId. Each one produces a Storno audit entry (BR-3) — the prescription is planning-visible once received.

Optional header as the received document states it — period, issue date, issuer and diagnoses. Applied in full when given; absent, every header field stays as it is.

ReceivePrescriptionInput.prescriptionDoctorId ● ContactID! non-null scalar​

ID of the prescribing doctor in the Contact directory.

ReceivePrescriptionInput.prescriptionId ● PrescriptionID! non-null scalar​

ID of the prescription to transition.

ReceivePrescriptionInput.receivedOn ● Date! non-null scalar​

Date on which the prescription was physically received.

Member Of​

receivePrescription mutation