Stream: python
Topic: modules
René Spronk (Jan 21 2019 at 15:54):
I just started playing around with Python (lots of C and Pascal eons ago, mostly Tcl in the past 10 years..). Might as well muck around with a Fhir module to come to grips with Python. https://github.com/smart-on-fhir/client-py seems to be the go to option. Anything else you'd recommend for a Python newbie ?
Eric Haas (Jan 21 2019 at 17:26):
@ Bob Milius and I created some Jupyter notebooks that are helpful to get started.
https://github.com/bmilius-nmdp/pytestfhir
https://github.com/bmilius-nmdp/pytestfhir/blob/master/makePatient.ipynb
https://github.com/bmilius-nmdp/pytestfhir/blob/master/makeSpecimen.ipynb
https://github.com/bmilius-nmdp/pytestfhir/blob/master/makeSequences.ipynb
https://github.com/Healthedata1/smart_pythonclient_example if you are truly new to python this Notebook links to several helpful YouTube videos on how to set up a local Python environment.
Joel Schneider (Jan 23 2019 at 07:16):
An old, but simple one (see fhirclient.ipybnb). The accompanying README.md briefly illustrates how to set up a virtualenv and run Jupyter.
https://github.com/jschneid-nmdp/fhirpy
Ilya Beda (Jan 28 2019 at 10:25):
Hi @René Spronk
We have developed a short Jupiter based interactive course for Python and FHIR.
Please check it here https://github.com/Aidbox/jupyter-course
Eric Haas (Mar 29 2019 at 03:29):
@ Bob Milius and I chatted at the San Antonio HL& WGM and would like to organize a special session to discuss the state of the Smart PyClient. @Pascal Pfiffner or @Josh Mandel Are you going to be in Montreal or in Seattle? or both? I personally would like to see a demo of all its functionality discuss improvements and future and generally share how we are all using python with FHIR. ( I mostly use the models to generate examples so I am probably missing out on some cool features.)
Eric Haas (Mar 29 2019 at 03:32):
for example here I use the python models to map Open mHeallth Schemas to FHIR Observations. "https://github.com/Healthedata1/mFHIR/blob/master/my-notes/python-mapping-example/OMH%20to%20FHIR%20Mapping.ipynb
Josh Mandel (Mar 29 2019 at 03:38):
I'll be in both of those places, though I'll note that I'm not super familiar with the library (you've probably used it more than I have at this point). Anyway, always happy to discuss!
Pascal Pfiffner (Mar 29 2019 at 16:12):
I'll be at both places too, happy to chat!!
Viet Nguyen (Apr 14 2019 at 22:00):
I'd like to participate as well.
Bob Milius (Apr 16 2019 at 19:49):
This is great! I'll arrive in Montreal Sunday night, and leave early Thu morning. Unfortunately, I won't be able to attend Seattle.
Last updated: Apr 12 2022 at 19:14 UTC