Clinical Queries

Interactive examples coming soon...

allergies :: [Allergy]

ArgumentTypeDescription
patientIdID!

diagnostics :: [Diagnostic]

ArgumentTypeDescription
clientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

encounter :: Encounter

Lookup an encounter if authorized

ArgumentTypeDescription
idID!

encounterSummary :: String

ArgumentTypeDescription
encounterIdID!
locationIdID
only[String]

encounterTypes :: [EncounterType]

No arguments.

encounters :: [Encounter]

Search for encounters by patient id, org id, and status

ArgumentTypeDescription
clientIdID
limitInt
offsetInt
patientIdID
providerIdID
signedBoolean
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime
viewerOnlyBoolean

encountersUpdatedSince :: [Encounter]

Poll for a list of encounters updated since a specific datetime

ArgumentTypeDescription
updatedAtDateTime!

immunization :: Immunization

ArgumentTypeDescription
idID!

immunizationPdf :: String

Get immunizations PDF

ArgumentTypeDescription
patientIdID!

immunizations :: [Immunization]

Get immunizations

ArgumentTypeDescription
clientIdID
limitInt
offsetInt
patientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

medicalRecordsSummary :: String

ArgumentTypeDescription
includeDocumentsBoolean
patientIdID!

medication :: Medication

Lookup a specific medication by id

ArgumentTypeDescription
idID!

medications :: [Medication]

Lookup a patient's medication by status

ArgumentTypeDescription
clientIdID
hasRefillsBoolean
limitInt
offsetInt
patientIdID
statusMedicationStatus
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

patient :: Patient

Lookup a specific patient by id

ArgumentTypeDescription
idID!

patientConsentForms :: [ClientConsent]

ArgumentTypeDescription
clientIdID
patientIdID!

patientDocument :: PatientDocument

ArgumentTypeDescription
idID!

patientLabel :: String

ArgumentTypeDescription
idID!

patients :: [Patient]

Retrieve a list of all patients at your org

ArgumentTypeDescription
filtersPatientFiltersFilter the patients return by field
limitIntLimit the number of results (defaults to nil)
offsetIntFor pagination, offset the return values by a number (defaults to 0 / no offset)
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

rabiesCertificate :: String

ArgumentTypeDescription
locationIdID
patientIdID!

searchDiagnoses :: [Diagnosis]

Search diagnoses by term

ArgumentTypeDescription
limitInt!
termString!

searchMacros :: [Macro]

ArgumentTypeDescription
limitInt
termString!

totalPatients :: Int

No arguments.

treatments :: [Treatment]

ArgumentTypeDescription
clientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

vitals :: [Vitals]

Historical vitals

ArgumentTypeDescription
limitInt
offsetInt
patientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime