Scheduling

This data model communicates information about a patient’s office or other outpatient appointment. EHR systems can send Scheduling messages to update your system with the appointment status, date/time, scheduled providers, and scheduled resources.

Every appointment gets assigned a visit number and patient ID. Any changes to the appointment are made with the relevant visit number. If the appointment is canceled and later rescheduled, however, a new visit number is created. Also keep in mind that scheduling holds and blocks don’t have an associated patient ID.

This data model has event types that allow you to:

  • receive a notification about appointment updates;
  • push or receive a list of available appointment slots;
  • query for and receive open appointment times; or
  • query for and receive booked appointment times.

New

Receive or push a notification when a new appointment is booked.

Request Body Schema

  • Meta
    required, object
    • DataModel
      required, string
      Reliable

      Scheduling

    • EventType
      required, string
      Reliable

      New

    • EventDateTime
      string, null
      Reliable

      Displays the UTC date and time that an outgoing request is delivered or an incoming request is received.
      ISO 8601 Format

    • Test
      boolean, null
      Reliable

      Indicates whether the request is a test or not.

    • Source
      object

      Contains the information for the system initiating the message, including the source ID and name.
      Included in messages from Redox

      • ID
        string, null
        Reliable

        Identifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
        UUID

      • Name
        string, null
        Reliable

        Displays the name of the system initiating the message.

    • Destinations
      Array of object

      Contains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
      Required when sending data to Redox.

      • ID
        string, null
        Reliable

        Identifies the endpoint that the request is directed to.
        UUID

      • Name
        string, null
        Reliable

        Displays the name of the endpoint that the request is directed to.

    • Logs
      Array of object

      Contains the log identifier(s) for the request.

      • ID
        string, null
        Reliable

        Identifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
        UUID

      • AttemptID
        string, null
        Reliable

        Identifies the request log attempt value, which is useful when retries are possible.
        UUID

    • FacilityCode
      string, null
      Possible

      Code for the facility related to the message.
      Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.

  • Visit
    required, object
    • VisitNumber
      required, string
      Reliable

      Displays the unique identifier for the related patient visit.

    • VisitDateTime
      required, string
      Reliable

      Contains the scheduled date and time of the appointment.
      ISO 8601 Format

    • Duration
      required, number
      Reliable

      Defines the length of the appointment in minutes.

    • Location
      required, object

      Displays the location of the patient appointment.

      • Department
        required, string
        Reliable

        Department

      • Type
        string, null
        Reliable

        Type of location.
        Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone

      • Facility
        string, null
        Reliable

        Facility.
        Example: Community Hospital

      • FacilityIdentifiers
        Array of object

        List of IDs specific to this facility

        • ID
          string, null
          Reliable

          An ID specific to this facility

        • IDType
          string, null
          Reliable

          The source or system to which this ID pertains.
          Could be an OID or a human-readable name

      • DepartmentIdentifiers
        Array of object

        List of IDs specific to this department

        • ID
          string, null
          Reliable

          An ID specific to this department

        • IDType
          string, null
          Reliable

          The source or system to which this ID pertains.
          Could be an OID or a human-readable name

      • Room
        string, null
        Reliable

        Room.
        Example: 136

    • AccountNumber
      string, null
      Possible

      Contains an identifier that can span several visits often related to the same patient condition (e.g., surgeries, research study, pregnancy). In other words, the account number can be used to link related visits.
      Not supported with data on demand.

    • PatientClass
      string, null
      Probable

      Classifies the department or type of patient care. Patient class is used in many EHR systems to determine where to put the patient (e.g., inpatient, outpatient, emergency).

    • Status
      string, null
      Probable
      Value Set

      Indicates the status of the visit.

    • Reason
      string, null
      Probable

      Contains is a patient-friendly value that provides context for the purpose of the appointment (e.g., knee pain). This differs from the Visit Type since it can include a clinical component.

    • Type
      string, null
      Probable

      Displays an administrative value used primarily for bidirectional exchange to update EHR system schedules.
      Not supported with data on demand.

    • Instructions
      Array of string

      Contains any relevant instructions for the patient visit.
      Not supported with data on demand.

    • AttendingProvider
      object
      • ID
        string, null
        Probable

        ID of the attending provider.
        This ID is often required for Inpatient Visits.

      • IDType
        string, null
        Probable

        ID type of the ID for the attending provider

      • FirstName
        string, null
        Possible

        First name of the attending provider

      • LastName
        string, null
        Possible

        Last name of the attending provider

      • Credentials
        Array of string

        List of credentials for the attending provider.
        e.g. MD, PhD

      • Address
        object

        Provider's address

        • StreetAddress
          string, null
          Possible

          Street address

        • City
          string, null
          Possible

          City

        • State
          string, null
          Possible

          State

        • ZIP
          string, null
          Possible

          ZIP

        • County
          string, null
          Possible

          County

        • Country
          string, null
          Possible
          Value Set

          Country

      • EmailAddresses
        Array of string

        Provider's email address(es)

      • PhoneNumber
        object
        • Office
          string, null
          Possible

          Provider's office phone number.
          In E. 164 Format. (e.g. +16085551234)

      • Location
        object

        Provider's location

        • Type
          string, null
          Possible

          Type of location.
          Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone

        • Facility
          string, null
          Possible

          Facility.
          Example: Community Hospital

        • FacilityIdentifiers
          Array of object

          List of IDs specific to this facility

          • ID
            string, null
            Possible

            An ID specific to this facility

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Department
          string, null
          Possible

          Department

        • DepartmentIdentifiers
          Array of object

          List of IDs specific to this department

          • ID
            string, null
            Possible

            An ID specific to this department

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Room
          string, null
          Possible

          Room.
          Example: 136

    • ConsultingProvider
      object
      • ID
        string, null
        Possible

        ID of the consulting provider.
        This ID is often required for Inpatient Visits.

      • IDType
        string, null
        Possible

        ID type of the ID for the consulting provider

      • FirstName
        string, null
        Possible

        First name of the consulting provider

      • LastName
        string, null
        Possible

        Last name of the consulting provider

      • Credentials
        Array of string

        List of credentials for the consulting provider.
        e.g. MD, PhD

      • Address
        object

        Provider's address

        • StreetAddress
          string, null
          Possible

          Street address

        • City
          string, null
          Possible

          City

        • State
          string, null
          Possible

          State

        • ZIP
          string, null
          Possible

          ZIP

        • County
          string, null
          Possible

          County

        • Country
          string, null
          Possible
          Value Set

          Country

      • EmailAddresses
        Array of string

        Provider's email address(es)

      • PhoneNumber
        object
        • Office
          string, null
          Possible

          Provider's office phone number.
          In E. 164 Format. (e.g. +16085551234)

      • Location
        object

        Provider's location

        • Type
          string, null
          Possible

          Type of location.
          Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone

        • Facility
          string, null
          Possible

          Facility.
          Example: Community Hospital

        • FacilityIdentifiers
          Array of object

          List of IDs specific to this facility

          • ID
            string, null
            Possible

            An ID specific to this facility

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Department
          string, null
          Possible

          Department

        • DepartmentIdentifiers
          Array of object

          List of IDs specific to this department

          • ID
            string, null
            Possible

            An ID specific to this department

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Room
          string, null
          Possible

          Room.
          Example: 136

    • ReferringProvider
      object
      • ID
        string, null
        Possible

        ID of the referring provider.
        This ID is often required for Inpatient Visits.

      • IDType
        string, null
        Possible

        ID type of the ID for the referring provider

      • FirstName
        string, null
        Possible

        First name of the referring provider

      • LastName
        string, null
        Possible

        Last name of the referring provider

      • Credentials
        Array of string

        List of credentials for the referring provider.
        e.g. MD, PhD

      • Address
        object

        Provider's address

        • StreetAddress
          string, null
          Possible

          Street address

        • City
          string, null
          Possible

          City

        • State
          string, null
          Possible

          State

        • ZIP
          string, null
          Possible

          ZIP

        • County
          string, null
          Possible

          County

        • Country
          string, null
          Possible
          Value Set

          Country

      • EmailAddresses
        Array of string

        Provider's email address(es)

      • PhoneNumber
        object
        • Office
          string, null
          Possible

          Provider's office phone number.
          In E. 164 Format. (e.g. +16085551234)

      • Location
        object

        Provider's location

        • Type
          string, null
          Possible

          Type of location.
          Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone

        • Facility
          string, null
          Possible

          Facility.
          Example: Community Hospital

        • FacilityIdentifiers
          Array of object

          List of IDs specific to this facility

          • ID
            string, null
            Possible

            An ID specific to this facility

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Department
          string, null
          Possible

          Department

        • DepartmentIdentifiers
          Array of object

          List of IDs specific to this department

          • ID
            string, null
            Possible

            An ID specific to this department

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Room
          string, null
          Possible

          Room.
          Example: 136

    • VisitProvider
      object
      • ID
        string, null
        Possible

        ID of the visit provider.
        This ID is often required for Inpatient Visits.

      • IDType
        string, null
        Possible

        ID type of the ID for the visit provider

      • FirstName
        string, null
        Possible

        First name of the visit provider

      • LastName
        string, null
        Possible

        Last name of the visit provider

      • Credentials
        Array of string

        List of credentials for the visit provider.
        e.g. MD, PhD

      • Address
        object

        Provider's address

        • StreetAddress
          string, null
          Possible

          Street address

        • City
          string, null
          Possible

          City

        • State
          string, null
          Possible

          State

        • ZIP
          string, null
          Possible

          ZIP

        • County
          string, null
          Possible

          County

        • Country
          string, null
          Possible
          Value Set

          Country

      • EmailAddresses
        Array of string

        Provider's email address(es)

      • PhoneNumber
        object
        • Office
          string, null
          Possible

          Provider's office phone number.
          In E. 164 Format. (e.g. +16085551234)

      • Location
        object

        Provider's location

        • Type
          string, null
          Possible

          Type of location.
          Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone

        • Facility
          string, null
          Possible

          Facility.
          Example: Community Hospital

        • FacilityIdentifiers
          Array of object

          List of IDs specific to this facility

          • ID
            string, null
            Possible

            An ID specific to this facility

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Department
          string, null
          Possible

          Department

        • DepartmentIdentifiers
          Array of object

          List of IDs specific to this department

          • ID
            string, null
            Possible

            An ID specific to this department

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Room
          string, null
          Possible

          Room.
          Example: 136

    • AdditionalStaff
      Array of object

      Contains information about any other staff assigned to the assist with the patient visit. Each may be scheduled individually.

      • ID
        string, null
        Probable

        ID of the Additional staff member.
        This ID is often required for Inpatient Visits.

      • IDType
        string, null
        Probable

        ID type of the ID for the Additional staff member

      • FirstName
        string, null
        Possible

        First name of the Additional staff member

      • LastName
        string, null
        Possible

        Last name of the Additional staff member

      • Credentials
        Array of string

        List of credentials for the Additional staff member.
        e.g. MD, PhD

      • Address
        object

        Provider's address

        • StreetAddress
          string, null
          Possible

          Street address

        • City
          string, null
          Possible

          City

        • State
          string, null
          Possible

          State

        • ZIP
          string, null
          Possible

          ZIP

        • County
          string, null
          Possible

          County

        • Country
          string, null
          Possible
          Value Set

          Country

      • EmailAddresses
        Array of string

        Provider's email address(es)

      • PhoneNumber
        object
        • Office
          string, null
          Possible

          Provider's office phone number.
          In E. 164 Format. (e.g. +16085551234)

      • Location
        object

        Provider's location

        • Type
          string, null
          Possible

          Type of location.
          Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone

        • Facility
          string, null
          Possible

          Facility.
          Example: Community Hospital

        • FacilityIdentifiers
          Array of object

          List of IDs specific to this facility

          • ID
            string, null
            Possible

            An ID specific to this facility

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Department
          string, null
          Possible

          Department

        • DepartmentIdentifiers
          Array of object

          List of IDs specific to this department

          • ID
            string, null
            Possible

            An ID specific to this department

          • IDType
            string, null
            Possible

            The source or system to which this ID pertains.
            Could be an OID or a human-readable name

        • Room
          string, null
          Possible

          Room.
          Example: 136

      • Role
        object

        Defines the role of this person in the patient visit.

        • Code
          string, null
          Probable

          Code for the service

        • Codeset
          string, null
          Probable

          Code set used to identify the service.
          Codeset will be blank for system-defined codes.

        • Description
          string, null
          Probable

          Description of the service.
          Example: Primary Physician, Technologist, etc.

      • StartDateTime
        string, null
        Probable

        If this staff member's schedule is different from the appointment schedule, this is the time that this staff member is scheduled to start work.

      • Duration
        number, null
        Probable

        Specifies the length of time that the staff member is scheduled for.
        In minutes

    • Diagnoses
      Array of object

      Contains a list of diagnoses associated with the patient visit.

      • Code
        string, null
        Probable

        Code for the diagnosis

      • Codeset
        string, null
        Probable
        Value Set

        Code set used to identify the diagnosis.
        One of the following: ICD-9, ICD-10, HCPCS, CPT

      • Name
        string, null
        Probable

        Name of the diagnosis

      • Type
        string, null
        Possible
        Value Set

        Type of the diagnosis

      • DocumentedDateTime
        string, null
        Possible

        DateTime the diagnosis was documented.
        ISO 8601 Format

    • Equipment
      Array of object

      Specifies the equipment or resources assigned to this appointment. Each may be scheduled individually.

      • Code
        string, null
        Probable

        Code for the equipment

      • Codeset
        string, null
        Probable

        Code set used to identify the equipment.
        Codeset will be blank for system-defined codes.

      • Description
        string, null
        Probable

        Description of the equipment.
        Example: X-Ray, Therapy Ball, etc.

      • StartDateTime
        string, null
        Probable

        If the equipment's schedule is different from the appointment schedule, this is the time that this staff member is scheduled to start work.
        Not supported with data on demand.

      • Duration
        number, null
        Probable

        Defines the length of time (in minutes) that the equipment is scheduled for.
        Not supported with data on demand.

  • Patient
    object
    • Identifiers
      Array of object

      List of IDs and ID types that identify the patient

      • ID
        string, null
        Reliable

        ID for the patient

      • IDType
        string, null
        Reliable

        Type of ID.
        E.g. MRN, EPI

    • Demographics
      object
      • FirstName
        string, null
        Reliable

        Patient's first name

      • MiddleName
        string, null
        Possible

        Patient's middle name or middle initial. For patients with multiple middle names, all their middle names are included in this field.

      • LastName
        string, null
        Reliable

        Patient's last name

      • DOB
        string, null
        Reliable

        Patient's date of birth.
        In ISO 8601 format

      • SSN
        string, null
        Probable

        Patient's social security number

      • Sex
        string, null
        Reliable
        Value Set

        Patient's sex

      • Race
        string, null
        Possible
        Value Set

        Patient's race

      • IsHispanic
        boolean, null
        Possible
        Value Set

        Indicates if the patient is of hispanic origin.

      • Religion
        string, null
        Possible
        Value Set

        Patient's religious affiliation

      • MaritalStatus
        string, null
        Possible
        Value Set

        Patient's marital status

      • IsDeceased
        boolean, null
        Possible

        Indicates if the patient is deceased

      • DeathDateTime
        string, null
        Possible

        Date and Time the patient was proclaimed deceased.
        ISO 8601 Format

      • PhoneNumber
        object
        • Home
          string, null
          Probable

          Patient's home phone number.
          In E. 164 Format. (e.g. +16085551234)

        • Office
          string, null
          Probable

          Patient's office phone number.
          In E. 164 Format. (e.g. +16085551234)

        • Mobile
          string, null
          Probable

          Patient's mobile phone number.
          In E. 164 Format. (e.g. +16085551234)

      • EmailAddresses
        Array of string

        Patient's email address(es)

      • Language
        string, null
        Possible
        Value Set

        Patient's primary spoken language.
        In ISO 639-1 alpha values (e.g. 'en'). Supported Values

      • Citizenship
        Array of string

        Patient's nation(s) of citizenship.
        In ISO 3166 alpha 2 format (e.g. 'US').

      • Address
        object

        Patient's home address

        • StreetAddress
          string, null
          Probable

          Street address

        • City
          string, null
          Probable

          City

        • State
          string, null
          Probable

          State

        • ZIP
          string, null
          Probable

          ZIP

        • County
          string, null
          Possible

          County

        • Country
          string, null
          Possible
          Value Set

          Country

    • Notes
      Array of string

      Patient-level notes

  • AppointmentInfo
    Array of object

    Contains a list of supplementary clinical information associated with the appointment.

    • Code
      string, null
      Probable

      Code for the information element

    • Codeset
      string, null
      Probable

      Code set used to identify the information element.
      Codeset will be blank for system-defined codes. LOINC or other codesets may be used where appropriate.

    • Description
      string, null
      Probable

      Description of the information element.
      Additional information that may come from patient-completed forms or other sources

    • Value
      string, null
      Reliable

      Displays the value of the corresponding appointment info code. For example, the code identifies the question being answered, and this property contains the answer.

