In an aidd repository, use when code touches FHIR, HL7, PHI, patient records, clinical data, medical devices, HIPAA, EHR integrations, SMART on FHIR, GxP, or clinical trials.
$npx -y skills add thaithienvanid/aidd --skill health --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Health?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thaithienvanid-health)
---
name: health
description: "In an aidd repository, use when code touches FHIR, HL7, PHI, patient records, clinical data, medical devices, HIPAA, EHR integrations, SMART on FHIR, GxP, or clinical trials."
---
<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->
# Health
## Scope
Applies when the change touches clinical or patient data, medical devices, GxP systems. Not when the product holds no health data, is no medical device, and keeps no GxP record. Neighbours: `aidd-domains:privacy-by-default`, `aidd-domains:enterprise-controls`, `aidd-team:incident-response`.
## Terms
- **PHI**: Health information that identifies a person, held by a covered entity or its business associate (US, HIPAA).
- **Covered entity and business associate**: The provider or plan, and the vendor that handles PHI for it under a business associate agreement (US, HIPAA).
- **Minimum necessary**: Use and disclose only the PHI the purpose needs (US, HIPAA).
- **Resource and profile**: A FHIR resource is the base type (Patient); a profile such as US Core constrains it.
- **Information blocking**: A practice that interferes with access to electronic health information, unless an exception applies (US, ONC).
## Standards
| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | US health privacy: HIPAA, 42 CFR Part 2, and the FTC Health Breach Notification Rule | 45 CFR Parts 160 and 164; 42 CFR Part 2; 16 CFR Part 318 | 2026-10-16 | <https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-C> |
| S2 | HL7 FHIR | R4 4.0.1 | 2026-10-16 | <https://hl7.org/fhir/> |
| S3 | HL7 US Core and SMART App Launch | US Core 9.0.0 (STU 9); SMART App Launch 2.2.0 | 2026-10-16 | <https://hl7.org/fhir/us/core/STU9/> |
| S4 | ONC HTI rules and information blocking, and the CMS payer API rule (CMS-0057-F) | HTI-1 to HTI-4 final rules; CMS-0057-F (2024) | 2026-10-16 | <https://healthit.gov/regulations/hti-rules/> |
| S5 | FD&C Act section 524B for cyber devices, with FDA's premarket cybersecurity guidance | Section 524B; premarket cybersecurity guidance, February 2026 | 2026-10-16 | <https://www.fda.gov/regulatory-information/search-fda-guidance-documents/cybersecurity-medical-devices-quality-management-system-considerations-and-content-premarket> |
| S6 | IEC 81001-5-1 security activities in the health software life cycle | IEC 81001-5-1:2021 | 2026-10-16 | <https://webstore.iec.ch/en/publication/63293> |
| S7 | IEC 62304 for medical device software, with ISO 14971 risk management | IEC 62304:2006 + A1:2015; ISO 14971:2019 | 2026-10-16 | <https://webstore.iec.ch/en/publication/22794> |
| S8 | FDA QMSR (21 CFR Part 820) and Computer Software Assurance | 21 CFR Part 820 (QMSR), ISO 13485:2016 by reference; CSA guidance, February 2026 | 2026-10-22 | <https://www.fda.gov/medical-devices/postmarket-requirements-devices/quality-management-system-regulation-qmsr> |
| S9 | EU health software: the MDR and IVDR for device software, and the European Health Data Space | Regulation (EU) 2017/745; Regulation (EU) 2017/746; Regulation (EU) 2025/327 | 2026-10-22 | <https://eur-lex.europa.eu/eli/reg/2025/327/oj> |
| S10 | Accessibility law: Section 504 and the ADA (US), and the EAA (EU) | Directive (EU) 2019/882 | 2026-10-16 | <https://eur-lex.europa.eu/eli/dir/2019/882/oj> |
## Dated obligations
| From | Obligation | Standard |
| --- | --- | --- |
| 2023-03-29 | A premarket submission for a cyber device includes the 524B items: a vulnerability monitoring plan, cybersecurity processes, and an SBOM. | S5 |
| 2026-01-01 | USCDI v3 is the certification baseline for certified health IT (HTI-1). | S4 |
| 2026-02-02 | The QMSR applies: device quality records follow 21 CFR Part 820, which incorporates ISO 13485:2016. | S8 |
| 2026-02-16 | US: the 2024 Part 2 rule for substance use disorder records applies. | S1 |
| 2027-01-01 | US: a payer CMS-0057-F names offers the Patient Access (with prior authorizations), Provider Access, Payer-to-Payer, and Prior Authorization APIs. | S4 |
| 2027-03-26 | EU: the European Health Data Space applies. Name the product's role in it. | S9 |
| 2027-05-11 | US Section 504: a recipient of HHS funding with 15 or more employees meets WCAG 2.1 AA on the web and in apps, and a smaller one by 2028-05-10. | S10 |
| 2029-03-26 | EU EHDS: an EHR system for patient summaries or ePrescriptions meets its requirements; images, test results, and discharge reports from 2031-03-26. | S9 |
## Invariants and missed cases
| Always true | The case a plan misses |
| --- | --- |
| Every access to PHI is logged: who, what, and why. | A batch export, a support user's impersonation, or a cached report. |
| A patient's access to their own records is never blocked or slowed. | A rate limit or a manual review on the patient-facing API. |
| Clinical data is amended, never silently changed. | Merging duplicate patient records without the history of each. |
| A value keeps its unit and its code (UCUM, LOINC, SNOMED CT). | A dose or a lab result stored as a bare number. |
## Checklist by loop step
| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | Clinical or patient data is `personal_data`: major, a privacy and compliance reviewer, a DPIA or HIPAA risk analysis. GxP software: references/life-sciences.md. | S1 |
| Before the first edit (`aidd risk --paths`) | Name whether the software is a medical device by its intended use (FDA's CDS and general wellness guidances in the US; MDR Rule 11 and MDCG 2019-11 in the EU), and its class. | S9, S8 |
| Specify | Minimum necessary data and access logging. The FHIR resources, US Core profiles, and SMART scopes each client gets. Device software's safety class (IEC 62304). | S1, S2, S3, S7 |
| Specify | A certified API or a patient's access request is never blocked or slowed without an information blocking exception, recorded (45 CFR Part 171). | S4 |
| Implement | PHI encrypted in transit and at rest; an audit log for every access; no PHI in logs, fixtures, or prompts. A US health app outside HIPAA reports a breach under the FTC rule. | S1 |
| Implement | Device software: the IEC 81001-5-1 activities (threat model, secure coding, security tests). For a cyber device, also an SBOM per release and a vulnerability monitoring and disclosure plan (524B). | S6, S5 |
| Implement | EU: an EHR system, or a wellness app claiming to work with one, meets the EHDS requirements, logging included. | S9 |
| Review | The hazard analysis (ISO 14971) is updated for the change; requirements trace to tests. | S7 |
| Review | Assurance follows the intended use's risk (CSA): scripted tests where a failure harms quality or safety, unscripted ones elsewhere; device software's records meet the QMSR. | S8 |
| Review | Patient-facing pages and apps meet WCAG 2.1 AA where Section 504 or the ADA reaches (US), and the EAA's standard in the EU. | S10 |
| Roll out | Access-log anomalies and errors on clinical paths are rollback triggers; the incident reporting path is known. | S1 |
## Test commands
| Command | Proves | How | Standard |
| --- | --- | --- | --- |
| FHIR validation | every produced resource validates against its profile | the HL7 FHIR validator (`validator_cli.jar`, 6.10.4) | S2 |
| SMART scope tests | a token without a scope reads nothing that scope guards, and each US Core read returns only its profile's data | integration tests per scope and per profile against a test FHIR server | S3 |
| PHI scan | no PHI in logs, fixtures, or outputs | Presidio (`presidio-analyzer` 2.2.364) or another scanner | S1 |
| Access-control tests | each role sees only its records | tests per role and per record | S1 |
| Traceability check | every requirement has a test | requirements and their tests linked in StrictDoc (`uvx strictdoc==0.30.1 export .`, failing on a link to a missing node), and a check that each requirement links a test | S7 |
- From `aidd-domains:enterprise-controls`: Dependency scan, Container scan and SBOM.
- From `aidd-team:threat-model`: Abuse-case tests.
- From `aidd-team:accessible-ui`: Accessibility per state.
## Owned elsewhere
- The HIPAA breach notification clock: `aidd-team:incident-response`.
## References
- [references/life-sciences.md](references/life-sciences.md): GxP software: the Part 11 and Annex 11 controls and their audit trail test, CSA, GAMP 5, CDISC, and the Annex 11 and Annex 22 drafts.
## Keep it current
Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.