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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc86fa025ca892a4d1163331a0e366299af2b9ea84e6f4164a611c0aa194db1c |
|
MD5 | bc1456acf9f60248ec909c9c99e7e654 |
|
BLAKE2b-256 | e41fd4fc329e5f436ab417c12cde5a1fc452241ce4090a6809d06996182ae461 |
Close
Hashes for python_fhir_converter-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87ecb9f88373082e86be64d64bcba2746ab146f20362b833b89f01b9a59e3252 |
|
MD5 | 9b54251082242a4fb4af755ffd690790 |
|
BLAKE2b-256 | 56b57b24f3b367f9ae007ef6909f2c2dbb81f1f659d0372f701d2314e37f5159 |