{% extends "base.html" %} {% load static %} {% block title %}Prescriptions - Pharmacy{% endblock %} {% block content %}

Prescriptions Manage prescription orders and dispensing

Prescription Management

{{ total_prescriptions|default:0 }}

Total Prescriptions

{{ pending_prescriptions|default:0 }}

Pending

{{ dispensed_prescriptions|default:0 }}

Dispensed

{{ urgent_prescriptions|default:0 }}

Urgent

{% for prescription in object_list %} {% empty %} {% endfor %}
Prescription # Patient Prescriber Medication Status Priority Date Prescribed Due Date Actions
{{ prescription.prescription_number }} {% if prescription.is_controlled %} {% endif %}
{{ prescription.patient.patient_id }}
{{ prescription.prescriber.get_full_name }}
{{ prescription.prescriber.specialty|default:"General" }}
{{ prescription.medication.name }}
{{ prescription.dosage }} {{ prescription.dosage_unit }} {% if prescription.frequency %} - {{ prescription.frequency }} {% endif %}
Qty: {{ prescription.quantity }}
{{ prescription.get_status_display }} {% if prescription.is_overdue %}
Overdue
{% endif %}
{{ prescription.get_priority_display }}
{{ prescription.date_prescribed|date:"M d, Y" }}
{{ prescription.date_prescribed|date:"H:i" }}
{% if prescription.due_date %}
{{ prescription.due_date|date:"M d, Y" }}
{{ prescription.due_date|date:"H:i" }}
{% else %} No due date {% endif %}
{% if prescription.status == 'pending' %} {% endif %} {% if prescription.status == 'verified' %} {% endif %}
No prescriptions found
Try adjusting your search criteria or add a new prescription
{% if is_paginated %}
Showing {{ page_obj.start_index }} to {{ page_obj.end_index }} of {{ page_obj.paginator.count }} prescriptions
{% endif %}
{% endblock %} {% block js %} {% endblock %}