FHIR Chat · FHIR 101 Jupyter notebook · python

Stream: python

Topic: FHIR 101 Jupyter notebook


view this post on Zulip Ward Weistra (Feb 04 2020 at 04:21):

Just cross-posting that @Natasha Singh made a Jupyter Notebook for FHIR 101: https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/FHIR.20101.20Jupyter.20Notebook

@Natasha Singh You seem to be using a client from within your project: from kf_model_fhir.client import FhirApiClient. Is that a copy of the client-py with your own models?

view this post on Zulip Natasha Singh (Feb 04 2020 at 04:23):

Just cross-posting that Natasha Singh made a Jupyter Notebook for FHIR 101: https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/FHIR.20101.20Jupyter.20Notebook

Natasha Singh You seem to be using a client from within your project: from kf_model_fhir.client import FhirApiClient. Is that a copy of the client-py with your own models?

No - that client is a very simple Requests based Python class that I wrote. I want to eventually replace it with something that is more standard and/or better supported.

view this post on Zulip Ward Weistra (Feb 04 2020 at 04:30):

:thumbs_up: Your best options would be:

  • client-py/fhirclient: can be used with generated Python data classes with fhir-parser for structural validation when creating FHIR. Maintained mainly by @Harold Solbrig.
  • fhir-py/fhirpy: works with dictionaries instead, so no structural validation, but does nice querying with asyncio. Maintained by @Ilya Beda.

view this post on Zulip Ilya Beda (Feb 04 2020 at 19:47):

Hi @Natasha Singh
It is a nice job!
You may be interested in jupyter based courses for developers we made https://github.com/Aidbox/jupyter-course/
We are using synthea data to populate the server with the initial dataset it allows us to demonstrate sophisticated FHIR search queries.

view this post on Zulip Natasha Singh (Feb 04 2020 at 20:29):

Thanks @Ilya Beda ! I took a quick look at your client already. It looks good and I think we will want to switch to it. Thanks for the notebook I will also check that out. Maybe I can point to your notebook from mine for people who want to take a deeper dive into the search API

view this post on Zulip Ilya Beda (Feb 05 2020 at 03:02):

:+1:

view this post on Zulip Natasha Singh (Feb 06 2020 at 06:03):

Hey guys,

I've moved the FHIR 101 Guide to its own repository: https://github.com/fhir-sci/fhir-101 and I've deployed it with Binder, so it's available online here: https://mybinder.org/v2/gh/fhir-sci/fhir-101/master?filepath=FHIR%20101%20-%20Practical%20Guide.ipynb

Feedback is very welcome!

Cheers!

Natasha

view this post on Zulip Eric Haas (Feb 06 2020 at 06:30):

I am assuming that your tutorial exercises are pedagogical only since they reproduce an extension and search that are already present in US Core?

view this post on Zulip Adam Culbertson (Feb 18 2020 at 20:26):

Natasha Singh said:

Hey guys,

I've moved the FHIR 101 Guide to its own repository: https://github.com/fhir-sci/fhir-101 and I've deployed it with Binder, so it's available online here: https://mybinder.org/v2/gh/fhir-sci/fhir-101/master?filepath=FHIR%20101%20-%20Practical%20Guide.ipynb

Feedback is very welcome!

Cheers!

Natasha

Thanks this is a great resource. I may teach a course on health informatics and this would be great to include.


Last updated: Apr 12 2022 at 19:14 UTC