Loading...
Loading...
Compare original and translation side by side
/healthcare-audit-logger [command] [options]/healthcare-audit-logger [command] [options]init <config-file>log <event-type> <details>log-access <user> <resource> <action>log-auth <user> <event> <result>log-modification <user> <resource> <change>policy <retention-years>report [date-range]verify <log-file>export <format> <output>init <config-file>log <event-type> <details>log-access <user> <resource> <action>log-auth <user> <event> <result>log-modification <user> <resource> <change>policy <retention-years>report [date-range]verify <log-file>export <format> <output>--user <id>--resource <path>--action <type>--reason <text>--outcome <status>--timestamp <iso8601>--retention <years>--user <id>--resource <path>--action <type>--reason <text>--outcome <status>--timestamp <iso8601>--retention <years>| Control | Requirement | Implementation |
|---|---|---|
| §164.312(b) | Audit Controls | Implement comprehensive logging |
| §164.312(b)(2)(i) | User Identification | Log all user access with unique IDs |
| §164.312(b)(2)(ii) | Emergency Access Log | Separate tracking for emergency access |
| §164.308(a)(3)(ii)(B) | Workforce Security | Track privilege changes and role assignments |
| §164.308(a)(5)(ii)(C) | Log-in Monitoring | Log authentication attempts and outcomes |
| §164.312(a)(2)(i) | Access Controls | Audit access permissions and changes |
| §164.312(c)(2) | Encryption | Log encryption key operations |
| §164.314(a)(2)(i) | Partner Agreements | Log external system access |
| 控制项 | 要求 | 实现方式 |
|---|---|---|
| §164.312(b) | 审计控制 | 实施全面的日志记录 |
| §164.312(b)(2)(i) | 用户身份识别 | 记录所有用户访问行为及唯一ID |
| §164.312(b)(2)(ii) | 紧急访问日志 | 单独跟踪紧急访问行为 |
| §164.308(a)(3)(ii)(B) | 员工安全 | 跟踪权限变更及角色分配 |
| §164.308(a)(5)(ii)(C) | 登录监控 | 记录身份验证尝试及结果 |
| §164.312(a)(2)(i) | 访问控制 | 审计访问权限及变更 |
| §164.312(c)(2) | 加密 | 记录加密密钥操作 |
| §164.314(a)(2)(i) | 合作方协议 | 记录外部系统访问行为 |
{
"event_id": "evt_20250207143556_abc123",
"timestamp": "2025-02-07T14:35:56.123Z",
"user_id": "dr_jane_smith",
"user_role": "physician",
"workstation_id": "ws_04_floor2",
"action": "read",
"resource_type": "patient_record",
"resource_id": "pat_98765", // Encrypted in production
"data_accessed": ["demographics", "lab_results", "vitals"],
"clinical_reason": "Patient follow-up appointment",
"access_result": "success",
"duration_ms": 45,
"ip_address": "10.24.5.12", // Masked in logs
"hipaa_rule": "§164.312(b)(2)(i)"
}{
"event_id": "evt_20250207143556_abc123",
"timestamp": "2025-02-07T14:35:56.123Z",
"user_id": "dr_jane_smith",
"user_role": "physician",
"workstation_id": "ws_04_floor2",
"action": "read",
"resource_type": "patient_record",
"resource_id": "pat_98765", // 生产环境中加密
"data_accessed": ["demographics", "lab_results", "vitals"],
"clinical_reason": "患者随访预约",
"access_result": "success",
"duration_ms": 45,
"ip_address": "10.24.5.12", // 日志中已掩码
"hipaa_rule": "§164.312(b)(2)(i)"
}