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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe298e6bc01ee62341d0d9a735cbb4d905f9407e3203fec2e257746a1af01156 |
|
MD5 | 1013afddd651380946639e030ad5547f |
|
BLAKE2b-256 | ee09f0ab220ef96b83e30c33363a00fe073877f0a937a333cdae900cb5833fee |
Close
Hashes for python_fhir_converter-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59df2936676ea7dc990a5d74c2823b38ac184d209dd190e3b5a298682bc0c38f |
|
MD5 | 8c78f8b03f2f7f6b041966d3b1b811e1 |
|
BLAKE2b-256 | 5a7ab81b316c64e5929ea2cc7c00e1485440e25d70c6a12d17b6dd83e38c5a27 |