Skip to main content

Prescription

Contains data about the prescription of a certain client

type Prescription {
approval: Approval
comment: String
endDate: Date
expiringSoon: Boolean
icd10Codes: [ICD10Code!]!
id: PrescriptionID!
issuedAt: Date!
issuedBy: String
precedingPrescription: Prescription
startDate: Date!
status: Status!
treatments: [Treatment!]!
}

Fields

Prescription.approval ● Approval object

Contains the data of an approval of a given prescription. Only allowed if the prescription does not have status 'PRESCRIPTION_REQUESTED' or 'PRESCRIPTION_OBTAINED'

Prescription.comment ● String scalar

Comment on the current prescription

Prescription.endDate ● Date scalar

The date of the prescription, from which it is terminated

Prescription.expiringSoon ● Boolean scalar

Shows whether the prescription is expiring soon (7 calendar days before the end date or less)

Defaults to false.

Prescription.icd10Codes ● [ICD10Code!]! non-null object

A list of the ICD 10 codes of the given prescription, each of them stands for a single diagnose Max. 4 list entries allowed

Prescription.id ● PrescriptionID! non-null scalar

Unique identifier

Prescription.issuedAt ● Date! non-null scalar

The date on which the prescription is issued

Prescription.issuedBy ● String scalar

The issuer (the prescribing doctor or hospital) of the prescription

Prescription.precedingPrescription ● Prescription object

The preceding prescription, if the current one is a follow-up prescription. If it is a first time prescription, the value is null.

Prescription.startDate ● Date! non-null scalar

The date of the prescription, from which it is applied

Prescription.status ● Status! non-null enum

Current status of the prescription

Prescription.treatments ● [Treatment!]! non-null object

A list of all treatments mentioned in the current prescription

Returned By

approvePrescription mutation ● createPrescription mutation ● updatePrescription mutation

Member Of

Client object ● Prescription object ● PrescriptionClientDetails object