Page 1 of 1

Retrieving documents/images for patients

Posted: Tue Apr 27, 2021 3:08 pm
by achatter01
From the API documentation I only see Documents POST SetByUrl and Documents POST Upload. Are there plans for a GET? If we are using the API for integration with OD, how do I retrieve documents/images for a patient?

Thanks for any pointers. New to OpenDental and learning my way through.

Re: Retrieving documents/images for patients

Posted: Tue Apr 27, 2021 10:50 pm
by jordansparks
We're working on it. First, we are tackling queries. Then, we can do images. When you submit a request for an image to the API, it will place the image in an FTP folder that you specify. That way, the image won't have to pass through our servers and bog things down.

Re: Retrieving documents/images for patients

Posted: Wed Apr 28, 2021 11:12 am
by achatter01
Great to hear!
In the interim, what's the recommended approach to retrieve images for patients. Possibly a list/matrix of images that then allows the user to select the ones they need.

Thanks!

Re: Retrieving documents/images for patients

Posted: Thu Apr 29, 2021 8:04 am
by jordansparks
Depends on how you're using it. There are lots of different approaches, and we honestly haven't settled on a good one. The main tree is what they are used to, so we tried that, but it's complex. We've tried lists, thumbnails, pasting from clipboard, etc.

Sounds like our API will need to optionally include thumbnails when getting a list of images for a patient.

Re: Retrieving documents/images for patients

Posted: Thu Apr 29, 2021 8:24 am
by achatter01
Yes. Sounds like an optional parameter on the Document GET API or a different endpoint that takes a parameter to return thumbnails would be an approach to think of.