NexHealth

App · 24 actions

Book and manage NexHealth appointments, find open slots, manage patients, working hours and appointment types, and follow new patients and appointment changes.

Actions

ActionWhat it does
Book appointmentBook an appointment for a patient with a provider.
Cancel appointmentCancel an appointment that has reached the health record system.
Create appointment typeAdd an appointment type with its length.
Create patientAdd a patient at a location.
Create working hoursAdd hours a provider can be booked at a location: on days of the week, on one date, or on a custom repeat.
Delete appointment typeDelete an appointment type for good.
Delete working hoursDelete a working hours record.
Get appointmentGet an appointment with its patient, and its type and operatory if asked for.
Get locationGet a location's address, time zone and whether it books by operatory.
Get patientGet a patient's details, with their upcoming appointments if asked for.
Get providerGet a provider's details and the locations they work at.
Get sync statusCheck whether NexHealth is reading from and writing to the practice's health record system right now.
Get working hoursGet one working hours record with its days, times and appointment types.
List appointment typesList the practice's appointment types and how long each takes.
List appointmentsList a location's appointments starting in a time range, by patient or provider, or changed since a time.
List available slotsFind the open times that can be booked at a location over the coming days, by provider and appointment type.
List locationsList the practice's locations (offices) with their addresses, time zones and booking settings.
List operatoriesList a location's operatories: the rooms or chairs appointments are booked into.
List patientsList or search a location's patients by name, email, phone or date of birth, or those changed since a time.
List providersList the practice's providers (doctors and hygienists), at one location or all.
List working hoursList the hours providers can be booked at a location.
Update appointmentReschedule, confirm, check in or change the note or operatory of an appointment that has reached the health record system.
Update appointment typeRename an appointment type or change its length or online booking.
Update working hoursChange a working hours record's times, schedule, appointment types or whether it's active.

Book appointment

Book an appointment for a patient with a provider. NexHealth accepts it first and writes it to the health record system when the practice's sync next runs.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
Patient IDpatient_idnumberRequired
The patient's NexHealth ID.At least 1.
ProviderprovidernumberRequired
The provider.At least 1.
Starts atstart_timedate and timeRequired
When the appointment starts.
Ends atend_timedate and time
When it ends. Leave empty to use the appointment type's length.
Appointment typeappointment_type_idnumber
The appointment type: the same one the available slots were found for.At least 1.
Operatoryoperatory_idnumber
The operatory (room or chair). Needed where the location books by operatory.At least 1.
Notenotetext
A note written to the health record system, up to 128 characters.
Notify patientnotify_patienttrue/false
Send the patient NexHealth's booking message. Leave empty to send nothing.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "appt": {
        "appointment_type_id": 1,
        "cancelled": true,
        "cancelled_at": "example",
        "checked_out": true,
        "checkin_at": "example",
        "confirmed": true,
        "confirmed_at": "example",
        "created_at": "example",
        "end_time": "example",
        "foreign_id": "example",
        "id": 1,
        "is_new_clients_patient": true,
        "last_sync_time": "example",
        "location_id": 1,
        "note": "example",
        "operatory_id": 1,
        "patient_confirmed": true,
        "patient_id": 1,
        "patient_missed": true,
        "provider_id": 1,
        "provider_name": "example",
        "start_time": "example",
        "timezone": "example",
        "unavailable": true,
        "updated_at": "example"
      }
    },
    "description": "example"
  }
}

Cancel appointment

Cancel an appointment that has reached the health record system.

Inputs

Appointment IDappointment_idnumberRequired
The appointment's NexHealth ID.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "appt": {
        "appointment_type_id": 1,
        "cancelled": true,
        "cancelled_at": "example",
        "checked_out": true,
        "checkin_at": "example",
        "confirmed": true,
        "confirmed_at": "example",
        "created_at": "example",
        "end_time": "example",
        "foreign_id": "example",
        "id": 1,
        "is_new_clients_patient": true,
        "last_sync_time": "example",
        "location_id": 1,
        "note": "example",
        "operatory_id": 1,
        "patient_confirmed": true,
        "patient_id": 1,
        "patient_missed": true,
        "provider_id": 1,
        "provider_name": "example",
        "start_time": "example",
        "timezone": "example",
        "unavailable": true,
        "updated_at": "example"
      }
    },
    "description": "example"
  }
}

