# Elation Health

> Work with patient charts and the schedule in Elation's EHR: find, add and update patients, book and update appointments, record problems, allergies and non-visit notes, and read medications, vitals, visit notes and reports.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/elation-health

## Actions

### Create allergy

Add an allergy to a patient's chart.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Allergen (`name`, text, required): What the patient is allergic to, such as `Penicillin`.
- Reaction (`reaction`, text): The reaction, such as `Hives`.
- Severity (`severity`, text): How severe the reaction is. One of: `mild`, `moderate`, `severe`, `unknown`.
- Status (`status`, text): Whether the allergy is active. Leave empty for active. One of: `Active`, `Inactive`.
- Start date (`start_date`, date): When the allergy started.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "created_date": "example",
    "deleted_date": "example",
    "id": 1,
    "medispandnid": "example",
    "medispanid": "example",
    "name": "example",
    "patient": 1,
    "reaction": "example",
    "severity": "example",
    "start_date": "example",
    "status": "example"
  }
}
```

### Create appointment

Book an appointment for a patient on a physician's calendar.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Practice (`practice`, number, required): The practice the appointment is at.
- Starts at (`scheduled_date`, date and time, required): When the appointment starts.
- Length (minutes) (`duration`, number): How long the appointment lasts, in minutes: a multiple of 5, up to 1,440. Leave empty for the appointment type's usual length. From 5 to 1440.
- Physician (`physician`, number, required): The physician the appointment is with.
- Appointment type (`appointment_type_id`, number): The kind of appointment, such as a follow-up or an annual physical.
- Location (`service_location`, number): Where the appointment takes place.
- Visit type (`mode`, text): Whether the patient comes in or joins by video. Leave empty to follow the appointment type. One of: `IN_PERSON` (In person), `VIDEO` (Video visit).
- Description (`description`, text): A note about the appointment, shown on the calendar.
- Instructions (`instructions`, text): Instructions for the patient, such as how to join a video visit.
- Status (`status`, text): Where the visit is: scheduled, confirmed, checked in and so on. Leave empty for Scheduled. One of: `Scheduled`, `Confirmed`, `Checked In`, `In Room`, `In Room - Vitals Taken`, `With Doctor`, `Checked Out`, `Not Seen`, `Cancelled`, `Billed`.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "appointment_type_id": 1,
    "created_date": "example",
    "description": "example",
    "duration": 1,
    "id": 1,
    "instructions": "example",
    "last_modified_date": "example",
    "mode": "example",
    "patient": 1,
    "physician": 1,
    "practice": 1,
    "reason": "example",
    "scheduled_date": "example",
    "service_location": {
      "address_line1": "example",
      "city": "example",
      "id": 1,
      "name": "example",
      "state": "example",
      "zip": "example"
    },
    "status": {
      "room": "example",
      "status": "example",
      "status_date": "example",
      "status_detail": "example"
    },
    "time_slot_type": "example"
  }
}
```

### Create non-visit note

