proposed /api/clinical_notes enhancement

154 views
Skip to first unread message

egreenfeld

unread,
Apr 11, 2016, 3:57:42 AM4/11/16
to drchrono Medical Healthcare API SDK
Would it be possible to add a 'since' filtering parameter such as in appointments to see all notes updated? This would allow applications to update as clinical notes are updated without having to pull the appointment for each note, significantly increasing the number of API calls. In addition, would it be possible to include the 'updated_at', 'locked', and 'pdf url' information in the clinical_notes data that is returned. This is all available in the appointment, but requires significant extra API calls and processing.

Colin

unread,
Apr 12, 2016, 6:02:58 PM4/12/16
to drchrono Medical Healthcare API SDK, egree...@azswa.org
+1

Jean-Sebastien Boulanger

unread,
Apr 12, 2016, 8:48:09 PM4/12/16
to drchro...@googlegroups.com
+1

On Mon, Apr 11, 2016 at 12:57 AM, egreenfeld <egree...@azswa.org> wrote:
Would it be possible to add a 'since' filtering parameter such as in appointments to see all notes updated? This would allow applications to update as clinical notes are updated without having to pull the appointment for each note, significantly increasing the number of API calls. In addition, would it be possible to include the 'updated_at', 'locked', and 'pdf url' information in the clinical_notes data that is returned. This is all available in the appointment, but requires significant extra API calls and processing.

--
You received this message because you are subscribed to the Google Groups "drchrono Medical Healthcare API SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drchrono-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Jean-Sebastien Boulanger | Cofounder and CTO | 415-505-2092

alle...@drchrono.com

unread,
Apr 13, 2016, 11:20:04 AM4/13/16
to drchrono Medical Healthcare API SDK, egree...@azswa.org
On Monday, April 11, 2016 at 12:57:42 AM UTC-7, egreenfeld wrote:
> Would it be possible to add a 'since' filtering parameter such as in appointments to see all notes updated? This would allow applications to update as clinical notes are updated without having to pull the appointment for each note, significantly increasing the number of API calls. In addition, would it be possible to include the 'updated_at', 'locked', and 'pdf url' information in the clinical_notes data that is returned. This is all available in the appointment, but requires significant extra API calls and processing.

Your wish is my command!

The change has been made and should be out in a week or so.

Colin

unread,
Apr 13, 2016, 1:35:58 PM4/13/16
to drchrono Medical Healthcare API SDK, egree...@azswa.org, alle...@drchrono.com
Fantastic!  Thanks!

EthanG

unread,
May 10, 2016, 9:55:44 PM5/10/16
to drchrono Medical Healthcare API SDK
Thank you for modifying the clinical_notes endpoint to support additional functionality. It looks like the since filtering has been implemented; however, when trying to use, it seems to be acting opposite as expected. When setting a since timestamp, it looks like it returns all notes modified in the date range before that timestamp, instead of after that timestamp. For example, when setting the date range of 4/25 and 'since' of 4/26 to get all notes for appointments on 4/25 that have been updated on 4/26, it returns all notes last updated before 4/26 and completely omits all notes updated on or after 4/26. 

Also, do you have an ETA when updated_at, pdf, and locked data will be returned from this endpoint.

Thank you so much for all your help and response! 

taimur

unread,
May 13, 2016, 3:04:12 PM5/13/16
to drchrono Medical Healthcare API SDK
The updated_at, pdf, and locked data is available in the notes object: https://taimurk.drchrono.com/api-docs/popup/v2015_08/clinical_note_format

We will check on the SINCE error - could you please provide the request and response showcasing this issue?

alle...@drchrono.com

unread,
May 19, 2016, 12:43:05 PM5/19/16
to drchrono Medical Healthcare API SDK
Ethan, can you double check your query and results?  The since parameter worked correctly for the test query I ran.

EthanG

unread,
May 19, 2016, 6:54:24 PM5/19/16
to drchrono Medical Healthcare API SDK
Hi Allen-
I ran with the following: params={'date_range':'2016-04-24/2016-05-19','since':'2016-05-10T01:01:00'} in python and was not successful in getting all notes between 4/24 and 5/19 updated after 5/10.

Thanks!

taimur

unread,
May 19, 2016, 9:07:45 PM5/19/16
to drchrono Medical Healthcare API SDK
Hi Ethan,

Could you let us know the response you're expecting and the app name/user name you're calling from? We can test from our side as well and see if the responses match up. Feel free to email a...@drchrono.com directly if that's more appropriate.

Taimur

Reply all
Reply to author
Forward
0 new messages