{% extends 'base.html' %} {% load static %} {% block title %}Prescription Search - Pharmacy{% endblock %} {% block content %}
Search Filters
Reset
Search Results {{ prescriptions.count|default:0 }} found
{% for prescription in prescriptions %} {% empty %} {% endfor %}
Rx Number Patient Medication Prescriber Date Prescribed Status Priority Actions
{{ prescription.prescription_number }}
{{ prescription.patient.get_full_name }}
{{ prescription.patient.medical_record_number }}
{{ prescription.medication.name }}
{{ prescription.strength }} - {{ prescription.quantity }} {{ prescription.unit }} {% if prescription.medication.controlled_substance %}
Controlled {% endif %}
{{ prescription.prescriber.get_full_name }}
{{ prescription.prescriber.specialty|default:"Physician" }}
{{ prescription.date_prescribed|date:"M d, Y H:i" }} {% if prescription.status == 'pending' %} Pending {% elif prescription.status == 'in_progress' %} In Progress {% elif prescription.status == 'ready' %} Ready {% elif prescription.status == 'dispensed' %} Dispensed {% elif prescription.status == 'cancelled' %} Cancelled {% endif %} {% if prescription.priority == 'urgent' %} Urgent {% elif prescription.priority == 'high' %} High {% elif prescription.priority == 'normal' %} Normal {% else %} Low {% endif %}
{% if prescription.status == 'pending' %} {% endif %} {% if prescription.status == 'ready' %} {% endif %}

No prescriptions found matching your search criteria

Create New Prescription
{% if prescriptions.has_other_pages %} {% endif %}
{% if prescriptions %}
Bulk Actions
0 prescriptions selected
{% endif %}
{% endblock %}