Create appointment type

Add an appointment type with its length.

Inputs

NamenametextRequired
The type's name. It must be unique.
Length in minutesminutesnumberRequired
How long it takes, in minutes (steps of 5 work best).At least 5.
Bookable onlinebookable_onlinetrue/false
Let patients book it online.
Locationlocation_idnumber
The location, where appointment types are set per location.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "bookable_online": true,
      "id": 1,
      "minutes": 1,
      "name": "example",
      "parent_id": 1,
      "parent_type": "example"
    },
    "description": "example"
  }
}

Create patient

Add a patient at a location. They reach the health record system when their first appointment is booked.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
ProviderprovidernumberRequired
The provider the patient is taken on with.At least 1.
First namefirst_nametextRequired
First name.
Last namelast_nametextRequired
Last name.
EmailemailtextRequired
Email address.
Date of birthdate_of_birthdateRequired
Date of birth.
Phone numberphone_numbertextRequired
Phone number.
Gendergendertext
Gender. Leave empty and NexHealth records Female until the practice corrects it.One of: Male, Female, Other.
Street addressstreet_addresstext
Street address.
Citycitytext
City.
Statestatetext
State.
ZIP codezip_codetext
ZIP code.
Return a matching patientreturn_existingtrue/false
Return the existing patient when one matches, instead of failing.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "user": {
        "bio": {
          "cell_phone_number": "example",
          "city": "example",
          "date_of_birth": "example",
          "gender": "example",
          "home_phone_number": "example",
          "phone_number": "example",
          "state": "example",
          "street_address": "example",
          "zip_code": "example"
        },
        "chart_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "foreign_id": "example",
        "foreign_id_type": "example",
        "guarantor_id": 1,
        "id": 1,
        "inactive": true,
        "institution_id": 1,
        "last_name": "example",
        "last_sync_time": "example",
        "location_ids": [
          1
        ],
        "middle_name": "example",
        "name": "example",
        "preferred_language": "example",
        "provider_id": 1,
        "updated_at": "example"
      }
    },
    "description": "example"
  }
}

Create working hours

Add hours a provider can be booked at a location: on days of the week, on one date, or on a custom repeat.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
ProviderprovidernumberRequired
The provider.At least 1.
Starts atbegin_timetimeRequired
When the working hours start, in the location's time zone.
Ends atend_timetimeRequired
When they end, in the location's time zone.
Operatoryoperatory_idnumber
The operatory (room or chair), for a location that books by operatory.At least 1.
Appointment typesappointment_type_idslist
Appointment types that can be booked in these hours.
Days of the weekdayslist
Days of the week they repeat on.One or more of: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.
On datespecific_datedate
A single date they apply to.
Repeat everyrepeat_everynumber
For a custom repeat: how many days, weeks or months apart.At least 1.
Repeat unitrepeat_unittext
For a custom repeat: days, weeks or months.One of: day (Days), week (Weeks), month (Months).
Repeat fromrepeat_fromdate
For a custom repeat: the date it starts from.
Activeactivetrue/false
Whether the hours can be booked.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "active": true,
      "appointment_types": [
        {}
      ],
      "begin_time": "example",
      "custom_recurrence": {},
      "days": [
        "example"
      ],
      "end_time": "example",
      "id": 1,
      "location_id": 1,
      "operatory_id": 1,
      "provider_id": 1,
      "source": "example",
      "specific_date": "example",
      "tz_offset": "example"
    },
    "description": "example"
  }
}

Delete appointment type

Delete an appointment type for good.

Inputs

Appointment typeappointment_type_idnumberRequired
The appointment type.At least 1.
Locationlocation_idnumber
The location, where appointment types are set per location.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "deleted": true,
    "id": 1
  }
}

Delete working hours

Delete a working hours record.

Inputs

Working hours IDworking_hour_idnumberRequired
The working hours record's ID.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "deleted": true,
    "id": 1
  }
}

Get appointment

Get an appointment with its patient, and its type and operatory if asked for.

Inputs

