{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit{% else %}New{% endif %} Medication - Pharmacy{% endblock %} {% block content %}

{% if object %}Edit Medication{% else %}New Medication{% endif %} {% if object %}{{ object.name }}{% else %}Add new medication to formulary{% endif %}

Medication Details

{% csrf_token %}
{{ form.generic_name }} {% if form.generic_name.errors %}
{{ form.generic_name.errors.0 }}
{% endif %}
Official generic name of the medication.
{{ form.brand_name }} {% if form.brand_name.errors %}
{{ form.brand_name.errors.0 }}
{% endif %}
Commercial brand name (if applicable).
{{ form.ndc_number }} {% if form.ndc_number.errors %}
{{ form.ndc_number.errors.0 }}
{% endif %}
National Drug Code number.
{{ form.manufacturer }} {% if form.manufacturer.errors %}
{{ form.manufacturer.errors.0 }}
{% endif %}
Medication manufacturer.
{{ form.barcode }} {% if form.barcode.errors %}
{{ form.barcode.errors.0 }}
{% endif %}
Product barcode for scanning.
{{ form.category }} {% if form.category.errors %}
{{ form.category.errors.0 }}
{% endif %}
Therapeutic category.
{{ form.dosage_form }} {% if form.dosage_form.errors %}
{{ form.dosage_form.errors.0 }}
{% endif %}
Physical form of medication.
{{ form.route }} {% if form.route.errors %}
{{ form.route.errors.0 }}
{% endif %}
Route of administration.
{{ form.strength }} {% if form.strength.errors %}
{{ form.strength.errors.0 }}
{% endif %}
Medication strength (e.g., 500mg, 10mg/ml).
{{ form.unit_of_measure }} {% if form.unit_of_measure.errors %}
{{ form.unit_of_measure.errors.0 }}
{% endif %}
Unit for dispensing (tablets, ml, etc.).
{{ form.is_controlled }} {% if form.is_controlled.errors %}
{{ form.is_controlled.errors.0 }}
{% endif %}
DEA controlled substance.
{{ form.is_high_alert }} {% if form.is_high_alert.errors %}
{{ form.is_high_alert.errors.0 }}
{% endif %}
Requires extra caution.
{{ form.requires_refrigeration }} {% if form.requires_refrigeration.errors %}
{{ form.requires_refrigeration.errors.0 }}
{% endif %}
Cold storage required.
{{ form.is_generic }} {% if form.is_generic.errors %}
{{ form.is_generic.errors.0 }}
{% endif %}
Generic version available.
Clinical Information
{{ form.indications }} {% if form.indications.errors %}
{{ form.indications.errors.0 }}
{% endif %}
Approved uses and indications.
{{ form.contraindications }} {% if form.contraindications.errors %}
{{ form.contraindications.errors.0 }}
{% endif %}
Conditions where medication should not be used.
{{ form.side_effects }} {% if form.side_effects.errors %}
{{ form.side_effects.errors.0 }}
{% endif %}
Common and serious side effects.
Dosage Information
{{ form.usual_adult_dose }} {% if form.usual_adult_dose.errors %}
{{ form.usual_adult_dose.errors.0 }}
{% endif %}
{{ form.usual_pediatric_dose }} {% if form.usual_pediatric_dose.errors %}
{{ form.usual_pediatric_dose.errors.0 }}
{% endif %}
{{ form.maximum_dose }} {% if form.maximum_dose.errors %}
{{ form.maximum_dose.errors.0 }}
{% endif %}
Storage and Handling
{{ form.storage_temperature }} {% if form.storage_temperature.errors %}
{{ form.storage_temperature.errors.0 }}
{% endif %}
{{ form.shelf_life }} {% if form.shelf_life.errors %}
{{ form.shelf_life.errors.0 }}
{% endif %}
{{ form.storage_conditions }} {% if form.storage_conditions.errors %}
{{ form.storage_conditions.errors.0 }}
{% endif %}
Special storage requirements.
{{ form.special_handling }} {% if form.special_handling.errors %}
{{ form.special_handling.errors.0 }}
{% endif %}
Special handling instructions.
{{ form.is_active }} {% if form.is_active.errors %}
{{ form.is_active.errors.0 }}
{% endif %}
Available for prescribing.
{{ form.notes }} {% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}
Additional notes or comments.

Medication Guidelines

Best Practices
  • Use official generic names
  • Verify NDC numbers
  • Include complete dosage information
  • Specify storage requirements
  • Document contraindications
  • Mark controlled substances
Validation Checks
  • Generic name validation pending
  • NDC validation pending
  • Strength format pending
  • Controlled substance check pending

Quick Actions

Form Status

Draft medication
Last saved: Never
Auto-save: Enabled
Validation: Pending
{% endblock %} {% block js %} {% endblock %}