Example FHIR to TranSMART loader
Project description
Installation
The package requires Python 3.6.
To install fhir2transmart, do:
pip install fhir2transmart
Or from source:
git clone https://github.com/thehyve/python_transmart_loader.git
cd python_transmart_loader
pip install .
cd examples/fhir2transmart
pip install .
Run tests (including coverage) with:
python setup.py test
Usage
Read input from a JSON file input.json and write the output in transmart-copy format to /path/to/output. The output directory should be empty of not existing (then it will be created).
python -m fhir2transmart.fhir2transmart input.json /path/to/output
Example data is available at MITRE SyntheticMass.
License
Copyright (c) 2019, The Hyve
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Project details
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
Hashes for fhir2transmart-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c00846ed4872eb6bae01169c08f82d421224f2e50075f7b5e734c33e72529dab |
|
MD5 | 84b94583830e119b1835f5e3ffa83a1c |
|
BLAKE2b-256 | a1bc505184a2b5a0f6a1524b5fc1f0b7ef3d5a23edf786840269d1e2b19f28e1 |