Clinical Queries

Interactive examples coming soon...

allergies :: [Allergy]

ArgumentTypeDescription
patientIdID!

diagnostics :: [Diagnostic]

ArgumentTypeDescription
clientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

encounter :: Encounter

ArgumentTypeDescription
idID!ID of resource to lookup

encounterSummary :: String

ArgumentTypeDescription
encounterIdID!
locationIdID
only[String]

encounterTypes :: [EncounterType]

ArgumentTypeDescription
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

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!ID of resource to lookup

immunizationPdf :: String

Get immunizations PDF

ArgumentTypeDescription
locationIdID
patientIdID!

immunizations :: [Immunization]

Get immunizations

ArgumentTypeDescription
clientIdID
limitInt
offsetInt
patientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

immunizationsDue :: [Immunization]

ArgumentTypeDescription
limitInt
locationIdID!
offsetInt
showSilencedBoolean
withinDaysInt

lapsingPatients :: [Patient]

ArgumentTypeDescription
limitInt
locationIdID!
offsetInt

medicalRecordsSummary :: String

ArgumentTypeDescription
includeDocumentsBoolean
patientIdID!

medication :: Medication

ArgumentTypeDescription
idID!ID of resource to lookup

medications :: [Medication]

Lookup a patient's medication by status

ArgumentTypeDescription
clientIdID
hasRefillsBoolean
limitInt
offsetInt
patientIdID
statusMedicationStatus
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

patient :: Patient

ArgumentTypeDescription
idID!ID of resource to lookup

patientConsentForms :: [ClientConsent]

ArgumentTypeDescription
clientIdID
patientIdID!

patientDocument :: PatientDocument

ArgumentTypeDescription
idID!ID of resource to lookup

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!

searchEmailAttachments :: [EmailAttachment]

ArgumentTypeDescription
encounterIdID!Encounter ID to attach the xray to
fromEmailsString!Used to search from field of emails
locationIdID!Location to use for the gmail account
subjectString!Used to Search subject of emails

searchMacros :: [Macro]

ArgumentTypeDescription
limitInt
termString!

totalPatients :: Int

No arguments.

treatments :: [Treatment]

ArgumentTypeDescription
clientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

vitals :: [Vitals]

Historical vitals

ArgumentTypeDescription
fromDateTime
limitInt
offsetInt
patientIdID
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime