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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd1315f3bf4b41b2d31343a2d779c2d7ff1f12ca63c229ad893cae1a63f4d05 |
|
MD5 | 681ea0985484b7ad332794f734cf6839 |
|
BLAKE2b-256 | dcdc702a3336498c561ae53e8fd1163bb3f7a1500b67c75673273572194716a6 |
Close
Hashes for python_fhir_converter-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d67e209a283e3668ddb7bd03acb68802f93d9a050b4c375acc71737ff0551a3 |
|
MD5 | e3a98c8d9b3321aca0e0a4a5ad71353f |
|
BLAKE2b-256 | 4308aa0d24149ef45d437f1cfce286edc653d917ea9ecf5bfd207c38020f32b1 |