{% extends 'admin_panel/base.html' %} {% load static %} {% block page_title %}{{ page_title }}{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Informasi Jenis Pasien

{{ patient_type.name }}

{{ patient_type.code }}

{% if patient_type.is_active %}Aktif{% else %}Tidak Aktif{% endif %}
{% if patient_type.age_min or patient_type.age_max %} {% if patient_type.age_min and patient_type.age_max %} {{ patient_type.age_min }} - {{ patient_type.age_max }} tahun {% elif patient_type.age_min %} {{ patient_type.age_min }}+ tahun {% elif patient_type.age_max %} ≤ {{ patient_type.age_max }} tahun {% endif %} {% else %} Tidak ada batasan usia {% endif %}
{% if patient_type.description %}

{{ patient_type.description }}

{% endif %}

{{ patient_type.created_at|date:"d F Y, H:i" }}

{{ patient_type.updated_at|date:"d F Y, H:i" }}

{{ health_records_count }}

Rekam Kesehatan

Total penggunaan
Aksi Cepat
Rekam Kesehatan Terbaru
{% if recent_records %}
{% for record in recent_records %}
{{ record.patient.name }}
{{ record.visit_date|date:"d M Y" }}

NIK: {{ record.patient.nik }}

{% if record.diagnosis %}

Diagnosis: {{ record.diagnosis|truncatechars:50 }}

{% endif %}
{{ record.posyandu.name }}
{% endfor %}
{% if health_records_count > 10 %} {% endif %} {% else %}
Belum ada rekam kesehatan

Jenis pasien ini belum digunakan dalam rekam kesehatan

Buat Rekam Kesehatan Pertama
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}