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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21520beab482390b39f050a5b394ff14553fcb164aa17237ab92f7bcc1c5a2d1 |
|
MD5 | aa6ae8638e78c03475678c5ec7891a64 |
|
BLAKE2b-256 | 4ec449da0e09d06cd88e6a6c8a563318e9f3b4f4e85fca01f697787e595cb91f |
Close
Hashes for python_fhir_converter-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f139db4f7879265a1dd3929e8d275ff98deb034648d6567832654eaab2590153 |
|
MD5 | 929b7146f72a0f7f02c35b1f36fb78c5 |
|
BLAKE2b-256 | 952df89dd07c5910f07acd33d6d249635349b338ed25b20110f03fd7f43ee838 |