healthcare-phi-compliance

Implement PHI and PII protection with row-level security and audit logging.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/vrcms/everything-qwen-code --skill healthcare-phi-compliance-vrcms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthcare-phi-compliance
Source: https://github.com/vrcms/everything-qwen-code/tree/main/.qwen/skills/healthcare-phi-compliance
Command: npx skills add https://github.com/vrcms/everything-qwen-code --skill healthcare-phi-compliance-vrcms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical challenge of protecting sensitive patient and clinical data by providing standardized patterns for data classification, access control, and audit logging in healthcare applications.

Core Features & Use Cases

  • Data Classification: Clearly distinguishes between Protected Health Information (PHI) and non-patient sensitive data (PII) to ensure appropriate handling.
  • Access Control: Implements Row-Level Security (RLS) policies to ensure multi-tenant data isolation and role-based access.
  • Audit Trails: Provides templates for tamper-proof logging of all data access and modification events.
  • Use Case: Use this skill when designing database schemas or API endpoints to ensure that patient records are isolated by facility and that every interaction is logged for compliance audits.

Quick Start

Apply the healthcare-phi-compliance patterns to my current database schema to enforce row-level security and audit logging for all patient records.

Frequently Asked Questions about healthcare-phi-compliance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement row-level security for HIPAA compliant healthcare databases?

Row-level security for HIPAA compliant healthcare databases is implemented through policies that enforce multi-tenant data isolation and role-based access. This ensures patient records are isolated by facility, preventing unauthorized exposure of Protected Health Information across tenants.

What is the best way to set up tamper-proof audit logging for PHI access?

Tamper-proof audit logging for PHI access requires standardized templates that record all data access and modification events. This mechanism ensures every interaction with protected health information is securely logged for compliance audits under HIPAA and GDPR regulations.

How do I classify Protected Health Information versus non-sensitive data in healthcare software?

Classifying Protected Health Information versus non-sensitive data involves distinguishing PHI from non-patient personally identifiable information. This classification ensures appropriate handling patterns are applied to sensitive patient data, preventing exposure of clinical identifiers in healthcare software systems.

Can I use these HIPAA and GDPR compliance patterns for multi-tenant healthcare application schemas?

Yes, you can use these HIPAA and GDPR compliance patterns for multi-tenant healthcare application schemas. The patterns enforce row-level security policies to isolate patient records by facility and provide tamper-proof audit logging suitable for multi-tenant environments.

How do I prevent the exposure of sensitive patient identifiers in API endpoints?

Preventing the exposure of sensitive patient identifiers in API endpoints requires implementing strict data handling and error reporting mechanisms. These compliance patterns ensure all data processing strictly prevents the leakage of Protected Health Information during API interactions.