Appointment IDappointment_idnumberRequired
The appointment's NexHealth ID.At least 1.
Includeincludelist
Related records to add.One or more of: patient, operatory, appointment_type (Appointment type), procedures.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "appointment_type_id": 1,
      "cancelled": true,
      "cancelled_at": "example",
      "checked_out": true,
      "checkin_at": "example",
      "confirmed": true,
      "confirmed_at": "example",
      "created_at": "example",
      "end_time": "example",
      "foreign_id": "example",
      "id": 1,
      "is_new_clients_patient": true,
      "last_sync_time": "example",
      "location_id": 1,
      "note": "example",
      "operatory_id": 1,
      "patient": {
        "bio": {
          "cell_phone_number": "example",
          "city": "example",
          "date_of_birth": "example",
          "gender": "example",
          "home_phone_number": "example",
          "phone_number": "example",
          "state": "example",
          "street_address": "example",
          "zip_code": "example"
        },
        "chart_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "foreign_id": "example",
        "foreign_id_type": "example",
        "guarantor_id": 1,
        "id": 1,
        "inactive": true,
        "institution_id": 1,
        "last_name": "example",
        "last_sync_time": "example",
        "location_ids": [
          1
        ],
        "middle_name": "example",
        "name": "example",
        "preferred_language": "example",
        "provider_id": 1,
        "updated_at": "example"
      },
      "patient_confirmed": true,
      "patient_id": 1,
      "patient_missed": true,
      "provider_id": 1,
      "provider_name": "example",
      "start_time": "example",
      "timezone": "example",
      "unavailable": true,
      "updated_at": "example"
    },
    "description": "example"
  }
}

Get location

Get a location's address, time zone and whether it books by operatory.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "city": "example",
      "country_code": "example",
      "created_at": "example",
      "email": "example",
      "id": 1,
      "inactive": true,
      "insert_appt_client": true,
      "institution_id": 1,
      "last_sync_time": "example",
      "map_by_operatory": true,
      "name": "example",
      "phone_number": "example",
      "set_availability_by_operatory": true,
      "state": "example",
      "street_address": "example",
      "tz": "example",
      "updated_at": "example",
      "zip_code": "example"
    },
    "description": "example"
  }
}

Get patient

Get a patient's details, with their upcoming appointments if asked for.

Inputs

Patient IDpatient_idnumberRequired
The patient's NexHealth ID.At least 1.
Includeincludelist
Related records to add.One or more of: upcoming_appts (Upcoming appointments), last_visited_appointment (Last visit), guarantor, insurance_coverages (Insurance coverages), patient_alerts (Patient alerts), address, provider.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "bio": {
        "cell_phone_number": "example",
        "city": "example",
        "date_of_birth": "example",
        "gender": "example",
        "home_phone_number": "example",
        "phone_number": "example",
        "state": "example",
        "street_address": "example",
        "zip_code": "example"
      },
      "chart_id": "example",
      "created_at": "example",
      "email": "example",
      "first_name": "example",
      "foreign_id": "example",
      "foreign_id_type": "example",
      "guarantor_id": 1,
      "id": 1,
      "inactive": true,
      "institution_id": 1,
      "last_name": "example",
      "last_sync_time": "example",
      "location_ids": [
        1
      ],
      "middle_name": "example",
      "name": "example",
      "preferred_language": "example",
      "provider_id": 1,
      "updated_at": "example"
    },
    "description": "example"
  }
}

Get provider

Get a provider's details and the locations they work at.

Inputs

ProviderprovidernumberRequired
The provider.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "created_at": "example",
      "display_name": "example",
      "email": "example",
      "first_name": "example",
      "foreign_id": "example",
      "id": 1,
      "inactive": true,
      "institution_id": 1,
      "last_name": "example",
      "locations": [
        {}
      ],
      "name": "example",
      "npi": "example",
      "specialty_code": "example",
      "updated_at": "example"
    },
    "description": "example"
  }
}

Get sync status

Check whether NexHealth is reading from and writing to the practice's health record system right now.

Inputs

Locationslocation_idslist
Only the syncs for these locations.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "institution_id": 1,
        "locations": [
          {}
        ],
        "read_status": "example",
        "read_status_at": "example",
        "sync_source_name": "example",
        "sync_source_type": "example",
        "write_status": "example",
        "write_status_at": "example"
      }
    ],
    "description": "example"
  }
}

