Skip to content

Healthcare Infrastructure as a Service: backend api for UI services to integrate location-aware consultation and diagnostics facilities for patient centric services

License

Notifications You must be signed in to change notification settings

Xcov19/project-healthcare

Repository files navigation

XCoV19

Deploy to Render Newsletter

Repo metadata

Staged CI GitHub tag License issues - project-healthcare GitHub pull requests

What is it

xcov19_demo_ezgif-3-0edbb84875

Documentation

view - Documentation

License

Released under LGPL-2.1 by @Xcov19.

Project Healthcare (xcov19)

Project Healthcare, from hereon called the brokering service, is a set of upstream OpenAPI specification to extend any patient facing user interface looking to integrate to location-aware consultation and diagnostics facilities near them by:

  1. Exposing a diagnosis API to capture patient symptoms.
  2. Exposing geolocation API to caputure patient's location and offer nearby facilities to take action on based on their diagnosis and location.

Extensible and Open

Unlock advanced healthcare integration without the enterprise price tag. Connect systems, personalize care, and reach underserved communities with ease. Built using modified project template for BlackSheep web framework to start Web APIs, the project structure adheres blacksheep's domain and infrastructure segregation philosophy. It naturally fits the domain driven design philosophy using ports and adapters pattern so expect slight shift towards domain models and services structure.

The specification follows a sandwich service model i.e. it requires one or more upstream producer services and one downstream consumer service as follows:

  1. The patient facing application, known from hereon as the downstream consumer service, calls the diagnosis and geolocation API.
  2. The brokering service stores transient diagnosis request and enqueues them to upstream provider service that should return records of facilities and their specialties based on the diagnosis.
  3. The brokering service returns the records of matching facilities to the downstream consumer service.

Revolutionizing Healthcare Integration for Communities

All-in-one, affordable, and scalable health integration platform tailored for small to medium-sized businesses (SMBs) and rural healthcare providing Advanced Integration, Personalized Care and Scalable Solutions.

Feature Healthcare Infrastructure Service Competitors
Remote Patient Monitoring Limited/None
EHR/EMR Integration ✔ (Enterprise solutions)
Data Normalization, Anonymization and Aggregation Limited/None
Rural Healthcare First ✔ (Limited focus)
Personalized Patient Journeys and Engagement Limited/None
Developer-Friendly APIs ✔ (Enterprise solutions only)
Cost Freemium to Affordable High Enterprise Pricing

What Sets Us Apart?

Unlike other platforms, HIS combines advanced features in one solution, delivering exceptional healthcare services without the complexity or high costs.

Getting started

For Linux and Mac

  1. create a Poetry virtual environment using python version in pyproject.toml
  2. poetry install --no-root --with=dev
  3. Run in development environment: make run

For IDX

  1. poetry use env python3.12
  2. make run

Deploy

To test the instance on render, set the following environment variables:

PYTHON_VERSION=3.12.4
PORT=44777

Sandbox for reference

A reference instance exists on Render

See Deploy to spin up your own instance.

Contributing

See CONTRIBUTING

Project Management

See Projects

TODOs:

  • Add standard documentation in README.md
  • Add Getting Started · Learn the Basics, Community and Support links. A contributor must know what the high level UML / block level diagram of this ecosystem looks like.
  • Strategic roadmap
  • CONTRIBUTING.md file
  • Add routes logic
  • Add domain entity and aggregate business logic
  • Add unit tests against services
  • Containerization
  • Adding fast and long running test pipeline in github CI for PRs: All unit tests are to be marked fast. All automated Integration and Automation tests are long running.
  • CI/CD: Building and hosting staged and prod instance. I have shortlisted on few easy to deploy PaaS. We earlier used GCP but have moved away from al major cloud platforms.
  • Add services for patient and provider
  • Add OpenAPI endpoints for services
  • Add datastore integration to services
  • Add API test suite for endpoints

Background

85% of the world's population is in the Emerging Market, of which the majority of single nationality is in India with >700Mn+ smartphone users. Still, as of 2021, we ranked at the very top in the number of neglected tropical diseases cases requiring treatment that included Malaria, Dengue, Chikungunya amongst others: image info

Despite technological advancements and introduction of PM-JAY:

  1. 70% of the Indian healthcare being private, ~70% out of them run on pen and paper and are technically challenged in adapting to the fast changing digital infra landscape thus impeding the ease of operations for OPD and in-patient registration, triage and treatment.
  2. 43% of Indian population including financially underprivileged sections of our society lack basic healthcare awareness. There is a huge demographic divide that dictates the quality of medical care and consultation in our country that can be availed. This is despite technological advancements and India positioning itself as a welfare state. (The Out of Pocket expenditure for the middle class has significantly risen but that is not in the scope of this topic.)
  3. Additionally, UN Sustainability Goals scores India somewhere in the lower bounds of 60-80 out of 100 in terms of healthcare serviceability index.(UN SDG 3.8.1)

With alot of avenues today in the identity, payments, and data ecosystem pioneered by NPCI and further extended by Bekn protocol, governed by FIDE, in OCEN, ONDC and Open Mobility space, National health authority too has been working on Unified Healthcare Interface for sometime building the Indian Health Stack integrating turn-key healthtech private solutions with ABDM.

Just like many applications being built on top of this layer for the identify, mobility, ecommerce & trade and fintech segments, there are 2 use cases to build an opensource commons platform upon Bharat Health Stack:

  • Solve unnecessary resource utilisation: Fix disproportionate allocation of resource constraints faced due to operational inefficiency across healthcare facilities.
  • Reduce wait times for dissatisfied patients: Provide reduced wait times for consultation and out-patient services for at-risk patients by fixing inconsistent distribution of patient influx. This happens because patients are not aware of all the possible options (Think zomato of healthcare)

A public and open solution to these use cases makes sense because:

  1. Much of the government's ABDM components are built in the open
  2. Many proponents of OSS have been building such systems such as Healthstack system in Bangladesh.
  3. By building out an opensource version, it makes sense to verify, audit and get feedback faster, build faster and better, aligned to the common's need.
  4. And truly be transparent.

Powered and Supported generously by

Previously supported as Hollie’s Hub for Good project

DO_Powered_by_Badge_blue

Helpful Engineering

Logo_v1205_3

Logo_MyHealthConnect_v2

About

Healthcare Infrastructure as a Service: backend api for UI services to integrate location-aware consultation and diagnostics facilities for patient centric services

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published