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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed727b3cd667e0b337aa7411fc76e92cfb965e4df9043268afaf6627993919c |
|
MD5 | b4b035761f966259fd346f160633e7f6 |
|
BLAKE2b-256 | b249b0adb27b1fff26b6f5a84cacbec0a96ae130b1400ef03a31806add46de5f |
Close
Hashes for python_fhir_converter-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a2253172f1f81c8ccfa58f0e2fe3d625d6a07f3006368040b23073e5cf45794 |
|
MD5 | 3da153a4fa91f1e94c754630374b3aee |
|
BLAKE2b-256 | b90c147c38852cb0f19c610a3564b5d537b8a5b1aedf3a1d3d61f25967e809ab |