{% extends 'base.html' %} {% load static %} {% block title %}{% if form.instance.pk %}Edit{% else %}Add{% endif %} Equipment{% endblock %} {% block css %} {% endblock %} {% block content %}

{% if form.instance.pk %}Edit{% else %}Add{% endif %} Equipment

{% if form.instance.pk %}Edit Equipment{% else %}Add New Equipment{% endif %}

{% if form.instance.pk %} Update the equipment information. Changes will be logged for audit purposes. {% else %} Add new equipment to the operating theatre inventory. All fields marked with * are required. {% endif %}

Equipment tracking helps optimize OR efficiency
{% csrf_token %}
Basic Information
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors.0 }}
{% endif %}
Descriptive name for the equipment
{{ form.category }} {% if form.category.errors %}
{{ form.category.errors.0 }}
{% endif %}
Equipment category for organization
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors.0 }}
{% endif %}
Detailed description of the equipment
{{ form.equipment_id }}
{% if form.equipment_id.errors %}
{{ form.equipment_id.errors.0 }}
{% endif %}
Unique identifier for the equipment
{{ form.serial_number }} {% if form.serial_number.errors %}
{{ form.serial_number.errors.0 }}
{% endif %}
Manufacturer's serial number
{% if form.instance.image %} Equipment Image {% else %}
Click to upload image
JPG, PNG up to 5MB
{% endif %}
{{ form.image }} {% if form.image.errors %}
{{ form.image.errors.0 }}
{% endif %}
Manufacturer Information
{{ form.manufacturer }} {% if form.manufacturer.errors %}
{{ form.manufacturer.errors.0 }}
{% endif %}
{{ form.model }} {% if form.model.errors %}
{{ form.model.errors.0 }}
{% endif %}
{{ form.model_year }} {% if form.model_year.errors %}
{{ form.model_year.errors.0 }}
{% endif %}
Location and Status
{{ form.current_location }} {% if form.current_location.errors %}
{{ form.current_location.errors.0 }}
{% endif %}
Operating room or storage location
{{ form.status }} {% if form.status.errors %}
{{ form.status.errors.0 }}
{% endif %}
Current operational status
{{ form.asset_tag }}
{% if form.asset_tag.errors %}
{{ form.asset_tag.errors.0 }}
{% endif %}
Hospital asset tracking number
Financial Information
{{ form.purchase_date }} {% if form.purchase_date.errors %}
{{ form.purchase_date.errors.0 }}
{% endif %}
{{ form.purchase_cost }} {% if form.purchase_cost.errors %}
{{ form.purchase_cost.errors.0 }}
{% endif %}
{{ form.warranty_expiry }} {% if form.warranty_expiry.errors %}
{{ form.warranty_expiry.errors.0 }}
{% endif %}
{{ form.depreciation_rate }} {% if form.depreciation_rate.errors %}
{{ form.depreciation_rate.errors.0 }}
{% endif %}
Cost Analysis
$0.00
Current Value
$0.00
Annual Depreciation
0 years
Equipment Age
Technical Specifications
Equipment Specifications
{% if form.instance.specifications %} {% for spec, value in form.instance.specifications.items %}
{% endfor %} {% endif %}
Add technical specifications like power requirements, dimensions, weight, etc.
Maintenance Information
{{ form.last_maintenance_date }} {% if form.last_maintenance_date.errors %}
{{ form.last_maintenance_date.errors.0 }}
{% endif %}
{{ form.maintenance_interval }} {% if form.maintenance_interval.errors %}
{{ form.maintenance_interval.errors.0 }}
{% endif %}
Maintenance Schedule
Next Maintenance Due: Not calculated
Days Until Due: -
Additional Information
{{ form.notes }} {% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}
Additional notes, special instructions, or important information
Cancel
{% endblock %} {% block js %} {% endblock %}