Suitable examples of using the Python FHIRClient

295 views
Skip to first unread message

Haitai Ng

unread,
Apr 30, 2021, 10:39:55 AM4/30/21
to SMART on FHIR
Hi SMART on FHIR,

I was wondering where I could find some examples on how to use this library: 

Snip from my python code
settings = {
"app_id" : "<Obtained from Cerner Developer Console>",
"client_id" : "<Obtained from Cerner Developer Console>,
"redirect_uri" : "http://localhost:8000/index/",
}
smart = client. FHIRClient(settings=settings) 

Thank you for your time

Dan Cinnamon

unread,
Apr 30, 2021, 1:54:00 PM4/30/21
to Haitai Ng, SMART on FHIR
This is basically just a demo app, so don’t read too much into it- but it is using the client-py library.  It should also be noted that at the time I was putting this together- the version of client-py that supports r4 was not yet into the pypi repositories so I was using a forked version that made a few updates to support some part or r4. 



Sent from my iPhone

On Apr 30, 2021, at 10:39 AM, 'Haitai Ng' via SMART on FHIR <smart-...@googlegroups.com> wrote:

Hi SMART on FHIR,
--
You received this message because you are subscribed to the Google Groups "SMART on FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smart-on-fhi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/smart-on-fhir/b2d8cfa7-33e7-4ad8-8dc5-49bca0d6832dn%40googlegroups.com.

Haitai Ng

unread,
Apr 30, 2021, 4:24:48 PM4/30/21
to SMART on FHIR
Thank you for the follow up. I will try and work around this.

I am having trouble using the client-py library, so I will use another approach. 

Haitai Ng

unread,
May 3, 2021, 2:54:58 PM5/3/21
to SMART on FHIR
Just to confirm, I searched on Github to see if there were any other public repositories using the FhirClient for R4. I could not find any results. 
Reply all
Reply to author
Forward
0 new messages