Page 1 of 1

Treatment plan scheduled?

Posted: Wed Apr 30, 2025 1:10 pm
by saskia
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.

Re: Treatment plan scheduled?

Posted: Wed Apr 30, 2025 1:19 pm
by justine
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!