Tonic's picture
dockerize and add flask app
219df52 verified
raw
history blame
488 Bytes
{% extends "base.html" %}
{% block content %}
<h2>Patient Data</h2>
{% if error %}
<div>{{ error | safe }}</div>
{% else %}
{% for patient in patients %}
<div class="patient-card">
<h4>{{ patient.name[0].given|join(' ') }} {{ patient.name[0].family }}</h4>
<p><strong>Gender:</strong> {{ patient.gender|capitalize }}</p>
<p><strong>Birth Date:</strong> {{ patient.birthDate }}</p>
<p><strong>ID:</strong> {{ patient.id }}</p>
</div>
{% endfor %}
{% endif %}
{% endblock %}