{% extends "base.html" %} {% load static %} {% block title %}Delete Problem: {{ problem.problem_name }}{% endblock %} {% block css %} {% endblock %} {% block content %}

Delete Problem Confirm problem deletion

Confirm Deletion

Warning: You are about to delete a problem

You are about to permanently delete the problem "{{ problem.problem_name }}" for patient {{ problem.patient.get_full_name }}. This action cannot be undone.

Deleting this problem will remove it from the patient's medical record and may affect care plans, clinical notes, and other related records.

Problem Summary
Problem ID {{ problem.problem_id }}
Problem Name {{ problem.problem_name }}
Patient {{ problem.patient.get_full_name }}
Problem Type {{ problem.get_problem_type_display }}
Status {{ problem.get_status_display }}
Priority {{ problem.get_priority_display }}
Severity {{ problem.get_severity_display }}
Onset Date {{ problem.onset_date|default:"Not specified" }}
Diagnosing Provider {{ problem.diagnosing_provider.get_full_name }}
Created {{ problem.created_at }}
Impact Assessment

Deleting this problem will affect the following:

Care Plans
{% if problem.care_plans.all %}
    {% for care_plan in problem.care_plans.all %}
  • {{ care_plan.title }} ({{ care_plan.get_status_display }})
  • {% endfor %}
{% else %}

No care plans associated with this problem.

{% endif %}
Clinical Notes
{% if problem.related_clinical_notes.all %}
    {% for note in problem.related_clinical_notes.all %}
  • {{ note.title }} ({{ note.note_datetime|date:"M d, Y" }})
  • {% endfor %}
{% else %}

No clinical notes associated with this problem.

{% endif %}
Alternative Actions

Instead of deleting this problem, consider these alternatives:

Mark as Resolved

If the problem is no longer active, mark it as resolved instead of deleting it.

Mark as Resolved
Mark as Inactive

If the problem is temporarily not relevant, mark it as inactive.

Mark as Inactive
Edit Problem

Update the problem information if it's incorrect or needs changes.

Edit Problem
{% csrf_token %}
Cancel
{% endblock %} {% block js %} {% endblock %}