Add a note to a patient's chart outside a visit, such as a phone call or an email with the patient. It is left unsigned for a physician to sign in Elation.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Note (`text`, text, required): What the note says.
- Kind (`type`, text): What the note records. Leave empty for a note. One of: `nonvisit` (Note), `phone` (Phone call), `email`.
- Date (`document_date`, date and time): When it happened. Leave empty for now.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "bullets": [
      {
        "author": 1,
        "id": 1,
        "text": "example",
        "updated_date": "example",
        "version": 1
      }
    ],
    "chart_date": "example",
    "created_date": "example",
    "deleted_date": "example",
    "document_date": "example",
    "id": 1,
    "patient": 1,
    "signed_by": 1,
    "signed_date": "example",
    "tags": [
      1
    ],
    "type": "example"
  }
}
```

### Create patient

Add a patient to a practice. Elation refuses a patient whose name, date of birth and sex match one it already has, so look first with Find patients.

**Inputs**

- First name (`first_name`, text, required): The patient's legal first name.
- Middle name (`middle_name`, text): The patient's middle name.
- Last name (`last_name`, text, required): The patient's legal last name.
- Date of birth (`dob`, date, required): The patient's date of birth.
- Sex (`sex`, text, required): The patient's sex, as Elation records it for clinical decisions. One of: `Female`, `Male`, `Other`, `Unknown`.
- Primary physician (`primary_physician`, number, required): The physician in your practice who looks after the patient.
- Practice (`caregiver_practice`, number, required): The practice the patient belongs to.
- Email (`email`, text): The patient's email address.
- Phone (`phone`, text): A phone number for the patient.
- Phone type (`phone_type`, text): What kind of number the phone number is. Leave empty for a mobile number. One of: `Mobile`, `Home`, `Work`, `Main`, `Night`, `Fax`, `Other`.
- Address (`address_line1`, text): The street address.
- Address line 2 (`address_line2`, text): The apartment or suite.
- City (`city`, text): The city.
- State (`state`, text): The state or territory. One of: `AL` (Alabama), `AK` (Alaska), `AZ` (Arizona), `AR` (Arkansas), `CA` (California), `CO` (Colorado), `CT` (Connecticut), `DE` (Delaware), `DC` (District of Columbia), `FL` (Florida), and 46 more.
- ZIP code (`zip`, text): The ZIP code.
- Preferred location (`preferred_service_location`, number): The location where the patient is usually seen.
- Preferred contact (`preferred_contact`, text): How the patient prefers to be contacted. One of: `email`, `phone` (Phone call), `sms` (Text message), `passport` (Patient portal).
- Preferred language (`preferred_language`, text): The patient's preferred language, such as `English` or `Spanish`.
- Gender identity (`gender_identity`, text): The patient's gender identity. One of: `woman`, `man`, `transgender_woman` (Transgender woman), `transgender_man` (Transgender man), `nonbinary`, `two_spirit` (Two-spirit), `option_not_listed` (Not listed), `prefer_not_to_say` (Prefer not to say), `unknown`.
- Pronouns (`pronouns`, text): The patient's pronouns. One of: `she_her_hers` (She/her/hers), `he_him_his` (He/him/his), `they_them_theirs` (They/them/theirs), `not_listed` (Not listed).
- Race (`race`, text): The patient's race. One of: `American Indian or Alaska Native`, `Asian`, `Black or African American`, `Native Hawaiian or Other Pacific Islander`, `White`, `No race specified`, `Declined to specify`.
- Ethnicity (`ethnicity`, text): The patient's ethnicity. One of: `Hispanic or Latino`, `Not Hispanic or Latino`, `No ethnicity specified`, `Declined to specify`.
- Patient status (`status`, text): Whether the patient is an active patient of the practice. Leave empty for active. One of: `active`, `inactive`, `prospect`, `deceased`.
- Tags (`tags`, list): Tags to show on the patient's chart, up to 10.
- Notes (`notes`, text): Notes about the patient, shown on their chart.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "actual_name": "example",
    "address": {
      "address_line1": "example",
      "address_line2": "example",
      "city": "example",
      "state": "example",
      "zip": "example"
    },
    "caregiver_practice": 1,
    "created_date": "example",
    "deleted_date": "example",
    "dob": "example",
    "emails": [
      {
        "email": "example"
      }
    ],
    "ethnicity": "example",
    "first_name": "example",
    "gender_identity": "example",
    "id": 1,
    "last_modified": "example",
    "last_name": "example",
    "master_patient": 1,
    "middle_name": "example",
    "notes": "example",
    "patient_status": {
      "deceased_date": "example",
      "inactive_reason": "example",
      "last_status_change": "example",
      "status": "example"
    },
    "phones": [
      {
        "phone": "example",
        "phone_type": "example"
      }
    ],
    "preferred_contact": "example",
    "preferred_language": "example",
    "preferred_service_location": 1,
    "primary_physician": 1,
    "pronouns": "example",
    "race": "example",
    "sex": "example",
    "tags": [
      "example"
    ]
  }
}
```

### Create problem

