A generalizable, audit-ready framework for clinical and research data architecture in healthcare systems.
From EHR source systems β Internal research environments β External collaborative networks
π Architecture Diagrams Β· ποΈ COBIT Framework Β· π Compliance Β· π― Interactive Visualization Β· π References
Lapaki is an open-source, industry-standard framework that maps the complete clinical and research data pipeline in healthcare organizations using only generic, broadly applicable classifications. No institution-specific names, proprietary system configurations, or identifiable patient health information (PHI) are referenced anywhere in this repository.
The framework is designed to be:
- Shareable β safe to present to external partners, regulators, and academic collaborators
- Auditable β every design decision is traceable to a published standard
- Reproducible β fully generic architecture replicable at any health system
- Governance-ready β aligned to COBIT 2019, HIPAA, NIST, and ISO 27001
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PHASE 1: OPERATIONAL & SOURCE β PHASE 2: INTERNAL β PHASE 3: EXTERNAL β
β β RESEARCH β COLLABORATIVE β
β EHR System βββΊ Operational DW β Integrated DW βββΊ CDM β Regional Hub βββΊ β
β Research Data Capture βββββββββββββββββΊβ De-ID Dataset β Academic Consortia β
β Claims & Payer Data βββββββββββββββββββΊβ Priority Cohorts β Industry Partners β
β Operational Self-Service βββββββββββββββ β Multi-Site Queries β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Lapaki/
βββ README.md β You are here
βββ LICENSE Apache 2.0
βββ SECURITY.md Security disclosure policy
βββ CONTRIBUTING.md Contribution guidelines + DCO
βββ CODE_OF_CONDUCT.md Contributor Covenant v2.1
βββ CHANGELOG.md Semantic versioning history
β
βββ .github/
β βββ ISSUE_TEMPLATE/
β β βββ bug_report.yml
β β βββ feature_request.yml
β β βββ compliance_issue.yml
β βββ PULL_REQUEST_TEMPLATE.md
β βββ workflows/
β βββ ci.yml Lint + diagram validation
β βββ compliance-audit.yml Automated compliance checks
β βββ branch-protection.yml Branch rule enforcement
β
βββ docs/
β βββ architecture/
β β βββ 01-swimlanes.md Mermaid swimlane diagrams (Γ4)
β β βββ 02-flowcharts.md Mermaid flowcharts (Γ5)
β β βββ 03-mindmap.md Full architecture mindmap
β β βββ 04-mindmap-notes.md Annotated compliance notes table
β βββ cobit/
β β βββ README.md COBIT 2019 overview
β β βββ 01-governance-system.md EDM01βEDM06
β β βββ 02-align-plan-organize.md APO01βAPO14
β β βββ 03-build-acquire.md BAI01βBAI11
β β βββ 04-deliver-service.md DSS01βDSS06
β β βββ 05-monitor-evaluate.md MEA01βMEA04
β β βββ 06-maturity-model.md 5-level maturity model (8 dimensions)
β β βββ 07-cobit-mermaid.md All COBIT Mermaid diagrams
β βββ compliance/
β β βββ README.md Compliance overview
β β βββ hipaa-safeguards.md Administrative/Physical/Technical
β β βββ hitech-requirements.md HITECH breach notification
β β βββ nist-800-53.md NIST controls mapped to pipeline
β β βββ iso-27001.md ISO 27001:2022 control mapping
β β βββ audit-checklist.md 10/10 audit-ready checklist
β βββ references/
β βββ bibliography.md Full bibliography with 3 cited papers
β
βββ visualizations/
β βββ README.md Visualization guide
β βββ health-data-architecture-framework.html β Interactive D3.js visualization
β
βββ governance/
βββ data-governance-policy.md Enterprise data governance policy
βββ access-control-matrix.md RBAC matrix for data access tiers
βββ data-classification-scheme.md PHI β De-ID β Public classification
βββ incident-response-plan.md HIPAA breach response SOP
| Standard | Version | Coverage | Status |
|---|---|---|---|
| HIPAA Privacy Rule | 45 CFR Β§164.500β534 | PHI handling, minimum necessary, patient rights | β Addressed |
| HIPAA Security Rule | 45 CFR Β§164.302β318 | Administrative, physical, technical safeguards | β Addressed |
| HIPAA Breach Notification | 45 CFR Β§164.400β414 | Incident response, HHS reporting timelines | β Addressed |
| HITECH Act | Pub.L. 111-5 | Enhanced enforcement, EHR incentives | β Addressed |
| NIST SP 800-53 Rev. 5 | 2020 | 20 control families mapped to pipeline | β Addressed |
| NIST SP 800-188 | 2023 | De-identification of healthcare data | β Addressed |
| ISO/IEC 27001:2022 | 2022 | 93 Annex A controls mapped | β Addressed |
| COBIT 2019 | 2018 | All 40 governance/management objectives | β Addressed |
| OMOP CDM | v5.4 | Common data model for research | β Referenced |
| PCORNet CDM | v6.1 | Patient-centered outcomes research network | β Referenced |
| HL7 FHIR | R4 (4.0.1) | Clinical interoperability standard | β Referenced |
| CDISC SDTM | v1.8 | Clinical trial data standard | β Referenced |
| FAIR Principles | 2016 | Findable/Accessible/Interoperable/Reusable | β Addressed |
| NIH Inclusion Policy | Rev. 2023 | Equitable research participation | β Referenced |
| Branch | Purpose | Protection Rules |
|---|---|---|
main |
Production-ready documentation | Require 1 reviewer, CI must pass, no force push |
develop |
Integration branch for completed features | CI must pass |
staging |
Pre-production validation environment | Mirrors main protection |
baseline |
Locked compliance audit baseline (v1.0.0) | No direct pushes after tag |
prototype |
Experimental features and drafts | No protection |
| Node | Classification | Primary Standard |
|---|---|---|
| EHR System | Source System | HL7 FHIR R4, HL7 v2, C-CDA |
| Operational Data Warehouse | Analytics Store | SQL Relational, Kimball Star Schema |
| Research Data Capture | External Input | CDISC ODM, HL7 FHIR Questionnaire |
| Claims & Payer Data | Administrative | X12 EDI 837/835, CMS CCLF |
| Operational Self-Service | Analytics Tool | SMART on FHIR, RBAC |
| Node | Classification | Primary Standard |
|---|---|---|
| Integrated Research Warehouse | Centralized DW | FAIR Principles, ISO 25012 |
| Common Data Model | Research Schema | OMOP CDM v5.4, PCORNet v6.1, i2b2 |
| De-Identified Research Dataset | PHI-Free | HIPAA 45 CFR Β§164.514(b), NIST SP 800-188 |
| Priority Population Cohorts | Limited Dataset | 45 CFR Β§164.514(e), NIH DUA |
| Node | Classification | Primary Standard |
|---|---|---|
| Regional/National Data Hub | Multi-Site Hub | PCORNet, OHDSI, NIH N3C |
| Multi-Site De-Identified Pool | PHI-Free Federated | NIH Certificate of Confidentiality |
| Academic Research Consortia | Academic Partner | NIH Grant Policy, IRB Auth Agreement |
| Clinical Trial & Industry Partners | Industry | ICH E6 GCP, FDA 21 CFR Part 11 |
| Multi-Site Query Platform | Self-Service | TriNetX, OHDSI Atlas, PopMedNet |
This framework is grounded in peer-reviewed literature:
-
Ohno-Machado, L. et al. (2014). pSCANNER: patient-centered Scalable National Network for Effectiveness Research. JAMIA, 21(4), 621β626. https://doi.org/10.1136/amiajnl-2014-002751 β Foundational OMOP multi-site integration and SOPs for secure enclave operations.
-
Toward integrated sleep health: multimodal AI governance (2026). PMC13000207. β Enterprise pipeline governance with dynamic-consent logging and automated privacy audits.
-
Chawla, M. et al. (2024). Toward Trustworthy AI Systems: A Converged Architecture for Governance, Reliability, and Automated Testing. IJETCSIT, 5(3). https://ijetcsit.org/index.php/ijetcsit/article/view/684 β Bridges technical pipelines with CMMI-level enterprise governance.
See
docs/references/bibliography.mdfor the full annotated bibliography.
The repository includes a fully interactive D3.js visualization of the complete data architecture:
File: visualizations/health-data-architecture-framework.html
Open the file directly in any modern browser β no server required.
Features:
- 14 nodes across all pipeline phases with phase-coded color system
- 15 directional edges with animated data-flow particles
- Click any node to highlight connected subgraph + view full compliance metadata
- Phase filter pills (Operational / Internal Research / External Collab)
- Node drag, zoom/pan, node search, label toggle
- Edge type legend (Primary Flow / De-Identification / Federation / etc.)
- Bottom standards watermark:
OMOP Β· PCORNet Β· i2b2 Β· HL7 FHIR Β· HIPAA Safe Harbor
# Clone the repository
git clone https://github.com/PxG-Studio/Lapaki.git
cd Lapaki
# View the interactive visualization
open visualizations/health-data-architecture-framework.html
# Browse COBIT framework documentation
open docs/cobit/README.md
# Review compliance audit checklist
open docs/compliance/audit-checklist.mdSee CONTRIBUTING.md. All contributions require a Developer Certificate of Origin (DCO) sign-off. Security vulnerabilities should be reported per SECURITY.md.
Apache License 2.0 β See LICENSE.
This framework contains no patient data, no PHI, and no institution-specific configurations. It is a generic reference architecture suitable for public sharing.