3 Copyright (C) 2024 Dr. Agnibho Mondal
4 This file is part of LibreVax.
5 LibreVax is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6 LibreVax is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
7 You should have received a copy of the GNU General Public License along with LibreVax. If not, see <https://www.gnu.org/licenses/>.
10 {% set
title=
"Vaccination Card" %}
11 {% extends
"base.html" %}
15 <div class=
"header text-center">
16 <h1 class=
"bordered">Vaccine Administration Record
</h1>
17 <h4>{{config[
"TITLE"]}}
</h4>
18 <h4>{{center[
"center"]}}
</h4>
19 <p>{{center[
"address"]}}
</p>
22 <table class=
"table table-bordered">
23 <tr><th>Name
</th><td>{{data[
"name"]}}
</td><th>Card ID
</th><td>{{data[
"cid"]}}
</td></tr>
24 <tr><th>Date of Birth
</th><td>{{data[
"dob"]|format_date}}
</td><th>Sex
</th><td>{{data[
"sex"]}}
</td></tr>
25 <tr><th>Address
</th><td>{{data[
"address"]}}
</td><th>Contact
</th><td>{{data[
"contact"]}}
</td></tr>
26 <tr><th>Comorbidities
</th><td colspan=
"3">{{data[
"status"]}}
</td></tr>
29 {% if request.args.get(
"type")!=
"blank" %}
30 <table class=
"table table-bordered">
31 <tr><th>Vaccine
</th><th>Dose
</th><th>Route
</th><th>Batch Number
</th><th>DOE
</th><th>Date
</th></tr>
32 {% for v in vaccination %}
33 <tr><td>{{v[
"vaccine"]}}
</td><td>{{v[
"dose"]}}{%if v[
"dosage"]
>1 %}
×{{v[
"dosage"]}}{% endif %}
</td><td>{{v[
"route"]}}
</td><td>{{v[
"batch"]}}
</td><td>{{v[
"doe"]}}
</td><td>{{v[
"date"]|format_date}}
</td></tr>
37 {% if data[
"short"] %}
38 <table class=
"table table-bordered">
39 <tr><td>{{data[
"short"]}}
</td></tr>
44 <table class=
"table table-bordered">
45 <tr><th>Next Visit
</th><td>{{data[
"next"]|format_date}}
</td></tr>
49 {% if request.args.get(
"type")==
"detail" and advice|length
> 0 %}
50 <table class=
"table table-bordered">
51 <tr><th>Date
</th><th>Findings
</th><th>Advice
</th></tr>
53 <tr><td>{{a[
"date"]|format_date}}
</td><td>{{a[
"findings"]}}
</td><td>{{a[
"advice"]}}
</td></tr>
59 <table class=
"table table-bordered">
60 <tr><td>Vaccine
</td><td>Date
</td><td>Dose
</td><td>Route
</td><td>Batch Number
</td><td>Date of Expiry
</td><td>Signature
</td></tr>
61 {% for i in range(
1,
10) %}
62 <tr><td><h1></h1></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>
65 <table class=
"table table-bordered">
66 <tr><td rowspan=
"5">Date of Next Visit
</td><td style=
"width:50%"><h1></h1></td></tr>
67 {% for i in range(
1,
5) %}
68 <tr><td><h1></h1></td></tr>
71 <table class=
"table table-bordered text-center">
72 <tr><td>Note
</td></tr>
73 <tr><td><br><br><br><br><br></td></tr>
78 <a href=
"/card/{{data["pid
"]}}?type=default" class=
"btn btn-outline-secondary">Default
</a>
79 <a href=
"/card/{{data["pid
"]}}?type=blank" class=
"btn btn-outline-secondary">Blank
</a>
80 <a href=
"/card/{{data["pid
"]}}?type=detail" class=
"btn btn-outline-secondary">Detail
</a>
83 <div class=
"pagebreak mt-2"></div>
85 <div class=
"bordered fullpage">
87 <li>Please disclose any medical condition to the doctor before vaccination.
</li>
88 <li>Please wait at the vaccination center for observation for
30 minutes after vaccination.
</li>
89 <li>You may experience some mild fever and mild pain at the injection site which is normal.
</li>
90 <li>If there is high fever, dizziness, palpitation, itching, rash or any other serious side effects please contact the vaccination center and/or visit the nearby hospital urgently.
</li>
91 <li>Consult your doctor before taking any medication.
</li>
92 <li>Please bring this card with you during each visit.
</li>