Page 1 of 1

Appointment length

Posted: Fri Mar 29, 2024 12:50 pm
by saskia
I'm looking at the appointment API (https://www.opendental.com/site/apiappointments.html) and was hoping to be able to see how long an appointment is. Am I overlooking something or can I make a feature request? Thanks!

Re: Appointment length

Posted: Fri Mar 29, 2024 1:01 pm
by DerekR
Good Afternoon Saskia,

An appointments length is stored in the Pattern field of the appointment table. See the Appointment Table Schema for more information.

Thanks!

Re: Appointment length

Posted: Fri Mar 29, 2024 1:23 pm
by saskia
Good afternoon!

Thanks for the quick response - good to know which field I'm looking at but struggling to understand how the values work. I think
"Pattern": "//XXXX//"

Means 2 x 5 minutes assist time, followed by 4 x 5 minutes doctor time followed by 2 x 5 minutes assist time? For a total of 40 minutes?

Thanks!

Re: Appointment length

Posted: Fri Mar 29, 2024 3:53 pm
by DerekR
saskia wrote:
Fri Mar 29, 2024 1:23 pm
Good afternoon!

Thanks for the quick response - good to know which field I'm looking at but struggling to understand how the values work. I think
"Pattern": "//XXXX//"

Means 2 x 5 minutes assist time, followed by 4 x 5 minutes doctor time followed by 2 x 5 minutes assist time? For a total of 40 minutes?

Thanks!
You are absolutely correct, '/' represents assist time and 'X' represents doctor time. Both '/' and 'X' characters represent 5 minute increments which is used to determine the length of the appointment.