Get working hours

Get one working hours record with its days, times and appointment types.

Inputs

Working hours IDworking_hour_idnumberRequired
The working hours record's ID.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "active": true,
      "appointment_types": [
        {}
      ],
      "begin_time": "example",
      "custom_recurrence": {},
      "days": [
        "example"
      ],
      "end_time": "example",
      "id": 1,
      "location_id": 1,
      "operatory_id": 1,
      "provider_id": 1,
      "source": "example",
      "specific_date": "example",
      "tz_offset": "example"
    },
    "description": "example"
  }
}

List appointment types

List the practice's appointment types and how long each takes.

Inputs

Locationlocation_idnumber
The location, where appointment types are set per location.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "bookable_online": true,
        "id": 1,
        "minutes": 1,
        "name": "example",
        "parent_id": 1,
        "parent_type": "example"
      }
    ],
    "description": "example"
  }
}

List appointments

List a location's appointments starting in a time range, by patient or provider, or changed since a time.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
Fromstartdate and timeRequired
Appointments starting at or after this time.
Toenddate and timeRequired
Appointments starting at or before this time.
Providersprovider_idslist
Only appointments with these providers.
Patient IDspatient_idslist
Only these patients' appointments, up to 25 patient IDs.
Cancelledcancelledtrue/false
Only cancelled appointments, or only those not cancelled. Leave empty for both.
Blocked timeunavailabletrue/false
Only blocked-off time, or only real appointments. Leave empty for both.
Changed sinceupdated_sincedate and time
Only records changed at or after this time.
How manyper_pagenumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next page cursorend_cursortext
For the next page: the end cursor from the last page's page info.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "appointment_type_id": 1,
        "cancelled": true,
        "cancelled_at": "example",
        "checked_out": true,
        "checkin_at": "example",
        "confirmed": true,
        "confirmed_at": "example",
        "created_at": "example",
        "end_time": "example",
        "foreign_id": "example",
        "id": 1,
        "is_new_clients_patient": true,
        "last_sync_time": "example",
        "location_id": 1,
        "note": "example",
        "operatory_id": 1,
        "patient_confirmed": true,
        "patient_id": 1,
        "patient_missed": true,
        "provider_id": 1,
        "provider_name": "example",
        "start_time": "example",
        "timezone": "example",
        "unavailable": true,
        "updated_at": "example"
      }
    ],
    "description": "example",
    "page_info": {
      "end_cursor": "example",
      "has_next_page": true,
      "has_previous_page": true,
      "start_cursor": "example"
    }
  }
}

List available slots

Find the open times that can be booked at a location over the coming days, by provider and appointment type.

Inputs

Locationlocation_idnumberRequired
The location to look at.At least 1.
Fromstart_datedateRequired
The first day to look on.
DaysdaysnumberRequired
How many days to look over, counting the first. Up to 14 is fastest.From 1 to 31.
Providersprovider_idslist
Only these providers' times. Choose providers, an appointment type, or both.
Appointment typeappointment_type_idnumber
Only times this appointment type fits, as long as the type lasts.At least 1.
Operatoriesoperatory_idslist
Only these operatories, where the location books by operatory.
Slot lengthslot_lengthnumber
How long each slot is, in minutes. Leave empty for 15, or the appointment type's length.At least 5.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "lid": 1,
        "next_available_date": "example",
        "operatory_id": 1,
        "pid": 1,
        "slots": [
          {
            "end_time": "example",
            "operatory_id": 1,
            "provider_id": 1,
            "time": "example"
          }
        ]
      }
    ],
    "description": "example"
  }
}

List locations

List the practice's locations (offices) with their addresses, time zones and booking settings.

Inputs

Inactiveinactivetrue/false
Only inactive locations, or only active ones. Leave empty for both.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "id": 1,
        "locations": [
          {
            "city": "example",
            "country_code": "example",
            "created_at": "example",
            "email": "example",
            "id": 1,
            "inactive": true,
            "insert_appt_client": true,
            "institution_id": 1,
            "last_sync_time": "example",
            "map_by_operatory": true,
            "name": "example",
            "phone_number": "example",
            "set_availability_by_operatory": true,
            "state": "example",
            "street_address": "example",
            "tz": "example",
            "updated_at": "example",
            "zip_code": "example"
          }
        ],
        "name": "example",
        "subdomain": "example"
      }
    ],
    "description": "example"
  }
}

