/healthcare-skills:health-data-lakefrom healthcare-skills
When the user wants to design, build, or operate a clinical / healthcare data lake, lakehouse, or warehouse. Use when the user mentions "health data lake," "clinical data warehouse," "healthcare lakehouse," "OMOP," "PCORnet CDM," "Sentinel CDM," "i2b2," "CMS BCDA," "OHDSI," "ATLAS," "HADES," "Athena vocabulary," "FHIR Bulk Data," "$export," "flat FHIR," "SQL-on-FHIR," "Pathling," "Epic Clarity," "Caboodle," "Cerner Millennium ETL," "EMPI," "data quality dashboard," "Achilles," "tokenization vault," "Delta Lake," "Iceberg," "bronze/silver/gold," "Unity Catalog," "Lake Formation," "Snowflake healthcare," "Databricks Lakehouse for Healthcare," or "HIPAA-eligible warehouse." For analytics on top of curated data, see population-health-analytics or clinical-research. For raw FHIR API integration, see fhir-integration. For HL7 v2 ingestion specifics, see hl7-v2.
Ships in healthcare-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in healthcare data lakes, lakehouses, and warehouses — ingesting EHR, claims, lab, pharmacy, imaging metadata, RPM, SDOH, and billing data; normalizing to a clinical CDM; resolving identities; standing up governance; and serving operational, regulatory, and research marts. You think medallion (raw → bronze → silver → gold), HIPAA-eligible compute, terminology normalization, and OHDSI-grade quality measurement. Do not invent vendor capabilities, CDM column names, or terminology mappings — point the reader to the OHDSI CDM spec, Athena, and vendor docs.
Check .agents/healthcare-context.md (fallback: .claude/healthcare-context.md) first. Useful sections:
If missing, ask just enough to scope the design.
| Domain | Typical feeds |
|---|---|
| EHR | FHIR R4 API, HL7 v2 (ADT, ORM, ORU, SIU, DFT, MDM), CDA, vendor ETL (Epic Clarity nightly / Caboodle, Oracle Health Data Intelligence, Cerner Millennium ETL), bulk FHIR $export |
| Claims | X12 837 (P/I/D) submitted, 835 remittance, 270/271 eligibility, 276/277 status, 278 prior auth, 834 enrollment, 999/TA1 acks; CMS BCDA for ACOs |
| Lab | HL7 v2 ORU^R01, FHIR Observation / DiagnosticReport, LIS extracts |
| Pharmacy | NCPDP SCRIPT, pharmacy benefit claims, MAR extracts |
| Imaging | DICOM headers (not pixels) to lake; FHIR ImagingStudy; orders/results via HL7 v2 |
| RPM / wearables | Vendor APIs (Fitbit, Apple HealthKit, Google Health Connect, Withings, Dexcom); FHIR Bulk Export from device clouds |
| SDOH | LOINC SDOH panels, Z-codes (ICD-10-CM Z55–Z65), PRAPARE, Gravity Project value sets |
| Billing / RCM | Encounter charges, AR aging, denials, contracts |
| Scheduling | Appointment slots, no-show, wait time |
| ADT | Real-time admit/discharge/transfer; basis for census and care management |
Capture provenance at ingest: source system, feed name, message control ID, ingest timestamp, file checksum. You will need it for every audit, every reconciliation.
$export — Patient/Group/System level; emits NDJSON (one resource per line) to a pre-signed storage location. Use a Group per population (panel, ACO, study). Watch since/_since for incremental.pyx12/badgerfish).| CDM | Owner | Primary use | Notes |
|---|---|---|---|
| OMOP CDM v5.4 | OHDSI | Research, RWE, observational studies | Largest community; rich tooling (ATLAS, HADES, Strategus) |
| PCORnet CDM v6 (verify current) | PCORI | Patient-centered comparative-effectiveness research | Used by PCORnet network |
| Sentinel CDM | FDA | Post-market drug/device surveillance | Distributed query model |
| i2b2 | Harvard / i2b2 tranSMART | Cohort discovery, clinical research | Star-schema EAV; older but widely deployed |
| CMS Virtual Research Data Center (VRDC) schemas | CMS | Medicare research | Access-restricted |
| Custom marts | Various | Operational, RCM, scheduling | Build only when no CDM fits |
Pick by primary use case and the consumer community. Many organizations land raw in a lake, build OMOP for research, and build a separate operational mart for hospital ops — sharing the bronze layer.
Map every coded element to OMOP standard vocabularies (or your chosen CDM's vocab set). Source: OHDSI Athena (https://athena.ohdsi.org).
Common mappings:
| Source coding | Target (OMOP standard) |
|---|---|
| ICD-10-CM / ICD-9-CM | SNOMED CT (Condition) |
| CPT / HCPCS | SNOMED / OMOP Procedure |
| LOINC | LOINC (measurements) |
| RxNorm / NDC | RxNorm (Drug) |
| Local lab codes | LOINC (after lab-specific mapping) |
| CVX | CVX (immunizations) |
Local coding (homegrown order codes, vendor flowsheet IDs) needs a maintained crosswalk. Treat that crosswalk as a tracked artifact, not a one-off ETL constant. See terminology-services.
The single biggest data-quality risk in a health lake is patient duplication and over-merging.
Common commercial EMPIs include Verato, Lyniate (NextGate), and others — verify current capabilities. Open-source: OpenEMPI, MPI from FHIR's $match.
Quality measure — track pairwise F1 on a labeled gold set. Watch for:
EMPI runs early in the pipeline so every downstream join uses the enterprise patient ID (sometimes called EUPI / EID), not source MRN.
Document the expected acceptable defect rate per dataset and per use case. Research RWE has higher tolerance than billing reconciliation.
Bronze (raw, append-only)
├── ehr/fhir/{resource}/yyyy=...mm=...dd=.../*.ndjson
├── ehr/hl7v2/{message_type}/yyyy=.../*.hl7
├── claims/x12/837/yyyy=.../*.edi
└── devices/{vendor}/yyyy=.../*.json
Silver (cleaned, conformed, deduped, EMPI-linked)
├── patient, encounter, observation, condition, medication, procedure
└── claim_header, claim_line, member, provider
Gold (consumption-ready, aggregated, modeled)
├── omop_cdm/
├── pcornet_cdm/
├── operational/{readmission, los, throughput}
└── vbc/{tcoc, quality_measures, attribution}
Storage formats: Delta Lake (Databricks-native, broad support), Apache Iceberg (multi-engine, AWS-native via Glue), Apache Hudi (CDC-heavy patterns). All sit on object storage (S3, ADLS Gen2, GCS).
Confirm BAA scope for each service used (storage, compute, orchestration, notebooks, AI features) — not all sub-services are covered by default.
See hipaa-compliance and healthcare-cybersecurity.
See phi-handling.
$export) — operational standard for population extracts. NDJSON per resource type.ViewDefinition) that projects nested FHIR into SQL-friendly columns; lets analysts query FHIR with SQL.| Tool | Purpose |
|---|---|
| ATLAS | Web UI for cohort definition, characterization, incidence, patient-level prediction setup |
| WebAPI | REST backend for ATLAS |
| HADES | Health Analytics Data-to-Evidence Suite — R packages for analytics |
| CohortMethod | Comparative-effectiveness studies |
| PatientLevelPrediction | Standardized prediction-model pipeline |
| SelfControlledCaseSeries / CaseControl | Pharmacoepidemiology designs |
| Strategus | Module-based study orchestration for network studies |
| DQD / Achilles | Data quality and characterization |
| Eunomia | Synthetic OMOP for testing |
| Broadsea | Containerized OHDSI stack for quick deployment |
Adopt the OMOP CDM + at least DQD + ATLAS as a minimum viable research stack.
| Mart | Audience | Typical contents |
|---|---|---|
| Operational | Ops, finance, service-line leaders | Census, LOS, throughput, denials, AR, scheduling |
| Clinical quality | Quality teams | eCQMs, HEDIS, MIPS measures |
| Regulatory | Compliance, public health | UDS for FQHCs, MDR/registry submissions, CMS reporting |
| Research | Investigators, IRB-approved studies | OMOP / PCORnet / Sentinel views; de-identified LDS |
| Value-based care | ACO, population health | Total cost of care, attribution, gaps in care, risk adjustment |
| Payer analytics | Network, actuarial, UM | Utilization, cost benchmarks, network performance |
| ML feature store | Data science | Versioned, point-in-time-correct features |
Each mart should declare its refresh cadence, SLA, primary key grain, owner, and acceptable use.
$export outputs without meta.lastUpdated for incremental — re-ingesting everything every night.$export from EHR(s), HL7 v2 streams (ADT/ORU/ORM/SIU/DFT/MDM), X12 claims (837/835/270/271/278/834), lab LIS, pharmacy / NCPDP, device / wearable APIs, DICOM metadata, or all of the above?$match, or no enterprise patient ID yet?What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aks-builds/healthcareskills --plugin healthcare-skills41 skills in this plugin
/21-cfr-part-11When the user is building, validating, or auditing a computer system that creates, modifies, maintains, archives, retrieves, or transmits electronic records or applies electronic signatures in an FDA-regulated (GxP) context. Also use when the user mentions "21 CFR Part 11," "Part 11," "electronic records electronic signatures," "ERES," "GxP," "GLP," "GCP," "GMP," "GAMP 5," "CSV," "Computer Software Assurance," "CSA," "audit trail," "electronic signature manifestation," "closed system," "open system," "predicate rule," "EU Annex 11," or "validated system." For healthcare provider EHRs used for treatment (not GxP), see hipaa-compliance and audit-logging. For HITRUST or HIPAA generally, see hipaa-compliance./accessibility-healthcareWhen the user wants to design, build, audit, or remediate accessibility for healthcare apps and patient-facing systems. Also use when the user mentions "WCAG," "WCAG 2.2," "WCAG 3.0," "Silver," "Section 508," "ADA Title II," "ADA Title III," "Section 1557 accessibility," "EN 301 549," "VPAT," "ACR," "screen reader," "JAWS," "NVDA," "VoiceOver," "TalkBack," "ARIA," "axe-core," "Lighthouse accessibility," "color contrast," "keyboard navigation," "accessible forms," "accessible authentication," "accessible telehealth," "captions," "CART," "ASL routing," "audio description," "low vision," "high contrast mode," "accessible PDF," "older adult UX," or "disability access in healthcare." For plain language and reading level, see health-content-writing. For outreach orchestration, see patient-engagement.Other plugins' skills for the same job