Skip to content

prescriptionMedications

Fetches combined list of prescriptions and medications

Arguments

patient_id · ID! · required · ID of the patient to fetch medications for
filters · PrescriptionMedicationQueryFiltersInput · Advanced filter options for querying prescription medications
keyword · String · Search medications by name
order_by · PrescriptionMedicationOrderBy · Sorting parameter for the medications
first · Int · number of items to return
after · Cursor · Cursor to fetch results after

Returns

PrescriptionMedicationConnection

Example

query prescriptionMedications(
$patient_id: ID!
$filters: PrescriptionMedicationQueryFiltersInput
$keyword: String
$order_by: PrescriptionMedicationOrderBy
$first: Int
$after: Cursor
) {
prescriptionMedications(
patient_id: $patient_id
filters: $filters
keyword: $keyword
order_by: $order_by
first: $first
after: $after
) {
edges
nodes
page_info
total_count
}
}