{% csrf_token %}
Semua Pasien


{% for x in semuapendaftaran %} {% if x.ruang_rawat_pasien == 'Rawat Jalan' %} {% elif x.ruang_rawat_pasien == 'UGD' %} {% endif %} {% endfor %}
# ID Kode Booking Waktu Berobat No. RM Nama Pasien Layanan Status Dokter
{{ forloop.counter }} {{ x.id }} {{ x.kode_booking }} {{ x.created_at }} WIB {{ x.pasien.nomor_rekam_medis }} {{ x.pasien.first_name }} {{ x.ruang_rawat_pasien }} {{ x.status }} {{ x.dokter.first_name }} | KLINIK {{ x.dokter.poli.nama }}
{% csrf_token %}
{% for y in invoicelayanan %} {% if y.cppt.pendaftaran == x %} {% if y.tarif_layanan.relasi.relasi.nama|add:'' == 'RADIOLOGI' and y.file %}
{% endif %} {% endif %} {% endfor %} {% for y in invoicelayanan %} {% if y.cppt.pendaftaran == x %} {% if y.tarif_layanan.relasi.relasi.nama|add:'' == 'LABORATORIUM' %}
{% endif %} {% endif %} {% endfor %} {% if x.nomor_sep_ranap %}
{% endif %} {% if x.nomor_sep %}
{% endif %}
{% if x.nomor_sep_ranap %} {% elif x.nomor_sep %} {% else %} {% endif %}