{% block subcontent %}
<div style="margin-left:10px;">
	<h2>Kunjungan - {{ data.tanggal }} {{ data.jam }}</h2>
	<table class="data" cellpadding="0" cellspacing="0" border="0" style="width:95%;max-width:600px">
		<tr>
			<td style="width:90px;">Poli</td>
			<td><b>{{ data.poli }}</b></td>
		</tr>
		<tr>
			<td>Dokter</td>
			<td><b>{{ data.dokter }}</b>
			</td>
		</tr>
		<tr>
			<td>Rujuk dari</td>
			<td>{{ data.dari }}</td>
		</tr>
		<tr>
			<td>Rujuk ke</td>
			<td>{{ data.ke }}</td>
		</tr>
	</table>
	<br/><br/>
	<h3 style="margin:5px 0px;">-- Data Pasien --</h3>
	<table class="data" cellpadding="0" cellspacing="0" border="0" style="width:95%;max-width:600px">
		<tr>
			<td style="width:90px;">No. RM</td>
			<td style="width:492px;"><b>{{ data.pasien.no_rekmed }}</b></td>
		</tr>
		<tr>
			<td><b>Nama</b></td>
			<td><b>{{ data.pasien.nama }}</b>
			</td>
		</tr>
		<tr>
			<td>Alamat</td>
			<td>{{ data.pasien.alamat }}</td>
		</tr>
		<tr>
			<td>Usia</td>
			<td>{{ data.pasien.usia }} Tahun</td>
		</tr>
		<tr>
			<td>Jns Kel.</td>
			<td>{{ data.pasien.sex }}</td>
		</tr>
		<tr>
			<td>Golongan</td>
			<td>{{ data.golongan }}</td>
		</tr>
	</table>
	<br/><br/>
	<h3 style="margin:5px 0px;">-- TTV --</h3>
	<table class="data" cellpadding="0" cellspacing="0" border="0" style="width:95%;max-width:600px">
		<tr>
			<td style="width:90px;">Suhu</td>
			<td style="width:492px;">{{ ttv.suhu }}</td>
		</tr>
		<tr>
			<td>Denyut</td>
			<td><b>{{ ttv.denyut }}</b>
			</td>
		</tr>
		<tr>
			<td>Tekanan Darah</td>
			<td>{{ ttv.tekanan_darah }}</td>
		</tr>
		<tr>
			<td>Pernapasan</td>
			<td>{{ ttv.pernapasan }}</td>
		</tr>
	</table>
	<br/><br/>
	<h3 style="margin:5px 0px;">-- Tindakan --</h3>
	<table class="data" cellpadding="0" cellspacing="0" border="0" style="width:95%;max-width:600px">
		<tr>
			<th style="width:50px;">Kode</th>
			<th>Tindakan</th>
			<th style="width:50px;">Jumlah</th>
		</tr>
		{% for t in tindakan %}
		<tr>
			<td>{{ t.kode }}</td>
			<td>{{ t.nama }}</td>
			<td align="center">{{ t.jumlah }}</td>
		</tr>
		{% endfor %}
	</table>
	<br/><br/>
	<h3 style="margin:5px 0px;">-- Obat --</h3>
	<table class="data" cellpadding="0" cellspacing="0" border="0" style="width:95%;max-width:600px">
		<tr>
			<th>Nama Obat</th>
			<th style="width:50px;">Jumlah</th>
		</tr>
		{% for o in obat %}
		<tr>
			<td>{{ o.nama }}</td>
			<td align="center">{{ o.jumlah }}</td>
		</tr>
		{% endfor %}
	</table>
	<br/><br/>
</div>
{% endblock %}