Metadata-Version: 2.1
Name: dfhir
Version: 0.1.0a7
Summary: Django fhir server.
Home-page: https://github.com/CareFusion365/dfhir
Keywords: fhir,server,healthcare
Author: Carefusion
Author-email: carefusion365@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: build (>=1.0.3,<2.0)
Requires-Dist: django (>=5.0,<6.0)
Requires-Dist: django-filter (>=23.1)
Requires-Dist: djangorestframework (>=3.14.0)
Requires-Dist: djangorestframework-recursive (>=0.1.2,<0.2.0)
Requires-Dist: drf-spectacular (>=0.28.0,<0.29.0)
Requires-Dist: drf-writable-nested (==0.7.0)
Requires-Dist: psycopg (>=3.2.6,<4.0.0)
Requires-Dist: setuptools (>=75.0)
Requires-Dist: twine (>=4.0.0,<7.0)
Requires-Dist: wheel (>=0.42.0,<1.0)
Project-URL: Documentation, https://github.com/CareFusion365/dfhir
Project-URL: Repository, https://github.com/CareFusion365/dfhir
Description-Content-Type: text/markdown

# Dfhir (Django FHIR) API

Dfhir is a Django-based FHIR (Fast Healthcare Interoperability Resources) server designed to provide a robust and scalable solution for managing healthcare data.
It leverages Django's powerful ORM and REST framework to implement FHIR-compliant APIs. It currently implements FHIR v5.
This project is in its early stages and is not yet production-ready.

## Features

- **FHIR Resource Management**: Supports FHIR resources with Django models.
- **Django REST Framework Integration**: Provides RESTful APIs for FHIR resources.
- **PostgreSQL Support**: Uses `psycopg` for PostgreSQL database integration.


## Requirements

- Python 3.11 or higher
- Django 5.0 or higher
- PostgreSQL(support to make this DB agnostic will be added in the future)

## Installation

```bash
pip install dfhir
```


## Usage

Add dfhir to your Django project's `INSTALLED_APPS`:

```python
INSTALLED_APPS = [
    ...,
    'dfhir.base',
    'dfhir.organization',
    ...
]
```

To use the views provided by dfhir, include the URLs in your project's `urls.py`:

```python
from django.urls import path, include

urlpatterns = [
    ...,
    path('api', include("dfhir.organizations.urls")),
    path('api', include("dfhir.locations.urls")),
    ...
]
```

