<div class="web-list-item transaction-list-item">
  <a href="/patient-appointments?name={{ doc.name }}">
    <div class="row">
        <div class="col-xs-3">
            <span class="indicator {{ "green" if doc.status=="Open" else "red"}}">
                {{ doc.name }}
            </span>
        </div>
        <div class="col-xs-3">
          {{ doc.practitioner }}
        </div>
        <div class="col-xs-2">
          {% if doc.department %}{{ doc.department }}{% endif %}
        </div>
        <div class="col-xs-2 text-right small text-muted">
          {{ doc.appointment_time }}
        </div>
        <div class="col-xs-2 text-right small text-muted">
          {{ frappe.format_date(doc.appointment_date) }}
        </div>
    </div>
  </a>
</div>
