# 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/e6/0d/b859628a64aeab5441dd18d8cecfddf18166ea0fc22be4557cb1baf09abc/dfhir-0.1.0a19.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.0a19",
"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": "9b271e77550279c7f11d6851de152681ddf749065ae3ec839e7be50c68fd70ff",
"md5": "8c9eb553cd524ecd64a6fd4598b53bc4",
"sha256": "1231e1a96be98410ec367da95d0d59b489ba478ca3656c72905055f4cb725a07"
},
"downloads": -1,
"filename": "dfhir-0.1.0a19-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8c9eb553cd524ecd64a6fd4598b53bc4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 1309734,
"upload_time": "2025-07-22T22:24:01",
"upload_time_iso_8601": "2025-07-22T22:24:01.285279Z",
"url": "https://files.pythonhosted.org/packages/9b/27/1e77550279c7f11d6851de152681ddf749065ae3ec839e7be50c68fd70ff/dfhir-0.1.0a19-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e60db859628a64aeab5441dd18d8cecfddf18166ea0fc22be4557cb1baf09abc",
"md5": "e520a4d836a419d9bc8e781474166169",
"sha256": "f9c6e9708535b51157fc26462147ce91388fd81959107a2948a4f46b4b7f8b77"
},
"downloads": -1,
"filename": "dfhir-0.1.0a19.tar.gz",
"has_sig": false,
"md5_digest": "e520a4d836a419d9bc8e781474166169",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 967577,
"upload_time": "2025-07-22T22:24:06",
"upload_time_iso_8601": "2025-07-22T22:24:06.446713Z",
"url": "https://files.pythonhosted.org/packages/e6/0d/b859628a64aeab5441dd18d8cecfddf18166ea0fc22be4557cb1baf09abc/dfhir-0.1.0a19.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-22 22:24:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "CareFusion365",
"github_project": "dfhir",
"github_not_found": true,
"lcname": "dfhir"
}