FHIR Chat · fhir-py Jupyter course · python

Stream: python

Topic: fhir-py Jupyter course


view this post on Zulip Ward Weistra (Nov 27 2019 at 16:43):

During DevDays Amsterdam 2019 last week @Ilya Beda helped a packed class room through a nice overview of the fhir-py library (https://github.com/beda-software/fhir-py / https://pypi.org/project/fhirpy/) which should now be ready for use. He also shared this Jupyter tutorial to try it with a local Aidbox installation: https://github.com/Aidbox/jupyter-course

It might be overfitted on Aidbox right now, so Ilya mentioned testing feedback was very welcome.

view this post on Zulip Eric Haas (Feb 19 2020 at 04:45):

@Ilya Beda
I finally got a chance to play with this and noticed that in "Lab #0. Data initialization" notebook I need to change the code in the 3rd? cell

from:

client = fhirpy.AsyncFHIRClient(
   fhir_version='4.0.0',
    url=os.environ['BOX_URL'] + '/fhir',
    authorization=os.environ['BOX_AUTHORIZATION'],
)

to..

client = fhirpy.AsyncFHIRClient(
    url=os.environ['BOX_URL'] + '/fhir',
    authorization=os.environ['BOX_AUTHORIZATION'],
    extra_headers=dict(fhir_version='4.0.0'),
)

view this post on Zulip Ilya Beda (Feb 19 2020 at 12:05):

Yes, it is outdated

view this post on Zulip Ilya Beda (Mar 02 2020 at 12:31):

I have just updated the source code of jupyter course.
It contains the fix for error @Eric Haas pointed.


Last updated: Apr 12 2022 at 19:14 UTC