{"id":51369177,"url":"https://github.com/peterkc/health-data-platform","last_synced_at":"2026-07-03T04:34:53.989Z","repository":{"id":364121492,"uuid":"1219334780","full_name":"peterkc/health-data-platform","owner":"peterkc","description":"AI-native workflow and governance layer for healthcare verticals — ambient capture, structured assessment (OASIS-E), human-in-the-loop review, EMR write-back. Home health first.","archived":false,"fork":false,"pushed_at":"2026-06-11T17:28:05.000Z","size":481,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-11T19:16:36.519Z","etag":null,"topics":["fastapi","fhir","healthcare","home-health","human-in-the-loop","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterkc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-23T19:16:00.000Z","updated_at":"2026-06-11T14:02:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/peterkc/health-data-platform","commit_stats":null,"previous_names":["peterkc/health-data-platform"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/peterkc/health-data-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkc%2Fhealth-data-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkc%2Fhealth-data-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkc%2Fhealth-data-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkc%2Fhealth-data-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterkc","download_url":"https://codeload.github.com/peterkc/health-data-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterkc%2Fhealth-data-platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35072644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","fhir","healthcare","home-health","human-in-the-loop","python"],"created_at":"2026-07-03T04:34:53.447Z","updated_at":"2026-07-03T04:34:53.977Z","avatar_url":"https://github.com/peterkc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Health Data Platform (HDP)\n\n[![CI](https://github.com/peterkc/health-data-platform/actions/workflows/test.yml/badge.svg)](https://github.com/peterkc/health-data-platform/actions/workflows/test.yml)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Python 3.13+](https://img.shields.io/badge/python-3.13%2B-blue.svg)](pyproject.toml)\n\n**AI-native workflow and governance layer for healthcare verticals.**\n\nHDP takes clinical documentation from ambient capture through structured\nassessment and human-in-the-loop review to EMR write-back, with the consent,\nprovenance, and audit primitives those workflows demand. Home health is the\nfirst vertical: OASIS-E assessments drafted by an LLM scribe, gated through\nconfidence-aware review, and synced to EMRs — including the many that expose\nno API. It is a reference architecture under active development; no real\npatient data is processed anywhere in this repository, and all fixtures are\nsynthetic.\n\nHDP is **not** a FHIR clinical data repository, and doesn't compete with one.\nPair it with a CDR such as [Medplum](https://github.com/medplum/medplum) or\nHAPI: HDP is the workflow that fills the CDR and the governance that controls\nwhat leaves it. The canonical record model treats FHIR R4 as a *projection* —\none output among several (IPS, OMOP) — rather than the storage shape. The\nbuild-vs-pair evaluation is recorded in the\n[FHIR surface research](https://github.com/peterkc/health-data-platform/blob/vault/research/fhir-surface.md).\n\n## Architecture\n\nThree layers, dependencies pointing strictly downward:\n\n```\n+--------------------------------------------------------------+\n|  Apps         composed deployables (home-health-scribe)      |\n+--------------------------------------------------------------+\n|  Verticals    domain workflows: OASIS-E assessment, ambient  |\n|               scribe, HITL review, EMR sync                  |\n+--------------------------------------------------------------+\n|  Platform     canonical records | consent | provenance |     |\n|  primitives   audit | identity | ingest | agent runtime      |\n+--------------------------------------------------------------+\n         FHIR R4 / IPS / OMOP are projections, not storage\n```\n\nThe platform layer is the governance spine: canonical domain records carrying\ntrust level and provenance, grant-based consent with 42 CFR Part 2 fail-closed\ncategory semantics, append-only audit, identity linkage, and an agent runtime\nwhose confidence scores feed the review queue. The vertical layer owns the\ndomain: OASIS-E modeled as first-class structured data, a\n`suggested → reviewed → accepted/edited/rejected` review state machine with a\nfinalize gate, and a transport-agnostic EMR adapter contract — HTTP APIs where\nthey exist, browser-level automation where they don't. Schemas and semantics\nare specified in the design corpus below; each package README labels its\nimplementation depth.\n\n## Quickstart\n\n```bash\ngit clone https://github.com/peterkc/health-data-platform.git\ncd health-data-platform\njust up       # Postgres 18 (pgvector) + Mongo 7; bootstraps .env on first run\njust verify   # lint + tests (CI mirror)\n```\n\n`just dev` (the composed home-health-scribe app) lands with the\n[make-it-run epic](https://github.com/peterkc/health-data-platform/issues/12).\n\n## Design research\n\nThe `vault` branch carries the design corpus — table designs (30-table DDL\nplan, uuidv7 keys), the consent model, FHIR surface evaluation,\ninteroperability research, and ADRs:\n[browse the vault branch](https://github.com/peterkc/health-data-platform/tree/vault).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterkc%2Fhealth-data-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterkc%2Fhealth-data-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterkc%2Fhealth-data-platform/lists"}