Add a problem (a diagnosis) to a patient's problem list.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Problem (`description`, text, required): The problem, in words, such as `Type 2 diabetes mellitus`.
- Status (`status`, text): Whether the problem is active, controlled or resolved. Defaults to active. One of: `Active`, `Controlled`, `Resolved`. Default: `Active`.
- Start date (`start_date`, date, required): When the problem started.
- Resolved date (`resolved_date`, date): When the problem was resolved. Only for the status Resolved.
- ICD-10 codes (`icd10_codes`, list): The problem's ICD-10 codes, such as `E11.9`.
- SNOMED code (`snomed_code`, text): The problem's SNOMED CT code, such as `44054006`.
- Synopsis (`synopsis`, text): A short summary of the problem.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "created_date": "example",
    "deleted_date": "example",
    "description": "example",
    "dx": [
      {
        "icd10": [
          "example"
        ],
        "icd9": [
          "example"
        ],
        "snomed": "example"
      }
    ],
    "id": 1,
    "patient": 1,
    "practice": 1,
    "resolved_date": "example",
    "start_date": "example",
    "status": "example",
    "synopsis": "example"
  }
}
```

### Delete allergy

Remove an allergy from a patient's chart.

**Inputs**

- Allergy (`allergy_id`, number, required): The allergy's ID, from List allergies or Create allergy.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete appointment

Delete an appointment from the calendar, as if it had never been booked. To keep a record that it was cancelled, update its status to Cancelled instead.

**Inputs**

- Appointment (`appointment_id`, number, required): The appointment's ID, from List appointments or Create appointment.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete non-visit note

Delete a non-visit note from a patient's chart. Orders placed from it stay in the chart.

**Inputs**

- Note (`note_id`, number, required): The non-visit note's ID, from Create non-visit note.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete patient

Delete a patient's chart. Elation keeps it as deleted rather than erasing it. Use this for a chart made by mistake; for a patient who has left, set their Patient status instead.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Delete problem

Remove a problem from a patient's problem list. For a problem that has gone away, a resolved problem keeps the history instead.

**Inputs**

- Problem (`problem_id`, number, required): The problem's ID, from List problems or Create problem.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": 1
  }
}
```

### Find patients

Find patients by name, date of birth, sex, phone number or practice, newest first. Names match whole and ignore case. Leave every field empty to list the newest patients.

**Inputs**

- First name (`first_name`, text): The patient's first name, in full.
- Last name (`last_name`, text): The patient's last name, in full.
- Date of birth (`dob`, date): The patient's date of birth.
- Sex (`sex`, text): The patient's sex. One of: `Female`, `Male`, `Other`, `Unknown`.
- Phone number (`phone_number`, text): One of the patient's phone numbers.
- Practice (`practice_id`, number): Only this practice's records. Leave empty for every practice the connected account reaches.
- Changed since (`modified_since`, date and time): Only patients changed at or after this time.
- Sort by (`order_by`, text): How to sort the patients. Leave empty for the newest first. One of: `last_name` (Last name, A to Z), `-last_name` (Last name, Z to A), `first_name` (First name, A to Z), `-first_name` (First name, Z to A), `dob` (Oldest first), `-dob` (Youngest first).
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "actual_name": "example",
        "address": {
          "address_line1": "example",
          "address_line2": "example",
          "city": "example",
          "state": "example",
          "zip": "example"
        },
        "caregiver_practice": 1,
        "created_date": "example",
        "deleted_date": "example",
        "dob": "example",
        "emails": [
          {
            "email": "example"
          }
        ],
        "ethnicity": "example",
        "first_name": "example",
        "gender_identity": "example",
        "id": 1,
        "last_modified": "example",
        "last_name": "example",
        "master_patient": 1,
        "middle_name": "example",
        "notes": "example",
        "patient_status": {
          "deceased_date": "example",
          "inactive_reason": "example",
          "last_status_change": "example",
          "status": "example"
        },
        "phones": [
          {
            "phone": "example",
            "phone_type": "example"
          }
        ],
        "preferred_contact": "example",
        "preferred_language": "example",
        "preferred_service_location": 1,
        "primary_physician": 1,
        "pronouns": "example",
        "race": "example",
        "sex": "example",
        "tags": [
          "example"
        ]
      }
    ]
  }
}
```

### Get appointment

Get an appointment: when it is, how long, its type, physician, location, patient and status.

**Inputs**

- Appointment (`appointment_id`, number, required): The appointment's ID, from List appointments or Create appointment.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "appointment_type_id": 1,
    "created_date": "example",
    "description": "example",
    "duration": 1,
    "id": 1,
    "instructions": "example",
    "last_modified_date": "example",
    "mode": "example",
    "patient": 1,
    "physician": 1,
    "practice": 1,
    "reason": "example",
    "scheduled_date": "example",
    "service_location": {
      "address_line1": "example",
      "city": "example",
      "id": 1,
      "name": "example",
      "state": "example",
      "zip": "example"
    },
    "status": {
      "room": "example",
      "status": "example",
      "status_date": "example",
      "status_detail": "example"
    },
    "time_slot_type": "example"
  }
}
```

