{% extends "ui/base.html" %} {% block title %}Review {{ record.record_id }} · Health-DeID{% endblock %} {% block content %}

Record {{ position }} of {{ total }}

{{ record.record_id }} · Entity ID: {{ record.entity_id }}

Review time

Click highlighted PHI to remove it. To add PHI, select exact source text and choose a category.

Record ID
{{ record.record_id }}
Entity ID
{{ record.entity_id }}
{% for name, value in metadata.items() %}
{{ name }}
{{ value }}
{% endfor %}

Source text

Draft de-identified text


          

{{ record.pipeline_text }}
{% if record.structured_fields %}

Structured PHI fields

{% for field in record.structured_fields %} {% endfor %}
Field Original Category Configured action Output preview Reviewer action
{{ field.column_name }} {{ field.original_value }} {{ field.category|replace('_', ' ') }} {{ field.action|replace('_', ' ') |title }} {{ field.deidentified_value }}
{% endif %}

Pending PHI changes

  • No changes
{% if record.validation_findings %}

Validation findings

{% set outcomes = [('confirmed', 'Confirmed PHI'), ('rejected', 'Not PHI'), ('partially_confirmed', 'Partially confirmed')] %} {% for finding in record.validation_findings %} {% set saved = validation_review_map.get(finding.validation_finding_id, {}) %}
{{ finding.canonical_category|replace('_', ' ') }} {% if finding.ignored_by_policy %} Configured to retain {% endif %}

{{ finding.rationale }} {% if finding.evidence %}Evidence: {{ finding.evidence }}{% endif %}

{% endfor %}
{% endif %}
{% endblock %}