CreatePrescriptionInput
Input type for the mutation creating a single prescription
input CreatePrescriptionInput {
clientId: ClientID!
comment: String
endDate: Date
icd10Codes: [ICD10CodeInput!]!
issuedAt: Date!
issuedBy: String
precedingPrescriptionId: PrescriptionID
startDate: Date!
status: Status!
treatments: [TreatmentInput!]!
}
Fields
CreatePrescriptionInput.clientId ● ClientID! non-null scalar
ID of the client, whose prescription is being inserted
CreatePrescriptionInput.comment ● String scalar
Comment on the current prescription
CreatePrescriptionInput.endDate ● Date scalar
The date of the prescription, from which it is terminated
CreatePrescriptionInput.icd10Codes ● [ICD10CodeInput!]! non-null input
A list of the ICD 10 codes of the given prescription, each of them stands for a single diagnose Max. 4 list entries allowed
CreatePrescriptionInput.issuedAt ● Date! non-null scalar
The date on which the prescription is issued
CreatePrescriptionInput.issuedBy ● String scalar
The issuer (the prescribing doctor or hospital) of the prescription
CreatePrescriptionInput.precedingPrescriptionId ● PrescriptionID scalar
ID of the preceding prescription, if the current one is a follow-up prescription. If it is a first time prescription, the value is null.
CreatePrescriptionInput.startDate ● Date! non-null scalar
The date of the prescription, from which it is applied
CreatePrescriptionInput.status ● Status! non-null enum
Current status of the prescription
CreatePrescriptionInput.treatments ● [TreatmentInput!]! non-null input
A list of all treatments mentioned in the current prescription
Member Of
createPrescription mutation