PII Redaction Agent

Automates the redaction of PII in documents, replacing sensitive data with synthetic placeholders to maintain privacy.

About the Agent

The PII Redaction Agent is a powerful tool designed to help organizations manage sensitive data responsibly. This agent scans documents for personally identifiable information (PII), such as names, addresses, and contact numbers, and automatically redacts this information. Using generative AI, the agent can replace redacted data with synthetic placeholders, maintaining the document’s readability and coherence. By ensuring that sensitive information is hidden, this agent supports compliance with privacy regulations like GDPR and CCPA, making it ideal for industries that handle sensitive client or customer information, such as healthcare, finance, and legal sectors.


In addition to privacy protection, the PII Redaction Agent enhances operational efficiency by automating what would otherwise be a tedious, manual task. The agent accepts various document types, enabling seamless integration across departments with diverse document formats. The agent allows companies to securely share documents for analytics, reporting, or collaboration without risking data exposure by redacting and anonymizing sensitive data. This agent ensures compliance and helps build trust with clients by safeguarding their personal information.

Accuracy
TBD

Speed
TBD

Input Data Set

Sample of data set required for PII Redaction Agent:

Comprehensive Medical Report

Patient Information

  • Name: Katherine Johnson
  • Date of Birth: 1988-11-23
  • Gender: Female
  • Address: 452 Maple Lane, Denver, CO, 80211
  • Phone: (720) 555-4891
  • Email: k.johnson88@gmail.com
  • Patient ID: 83729145
  • Insurance Provider: Blue Cross Blue Shield
  • Policy Number: BCBS-00398457
  • Emergency Contact: Michael Johnson (Brother) - (303) 555-9381

Appointment Details

  • Visit Date: 2024-02-10
  • Physician: Dr. Jonathan Miller, MD
  • Department: Endocrinology
  • Clinic Location: University Hospital, Suite 402
  • Referral Source: Dr. Emily Carter (Primary Care Physician)
  • Reason for Visit: Follow-up on Type 2 Diabetes management and assessment of new symptoms, including fatigue and dizziness.

Medical History

  • Chronic Conditions:
    • Type 2 Diabetes Mellitus (diagnosed in 2015)
    • Hypertension (diagnosed in 2018)
    • Hypercholesterolemia (diagnosed in 2019)
    • Seasonal Allergies (diagnosed in 2005)
  • Past Surgeries:
    • Appendectomy (2002)
    • Cholecystectomy (2011)
    • Tonsillectomy (1995)
  • Family History:
    • Father: Type 2 Diabetes, Hypertension
    • Mother: Hypercholesterolemia, Osteoporosis
    • Sibling: None
  • Lifestyle Factors:
    • Smoker: Never
    • Alcohol Consumption: Rarely (1–2 drinks per month)
    • Physical Activity: Moderate (30 minutes walking daily)
    • Dietary Habits: High-carbohydrate diet; low vegetable intake

Current Medications

  • Prescribed:
    • Metformin 750mg twice daily
    • Lisinopril 10mg daily
    • Atorvastatin 20mg nightly
  • Over-the-Counter (OTC):
    • Vitamin D3 2000 IU daily
    • Aspirin 81mg daily (for cardiovascular protection)
  • Supplements:
    • Fish Oil 1000mg daily

Allergies

  • Drug Allergies: None reported
  • Food Allergies: None reported
  • Environmental Allergies: Dust mites, seasonal pollen

Clinical Observations

  • Vital Signs:
    • Blood Pressure: 150/95 mmHg (elevated)
    • Heart Rate: 82 bpm
    • Respiratory Rate: 16 breaths/minute
    • Weight: 78 kg (BMI: 27.5, overweight)
    • Height: 1.68 m (5’6”)
  • Physical Exam Findings:
    • Skin: No rashes or lesions; slight dryness observed on forearms
    • Eyes: Mild conjunctival pallor; no jaundice
    • Cardiovascular: Regular rate and rhythm, no murmurs or gallops
    • Lungs: Clear to auscultation bilaterally
    • Abdomen: Soft, non-tender; no hepatosplenomegaly
    • Extremities: No edema; pulses palpable and symmetric

