/**
 * Test Fixture: PHI in Logs
 *
 * This file contains intentional PHI exposure patterns that should be
 * detected by the healthcare scanner. Used for testing only.
 *
 * EXPECTED FINDINGS:
 * - SSN in log output (critical)
 * - MRN in console.log (critical)
 * - Patient data in error logs (high)
 *
 * @module eval/fixtures/healthcare/phi-in-logs
 */
// SSN in logger output - SHOULD BE DETECTED
export function logPatientInfo(patientId, ssn) {
    console.log(`Processing patient ${patientId} with SSN: ${ssn}`);
}
// MRN exposure in logs - SHOULD BE DETECTED
export function logMedicalRecordAccess(mrn, action) {
    console.log(`MRN ${mrn}: ${action}`);
    console.info(`Medical record MRN: ${mrn} accessed`);
}
// PHI in error message - SHOULD BE DETECTED
export function handlePatientError(error, patientSSN) {
    console.error(`Failed to process patient. SSN: ${patientSSN}, Error: ${error.message}`);
}
// Patient data in debug logs - SHOULD BE DETECTED
export function debugPatientRecord(patient) {
    console.debug(`Patient record: ${JSON.stringify(patient)}`);
}
// SUD medication in logs - SHOULD BE DETECTED
export function logMedicationDispense(patientId, medication) {
    if (medication.toLowerCase().includes("methadone") || medication.toLowerCase().includes("suboxone")) {
        console.log(`Dispensed ${medication} to patient ${patientId}`);
    }
}
// This is OK - no PHI in logs
export function logGenericMessage(message) {
    console.log(message);
}
//# sourceMappingURL=phi-in-logs.js.map