Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Healthcare phi compliance

Protected Health Information (PHI) and PII compliance patterns for healthcare applications.

Free on GitHubLegal and lawyers

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: healthcare-phi-compliance
description: "Protected Health Information (PHI) and PII compliance patterns for healthcare applications: data classification, row-level access control, tamper-proof audit trails, schema tagging, and common leak vectors such as logs, URLs, and browser storage. Use when code touches patient or clinician data, when implementing HIPAA or GDPR access controls, or when auditing a healthcare system for data exposure."
metadata:
  version: "1.0.0"
  origin: Health1 Super Speciality Hospitals — contributed by Dr. Keyur Patel
---

# Healthcare PHI/PII Compliance Patterns

Patterns for protecting patient data, clinician data, and financial data in healthcare applications. Applicable to HIPAA (US), DISHA (India), GDPR (EU), and general healthcare data protection.

## When to Use

- Building any feature that touches patient records
- Implementing access control or authentication for clinical systems
- Designing database schemas for healthcare data
- Building APIs that return patient or clinician data
- Implementing audit trails or logging
- Reviewing code for data exposure vulnerabilities
- Setting up Row-Level Security (RLS) for multi-tenant healthcare systems

## How It Works

Healthcare data protection operates on three layers: **classification** (what is sensitive), **access control** (who can see it), and **audit** (who did see it).

### Data Classification

**PHI (Protected Health Information)** — any data that can identify a patient AND relates to their health: patient name, date of birth, address, phone, email, national ID numbers (SSN, Aadhaar, NHS number), medical record numbers, diagnoses, medications, lab results, imaging, insurance policy and claim details, appointment and admission records, or any combination of the above.

**PII (Non-patient-sensitive data)** in healthcare systems: clinician/staff personal details, doctor fee structures and payout amounts, employee salary and bank details, vendor payment information.

### Access Control: Row-Level Security

```sql
ALTER TABLE patients ENABLE ROW LEVEL SECURITY;

-- Scope access by facility
CREATE POLICY "staff_read_own_facility"
  ON patients FOR SELECT TO authenticated
...

From affaan-m's repository, MIT licence.

Related skills

  • Checked

    Wedding Contract Check

    Explains your venue, photographer or caterer contract in plain English and what cancelling costs on each date.

    by mohitagw15856 1.6k
    7/101 credit
  • Checked

    Venue Contract Review

    Reads a venue contract for hidden costs and cancellation dates, then lists the three terms worth negotiating.

    by mohitagw15856 1.6k
    7/101 credit
  • Checked

    DORA compliance

    Explains EU DORA rules on ICT risk, incidents and vendors for financial firms, so you know what applies.

    by Sushegaad 1.1k
    7/101 credit
  • Checked

    Care home contract check

    Reads a care home contract before a parent moves in and flags fee rises, eviction triggers and guarantor risk.

    by mohitagw15856 1.6k
    7/101 credit
  • Checked

    Legal Alert Action Checklist

    Turns a law firm alert or regulatory bulletin into a checklist of what you must do, sorted by deadline.

    by LegalQuants 164
    7/101 credit
  • Checked

    GDPR lawful basis

    Picks the right GDPR Article 6 lawful basis for each processing activity and documents why it applies.

    by mukul975 351
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added