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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ccbe1629313505e67f117042b0697b8c9456c1416f8409f5e596d195944566 |
|
MD5 | f75b29f64fa9f76da9f3c04191b222d4 |
|
BLAKE2b-256 | 0c9109caeec80fef05e574a8abc30386a64505e1997ed7fe3833b54bf6ac2ab5 |
Close
Hashes for python_fhir_converter-0.0.11.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f92afe02abaca9f261f3e1ae32dbeaf67395f834b6a7877da88bd0b55154d664 |
|
MD5 | 2071d6520964c20c38b92830061efc6b |
|
BLAKE2b-256 | dc716fcb242968d0f77bb494a24c88c7a6f2551613d61afeae8ff0281fa21d8f |