Skip to main content

Django fhir server.

Project description

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

pip install dfhir

Usage

Add dfhir to your Django project's INSTALLED_APPS:

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

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

from django.urls import path, include

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dfhir-0.1.0a21.tar.gz (968.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dfhir-0.1.0a21-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file dfhir-0.1.0a21.tar.gz.

File metadata

  • Download URL: dfhir-0.1.0a21.tar.gz
  • Upload date:
  • Size: 968.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.6.0

File hashes

Hashes for dfhir-0.1.0a21.tar.gz
Algorithm Hash digest
SHA256 5e2b2cd615cfe90204385955ec7f9a73644dcc5b27cad3aa7daf3c063aeb2f0c
MD5 da1aeb7437efd98b4cb31222e4e8fcfb
BLAKE2b-256 c195e0ec1f714ee66d886ead8a0002334c05faa6f55b6e938ed7098753aac97a

See more details on using hashes here.

File details

Details for the file dfhir-0.1.0a21-py3-none-any.whl.

File metadata

  • Download URL: dfhir-0.1.0a21-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.6.0

File hashes

Hashes for dfhir-0.1.0a21-py3-none-any.whl
Algorithm Hash digest
SHA256 0b16e1a29c5b43c4e0884ec435f4d298b0d0f45c449166b0725bf9bcb329b6c1
MD5 3247af79a97fdca571b5ea956682e565
BLAKE2b-256 56155cbb5c414ef486f8d3e92ae455a046103a47e820fb3002f344d676511a17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page