Transformation utility to translate data formats into FHIR
Project description
python-fhir-converter
Provides a python native version of the reference implementation written in C#. The goal is to generate 1:1 output for the same templates. Built on the back of python-liquid
Table of Contents
Install
Install Python FHIR Converter using Pipenv:
$ pipenv install -u python-fhir-converter
Or pip:
$ pip install python-fhir-converter
Links
- PyPi: https://pypi.org/project/python-fhir-converter/
- Source Code: https://github.com/chaseastewart/fhir-converter
- Issue Tracker: https://github.com/chaseastewart/fhir-converter/issues
Example
from fhir_converter.processors import CcdaProcessor
processor = CcdaProcessor.from_template_dir(TEMPLATE_DIR)
with open("data/sample/ccda/Discharge_Summary.ccda") as ccda_file:
print(processor.convert(template_name="DischargeSummary", xml_input=ccda_file))
Related Projects
- python-liquid Python engine for the Liquid template language.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python_fhir_converter-0.0.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee42b0c666076823d4eef820835d5500229cc187eed62c2875695ea5caf059a |
|
MD5 | 1da58ae9ade1ce941c00ce91e752efd7 |
|
BLAKE2b-256 | 7d468040601d4de9b124017a29887cfd40aec3d73c379819f6782f7e001f4dc8 |
Close
Hashes for python_fhir_converter-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a25e66f082c9986741229a90981ac53cffd5d63dd0219f9b356db3acfb44d7 |
|
MD5 | 6def51284c23a36742040692b71d9f00 |
|
BLAKE2b-256 | 1d4451d83d35db08cc569c7f2475315d8066ad2eecc202ec71d6925f2fa9235c |