Operatories

An operatory is a chair, column or room in a practice where providers see patients.

Most practices use operatories, but not all. To check, call GET /locations/:id and read the map_by_operatory attribute. If it is true, you must send an operatory_id when you book an appointment at that location.

📘

Double booking

The Synchronizer API treats operatories as the limiting resource when it calculates availability. A practice can book a provider in more than one operatory at the same time. An operatory cannot hold more than one appointment at the same time.

Operatories response

{
  "code": true,
  "description": [
    [
      "Description"
    ]
  ],
  "error": [
    [
      "Error"
    ]
  ],
  "data": {
    "id": 1,
    "name": "op1",
    "foreign_id": "1",
    "foreign_id_type": "--DataSource-",
    "location_id": 4,
    "last_sync_time": "2020-06-17T19:23:49.176Z",
    "created_at": "2020-06-05T20:16:57.007Z",
    "updated_at": "2020-06-05T20:16:57.007Z",
    "display_name": "op1",
    "active": true,
    "static_image_url": "string",
    "profile_url": "https://storage.googleapis.com/nexassets/app/img/icon/avatar.svg",
    "appointment_types": [
      {
        "id": 1,
        "name": "medical",
        "category": "medical",
        "parent_type": "Institution",
        "parent_id": 1,
        "minutes": 15,
        "position": 30,
        "bookable_online": false
      }
    ]
  },
  "count": 2
}