Treatment plan scheduled?

For requests or help with our API
Post Reply
saskia
Posts: 70
Joined: Tue Apr 04, 2023 8:31 am

Treatment plan scheduled?

Post by saskia » Wed Apr 30, 2025 1:10 pm

I'm looking to see whether an active treatment plan has any of the associated procedures scheduled or completed. If I'm looking at the documentation, it looks like I'll have to make a couple of calls in order to do this:

1. Get the treatment plan id GET /treatplans
2. Get the procedures with the plan GET /treatplanattaches
3. Get the details of the procedures to see the status GET /procedurelogs

Am I overlooking a simpler way to see what the status is of the procedures associated with a treatment plan?

Thanks.

justine
Posts: 286
Joined: Tue Dec 28, 2021 7:59 am

Re: Treatment plan scheduled?

Post by justine » Wed Apr 30, 2025 1:19 pm

saskia wrote:
Wed Apr 30, 2025 1:10 pm
I'm looking to see whether an active treatment plan has any of the associated procedures scheduled or completed. If I'm looking at the documentation, it looks like I'll have to make a couple of calls in order to do this:

1. Get the treatment plan id GET /treatplans
2. Get the procedures with the plan GET /treatplanattaches
3. Get the details of the procedures to see the status GET /procedurelogs

Am I overlooking a simpler way to see what the status is of the procedures associated with a treatment plan?

Thanks.
Good afternoon saskia,

That workflow works! If you'd rather do it in a single API call, you can leverage the ShortQuery endpoint to correlate data any way you'd like.

Thanks!

Post Reply