{% extends 'base.html' %} {% load static %} {% block title %}Drug Interaction Check - Pharmacy{% endblock %} {% block content %}
Patient Selection
{% csrf_token %}
{% if selected_patient %}
Patient Information
Name: {{ selected_patient.get_full_name }}
MRN: {{ selected_patient.medical_record_number }}
DOB: {{ selected_patient.date_of_birth|date:"M d, Y" }}
Age: {{ selected_patient.age }} years
Weight: {{ selected_patient.weight|default:"Not recorded" }} kg
Height: {{ selected_patient.height|default:"Not recorded" }} cm
Gender: {{ selected_patient.get_gender_display }}
Pregnancy Status: {{ selected_patient.pregnancy_status|default:"N/A" }}
Risk Factors
Kidney Function:
{{ selected_patient.kidney_function|default:"Normal" }}
Liver Function:
{{ selected_patient.liver_function|default:"Normal" }}
Age Category:
{{ selected_patient.age_category }}
Current Medications
{% for medication in current_medications %} {% empty %} {% endfor %}
Medication Strength Dosage Route Frequency Start Date Status Actions
{{ medication.name }}
{{ medication.generic_name }}
{{ medication.strength }} {{ medication.dosage }} {{ medication.route|title }} {{ medication.frequency }} {{ medication.start_date|date:"M d, Y" }} {{ medication.status|title }}
No current medications on file
Interaction Analysis Results

Click "Run Check" to analyze drug interactions for this patient

Allergy Alerts
{% if patient_allergies %}
{% for allergy in patient_allergies %} {% endfor %}
Allergen Reaction Severity
{{ allergy.allergen }} {{ allergy.reaction }} {{ allergy.severity|title }}
{% else %}

No known allergies on file

{% endif %}
Medical Conditions
{% if patient_conditions %}
{% for condition in patient_conditions %} {% endfor %}
Condition Status Onset
{{ condition.name }} {{ condition.status|title }} {{ condition.onset_date|date:"M Y"|default:"Unknown" }}
{% else %}

No active medical conditions on file

{% endif %}
Clinical Decision Support

Clinical recommendations will appear here after running the interaction check

{% endif %}
{% endblock %}