{% extends "base.html" %} {% load static %} {% block title %}Delete Lab Result{% endblock %} {% block content %}

Delete Lab Result

Back to Result

Confirm Lab Result Deletion

Are you sure you want to delete this lab result?

This action cannot be undone. The lab result and all associated data will be permanently removed from the system.

Patient Information
Patient: {{ object.order.patient.get_full_name }}
MRN: {{ object.order.patient.medical_record_number }}
DOB: {{ object.order.patient.date_of_birth|date:"M d, Y" }}
Age: {{ object.order.patient.age }} years
Test Information
Test: {{ object.test.name }}
Result: {{ object.result_value }} {{ object.unit|default:"" }} {% if object.abnormal_flag %} {{ object.get_abnormal_flag_display }} {% endif %}
Reference Range: {{ object.reference_range|default:"Not specified" }}
Status: {{ object.get_status_display }}
Order Information
Order ID: {{ object.order.pk }}
Ordered Date: {{ object.order.ordered_date|date:"M d, Y g:i A" }}
Ordering Physician: {{ object.order.ordering_physician.get_full_name }}
Priority: {{ object.order.get_priority_display }}
Department: {{ object.order.department.name }}
Clinical Notes: {{ object.order.clinical_notes|truncatewords:10|default:"None" }}
Performance Information
Performed By: {{ object.performed_by.get_full_name }}
Performed Date: {{ object.performed_at|date:"M d, Y g:i A" }}
{% if object.verified_by %}
Verified By: {{ object.verified_by.get_full_name }}
{% endif %}
{% if object.verified_at %}
Verified Date: {{ object.verified_at|date:"M d, Y g:i A" }}
{% endif %}
Result ID: {{ object.pk }}
Created: {{ object.created_at|date:"M d, Y g:i A" }}
{% if object.comments %}
Comments
{{ object.comments }}
{% endif %}
{% csrf_token %}
These notes will be recorded for audit purposes and quality assurance.
What happens when you delete this lab result?
  • The lab result will be permanently removed from the system
  • The associated lab order status may be updated to "pending"
  • Patient reports and medical records will be affected
  • Quality metrics and laboratory statistics will be updated
  • This action will be logged in the audit trail
  • Billing records may need manual adjustment
  • Clinical decision support alerts may be triggered
  • The ordering physician may need to be notified
Cancel
{% if object.abnormal_flag in 'HH,LL' %}
Critical Result Warning
Critical Result: This result has been flagged as critical ({{ object.get_abnormal_flag_display }}). Deleting critical results requires additional documentation and may trigger quality review processes.
Recommendation: Consider correcting the result instead of deleting it, or ensure proper documentation of the deletion reason for regulatory compliance.
{% endif %} {% if object.verified_by %}
Verified Result Notice
Verified Result: This result has been verified by {{ object.verified_by.get_full_name }} on {{ object.verified_at|date:"M d, Y g:i A" }}. Deleting verified results may require additional approvals.
{% if object.status == 'final' %}
Final Result: This result has final status and may have been included in patient reports or used for clinical decisions. Consider the impact before deletion.
{% endif %}
{% endif %}
Related Information
Result Details
  • Result ID: {{ object.pk }}
  • Test Code: {{ object.test.code|default:"N/A" }}
  • LOINC Code: {{ object.test.loinc_code|default:"N/A" }}
  • Created: {{ object.created_at|date:"M d, Y g:i A" }}
System Information
  • Order ID: {{ object.order.pk }}
  • Patient ID: {{ object.order.patient.pk }}
  • Test ID: {{ object.test.pk }}
  • Last Updated: {{ object.updated_at|date:"M d, Y g:i A" }}
{% endblock %}