{% extends "base.html" %} {% block title %} Add/Search patients {% endblock %} {% block content %}

Add/Search patients

{% csrf_token %}
{% if query %}

Results for "{{ query|escape }}":

{% if results %} {% for patient in results %} {% endfor %}
姓名 病歷號 性別 生日 地址 電話 身份證號 Memo Delete Edit
Detail {{ patient.name }} {{ patient.medical_records }} {{ patient.get_gender_display }} {{ patient.birthday }} {{ patient.address }} {{ patient.phone }} {{ patient.id_cards }} {{ patient.memo }} Delete Edit
{% else %}

No patient found. Add a patient

{% endif %} {% endif %}{% endblock %}