Architecture decision records (ADRs)
ADRs live in docs/architecture/adr/. Key platform decisions:
| ADR | Decision |
|---|---|
| 0002 | Single Cloud Function for the API (ADR-0012 is a scoped exception) |
| 0006 | Facility presets, specialty packs & module registry |
| 0007 | Tenant = legal entity; group overlay; pooled/bridge/silo tiers |
| 0008 | Global accounts + memberships |
| 0009 | Patient identity: UHID, duplicate policy, tokenized MPI |
| 0010 | Templates = restricted JSON Schema + uiSchema |
| 0011 | Clinical document lifecycle & e-signature |
| 0012 | Server HTML + Chromium PDF on Cloud Run |
| 0013 | Polyglot persistence |
| 0014 | Query discipline: cursor pagination & declared indexes |
| 0015 | Consent broker & cross-tenant exchange |
| 0016 | Permission-based RBAC with facility/department scope |
| 0017 | Internal model + versioned FHIR/ABDM adapter |
| 0018 | i18next + terminology layer |
| 0019 | Offline PWA scope |
| 0020 | AI assist |
| 0021 | Docs-as-code with Docusaurus |
| 0022 | Terraform IaC + WIF + environment projects |
The full, always-current index is in the architecture README.