List operatories

List a location's operatories: the rooms or chairs appointments are booked into.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
Name containssearch_nametext
Only operatories whose name contains this.
How manyper_pagenumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next page cursorend_cursortext
For the next page: the end cursor from the last page's page info.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "active": true,
        "bookable_online": true,
        "created_at": "example",
        "display_name": "example",
        "foreign_id": "example",
        "id": 1,
        "location_id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ],
    "description": "example",
    "page_info": {
      "end_cursor": "example",
      "has_next_page": true,
      "has_previous_page": true,
      "start_cursor": "example"
    }
  }
}

List patients

List or search a location's patients by name, email, phone or date of birth, or those changed since a time.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
Namenametext
Only patients with this name.
Emailemailtext
Only patients with this email address.
Phone numberphone_numbertext
Only patients with this phone number.
Date of birthdate_of_birthdate
Only patients born on this date.
Inactiveinactivetrue/false
Only inactive patients, or only active ones. Leave empty for both.
This location onlylocation_stricttrue/false
Only patients of this location, not every location sharing its health record system.
Changed sinceupdated_sincedate and time
Only records changed at or after this time.
Sort bysorttext
The order. Leave empty to sort by ID.One of: id (ID, lowest first), -id (ID, highest first), updated_at (Last changed, oldest first), -updated_at (Last changed, newest first).
How manyper_pagenumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next page cursorend_cursortext
For the next page: the end cursor from the last page's page info.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "bio": {
          "cell_phone_number": "example",
          "city": "example",
          "date_of_birth": "example",
          "gender": "example",
          "home_phone_number": "example",
          "phone_number": "example",
          "state": "example",
          "street_address": "example",
          "zip_code": "example"
        },
        "chart_id": "example",
        "created_at": "example",
        "email": "example",
        "first_name": "example",
        "foreign_id": "example",
        "foreign_id_type": "example",
        "guarantor_id": 1,
        "id": 1,
        "inactive": true,
        "institution_id": 1,
        "last_name": "example",
        "last_sync_time": "example",
        "location_ids": [
          1
        ],
        "middle_name": "example",
        "name": "example",
        "preferred_language": "example",
        "provider_id": 1,
        "updated_at": "example"
      }
    ],
    "description": "example",
    "page_info": {
      "end_cursor": "example",
      "has_next_page": true,
      "has_previous_page": true,
      "start_cursor": "example"
    }
  }
}

List providers

List the practice's providers (doctors and hygienists), at one location or all.

Inputs

Locationlocation_idnumber
The practice location (office).At least 1.
Bookable onlinerequestabletrue/false
Only providers patients can book online at the location.
Inactiveinactivetrue/false
List inactive providers instead of active ones.
Changed sinceupdated_sincedate and time
Only records changed at or after this time.
How manyper_pagenumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next page cursorend_cursortext
For the next page: the end cursor from the last page's page info.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "created_at": "example",
        "display_name": "example",
        "email": "example",
        "first_name": "example",
        "foreign_id": "example",
        "id": 1,
        "inactive": true,
        "institution_id": 1,
        "last_name": "example",
        "locations": [
          {}
        ],
        "name": "example",
        "npi": "example",
        "specialty_code": "example",
        "updated_at": "example"
      }
    ],
    "description": "example",
    "page_info": {
      "end_cursor": "example",
      "has_next_page": true,
      "has_previous_page": true,
      "start_cursor": "example"
    }
  }
}

List working hours

List the hours providers can be booked at a location.

Inputs

