SavePrescriptionDraftInput
Input for savePrescriptionDraft: covers both create (no prescriptionId) and update
(with prescriptionId) of a DRAFT prescription. Only clientId,
startDate, issuedAt are mandatory at draft time.
input SavePrescriptionDraftInput {
clientId: ClientID!
comment: String
endDate: Date
icd10Codes: [ICD10CodeInput!]
issuedAt: Date!
issuedBy: String
precedingPrescriptionId: PrescriptionID
prescriptionDoctorId: ContactID!
prescriptionId: PrescriptionID
startDate: Date!
treatments: [BenefitPositionID!]!
}
Fields
SavePrescriptionDraftInput.clientId ● ClientID! non-null scalar
ID of the client for whom the draft is created.
SavePrescriptionDraftInput.comment ● String scalar
Free-text comment on the draft.
SavePrescriptionDraftInput.endDate ● Date scalar
End date of the prescription; null means open-ended.
SavePrescriptionDraftInput.icd10Codes ● [ICD10CodeInput!] list input
List of ICD-10 diagnosis codes (max 4).
SavePrescriptionDraftInput.issuedAt ● Date! non-null scalar
Date on which the prescription was issued.
SavePrescriptionDraftInput.issuedBy ● String scalar
Issuer (prescribing doctor or hospital).
SavePrescriptionDraftInput.precedingPrescriptionId ● PrescriptionID scalar
ID of the preceding prescription for follow-up drafts.
SavePrescriptionDraftInput.prescriptionDoctorId ● ContactID! non-null scalar
ID of the prescribing doctor in the Contact directory (V2 only); mandatory.
SavePrescriptionDraftInput.prescriptionId ● PrescriptionID scalar
ID of the draft to update; omit to create a new draft.
SavePrescriptionDraftInput.startDate ● Date! non-null scalar
Start date of the prescription.
SavePrescriptionDraftInput.treatments ● [BenefitPositionID!]! non-null scalar
Benefit positions to include as treatments.
Member Of
savePrescriptionDraft mutation