{% extends 'base.html' %} {% load static %} {% block title %}Prescription Verification - Pharmacy{% endblock %} {% block content %}
{% if prescription %}
Prescription Review - {{ prescription.prescription_number }}
{{ prescription.priority|title }} Pending Verification
Patient Information
Name: {{ prescription.patient.get_full_name }}
MRN: {{ prescription.patient.medical_record_number }}
DOB: {{ prescription.patient.date_of_birth|date:"M d, Y" }}
Age: {{ prescription.patient.age }} years
Weight: {{ prescription.patient.weight|default:"Not recorded" }} kg
Allergies: {% if prescription.patient.allergies.exists %} {% for allergy in prescription.patient.allergies.all %} {{ allergy.allergen }} {% endfor %} {% else %} NKDA {% endif %}
Prescriber Information
Prescriber: {{ prescription.prescriber.get_full_name }}
Specialty: {{ prescription.prescriber.specialty|default:"Physician" }}
DEA: {{ prescription.prescriber.dea_number|default:"Not on file" }}
NPI: {{ prescription.prescriber.npi_number|default:"Not on file" }}
Date Prescribed: {{ prescription.date_prescribed|date:"M d, Y H:i" }}
Diagnosis: {{ prescription.diagnosis|default:"Not specified" }}
Verification Status
Received: {{ prescription.date_received|date:"M d, Y H:i" }}
Time in Queue: {{ prescription.time_in_queue }}
Priority Level: {{ prescription.priority|title }}
Prescription Received
Clinical Review
Verification Complete
Ready for Dispensing
Medication Information
{{ prescription.medication.name }}

{{ prescription.medication.generic_name }}

Strength: {{ prescription.strength }}
Dosage Form: {{ prescription.dosage_form|title }}
NDC: {{ prescription.medication.ndc_number }}
Manufacturer: {{ prescription.medication.manufacturer|default:"Not specified" }}
Quantity: {{ prescription.quantity }} {{ prescription.unit }}
Days Supply: {{ prescription.days_supply }} days
Refills: {{ prescription.refills_remaining }}/{{ prescription.total_refills }}
Route: {{ prescription.route|title }}
Sig Instructions:
{{ prescription.sig_instructions }}
{% if prescription.special_instructions %}
Special Instructions:
{{ prescription.special_instructions }}
{% endif %}
{% if prescription.medication.controlled_substance %}
Controlled Substance
Schedule: {{ prescription.medication.controlled_schedule }}
DEA Required: Yes
{% endif %} {% if prescription.medication.black_box_warning %}
Black Box Warning
{{ prescription.medication.black_box_warning|truncatewords:20 }}
{% endif %} {% if prescription.medication.high_alert %}
High Alert Medication
Requires additional verification
{% endif %}
Clinical Verification Checklist
{% csrf_token %}
Prescription Validity
Clinical Appropriateness

Safety Checks
Regulatory Compliance

Verification Decision
Pharmacist Certification
Back to Queue
Drug Information
{{ prescription.medication.name }}

Therapeutic Class: {{ prescription.medication.therapeutic_class|default:"Not specified" }}

Mechanism of Action: {{ prescription.medication.mechanism_of_action|default:"Not available" }}

Common Indications: {{ prescription.medication.common_indications|default:"Not specified" }}

Typical Dosing: {{ prescription.medication.typical_dosing|default:"Refer to prescribing information" }}

Patient Medication History
{% for med in patient_medication_history %}
{{ med.medication.name }} {{ med.strength }}
{{ med.start_date|date:"M d, Y" }} - {% if med.end_date %}{{ med.end_date|date:"M d, Y" }}{% else %}Current{% endif %}
{% empty %}

No previous medication history available

{% endfor %}
{% else %}

No Prescription Selected for Verification

Please select a prescription from the verification queue to begin clinical review.

{% endif %}
{% endblock %}