### Get patient

Get a patient's demographics: name, date of birth, contact details, address, physician, practice and status.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "actual_name": "example",
    "address": {
      "address_line1": "example",
      "address_line2": "example",
      "city": "example",
      "state": "example",
      "zip": "example"
    },
    "caregiver_practice": 1,
    "created_date": "example",
    "deleted_date": "example",
    "dob": "example",
    "emails": [
      {
        "email": "example"
      }
    ],
    "ethnicity": "example",
    "first_name": "example",
    "gender_identity": "example",
    "id": 1,
    "last_modified": "example",
    "last_name": "example",
    "master_patient": 1,
    "middle_name": "example",
    "notes": "example",
    "patient_status": {
      "deceased_date": "example",
      "inactive_reason": "example",
      "last_status_change": "example",
      "status": "example"
    },
    "phones": [
      {
        "phone": "example",
        "phone_type": "example"
      }
    ],
    "preferred_contact": "example",
    "preferred_language": "example",
    "preferred_service_location": 1,
    "primary_physician": 1,
    "pronouns": "example",
    "race": "example",
    "sex": "example",
    "tags": [
      "example"
    ]
  }
}
```

### List allergies

List a patient's allergies, with each reaction and how severe it is.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "created_date": "example",
        "deleted_date": "example",
        "id": 1,
        "medispandnid": "example",
        "medispanid": "example",
        "name": "example",
        "patient": 1,
        "reaction": "example",
        "severity": "example",
        "start_date": "example",
        "status": "example"
      }
    ]
  }
}
```

### List appointment types

List the kinds of appointment a practice books, with their usual length.

**Inputs**

- Practice (`practice_id`, number): Only this practice's records. Leave empty for every practice the connected account reaches.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "abbreviation": "example",
        "color": "example",
        "default_duration": 1,
        "description": "example",
        "id": 1,
        "is_telehealth": true,
        "name": "example",
        "patient_bookable": true,
        "practice": 1
      }
    ]
  }
}
```

### List appointments

List appointments, by patient, physician, practice or the time they start.

**Inputs**

- Patient (`patient_id`, number): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Physician (`physician_id`, number): Only appointments with this physician.
- Practice (`practice_id`, number): Only this practice's records. Leave empty for every practice the connected account reaches.
- From (`start`, date and time): Only appointments starting at or after this time.
- To (`end`, date and time): Only appointments starting at or before this time.
- Kind (`time_slot_type`, text): Only this kind of calendar entry. Leave empty for every kind. One of: `appointment`, `appointment_slot` (Open slot), `event` (Event (blocked time)).
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "appointment_type_id": 1,
        "created_date": "example",
        "description": "example",
        "duration": 1,
        "id": 1,
        "instructions": "example",
        "last_modified_date": "example",
        "mode": "example",
        "patient": 1,
        "physician": 1,
        "practice": 1,
        "reason": "example",
        "scheduled_date": "example",
        "service_location": {
          "address_line1": "example",
          "city": "example",
          "id": 1,
          "name": "example",
          "state": "example",
          "zip": "example"
        },
        "status": {
          "room": "example",
          "status": "example",
          "status_date": "example",
          "status_detail": "example"
        },
        "time_slot_type": "example"
      }
    ]
  }
}
```

### List medications

