INCATools / ontology-access-kit

Ontology Access Kit: A python library and command line application for working with ontologies
https://incatools.github.io/ontology-access-kit/
Apache License 2.0
123 stars 29 forks source link

Add a HAPI FHIR adapter #351

Open cmungall opened 2 years ago

cmungall commented 2 years ago

We have a PR for exporting FHIR JSON:

This could be used for loading a HAPI FHIR server using any OAK-wrapped ontology

It would be useful to have the converse operation - the ability to talk to a HAPI FHIR server

Example code: https://github.com/HOT-Ecosystem/TSDemoBoard/blob/master/CodeSystem.ipynb

@joeflack4 - are there existing python clients we can wrap?

cmungall commented 2 years ago
joeflack4 commented 2 years ago

I think this kinda FHIR client / stuff would be a good to add to OAK in some way or another. For the TSDemoBoard, the client there is mainly to simplify the Jupyter notebook. The only Python client I remember specifically looking at is the smart-on-fhir one that you linked. I haven't spent much time looking at it, though.

cmungall commented 2 years ago

Yes, this seems pretty straightforward to use:

http://docs.smarthealthit.org/client-py/index.html

Doesn't seem to introduce a lot of dependencies which is nice, we could incorporate directly rather than as a plugin