# 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")),
...
]
```
Raw data
{
"_id": null,
"home_page": "https://github.com/CareFusion365/dfhir",
"name": "dfhir",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "fhir, server, healthcare",
"author": "Carefusion",
"author_email": "carefusion365@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c1/95/e0ec1f714ee66d886ead8a0002334c05faa6f55b6e938ed7098753aac97a/dfhir-0.1.0a21.tar.gz",
"platform": null,
"description": "# Dfhir (Django FHIR) API\n\nDfhir is a Django-based FHIR (Fast Healthcare Interoperability Resources) server designed to provide a robust and scalable solution for managing healthcare data.\nIt leverages Django's powerful ORM and REST framework to implement FHIR-compliant APIs. It currently implements FHIR v5.\nThis project is in its early stages and is not yet production-ready.\n\n## Features\n\n- **FHIR Resource Management**: Supports FHIR resources with Django models.\n- **Django REST Framework Integration**: Provides RESTful APIs for FHIR resources.\n- **PostgreSQL Support**: Uses `psycopg` for PostgreSQL database integration.\n\n\n## Requirements\n\n- Python 3.11 or higher\n- Django 5.0 or higher\n- PostgreSQL(support to make this DB agnostic will be added in the future)\n\n## Installation\n\n```bash\npip install dfhir\n```\n\n\n## Usage\n\nAdd dfhir to your Django project's `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = [\n ...,\n 'dfhir.base',\n 'dfhir.organization',\n ...\n]\n```\n\nTo use the views provided by dfhir, include the URLs in your project's `urls.py`:\n\n```python\nfrom django.urls import path, include\n\nurlpatterns = [\n ...,\n path('api', include(\"dfhir.organizations.urls\")),\n path('api', include(\"dfhir.locations.urls\")),\n ...\n]\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Django fhir server.",
"version": "0.1.0a21",
"project_urls": {
"Documentation": "https://github.com/CareFusion365/dfhir",
"Homepage": "https://github.com/CareFusion365/dfhir",
"Repository": "https://github.com/CareFusion365/dfhir"
},
"split_keywords": [
"fhir",
" server",
" healthcare"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "56155cbb5c414ef486f8d3e92ae455a046103a47e820fb3002f344d676511a17",
"md5": "3247af79a97fdca571b5ea956682e565",
"sha256": "0b16e1a29c5b43c4e0884ec435f4d298b0d0f45c449166b0725bf9bcb329b6c1"
},
"downloads": -1,
"filename": "dfhir-0.1.0a21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3247af79a97fdca571b5ea956682e565",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 1311993,
"upload_time": "2025-08-28T12:18:57",
"upload_time_iso_8601": "2025-08-28T12:18:57.750094Z",
"url": "https://files.pythonhosted.org/packages/56/15/5cbb5c414ef486f8d3e92ae455a046103a47e820fb3002f344d676511a17/dfhir-0.1.0a21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c195e0ec1f714ee66d886ead8a0002334c05faa6f55b6e938ed7098753aac97a",
"md5": "da1aeb7437efd98b4cb31222e4e8fcfb",
"sha256": "5e2b2cd615cfe90204385955ec7f9a73644dcc5b27cad3aa7daf3c063aeb2f0c"
},
"downloads": -1,
"filename": "dfhir-0.1.0a21.tar.gz",
"has_sig": false,
"md5_digest": "da1aeb7437efd98b4cb31222e4e8fcfb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 968611,
"upload_time": "2025-08-28T12:19:03",
"upload_time_iso_8601": "2025-08-28T12:19:03.204431Z",
"url": "https://files.pythonhosted.org/packages/c1/95/e0ec1f714ee66d886ead8a0002334c05faa6f55b6e938ed7098753aac97a/dfhir-0.1.0a21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-28 12:19:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "CareFusion365",
"github_project": "dfhir",
"github_not_found": true,
"lcname": "dfhir"
}