List a patient's medications: prescriptions and medications they take, with directions, quantity and refills.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Discontinued (`discontinued`, true/false): Turn on for discontinued medications only, off for current ones only. Leave empty for both.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "auth_refills": 1,
        "created_date": "example",
        "days_supply": 1,
        "directions": "example",
        "document_date": "example",
        "id": 1,
        "indication": "example",
        "is_doc_med": true,
        "last_modified": "example",
        "medication": {
          "brand_name": "example",
          "form": "example",
          "generic_name": "example",
          "id": 1,
          "name": "example",
          "route": "example",
          "strength": "example"
        },
        "medication_type": "example",
        "notes": "example",
        "order_type": "example",
        "patient": 1,
        "practice": 1,
        "prescribing_physician": 1,
        "qty": "example",
        "qty_units": "example",
        "signed_date": "example",
        "start_date": "example",
        "thread": {
          "dc_date": "example",
          "id": 1,
          "is_permanent": true
        }
      }
    ]
  }
}
```

### List physicians

List the practice's physicians, with their credentials, specialty and NPI.

**Inputs**

- First name (`first_name`, text): The physician's first name.
- Last name (`last_name`, text): The physician's last name.
- NPI (`npi`, text): The physician's 10-digit NPI.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "credentials": "example",
        "email": "example",
        "first_name": "example",
        "id": 1,
        "is_active": true,
        "last_name": "example",
        "npi": "example",
        "practice": 1,
        "specialty": "example",
        "user_id": 1
      }
    ]
  }
}
```

### List practices

List the practices the connected account reaches, with their address, physicians and locations.

**Inputs**

- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "address_line1": "example",
        "address_line2": "example",
        "city": "example",
        "id": 1,
        "name": "example",
        "physicians": [
          1
        ],
        "service_locations": [
          {
            "address_line1": "example",
            "address_line2": "example",
            "city": "example",
            "id": 1,
            "is_primary": true,
            "name": "example",
            "phone": "example",
            "place_of_service": "example",
            "practice": 1,
            "state": "example",
            "zip": "example"
          }
        ],
        "state": "example",
        "status": "example",
        "timezone": "example",
        "zip": "example"
      }
    ]
  }
}
```

### List problems

List the problems (diagnoses) on a patient's problem list, with their codes.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Status (`status`, text): Only problems with this status. One of: `Active`, `Controlled`, `Resolved`.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "created_date": "example",
        "deleted_date": "example",
        "description": "example",
        "dx": [
          {
            "icd10": [
              "example"
            ],
            "icd9": [
              "example"
            ],
            "snomed": "example"
          }
        ],
        "id": 1,
        "patient": 1,
        "practice": 1,
        "resolved_date": "example",
        "start_date": "example",
        "status": "example",
        "synopsis": "example"
      }
    ]
  }
}
```

### List reports

List the reports in charts, such as lab, imaging and consultation results, by patient, practice or report date.

**Inputs**

- Patient (`patient_id`, number): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Practice (`practice_id`, number): Only this practice's records. Leave empty for every practice the connected account reaches.
- Reported from (`reported_from`, date and time): Only reports dated at or after this time.
- Reported to (`reported_to`, date and time): Only reports dated at or before this time.
- Sort by (`order_by`, text): How to sort the reports. Leave empty for the newest first. One of: `-id` (Newest first), `id` (Oldest first), `-document_date` (Latest report date first), `document_date` (Earliest report date first).
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "chart_date": "example",
        "created_date": "example",
        "custom_title": "example",
        "document_date": "example",
        "id": 1,
        "is_urgent": true,
        "order_status": "example",
        "patient": 1,
        "physician": 1,
        "practice": 1,
        "printable_view": "example",
        "report_type": "example",
        "reported_date": "example",
        "requisition_number": "example",
        "signed_by": 1,
        "signed_date": "example"
      }
    ]
  }
}
```

### List visit notes

List visit notes, by patient, physician, practice, when they were signed or changed, or only unsigned ones.

**Inputs**

- Patient (`patient_id`, number): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Physician (`physician_id`, number): Only this physician's notes.
- Practice (`practice_id`, number): Only this practice's records. Leave empty for every practice the connected account reaches.
- Unsigned (`unsigned`, true/false): Turn on for unsigned notes only, off for signed ones only. Leave empty for both.
- Signed from (`signed_from`, date and time): Only notes signed at or after this time.
- Signed to (`signed_to`, date and time): Only notes signed at or before this time.
- Changed since (`modified_since`, date and time): Only notes changed at or after this time.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "bullets": [
          {
            "category": "example",
            "sequence": 1,
            "text": "example"
          }
        ],
        "chart_date": "example",
        "clinical_summary_link": "example",
        "confidential": true,
        "created_date": "example",
        "document_date": "example",
        "id": 1,
        "last_modified": "example",
        "patient": 1,
        "physician": 1,
        "practice": 1,
        "signed_by": 1,
        "signed_date": "example",
        "template": "example",
        "type": "example",
        "visit_summary_link": "example"
      }
    ]
  }
}
```

