Metadata-Version: 2.1
Name: fhiry
Version: 0.2.1
Summary: FHIR to pd.Dataframe
Home-page: https://github.com/dermatologist/fhiry
Author: Bell Eapen
Author-email: github@gulfdoctor.net
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pandas (==1.1.4)
Project-URL: Repository, https://github.com/dermatologist/fhiry
Description-Content-Type: text/markdown

# :fire: fhiry - FHIR for AI and ML

## About

[Bulk data export using FHIR](https://hl7.org/fhir/uv/bulkdata/export/index.html) may be important if you want to export a cohort for analysis or machine learning. 
:fire: **Fhiry** is a python package to facilitate this by converting a folder of FHIR bundles into a pandas data frame for analysis and importing 
into ML packages such as Tensorflow and PyTorch. Test it with the [synthea sample](https://synthea.mitre.org/downloads). Use the 'Discussions' tab above for feature requests.

## Installation

```
pip install fhiry
```

## Usage

```
from fhiry import Fhiry
f = Fhiry()
f.folder = '/path/to/fhir/resources'
f.process_df()
print(f.df.head(5))
```

## Columns

```
patientId
fullUrl 
resource.resourceType 
resource.id 
resource.name 
resource.telecom 
resource.gender 
...
...
...
```
## Contributors

* [Bell Eapen](https://nuchange.ca)
* WIP, PR welcome, please see CONTRIBUTING.md