Example
json
1
{
2
"Meta": {
3
"DataModel": "Scheduling",
4
"EventType": "New",
5
"EventDateTime": "2024-12-20T18:11:36.537Z",
6
"Test": true,
7
"Source": {
8
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
9
"Name": "Redox Dev Tools"
10
},
11
"Destinations": [
12
{
13
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
14
"Name": "Redox EMR"
15
}
16
],
17
"Logs": [
18
{
19
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
20
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
21
}
22
],
23
"FacilityCode": null
24
},
25
"Patient": {
26
"Identifiers": [
27
{
28
"ID": "0000000001",
29
"IDType": "MR"
30
},
31
{
32
"ID": "e167267c-16c9-4fe3-96ae-9cff5703e90a",
33
"IDType": "EHRID"
34
},
35
{
36
"ID": "a1d4ee8aba494ca",
37
"IDType": "NIST"
38
}
39
],
40
"Demographics": {
41
"FirstName": "Timothy",
42
"MiddleName": "Paul",
43
"LastName": "Bixby",
44
"DOB": "2008-01-06",
45
"SSN": "101-01-0001",
46
"Sex": "Male",
47
"Race": "White",
48
"IsHispanic": null,
49
"Religion": null,
50
"MaritalStatus": "Single",
51
"IsDeceased": null,
52
"DeathDateTime": null,
53
"PhoneNumber": {
54
"Home": "+18088675301",
55
"Office": null,
56
"Mobile": null
57
},
58
"EmailAddresses": [],
59
"Language": "en",
60
"Citizenship": [],
61
"Address": {
62
"StreetAddress": "4762 Hickory Street",
63
"City": "Monroe",
64
"State": "WI",
65
"ZIP": "53566",
66
"County": "Green",
67
"Country": "US"
68
}
69
},
70
"Notes": []
71
},
72
"AppointmentInfo": [
73
{
74
"Code": "23457",
75
"Codeset": "Redox EHR Codes",
76
"Description": "Priority",
77
"Value": "Normal"
78
},
79
{
80
"Code": "23457",
81
"Codeset": "Redox EHR Codes",
82
"Description": "Form",
83
"Value": "Lumbar"
84
}
85
],
86
"Visit": {
87
"VisitNumber": "1234",
88
"AccountNumber": null,
89
"VisitDateTime": "2024-12-20T18:11:36.935Z",
90
"PatientClass": null,
91
"Status": null,
92
"Duration": 15,
93
"Reason": "Check up",
94
"Type": null,
95
"Instructions": [],
96
"AttendingProvider": {
97
"ID": "4356789876",
98
"IDType": "NPI",
99
"FirstName": "Pat",
100
"LastName": "Granite",
101
"Credentials": [
102
"MD"
103
],
104
"Address": {
105
"StreetAddress": "123 Main St.",
106
"City": "Madison",
107
"State": "WI",
108
"ZIP": "53703",
109
"County": "Dane",
110
"Country": "USA"
111
},
112
"EmailAddresses": [],
113
"PhoneNumber": {
114
"Office": "+16085551234"
115
},
116
"Location": {
117
"Type": null,
118
"Facility": null,
119
"FacilityIdentifiers": [],
120
"Department": null,
121
"DepartmentIdentifiers": [],
122
"Room": null
123
}
124
},
125
"ConsultingProvider": {
126
"ID": null,
127
"IDType": null,
128
"FirstName": null,
129
"LastName": null,
130
"Credentials": [],
131
"Address": {
132
"StreetAddress": null,
133
"City": null,
134
"State": null,
135
"ZIP": null,
136
"County": null,
137
"Country": null
138
},
139
"EmailAddresses": [],
140
"PhoneNumber": {
141
"Office": null
142
},
143
"Location": {
144
"Type": null,
145
"Facility": null,
146
"FacilityIdentifiers": [],
147
"Department": null,
148
"DepartmentIdentifiers": [],
149
"Room": null
150
}
151
},
152
"ReferringProvider": {
153
"ID": null,
154
"IDType": null,
155
"FirstName": null,
156
"LastName": null,
157
"Credentials": [],
158
"Address": {
159
"StreetAddress": null,
160
"City": null,
161
"State": null,
162
"ZIP": null,
163
"County": null,
164
"Country": null
165
},
166
"EmailAddresses": [],
167
"PhoneNumber": {
168
"Office": null
169
},
170
"Location": {
171
"Type": null,
172
"Facility": null,
173
"FacilityIdentifiers": [],
174
"Department": null,
175
"DepartmentIdentifiers": [],
176
"Room": null
177
}
178
},
179
"VisitProvider": {
180
"ID": null,
181
"IDType": null,
182
"FirstName": null,
183
"LastName": null,
184
"Credentials": [],
185
"Address": {
186
"StreetAddress": null,
187
"City": null,
188
"State": null,
189
"ZIP": null,
190
"County": null,
191
"Country": null
192
},
193
"EmailAddresses": [],
194
"PhoneNumber": {
195
"Office": null
196
},
197
"Location": {
198
"Type": null,
199
"Facility": null,
200
"FacilityIdentifiers": [],
201
"Department": null,
202
"DepartmentIdentifiers": [],
203
"Room": null
204
}
205
},
206
"Location": {
207
"Type": "Inpatient",
208
"Facility": "RES General Hospital",
209
"FacilityIdentifiers": [],
210
"Department": "3N",
211
"DepartmentIdentifiers": [],
212
"Room": "136"
213
},
214
"AdditionalStaff": [],
215
"Diagnoses": [
216
{
217
"Code": "R07.0",
218
"Codeset": "ICD-10",
219
"Name": "Pain in throat",
220
"Type": null,
221
"DocumentedDateTime": null
222
}
223
],
224
"Equipment": []
225
}
226
}