### List vitals

List a patient's vitals: blood pressure, height, weight, temperature, heart rate, breathing rate, oxygen and BMI.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- Records per page (`limit`, number): How many records to return, up to 100. From 1 to 100.
- Next cursor (`cursor`, text): To read the next page, the **Next cursor** of the step that read this one. Leave empty for the first page.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "next": "example",
    "next_cursor": "example",
    "previous": "example",
    "results": [
      {
        "bmi": 1,
        "bp": [
          {
            "diastolic": "example",
            "note": "example",
            "systolic": "example"
          }
        ],
        "chart_date": "example",
        "created_date": "example",
        "document_date": "example",
        "height": [
          {
            "note": "example",
            "units": "example",
            "value": "example"
          }
        ],
        "hr": [
          {
            "note": "example",
            "units": "example",
            "value": "example"
          }
        ],
        "id": 1,
        "non_visit_note": 1,
        "oxygen": [
          {
            "note": "example",
            "units": "example",
            "value": "example"
          }
        ],
        "patient": 1,
        "practice": 1,
        "rr": [
          {
            "note": "example",
            "units": "example",
            "value": "example"
          }
        ],
        "signed_date": "example",
        "temperature": [
          {
            "note": "example",
            "units": "example",
            "value": "example"
          }
        ],
        "visit_note": 1,
        "weight": [
          {
            "note": "example",
            "units": "example",
            "value": "example"
          }
        ]
      }
    ]
  }
}
```

### Update appointment

Reschedule an appointment, or change its physician, type, location, status or notes. Set the status to Cancelled to cancel it. Fields left empty stay as they are.

**Inputs**

- Appointment (`appointment_id`, number, required): The appointment's ID, from List appointments or Create appointment.
- Starts at (`scheduled_date`, date and time): When the appointment starts.
- Length (minutes) (`duration`, number): How long the appointment lasts, in minutes: a multiple of 5, up to 1,440. From 5 to 1440.
- Physician (`physician`, number): The physician the appointment is with.
- Appointment type (`appointment_type_id`, number): The kind of appointment, such as a follow-up or an annual physical.
- Location (`service_location`, number): Where the appointment takes place.
- Visit type (`mode`, text): Whether the patient comes in or joins by video. One of: `IN_PERSON` (In person), `VIDEO` (Video visit).
- Description (`description`, text): A note about the appointment, shown on the calendar.
- Instructions (`instructions`, text): Instructions for the patient, such as how to join a video visit.
- Status (`status`, text): Where the visit is: scheduled, confirmed, checked in and so on. One of: `Scheduled`, `Confirmed`, `Checked In`, `In Room`, `In Room - Vitals Taken`, `With Doctor`, `Checked Out`, `Not Seen`, `Cancelled`, `Billed`.
- Room (`room`, text): The exam room the patient is in, by its name in Elation. Goes with a Status.
- Not seen reason (`status_detail`, text): Why the patient wasn't seen. Goes with the status Not Seen. One of: `No Show`, `Left Without Seeing`, `Other`.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "appointment_type_id": 1,
    "created_date": "example",
    "description": "example",
    "duration": 1,
    "id": 1,
    "instructions": "example",
    "last_modified_date": "example",
    "mode": "example",
    "patient": 1,
    "physician": 1,
    "practice": 1,
    "reason": "example",
    "scheduled_date": "example",
    "service_location": {
      "address_line1": "example",
      "city": "example",
      "id": 1,
      "name": "example",
      "state": "example",
      "zip": "example"
    },
    "status": {
      "room": "example",
      "status": "example",
      "status_date": "example",
      "status_detail": "example"
    },
    "time_slot_type": "example"
  }
}
```

### Update patient

Change a patient's details. Fields left empty stay as they are.

**Inputs**