Locationlocation_idnumberRequired
The practice location (office).At least 1.
Providerprovidernumber
Only this provider's hours.At least 1.
Activeactivetrue/false
Inactive hours instead of active ones: leave empty for active.
Skip past datesignore_past_datestrue/false
Leave out hours set for single dates already past.
How manyper_pagenumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Next page cursorend_cursortext
For the next page: the end cursor from the last page's page info.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": [
      {
        "active": true,
        "appointment_types": [
          {}
        ],
        "begin_time": "example",
        "custom_recurrence": {},
        "days": [
          "example"
        ],
        "end_time": "example",
        "id": 1,
        "location_id": 1,
        "operatory_id": 1,
        "provider_id": 1,
        "source": "example",
        "specific_date": "example",
        "tz_offset": "example"
      }
    ],
    "description": "example",
    "page_info": {
      "end_cursor": "example",
      "has_next_page": true,
      "has_previous_page": true,
      "start_cursor": "example"
    }
  }
}

Update appointment

Reschedule, confirm, check in or change the note or operatory of an appointment that has reached the health record system.

Inputs

Appointment IDappointment_idnumberRequired
The appointment's NexHealth ID.At least 1.
Starts atstart_timedate and time
A new start time.
Ends atend_timedate and time
A new end time.
Confirmedconfirmedtrue/false
Mark it confirmed by the office.
Checked in atcheckin_atdate and time
When the patient checked in.
Operatory IDoperatory_idnumber
A new operatory (room or chair).At least 1.
Notenotetext
A new note.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "appt": {
        "appointment_type_id": 1,
        "cancelled": true,
        "cancelled_at": "example",
        "checked_out": true,
        "checkin_at": "example",
        "confirmed": true,
        "confirmed_at": "example",
        "created_at": "example",
        "end_time": "example",
        "foreign_id": "example",
        "id": 1,
        "is_new_clients_patient": true,
        "last_sync_time": "example",
        "location_id": 1,
        "note": "example",
        "operatory_id": 1,
        "patient_confirmed": true,
        "patient_id": 1,
        "patient_missed": true,
        "provider_id": 1,
        "provider_name": "example",
        "start_time": "example",
        "timezone": "example",
        "unavailable": true,
        "updated_at": "example"
      }
    },
    "description": "example"
  }
}

Update appointment type

Rename an appointment type or change its length or online booking.

Inputs

Appointment typeappointment_type_idnumberRequired
The appointment type.At least 1.
Namenametext
A new name.
Length in minutesminutesnumber
A new length, in minutes.At least 5.
Bookable onlinebookable_onlinetrue/false
Let patients book it online.
Locationlocation_idnumber
The location, where appointment types are set per location.At least 1.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "bookable_online": true,
      "id": 1,
      "minutes": 1,
      "name": "example",
      "parent_id": 1,
      "parent_type": "example"
    },
    "description": "example"
  }
}

Update working hours

Change a working hours record's times, schedule, appointment types or whether it's active.

Inputs

Working hours IDworking_hour_idnumberRequired
The working hours record's ID.At least 1.
Providerprovidernumber
A different provider.At least 1.
Locationlocation_idnumber
The location, to pick an operatory from. It isn't changed.At least 1.
Starts atbegin_timetime
When the working hours start, in the location's time zone.
Ends atend_timetime
When they end, in the location's time zone.
Operatoryoperatory_idnumber
The operatory (room or chair), for a location that books by operatory.At least 1.
Appointment typesappointment_type_idslist
Appointment types that can be booked in these hours.
Days of the weekdayslist
Days of the week they repeat on.One or more of: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.
On datespecific_datedate
A single date they apply to.
Repeat everyrepeat_everynumber
For a custom repeat: how many days, weeks or months apart.At least 1.
Repeat unitrepeat_unittext
For a custom repeat: days, weeks or months.One of: day (Days), week (Weeks), month (Months).
Repeat fromrepeat_fromdate
For a custom repeat: the date it starts from.
Activeactivetrue/false
Whether the hours can be booked.

Outputs

dataobject
The response from NexHealth.
Example output
{
  "data": {
    "code": true,
    "count": 1,
    "data": {
      "active": true,
      "appointment_types": [
        {}
      ],
      "begin_time": "example",
      "custom_recurrence": {},
      "days": [
        "example"
      ],
      "end_time": "example",
      "id": 1,
      "location_id": 1,
      "operatory_id": 1,
      "provider_id": 1,
      "source": "example",
      "specific_date": "example",
      "tz_offset": "example"
    },
    "description": "example"
  }
}

On this page