Open-source FHIR R4 and compliance SDK for India's ABDM health network. Published to PyPI, Apache 2.0 licensed.
The problem. A clinic in rural Andhra Pradesh wants to send a discharge summary to a hospital in the next district. Between them sits ABDM: ABHA identity, consent artefacts, encrypted exchange, and a gateway with strict async callback contracts. A two-person team can't build all of that before they build the thing they actually set out to build.
What I built. A Python SDK covering the whole path: ABHA identity, HIP/HIU consent and data-exchange flows, FHIR R4 bundle builders, ECDH X25519 key exchange with AES-GCM encryption, gateway resilience through retries and circuit breakers, clinical templates across 12 medical domains, WhatsApp and AI-assisted clinical workflow helpers, and a compliance engine with rule packs for India, Australia, the US and the UK. India's ABDM adapter is the one that talks to a live network; the Australia, UK and US adapters expose identifier and formulary metadata and raise NotImplementedError on network calls. v1.0.0-alpha.3 on PyPI, Apache 2.0, 128 tests, CI on Python 3.10–3.12 with pytest, ruff, bandit and pip-audit.
One decision. Compliance returns blockers, not warnings. The compliance engine is a pre-flight check: purpose, lawful basis, encryption, residency, minimum-necessary sharing. Each failed check comes back as a blocker with a source URL, and the result only passes when the blocker list is empty. It would have been friendlier to emit warnings and let the caller proceed, but the failure mode you're designing against is an engineer shipping on a deadline, and a warning is something you ship past. Country rules live in swappable policy packs, so the same call site is legal in India and refuses in Australia when it should be.