- Patient (`patient_id`, number, required): The patient. Pick one of the newest, or use a patient ID from Find patients.
- First name (`first_name`, text): The patient's legal first name.
- Middle name (`middle_name`, text): The patient's middle name.
- Last name (`last_name`, text): The patient's legal last name.
- Date of birth (`dob`, date): The patient's date of birth.
- Sex (`sex`, text): The patient's sex, as Elation records it for clinical decisions. One of: `Female`, `Male`, `Other`, `Unknown`.
- Primary physician (`primary_physician`, number): The physician in your practice who looks after the patient.
- Practice (`caregiver_practice`, number): The practice the patient belongs to.
- Email (`email`, text): The patient's email address. It replaces the one Elation has.
- Phone (`phone`, text): A phone number for the patient. It replaces their number of the same type.
- Phone type (`phone_type`, text): What kind of number the phone number is. Leave empty for a mobile number. One of: `Mobile`, `Home`, `Work`, `Main`, `Night`, `Fax`, `Other`.
- Address (`address_line1`, text): The street address.
- Address line 2 (`address_line2`, text): The apartment or suite.
- City (`city`, text): The city.
- State (`state`, text): The state or territory. One of: `AL` (Alabama), `AK` (Alaska), `AZ` (Arizona), `AR` (Arkansas), `CA` (California), `CO` (Colorado), `CT` (Connecticut), `DE` (Delaware), `DC` (District of Columbia), `FL` (Florida), and 46 more.
- ZIP code (`zip`, text): The ZIP code.
- Preferred location (`preferred_service_location`, number): The location where the patient is usually seen.
- Preferred contact (`preferred_contact`, text): How the patient prefers to be contacted. One of: `email`, `phone` (Phone call), `sms` (Text message), `passport` (Patient portal).
- Preferred language (`preferred_language`, text): The patient's preferred language, such as `English` or `Spanish`.
- Gender identity (`gender_identity`, text): The patient's gender identity. One of: `woman`, `man`, `transgender_woman` (Transgender woman), `transgender_man` (Transgender man), `nonbinary`, `two_spirit` (Two-spirit), `option_not_listed` (Not listed), `prefer_not_to_say` (Prefer not to say), `unknown`.
- Pronouns (`pronouns`, text): The patient's pronouns. One of: `she_her_hers` (She/her/hers), `he_him_his` (He/him/his), `they_them_theirs` (They/them/theirs), `not_listed` (Not listed).
- Race (`race`, text): The patient's race. One of: `American Indian or Alaska Native`, `Asian`, `Black or African American`, `Native Hawaiian or Other Pacific Islander`, `White`, `No race specified`, `Declined to specify`.
- Ethnicity (`ethnicity`, text): The patient's ethnicity. One of: `Hispanic or Latino`, `Not Hispanic or Latino`, `No ethnicity specified`, `Declined to specify`.
- Patient status (`status`, text): Whether the patient is an active patient of the practice. One of: `active`, `inactive`, `prospect`, `deceased`.
- Tags (`tags`, list): Tags to show on the patient's chart, up to 10. They replace the patient's tags.
- Notes (`notes`, text): Notes about the patient, shown on their chart.

**Outputs**

- `data` (object): The response from Elation Health.

**Example output**

```json
{
  "data": {
    "actual_name": "example",
    "address": {
      "address_line1": "example",
      "address_line2": "example",
      "city": "example",
      "state": "example",
      "zip": "example"
    },
    "caregiver_practice": 1,
    "created_date": "example",
    "deleted_date": "example",
    "dob": "example",
    "emails": [
      {
        "email": "example"
      }
    ],
    "ethnicity": "example",
    "first_name": "example",
    "gender_identity": "example",
    "id": 1,
    "last_modified": "example",
    "last_name": "example",
    "master_patient": 1,
    "middle_name": "example",
    "notes": "example",
    "patient_status": {
      "deceased_date": "example",
      "inactive_reason": "example",
      "last_status_change": "example",
      "status": "example"
    },
    "phones": [
      {
        "phone": "example",
        "phone_type": "example"
      }
    ],
    "preferred_contact": "example",
    "preferred_language": "example",
    "preferred_service_location": 1,
    "primary_physician": 1,
    "pronouns": "example",
    "race": "example",
    "sex": "example",
    "tags": [
      "example"
    ]
  }
}
```
