{% extends 'base.html' %} {% load static %} {% block title %}Medication Dispensing - Pharmacy{% endblock %} {% block content %}
{% if prescription %}
Prescription Details - {{ prescription.prescription_number }}
{{ prescription.priority|title }} {{ prescription.status|title }}
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
Phone: {{ prescription.patient.phone_number|default:"Not provided" }}
Prescriber Information
Prescriber: {{ prescription.prescriber.get_full_name }}
Specialty: {{ prescription.prescriber.specialty|default:"Physician" }}
DEA: {{ prescription.prescriber.dea_number|default:"Not on file" }}
Date Prescribed: {{ prescription.date_prescribed|date:"M d, Y H:i" }}
Insurance Information
{% if prescription.insurance_plan %} Plan: {{ prescription.insurance_plan.name }}
Member ID: {{ prescription.insurance_member_id }}
Group: {{ prescription.insurance_group|default:"N/A" }}
Copay: ${{ prescription.copay_amount|default:0|floatformat:2 }} {% else %}

No insurance information on file

Cash Pay {% endif %}
Medication Information
{{ prescription.medication.name }}

{{ prescription.medication.generic_name }}

Strength: {{ prescription.strength }}
Dosage Form: {{ prescription.dosage_form|title }}
NDC: {{ prescription.medication.ndc_number }}
Quantity: {{ prescription.quantity }} {{ prescription.unit }}
Days Supply: {{ prescription.days_supply }} days
Refills: {{ prescription.refills_remaining }}/{{ prescription.total_refills }}
Dosing Instructions
Sig: {{ prescription.sig_instructions }}
Route: {{ prescription.route|title }}
Frequency: {{ prescription.frequency }}
{% 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
Special Handling: Secure storage and documentation required
{% endif %}
Safety Verification Checklist
{% csrf_token %}
Clinical Checks
Physical Checks

Dispensing Details
Pharmacist Information
Final Verification
Patient Counseling Points
Key Counseling Points
  • How to take the medication
  • When to take the medication
  • What to do if a dose is missed
  • Common side effects to watch for
  • Drug and food interactions
  • Storage requirements
Medication-Specific Information
{% if prescription.medication.counseling_points %}
{{ prescription.medication.counseling_points }}
{% else %}

No specific counseling points on file for this medication.

{% endif %} {% if prescription.medication.black_box_warning %}
Black Box Warning
{{ prescription.medication.black_box_warning }}
{% endif %}
{% else %}

No Prescription Selected

Please select a prescription from the queue or scan a prescription to begin dispensing.

View Prescription Queue
{% endif %}
{% endblock %}