An open API service indexing awesome lists of open source software.

https://github.com/wuxxin/fhir-research

fhir-research
https://github.com/wuxxin/fhir-research

fhir medical scipy

Last synced: 2 months ago
JSON representation

fhir-research

Awesome Lists containing this project

README

          

# Jules Lab Experiment

**THIS-IS-AN-EXPERIMENT**, **NO CODE** has been reviewed for **ANY** purpose!

## Python Medical Data Science Project

This project demonstrates the use of Python for handling and visualizing medical data,
specifically focusing on FHIR resources, pandas for data analysis, Bokeh, Matplotlib, and Altair for visualization.

It includes utilities for creating example FHIR Patient and FHIR Observation data,
flattening FHIR bundles for analysis and example notebooks in Marimo for visualization.

## Interactive Visualization

You can explore the visualization interactively:

- **View on GitHub Pages:** [https://wuxxin.github.io/fhir-research/](https://wuxxin.github.io/fhir-research/)
- **Run Interactive Marimo in the Browser:** [https://wuxxin.github.io/fhir-research/marimo/](https://wuxxin.github.io/fhir-research/marimo/)

## Setup

```sh
make buildenv
```

## Running

### Interactivly edit the Notebook in Marimo

```bash
uv run marimo edit notebooks/lab_visualize.py
```

### Export the matplotlib plot as image

```bash
uv run python notebooks/lab_visualize.py -o lab-matplotlib.png
```

![LAB-Plot](lab-matplotlib.png)

## Docs

```bash
make docs
```

## Testing and Linting

**Run Tests**:

```bash
make test
```

**Run Linter**:

```bash
make lint
```