Prescription
Contains data about the prescription of a certain client
type Prescription {
approval: Approval
client: Client!
comment: String
endDate: Date
expiringSoon: Boolean
icd10Codes: [ICD10Code!]!
id: PrescriptionID!
isFollowUp: Boolean!
isPermanent: Boolean!
issuedAt: Date!
issuedBy: String
pdfUrl: Url
precedingPrescription: Prescription
prescriptionBackPagePdfUrl: Url
prescriptionDoctor: DoctorContact
rejectionInfo: RejectionInfo
startDate: Date!
status: PrescriptionStatus!
termination: TerminationInfo
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.client ● Client! non-null object
The client this prescription belongs to.
Prescriptions are always reached through their client (Client.prescriptions), but the
park-wide overviews (REQ-CP-022.2 / .3 / .4) enter from ResidentialPark instead and still
have to name the client and link back to that client's prescription page. Resolved through
ClientDataLoader, so a list of prescriptions costs one client query, not one per row.
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.isFollowUp ● Boolean! non-null scalar
Shows if the current prescription is a follow up prescription
Prescription.isPermanent ● Boolean! non-null scalar
Shows if the current prescription is a follow up prescription
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.pdfUrl ● Url scalar
URL to download the prescription as a PDF. Null until createPrescriptionDocument has created
that PDF once - reading this field does not create it.
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.prescriptionBackPagePdfUrl ● Url scalar
URL to download the prescription back page (Rückseite Verordnung) as a PDF. Null until
createPrescriptionBackPageDocument has created that PDF once.
Prescription.prescriptionDoctor ● DoctorContact object
The prescribing doctor, as a structured Contact directory reference (V2 only).
Always null for V1-only records, which only carry the free-text issuedBy.
Prescription.rejectionInfo ● RejectionInfo object
Contains the data of a rejection of a given prescription. Only allowed if the prescription does not have status 'REJECTED'
Prescription.startDate ● Date! non-null scalar
The date of the prescription, from which it is applied
Prescription.status ● PrescriptionStatus! non-null enum
Current status of the prescription
Prescription.termination ● TerminationInfo object
Contains the data of a termination of a given prescription. Only allowed if the prescription does not have status 'ENDED'
Prescription.treatments ● [Treatment!]! non-null object
A list of all treatments mentioned in the current prescription
Returned By
addPrescriptionTreatment mutation ● adjustPrescriptionTreatments mutation ● approvePrescription mutation ● approvePrescriptionV2 mutation ● changePrescriptionStatus mutation ● changePrescriptionTreatment mutation ● createPrescription mutation ● deletePrescriptionTreatment mutation ● partiallyApprovePrescription mutation ● receivePrescription mutation ● rejectPrescription mutation ● repairPrescriptionDoctor mutation ● requestPrescription mutation ● requestPrescriptionApproval mutation ● revertPrescriptionStatus mutation ● savePrescriptionDraft mutation ● terminatePrescription mutation ● updatePrescription mutation ● updatePrescriptionComment mutation
Member Of
Client object ● ClientMedicalDiagnosis object ● FollowUpApplicationBatch object ● PerformanceReport object ● Prescription object ● PrescriptionApplicationView object ● PrescriptionClientDetails object ● ResidentialPark object