Laboratory Results

Blood Tests

Test Result Reference Range
Fasting Glucose 240 mg/dL 70–99 mg/dL
HbA1c 8.7% <5.7%
Total Cholesterol 210 mg/dL <200 mg/dL
LDL Cholesterol 160 mg/dL <100 mg/dL
HDL Cholesterol 40 mg/dL >50 mg/dL (female)
Triglycerides 220 mg/dL <150 mg/dL
Hemoglobin 11.5 g/dL 12.0–15.5 g/dL
Creatinine 1.1 mg/dL 0.6–1.2 mg/dL
GFR 78 mL/min >90 mL/min
ALT (Liver Enzyme) 25 U/L 7–35 U/L

Imaging

  • Chest X-Ray: Normal findings
  • Abdominal Ultrasound: No abnormalities detected

Diagnosis

  • Primary Diagnosis: Poorly controlled Type 2 Diabetes Mellitus with evidence of hyperlipidemia and early nephropathy.
  • Secondary Concerns:
    • Suspected anemia (fatigue, pallor, low hemoglobin levels).
    • Persistent hyperlipidemia despite current statin therapy.

Treatment Plan

1. Medications

  • Increase Metformin dosage from 750mg to 1000mg twice daily.
  • Add Empagliflozin 10mg daily for improved glucose control and kidney protection.
  • Switch from Atorvastatin to Rosuvastatin 10mg daily for improved LDL reduction.
  • Prescribe Iron supplements (Ferrous Sulfate 325mg daily) to address suspected anemia.

2. Lifestyle Modifications

  • Transition to a low-glycemic, Mediterranean-style diet.
  • Increase physical activity to 45 minutes of moderate aerobic exercise, 5 days per week.
  • Enroll in a diabetes education program for improved dietary adherence.

3. Follow-Up Tests

  • Full blood count (to confirm anemia diagnosis).
  • Urine microalbumin test (to monitor kidney function).
  • Lipid profile recheck in 3 months.

4. Next Appointment

  • Scheduled for 2024-03-15.

Physician Notes

The patient was counseled on the importance of medication adherence and lifestyle changes to prevent further complications from diabetes. Recommended joining a support group for lifestyle coaching. Reassured the patient that current symptoms are manageable with the proposed plan.


Deliverable Example

Sample output delivered by the PII Redaction Agent:

Comprehensive Medical Report

Patient Information

  • Name: [NAME]
  • Date of Birth: [DOB]
  • Gender: [GENDER]
  • Address: [ADDRESS]
  • Phone: [PHONE]
  • Email: [EMAIL]
  • Patient ID: [PATIENT_ID]
  • Insurance Provider: [INSURANCE_PROVIDER]
  • Policy Number: [POLICY_NUMBER]
  • Emergency Contact: [EMERGENCY_CONTACT_NAME] ([EMERGENCY_CONTACT_RELATIONSHIP]) - [EMERGENCY_CONTACT_PHONE]

Appointment Details

  • Visit Date: 2024-02-10
  • Physician: [PHYSICIAN_NAME]
  • Department: Endocrinology
  • Clinic Location: [CLINIC_LOCATION]
  • Referral Source: [REFERRAL_SOURCE]
  • Reason for Visit: Follow-up on Type 2 Diabetes management and assessment of new symptoms, including fatigue and dizziness.

