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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46fe4a782be2dc5ffe1ff45b30f5cbc5c6fb8443fdf05d27f4b9a2fa17ffcb2f |
|
MD5 | 8efec2a3b8806ab5ab0e5467e82fa21b |
|
BLAKE2b-256 | f6bf469c265a1a25d05f9b946b43723242c9b35e7c7ead18d483da2974ca1381 |
Close
Hashes for python_fhir_converter-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 163d9a69b2a1987cffca8bdac47d2aa72a8ae37b462b632ef6a13112dc276720 |
|
MD5 | 16a40177ad02433b55a6bc37fe141aa4 |
|
BLAKE2b-256 | 94bdea78fafed8eda1c1eaa352ce5b85ff8e0c2b5aca1607cb1fdf551e15c794 |