Tross
Demo dataBook a demo
GLACE

Fetch encounters patient

List a patient's past encounters.

POSThttps://preview.ontross.com/api/integrations/glace/fetch-encounters-patient
Request Fields
input.account_no
string
required
Patient's Glace account number from Patient Book search, not patient_id.
Example
"371409"
auth_id
string
required
Saved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"
Output Fields
encounters
array
Every past encounter on the chart, each fully expanded.
encounters[].encounter_id
string
Encounter from the chart's Past Encounters list, via fetch-encounters-patient.
Example
"864203"
encounters[].encounter_date
string
Date Glace records for that encounter.
Example
"09/18/2025"
encounters[].age_at_visit
string
Patient's age when that encounter took place.
Example
"42 years"
encounters[].return_visit
string
When the patient is asked to come back.
Example
"3 months"
encounters[].next_physical_visit
string
When the patient is next due for a physical.
Example
"1 year"
encounters[].reason
string
Reason Glace records for that encounter.
Example
"Follow-up for hypertension"
encounters[].service_doctor
string
Doctor who delivered the care at that encounter.
Example
"Morgan Ellis, MD"
encounters[].referring_doctor
string
Doctor who sent the patient in for that encounter.
Example
"Taylor Brooks, MD"
encounters[].patient_type
string
Whether Glace counts the visit as new or established.
Example
"Established"
encounters[].clinical_summary_provided
string
Whether a clinical summary was given to the patient.
Example
"Yes"
encounters[].vitals
object
Label to value vitals map, or plain text from notes.
encounters[].chief_complaint
string
Chief complaint text recorded on that encounter.
Example
"Persistent cough for one week"
encounters[].patient_comments
string
Comments the patient gave, recorded on that encounter.
Example
"Cough is worse at night."
encounters[].allergies
string
Allergy text scraped from the chart, free text not coded.
Example
"Penicillin - rash"
encounters[].active_medications
string
Raw text of the encounter's active medications tab.
Example
"Lisinopril 10 mg tablet daily"
encounters[].prescribed_medications
string
Raw text of the encounter's prescribed medications tab.
Example
"Benzonatate 100 mg capsule three times daily as needed"
encounters[].inactive_medications
string
Raw text of the encounter's inactive medications tab.
Example
"Azithromycin 250 mg tablet - discontinued"
encounters[].clinical_forms
array
Forms on the encounter with user, date, and completion.
encounters[].procedures
string
Text of the encounter's Investigations tab, despite the name.
Example
"Chest X-ray, two views"
encounters[].hl7_labs
string
Lab results tab text, fed into Glace over HL7.
Example
"Hemoglobin A1c: 5.6 %"
encounters[].assessment
string
Assessment text from the note or the encounter assessment tab.
Example
"Essential hypertension, controlled."
encounters[].plan
string
Plan text from the note or the encounter's plan tab.
Example
"Continue current medication and monitor blood pressure at home."
encounters[].superbill
string
Superbill and billing code text for that encounter.
Example
"99213 - Office or other outpatient visit, established patient"
encounters[].patient_documents
string
Text of the encounter's attached documents tab.
Example
"Discharge instructions"
encounters[].referrals
string
Referral table text from the encounter page.
Example
"Cardiology - hypertension evaluation"
patient_id
string
Glace internal patient id, not account_no, the patientid from fetch-appointments.
Example
"763028"
chart_id
string
Chart the encounter belongs to, parsed out of Glace URLs.
Example
"582641"
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/glace/fetch-encounters-patient \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"account_no":"371409"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "account_no": "371409"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "encounters": [
      {
        "encounter_id": "864203",
        "encounter_date": "09/18/2025",
        "age_at_visit": "42 years",
        "return_visit": "3 months",
        "next_physical_visit": "1 year",
        "reason": "Follow-up for hypertension",
        "service_doctor": "Morgan Ellis, MD",
        "referring_doctor": "Taylor Brooks, MD",
        "patient_type": "Established",
        "clinical_summary_provided": "Yes",
        "vitals": {},
        "chief_complaint": "Persistent cough for one week",
        "patient_comments": "Cough is worse at night.",
        "allergies": "Penicillin - rash",
        "active_medications": "Lisinopril 10 mg tablet daily",
        "prescribed_medications": "Benzonatate 100 mg capsule three times daily as needed",
        "inactive_medications": "Azithromycin 250 mg tablet - discontinued",
        "clinical_forms": [
          null
        ],
        "procedures": "Chest X-ray, two views",
        "hl7_labs": "Hemoglobin A1c: 5.6 %",
        "assessment": "Essential hypertension, controlled.",
        "plan": "Continue current medication and monitor blood pressure at home.",
        "superbill": "99213 - Office or other outpatient visit, established patient",
        "patient_documents": "Discharge instructions",
        "referrals": "Cardiology - hypertension evaluation"
      }
    ],
    "patient_id": "763028",
    "chart_id": "582641"
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}