Compliance Planner
Plan privacy, research, regulatory, and governance requirements for a digital health product in a framework-agnostic way.
When to Use
Use this skill when you need to:
- assess whether a product handles regulated health or research data
- prepare for HIPAA, IRB, FDA, GDPR, or institutional review conversations
- define consent, retention, export, deletion, and audit expectations
- identify compliance work that should shape product scope early
Working Style
Do not jump straight to controls. First understand:
- product purpose
- who the users are
- whether the product is clinical care, research, wellness, operations, or education
- what data is collected, derived, shared, or exported
- which regions, institutions, and partners are involved
Then produce a concise compliance planning brief with assumptions, risks, open questions, and recommended next steps.
Core Questions
Ask about:
- intended use and claims
- user groups such as patients, participants, clinicians, coordinators, or caregivers
- data types collected, inferred, uploaded, or connected from external systems
- whether the product supports research, quality improvement, or direct care
- data storage, processing, and sharing locations
- third-party vendors and subprocessors
- admin access, audit needs, and incident response expectations
- export, deletion, correction, and retention requirements
Compliance Areas To Review
HIPAA and Institutional Privacy
Check whether the product likely handles protected health information or institution-controlled data.
Review:
- what identifiers are present
- who is a covered entity or business associate
- minimum necessary access expectations
- workforce, admin, and support access boundaries
- logging, monitoring, and breach response needs
Research and IRB
If the product supports a study, review:
- study purpose and protocol maturity
- recruitment and consent approach
- risk level and participant burden
- withdrawal process
- de-identification or anonymization approach
- data sharing and secondary use plans
If digital-health-study-planning also runs, it owns the participant-facing consent and enrollment flow; this skill owns the regulatory requirements those flows must satisfy. Coordinate rather than duplicate.
FDA and Product Claims
Evaluate whether the product may be treated as software with medical-device implications.
Ask:
- does it diagnose, recommend treatment, monitor for intervention, or drive clinical action
- are outputs informational, advisory, or action-triggering
- what happens if the product is wrong, unavailable, or delayed
GDPR and Cross-Border Privacy
If EU or UK users may be involved, review:
- lawful basis
- consent and withdrawal mechanics
- subject rights handling
- transfer mechanisms
- retention, deletion, and processing-record expectations
Planning Outputs
Produce a brief with these sections and save it as docs/planning/compliance-brief.md in the project repository:
1. Scope Summary
- product purpose
- user groups
- jurisdictions and institutions
- data categories in scope
2. Likely Compliance Domains
Mark each as likely, possible, or unlikely:
- HIPAA or institutional privacy
- IRB or human subjects review
- FDA or software-as-medical-device review
- GDPR or other regional privacy obligations
- security review by enterprise or academic partners
3. Key Risks
Call out the highest-risk issues, such as:
- unclear product claims
- unnecessary data collection
- missing consent boundaries
- unclear vendor or data-sharing relationships
- lack of export, deletion, or audit processes
4. Required Decisions
List decisions the team must make soon, for example:
- exact data categories to collect
- whether identifiable data is actually required
- whether the product is research, care delivery, or wellness
- retention timelines
- who can access what data and why
5. Recommended Controls
Express these as implementation-neutral capabilities, not code:
- access control and least privilege
- encryption in transit and at rest
- audit logging
- consent capture and versioning
- export and deletion workflows
- vendor review and data processing agreements
- documented retention and incident response procedures
Important Guardrails
- Do not present legal conclusions as certainties.
- Distinguish clearly between product guidance and legal advice.
- Prefer “you likely need to evaluate” over “you must” unless the requirement is explicit and well established.
- Flag when local counsel, compliance officers, IRB staff, or institutional privacy teams should review the plan.
Checklist
1---2name: digital-health-compliance-planning3description: Plan healthcare privacy, research, and regulatory compliance for a digital health product, including HIPAA, IRB, FDA, GDPR, governance, and operational controls.4---56<!--7This source file is part of the Stanford Spezi open-source project.8SPDX-FileCopyrightText: 2026 Stanford University and the project authors (see CONTRIBUTORS.md)9SPDX-License-Identifier: MIT10-->1112# Compliance Planner1314Plan privacy, research, regulatory, and governance requirements for a digital health product in a framework-agnostic way.1516## When to Use1718Use this skill when you need to:19- assess whether a product handles regulated health or research data20- prepare for HIPAA, IRB, FDA, GDPR, or institutional review conversations21- define consent, retention, export, deletion, and audit expectations22- identify compliance work that should shape product scope early2324## Working Style2526Do not jump straight to controls. First understand:27281. product purpose292. who the users are303. whether the product is clinical care, research, wellness, operations, or education314. what data is collected, derived, shared, or exported325. which regions, institutions, and partners are involved3334Then produce a concise compliance planning brief with assumptions, risks, open questions, and recommended next steps.3536## Core Questions3738Ask about:3940- intended use and claims41- user groups such as patients, participants, clinicians, coordinators, or caregivers42- data types collected, inferred, uploaded, or connected from external systems43- whether the product supports research, quality improvement, or direct care44- data storage, processing, and sharing locations45- third-party vendors and subprocessors46- admin access, audit needs, and incident response expectations47- export, deletion, correction, and retention requirements4849## Compliance Areas To Review5051### HIPAA and Institutional Privacy5253Check whether the product likely handles protected health information or institution-controlled data.5455Review:5657- what identifiers are present58- who is a covered entity or business associate59- minimum necessary access expectations60- workforce, admin, and support access boundaries61- logging, monitoring, and breach response needs6263### Research and IRB6465If the product supports a study, review:6667- study purpose and protocol maturity68- recruitment and consent approach69- risk level and participant burden70- withdrawal process71- de-identification or anonymization approach72- data sharing and secondary use plans7374If `digital-health-study-planning` also runs, it owns the participant-facing consent and enrollment flow; this skill owns the regulatory requirements those flows must satisfy. Coordinate rather than duplicate.7576### FDA and Product Claims7778Evaluate whether the product may be treated as software with medical-device implications.7980Ask:8182- does it diagnose, recommend treatment, monitor for intervention, or drive clinical action83- are outputs informational, advisory, or action-triggering84- what happens if the product is wrong, unavailable, or delayed8586### GDPR and Cross-Border Privacy8788If EU or UK users may be involved, review:8990- lawful basis91- consent and withdrawal mechanics92- subject rights handling93- transfer mechanisms94- retention, deletion, and processing-record expectations9596## Planning Outputs9798Produce a brief with these sections and save it as `docs/planning/compliance-brief.md` in the project repository:99100### 1. Scope Summary101102- product purpose103- user groups104- jurisdictions and institutions105- data categories in scope106107### 2. Likely Compliance Domains108109Mark each as `likely`, `possible`, or `unlikely`:110111- HIPAA or institutional privacy112- IRB or human subjects review113- FDA or software-as-medical-device review114- GDPR or other regional privacy obligations115- security review by enterprise or academic partners116117### 3. Key Risks118119Call out the highest-risk issues, such as:120121- unclear product claims122- unnecessary data collection123- missing consent boundaries124- unclear vendor or data-sharing relationships125- lack of export, deletion, or audit processes126127### 4. Required Decisions128129List decisions the team must make soon, for example:130131- exact data categories to collect132- whether identifiable data is actually required133- whether the product is research, care delivery, or wellness134- retention timelines135- who can access what data and why136137### 5. Recommended Controls138139Express these as implementation-neutral capabilities, not code:140141- access control and least privilege142- encryption in transit and at rest143- audit logging144- consent capture and versioning145- export and deletion workflows146- vendor review and data processing agreements147- documented retention and incident response procedures148149## Important Guardrails150151- Do not present legal conclusions as certainties.152- Distinguish clearly between product guidance and legal advice.153- Prefer “you likely need to evaluate” over “you must” unless the requirement is explicit and well established.154- Flag when local counsel, compliance officers, IRB staff, or institutional privacy teams should review the plan.155156## Checklist157158- [ ] Product purpose and claims clarified159- [ ] User groups and jurisdictions identified160- [ ] Data categories and sharing paths mapped161- [ ] Research and clinical context assessed162- [ ] Likely compliance domains identified163- [ ] High-risk gaps called out164- [ ] Required decisions listed165- [ ] Recommended controls framed without platform-specific implementation details