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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04fc0d64d8745c73e3aac87bd8ef30e1ebb3f4e8f30ca52e52bce16262a112e3 |
|
MD5 | 237360a6b8c1452c14e3f662ad6b3e2f |
|
BLAKE2b-256 | 1a34b0705f0cc9f00f0f27bd82538611bbc736e2560293703bf185299dddff0d |
Close
Hashes for python_fhir_converter-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1ea005a0ac17f0c571002ae9a9b017f75d6e15c1921a9d46ab94d12711de39 |
|
MD5 | fc7e02e398c26390725cb5b1faf4981f |
|
BLAKE2b-256 | fd57525dcc0a9080383ea08b5273cbcbfd0aa9f1e07b019de44abfad926f429c |