CMS NPI APIs

113 views
Skip to first unread message

Ben Irwin

unread,
May 19, 2020, 6:58:44 PM5/19/20
to Hardhats
Everyone may already know this, but I thought it was great and I would like to see other healthcare services like this made available to the public.

The CMS has a couple of simple easy to use APIs that can look up the NPI numbers and provider information for synchronization with local provider information.


The form has two examples at the bottom and I have added a couple here.


With a little curl programming or %Net.Httprequest in Cache this could be easily applied to keep the local NEW PERSON file up-to-date.

Sam Habiel

unread,
May 20, 2020, 8:18:24 AM5/20/20
to hardhats
Thank you Ben. That is really nice.

Other favorite web services:
RxNorm: https://rxnav.nlm.nih.gov/RxNormAPIs.html#
Random User Generator: https://randomuser.me/
Httpbin lets you test your web clients: https://httpbin.org/

On doing HTTP requests from GT.M/YottaDB and Cache, I recommend using
libcurl. None of the systems deals well with TLS SNI extensions. I
didn't report the bug to Intersystems; I did for YottaDB:
https://gitlab.com/YottaDB/DB/YDB/-/issues/373. Intersystems Cache
does not do TLS session resumption either, so you are spending 200ms
re-negotiating the connection every time.

I wrote a libcurl extension to GT.M/YottaDB:
https://github.com/shabiel/fis-gtm-plugins/tree/master/libcurl.

I also wrote a command line wrapper to curl, and included it in my
port of HWSC, at https://github.com/shabiel/HWSC/.

I tried to fix the issues with the XTHC code, but there were bugs
found after my release, and I never went back to fix them. You can
find your way to my buggy code here:
https://github.com/shabiel/Kernel-GTM/blob/master/doc/rel/XT-7.3-10002.rel.md.

--Sam
> --
> --
> http://groups.google.com/group/Hardhats
> To unsubscribe, send email to Hardhats+u...@googlegroups.com
>
> ---
> You received this message because you are subscribed to the Google Groups "Hardhats" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to hardhats+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/hardhats/f4bb2716-7063-471f-94aa-94cdbc31110b%40googlegroups.com.

Ben Irwin

unread,
May 20, 2020, 8:26:51 AM5/20/20
to Hardhats
Cool.  Thanks Sam.
Reply all
Reply to author
Forward
0 new messages