{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit Bill{% else %}Create Bill{% endif %} - {{ block.super }}{% endblock %} {% block content %}

{% if object %}Edit Medical Bill{% else %}Create Medical Bill{% endif %}

Back to List {% if object %} View Details {% endif %}
{% csrf_token %}

Patient & Context

{% if object %}
Bill # {{ object.bill_number }}
Created: {{ object.created_at|date:"M d, Y H:i" }}
{% endif %}
{{ form.patient }} {% if form.patient.errors %}
{{ form.patient.errors.0 }}
{% endif %}
{{ form.bill_type }} {% if form.bill_type.errors %}
{{ form.bill_type.errors.0 }}
{% endif %}
{{ form.encounter }} {% if form.encounter.errors %}
{{ form.encounter.errors.0 }}
{% endif %}
{{ form.admission }} {% if form.admission.errors %}
{{ form.admission.errors.0 }}
{% endif %}
{{ form.payment_terms }} {% if form.payment_terms.errors %}
{{ form.payment_terms.errors.0 }}
{% endif %}

Service & Dates

{{ form.service_date_from }} {% if form.service_date_from.errors %}
{{ form.service_date_from.errors.0 }}
{% endif %}
{{ form.service_date_to }} {% if form.service_date_to.errors %}
{{ form.service_date_to.errors.0 }}
{% endif %}
{{ form.bill_date }} {% if form.bill_date.errors %}
{{ form.bill_date.errors.0 }}
{% endif %}
{{ form.due_date }} {% if form.due_date.errors %}
{{ form.due_date.errors.0 }}
{% endif %}

Providers & Insurance

{{ form.attending_provider }} {% if form.attending_provider.errors %}
{{ form.attending_provider.errors.0 }}
{% endif %}
{{ form.billing_provider }} {% if form.billing_provider.errors %}
{{ form.billing_provider.errors.0 }}
{% endif %}
{{ form.primary_insurance }} {% if form.primary_insurance.errors %}
{{ form.primary_insurance.errors.0 }}
{% endif %}
{{ form.secondary_insurance }} {% if form.secondary_insurance.errors %}
{{ form.secondary_insurance.errors.0 }}
{% endif %}

Notes

{{ form.notes }} {% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}

Line Items

{% if object and object.billlineitem_set.all %} {% for line_item in object.billlineitem_set.all %}
{% endfor %} {% else %}

No line items added yet. Click "Add Item" to get started.

{% endif %}
{% if not object %} {% endif %}

Bill Summary

Subtotal: $0.00
Tax: $0.00
Discount: $0.00

Total: $0.00
{{ form.subtotal }} {{ form.tax_amount }} {{ form.discount_amount }} {{ form.adjustment_amount }}

Help & Guidelines

  • Select the patient for this bill
  • Link to a specific encounter if applicable
  • Verify patient insurance information

  • Use standard CPT/HCPCS codes
  • Include modifier codes when applicable
  • Verify codes with current fee schedule

  • Draft: Bill is being prepared
  • Pending: Ready for review
  • Submitted: Sent to patient/insurance
  • Paid: Payment received in full
{% endblock %}