Medical History

  • Chronic Conditions:
    • Type 2 Diabetes Mellitus (diagnosed in 2015)
    • Hypertension (diagnosed in 2018)
    • Hypercholesterolemia (diagnosed in 2019)
    • Seasonal Allergies (diagnosed in 2005)
  • Past Surgeries:
    • Appendectomy (2002)
    • Cholecystectomy (2011)
    • Tonsillectomy (1995)
  • Family History:
    • Father: [FATHER-HISTORY]
    • Mother: [MOTHER-HISTORY]
    • Sibling: [SIBLING-HISTORY]
  • Lifestyle Factors:
    • Smoker: Never
    • Alcohol Consumption: Rarely (1–2 drinks per month)
    • Physical Activity: Moderate (30 minutes walking daily)
    • Dietary Habits: High-carbohydrate diet; low vegetable intake

Current Medications

  • Prescribed:
    • Metformin 750mg twice daily
    • Lisinopril 10mg daily
    • Atorvastatin 20mg nightly
  • Over-the-Counter (OTC):
    • Vitamin D3 2000 IU daily
    • Aspirin 81mg daily (for cardiovascular protection)
  • Supplements:
    • Fish Oil 1000mg daily

Allergies

  • Drug Allergies: None reported
  • Food Allergies: None reported
  • Environmental Allergies: Dust mites, seasonal pollen

Clinical Observations

  • Vital Signs:
    • Blood Pressure: 150/95 mmHg (elevated)
    • Heart Rate: 82 bpm
    • Respiratory Rate: 16 breaths/minute
    • Weight: 78 kg (BMI: 27.5, overweight)
    • Height: 1.68 m (5’6”)
  • Physical Exam Findings:
    • Skin: No rashes or lesions; slight dryness observed on forearms
    • Eyes: Mild conjunctival pallor; no jaundice
    • Cardiovascular: Regular rate and rhythm, no murmurs or gallops
    • Lungs: Clear to auscultation bilaterally
    • Abdomen: Soft, non-tender; no hepatosplenomegaly
    • Extremities: No edema; pulses palpable and symmetric

Laboratory Results

Blood Tests

Test Result Reference Range
Fasting Glucose 240 mg/dL 70–99 mg/dL
HbA1c 8.7% <5.7%
Total Cholesterol 210 mg/dL <200 mg/dL
LDL Cholesterol 160 mg/dL <100 mg/dL
HDL Cholesterol 40 mg/dL >50 mg/dL (female)
Triglycerides 220 mg/dL <150 mg/dL
Hemoglobin 11.5 g/dL 12.0–15.5 g/dL
Creatinine 1.1 mg/dL 0.6–1.2 mg/dL
GFR 78 mL/min >90 mL/min
ALT (Liver Enzyme) 25 U/L 7–35 U/L

Imaging

  • Chest X-Ray: Normal findings
  • Abdominal Ultrasound: No abnormalities detected

Diagnosis

  • Primary Diagnosis: Poorly controlled Type 2 Diabetes Mellitus with evidence of hyperlipidemia and early nephropathy.
  • Secondary Concerns:
    • Suspected anemia (fatigue, pallor, low hemoglobin levels).
    • Persistent hyperlipidemia despite current statin therapy.

Treatment Plan

1. Medications

  • Increase Metformin dosage from 750mg to 1000mg twice daily.
  • Add Empagliflozin 10mg daily for improved glucose control and kidney protection.
  • Switch from Atorvastatin to Rosuvastatin 10mg daily for improved LDL reduction.
  • Prescribe Iron supplements (Ferrous Sulfate 325mg daily) to address suspected anemia.

2. Lifestyle Modifications

  • Transition to a low-glycemic, Mediterranean-style diet.
  • Increase physical activity to 45 minutes of moderate aerobic exercise, 5 days per week.
  • Enroll in a diabetes education program for improved dietary adherence.

3. Follow-Up Tests

  • Full blood count (to confirm anemia diagnosis).
  • Urine microalbumin test (to monitor kidney function).
  • Lipid profile recheck in 3 months.

4. Next Appointment

  • Scheduled for 2024-03-15.

Physician Notes

The patient was counseled on the importance of medication adherence and lifestyle changes to prevent further complications from diabetes. Recommended joining a support group for lifestyle coaching. Reassured the patient that current symptoms are manageable with the proposed plan.