PostPatientAppointmentsRequest
Data container to represent request for PostPatientAppointments function.
PostPatientAppointmentsRequest data has following elements:
| patientInfo | (object) | Patient information. See PATIENT data. |
| appointments | (array) | Patient appointments. See SbaAppointmenBase data for more details. |
XML Example:
JSON Example:
{
"patientInfo": {
"patientID": "A2016103XXX",
"last": "Likestocook",
"first": "Alex",
"middle": null,
"birthdate": "01/01/1970",
"sex": "M",
"contactInfo": {
"phone": "8005551212",
"cell": "9145551212",
"email": "noemail@dadada.com",
"cellOptIn": "true",
"emailOptIn": "true"
}
},
"appointments": [
{
"AppointmentId": "appt123",
"PatientId": "A2016103XXX",
"ApptTypeId": "followup",
"Status": "S",
"FacilityId": "office1",
"ProviderId": "134",
"ApptStart": "09/18/2017 10:15",
"ApptStop": "09/18/2017 10:30",
"Notes": "Just time to follow up appointment"
},
{
"AppointmentId": "appt333c",
"PatientId": "A2016103XXX",
"ApptTypeId": "surgery",
"Status": "S",
"FacilityId": "office1",
"ProviderId": "134",
"ApptStart": "09/21/2017 11:15",
"ApptStop": "09/21/2017 11:30",
"Notes": "Just time to follow up appointment"
}
]
}
See also:
API Data,
PostPatientAppointments function