Conversion 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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e3ecccd05a2d31ce183614cc5d990c2b288d4b6ebd35bd0f1af7d97dec8473d |
|
MD5 | e23f0e968cf9a3130beb3bf3ef1e1c02 |
|
BLAKE2b-256 | fdecf40a4af9713d77d8bfa5440020829b64fb16638534b9d4115adb72c250eb |
Close
Hashes for python_fhir_converter-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd6e5b9ea767aba756c1f422c823686e297ad61d5afcd7fe28db1bc8b0f0b89c |
|
MD5 | a2a8daf9220bc88944138c4bf331f48b |
|
BLAKE2b-256 | 63492da181fdc8de8068dfc033edef0f89825d89b685099ab3273f7efa76a069 |