Skip to main content

New

A New message can be generated and sent outbound from the EHR when an appointment is booked, indicating that a new appointment has been scheduled. Similarly, an application can generate and post a New message inbound to the EHR to schedule an appointment, indicating that a new appointment request has been received and needs to be processed by the EHR system. :::

API endpoints for New

Sync REST API Endpoint to call the API: https://{base_url}/api/v1/scheduling/new.

Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.

Data Model JSON for New

New - Sample Payload
{
"Meta": {
"DataModel": "Scheduling",
"EventType": "New",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "47ec2047-1480-4eef-a663-bd0f61a79a3a ",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "144c5a08-24bd-4b80-8b3c-9cb8a9576b33 ",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "92405d16-f3e9-4b13-990c-0cb75b2ab2ac ",
"AttemptID": "63edc7d9-43cf-41bb-a72f-eb69ad1cbc7d"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "e2f2639a-6608-46b2-841b-487143cf6a75",
"IDType": "EHRID"
},
{
"ID": "07bbc02c-c38d-48a9-9615-2cdc3edd0165 ",
"IDType": "NIST"
}
],
"Demographics": {
"FirstName": "James",
"MiddleName": "Alex",
"LastName": "Smith",
"DOB": "2008-01-06",
"SSN": "101-01-0001",
"Sex": "Male",
"Race": "White",
"IsHispanic": null,
"Religion": null,
"MaritalStatus": "Single",
"IsDeceased": null,
"DeathDateTime": null,
"PhoneNumber": {
"Home": "+18088675301",
"Office": null,
"Mobile": null
},
"EmailAddresses": [],
"Language": "en",
"Citizenship": [],
"Address": {
"StreetAddress": "4762 High Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
}
},
"Notes": []
},
"AppointmentInfo": [
{
"Code": "23457",
"Codeset": "EHR Codes",
"Description": "Priority",
"Value": "Normal"
},
{
"Code": "23457",
"Codeset": "EHR Codes",
"Description": "Form",
"Value": "Lumbar"
}
],
"Visit": {
"VisitNumber": "1234",
"AccountNumber": null,
"VisitDateTime": "2022-08-16T14:21:21.653Z",
"PatientClass": null,
"Status": null,
"Duration": 15,
"Reason": "Check up",
"Type": null,
"Instructions": [],
"AttendingProvider": {
"ID": "4356789876",
"IDType": "NPI",
"FirstName": "Bobby",
"LastName": "Grant",
"Credentials": [
"MD"
],
"Address": {
"StreetAddress": "123 Main St.",
"City": "San Jose"",
"State": "CA",
"ZIP": "53703",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+16085551234"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"ConsultingProvider": {
"ID": null,
"IDType": null,
"FirstName": null,
"LastName": null,
"Credentials": [],
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": null
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"ReferringProvider": {
"ID": null,
"IDType": null,
"FirstName": null,
"LastName": null,
"Credentials": [],
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": null
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"VisitProvider": {
"ID": null,
"IDType": null,
"FirstName": null,
"LastName": null,
"Credentials": [],
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": null
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"Location": {
"Type": "Inpatient",
"Facility": "MGM Hospital",
"Department": "3N",
"Room": "136"
},
"AdditionalStaff": [],
"Diagnoses": [
{
"Code": "R07.0",
"Codeset": "ICD-10",
"Name": "Throat Infection",
"Type": null,
"DocumentedDateTime": null
}
],
"Equipment": []
}
}