healthcare-phi-compliance

Enforce PHI and PII compliance in healthcare applications with data classification, access control, audit trails, and encryption.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/ROYCE-8425/ai-marketing-hub --skill healthcare-phi-compliance-royce-8425
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthcare-phi-compliance
Source: https://github.com/ROYCE-8425/ai-marketing-hub/tree/main/skills/healthcare-phi-compliance
Command: npx skills add https://github.com/ROYCE-8425/ai-marketing-hub --skill healthcare-phi-compliance-royce-8425

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps maintain compliance with Protected Health Information (PHI) and Personally Identifiable Information (PII) in healthcare applications, addressing data classification, access control, audit trails, encryption, and leak prevention.

Core Features & Use Cases

  • Data Classification: Defines PHI and PII for sensitive healthcare data.
  • Access Control: Implements row-level security (RLS) to restrict access to data.
  • Audit Trails: Logs all access and modifications for security audits.
  • Use Case: A hospital system can use this Skill to ensure that only authorized staff can access patient records, while also tracking every interaction for accountability.

Quick Start

Initialize PHI/PII compliance for your database by running the 'init_compliance.py' script.

Frequently Asked Questions about healthcare-phi-compliance

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

FAQPage Schema
How do I enforce HIPAA compliance for PHI data in a healthcare application?

To enforce HIPAA compliance for PHI data, you need robust access control mechanisms, data classification, and audit logging. This Skill implements row-level security and tracks all data interactions to ensure only authorized staff access patient records.

What is the best way to implement row-level security for PII in healthcare databases?

Implementing row-level security for PII restricts data access based on user roles and authorization levels. This Skill defines data classification patterns and applies access control mechanisms to prevent unauthorized queries against sensitive patient records.

How do I set up audit trails for healthcare data access and modifications?

Setting up audit trails for healthcare data requires logging all access and modifications systematically. This Skill provides scripts to initialize compliance logging, ensuring every interaction with PHI is tracked for security audits and accountability.

Does this PHI compliance approach support GDPR and DISHA regulations alongside HIPAA?

Yes, this PHI compliance approach supports GDPR and DISHA regulations alongside HIPAA. It is designed for systems governed by multiple healthcare data protection regulations, covering encryption, leak prevention, and access control universally.

How do I prevent common data leaks when processing sensitive patient information?

Preventing data leaks when processing sensitive patient information involves applying encryption and strict access boundaries. This Skill covers common data leak prevention techniques alongside data classification to secure PHI and PII effectively.

What are the prerequisites for initializing PHI and PII compliance in a hospital system?

Initializing PHI and PII compliance requires a database environment that supports robust access control mechanisms and audit logging capabilities. You run the provided initialization script to set up data classification and security patterns for your hospital system.