| 1 |
// ---------------------------------------------------------------------------- |
| 2 |
// Copyright (C) 2014 |
| 3 |
// David Freese, W1HKJ |
| 4 |
// |
| 5 |
// This file is part of flmsg |
| 6 |
// |
| 7 |
// flrig is free software; you can redistribute it and/or modify |
| 8 |
// it under the terms of the GNU General Public License as published by |
| 9 |
// the Free Software Foundation; either version 3 of the License, or |
| 10 |
// (at your option) any later version. |
| 11 |
// |
| 12 |
// flrig is distributed in the hope that it will be useful, |
| 13 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
// GNU General Public License for more details. |
| 16 |
// |
| 17 |
// You should have received a copy of the GNU General Public License |
| 18 |
// along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
// ---------------------------------------------------------------------------- |
| 20 |
|
| 21 |
#include "templates.h" |
| 22 |
|
| 23 |
const char ics206_html_template[] = |
| 24 |
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\ |
| 25 |
<html>\ |
| 26 |
<head>\ |
| 27 |
<meta content=\"text/html; charset=UTF-8\" http-equiv=\"content-type\">\ |
| 28 |
<title>:TITLE:</title>\ |
| 29 |
</head>\ |
| 30 |
<body>\ |
| 31 |
<table ALIGN=left WIDTH=1000px BORDER=1 CELLPADDING=2 CELLSPACING=0>\ |
| 32 |
<tbody>\ |
| 33 |
<tr ALIGN=center>\ |
| 34 |
<td COLSPAN=2 VALIGN=middle WIDTH=200px><b>MEDICAL PLAN</b></td>\ |
| 35 |
<td VALIGN=top WIDTH=200px ALIGN=left>1. Incident Name</span><br>:nam:<br></td>\ |
| 36 |
<td COLSPAN=2 VALIGN=top WIDTH=200px>\ |
| 37 |
<div ALIGN=left>2. Date Prepared<br></div>\ |
| 38 |
<div ALIGN=left>:dat:</div>\ |
| 39 |
</td>\ |
| 40 |
<td VALIGN=top ALIGN=left WIDTH=200px>3. Time Prepared<br>:tim:</td>\ |
| 41 |
<td VALIGN=top ALIGN=left WIDTH=200px>4. Operational Period<br>:opp:</td>\ |
| 42 |
</tr>\ |
| 43 |
</tbody>\ |
| 44 |
</table>\ |
| 45 |
<table ALIGN=left WIDTH=1000px BORDER=1 CELLPADDING=2 CELLSPACING=0>\ |
| 46 |
<tbody>\ |
| 47 |
<tr ALIGN=center>\ |
| 48 |
<td COLSPAN=3 VALIGN=top BGCOLOR=#E9E9E9>5. Incident Medical Aid Station<br></td>\ |
| 49 |
</tr>\ |
| 50 |
<tr>\ |
| 51 |
<td VALIGN=middle>Medical Aid Stations<br></td>\ |
| 52 |
<td VALIGN=middle>Location<br></td>\ |
| 53 |
<td COLSPAN=1 VALIGN=top;> Paramedics<br></td>\ |
| 54 |
</tr>\ |
| 55 |
<tr>\ |
| 56 |
<td VALIGN=top WIDTH=40%>:msta0:<br></td>\ |
| 57 |
<td VALIGN=top WIDTH=45%>:mloc0:<br></td>\ |
| 58 |
<td VALIGN=top WIDTH=15% ALIGN=center>:mpar0:<br></td>\ |
| 59 |
</tr>\ |
| 60 |
<tr>\ |
| 61 |
<td VALIGN=top>:msta1:<br></td>\ |
| 62 |
<td VALIGN=top>:mloc1:<br></td>\ |
| 63 |
<td VALIGN=top ALIGN=center>:mpar1:<br></td>\ |
| 64 |
</tr>\ |
| 65 |
<tr>\ |
| 66 |
<td VALIGN=top>:msta2:<br></td>\ |
| 67 |
<td VALIGN=top>:mloc2:<br></td>\ |
| 68 |
<td VALIGN=top ALIGN=center>:mpar2:<br></td>\ |
| 69 |
</tr>\ |
| 70 |
<tr>\ |
| 71 |
<td VALIGN=top>:msta3:<br></td>\ |
| 72 |
<td VALIGN=top>:mloc3:<br></td>\ |
| 73 |
<td VALIGN=top ALIGN=center>:mpar3:<br></td>\ |
| 74 |
</tr>\ |
| 75 |
<tr>\ |
| 76 |
<td VALIGN=top>:msta4:<br></td>\ |
| 77 |
<td VALIGN=top>:mloc4:<br></td>\ |
| 78 |
<td VALIGN=top ALIGN=center>:mpar4:<br></td>\ |
| 79 |
</tr>\ |
| 80 |
</tbody>\ |
| 81 |
</table>\ |
| 82 |
<table ALIGN=left WIDTH=1000px BORDER=1 CELLPADDING=2 CELLSPACING=0>\ |
| 83 |
<tbody>\ |
| 84 |
<tr ALIGN=center>\ |
| 85 |
<td COLSPAN=4 VALIGN=top BGCOLOR=#E9E9E9>6. Transportation<br></td>\ |
| 86 |
</tr>\ |
| 87 |
<tr ALIGN=center>\ |
| 88 |
<td COLSPAN=4 VALIGN=top; BGCOLOR=#E9E9E9>A. Ambulance Services<br></td>\ |
| 89 |
</tr>\ |
| 90 |
<tr>\ |
| 91 |
<td VALIGN=top WIDTH=25%>Name</td>\ |
| 92 |
<td VALIGN=top WIDTH=40%>Address<br></td>\ |
| 93 |
<td VALIGN=top WIDTH=20%>Phone<br></td>\ |
| 94 |
<td VALIGN=top WIDTH=15% ALIGN=center>Paramedics<br></td>\ |
| 95 |
</tr>\ |
| 96 |
<tr>\ |
| 97 |
<td VALIGN=top>:tname0:<br></td>\ |
| 98 |
<td VALIGN=top>:taddr0:<br></td>\ |
| 99 |
<td VALIGN=top>:tphon0:<br></td>\ |
| 100 |
<td VALIGN=top ALIGN=center>:tpara0:<br></td>\ |
| 101 |
</tr>\ |
| 102 |
<tr>\ |
| 103 |
<td VALIGN=top>:tname1:<br></td>\ |
| 104 |
<td VALIGN=top>:taddr1:<br></td>\ |
| 105 |
<td VALIGN=top>:tphon1:<br></td>\ |
| 106 |
<td VALIGN=top ALIGN=center>:tpara1:<br></td>\ |
| 107 |
</tr>\ |
| 108 |
<tr>\ |
| 109 |
<td VALIGN=top>:tname2:<br></td>\ |
| 110 |
<td VALIGN=top>:taddr2:<br></td>\ |
| 111 |
<td VALIGN=top>:tphon2:<br></td>\ |
| 112 |
<td VALIGN=top ALIGN=center>:tpara2:<br></td>\ |
| 113 |
</tr>\ |
| 114 |
<tr>\ |
| 115 |
<td VALIGN=top>:tname3:<br></td>\ |
| 116 |
<td VALIGN=top>:taddr3:<br></td>\ |
| 117 |
<td VALIGN=top>:tphon3:<br></td>\ |
| 118 |
<td VALIGN=top ALIGN=center>:tpara3:<br></td>\ |
| 119 |
</tr>\ |
| 120 |
<tr>\ |
| 121 |
<td VALIGN=top>:tname4:<br></td>\ |
| 122 |
<td VALIGN=top>:taddr4:<br></td>\ |
| 123 |
<td VALIGN=top>:tphon4:<br></td>\ |
| 124 |
<td VALIGN=top ALIGN=center>:tpara4:<br></td>\ |
| 125 |
</tr>\ |
| 126 |
</tbody>\ |
| 127 |
</table>\ |
| 128 |
<table ALIGN=left WIDTH=1000px BORDER=1 CELLPADDING=2 CELLSPACING=0>\ |
| 129 |
<tbody>\ |
| 130 |
<tr ALIGN=center>\ |
| 131 |
<td COLSPAN=3 VALIGN=top BGCOLOR=#E9E9E9>B. Incident Ambulances<br></td>\ |
| 132 |
</tr>\ |
| 133 |
<tr>\ |
| 134 |
<td VALIGN=top WIDTH=25%>Name<br></td>\ |
| 135 |
<td VALIGN=top WIDTH=60%>Location<br></td>\ |
| 136 |
<td VALIGN=top WIDTH=15%; ALIGN=center>Paramedics<br></td>\ |
| 137 |
</tr>\ |
| 138 |
<tr>\ |
| 139 |
<td VALIGN=top>:aname0:<br></td>\ |
| 140 |
<td VALIGN=top>:aloca0:<br></td>\ |
| 141 |
<td VALIGN=top ALIGN=center>:apara0:<br></td>\ |
| 142 |
</tr>\ |
| 143 |
<tr>\ |
| 144 |
<td VALIGN=top>:aname1:<br></td>\ |
| 145 |
<td VALIGN=top>:aloca1:<br></td>\ |
| 146 |
<td VALIGN=top ALIGN=center>:apara1:<br></td>\ |
| 147 |
</tr>\ |
| 148 |
<tr>\ |
| 149 |
<td VALIGN=top>:aname2:<br></td>\ |
| 150 |
<td VALIGN=top>:aloca2:<br></td>\ |
| 151 |
<td VALIGN=top ALIGN=center>:apara2:<br></td>\ |
| 152 |
</tr>\ |
| 153 |
<tr>\ |
| 154 |
<td VALIGN=top>:aname3:<br></td>\ |
| 155 |
<td VALIGN=top>:aloca3:<br></td>\ |
| 156 |
<td VALIGN=top ALIGN=center>:apara3:<br></td>\ |
| 157 |
</tr>\ |
| 158 |
<tr>\ |
| 159 |
<td VALIGN=top>:aname4:<br></td>\ |
| 160 |
<td VALIGN=top>:aloca4:<br></td>\ |
| 161 |
<td VALIGN=top ALIGN=center>:apara4:<br></td>\ |
| 162 |
</tr>\ |
| 163 |
</tbody>\ |
| 164 |
</table>\ |
| 165 |
<table ALIGN=left WIDTH=1000px BORDER=1 CELLPADDING=2 CELLSPACING=0>\ |
| 166 |
<tbody>\ |
| 167 |
<tr ALIGN=center>\ |
| 168 |
<td COLSPAN=7 VALIGN=top BGCOLOR=#E9E9E9>7. Hospitals<br></td>\ |
| 169 |
</tr>\ |
| 170 |
<tr>\ |
| 171 |
<td VALIGN=bottom WIDTH=20%>Name<br></td>\ |
| 172 |
<td VALIGN=bottom WIDTH=30%>Address<br></td>\ |
| 173 |
<td COLSPAN=2 VALIGN=top WIDTH=10%> Travel Time<br> Air Grnd<br></td>\ |
| 174 |
<td VALIGN=bottom WIDTH=15%>Phone<br></td>\ |
| 175 |
<td VALIGN=bottom WIDTH=5%>Helipad<br></td>\ |
| 176 |
<td VALIGN=top WIDTH=5% ALIGN=center>Burn<br>Center<br></td>\ |
| 177 |
</tr>\ |
| 178 |
<tr>\ |
| 179 |
<td VALIGN=top>:hname0:<br></td>\ |
| 180 |
<td VALIGN=top>:haddr0:<br></td>\ |
| 181 |
<td VALIGN=top WIDTH=5%>:hatim0:<br></td>\ |
| 182 |
<td VALIGN=top WIDTH=5%>:hgtim0:<br></td>\ |
| 183 |
<td VALIGN=top>:hphon0:<br></td>\ |
| 184 |
<td VALIGN=top ALIGN=center>:hheli0:<br></td>\ |
| 185 |
<td VALIGN=top ALIGN=center>:hburn0:<br></td>\ |
| 186 |
</tr>\ |
| 187 |
<tr>\ |
| 188 |
<td VALIGN=top>:hname1:<br></td>\ |
| 189 |
<td VALIGN=top>:haddr1:<br></td>\ |
| 190 |
<td VALIGN=top>:hatim1:<br></td>\ |
| 191 |
<td VALIGN=top>:hgtim1:<br></td>\ |
| 192 |
<td VALIGN=top>:hphon1:<br></td>\ |
| 193 |
<td VALIGN=top ALIGN=center>:hheli1:<br></td>\ |
| 194 |
<td VALIGN=top ALIGN=center>:hburn1:<br></td>\ |
| 195 |
</tr>\ |
| 196 |
<tr>\ |
| 197 |
<td VALIGN=top>:hname2:<br></td>\ |
| 198 |
<td VALIGN=top>:haddr2:<br></td>\ |
| 199 |
<td VALIGN=top>:hatim2:<br></td>\ |
| 200 |
<td VALIGN=top>:hgtim2:<br></td>\ |
| 201 |
<td VALIGN=top>:hphon2:<br></td>\ |
| 202 |
<td VALIGN=top ALIGN=center>:hheli2:<br></td>\ |
| 203 |
<td VALIGN=top ALIGN=center>:hburn2:<br></td>\ |
| 204 |
</tr>\ |
| 205 |
<tr>\ |
| 206 |
<td VALIGN=top>:hname3:<br></td>\ |
| 207 |
<td VALIGN=top>:haddr3:<br></td>\ |
| 208 |
<td VALIGN=top>:hatim3:<br></td>\ |
| 209 |
<td VALIGN=top>:hgtim3:<br></td>\ |
| 210 |
<td VALIGN=top>:hphon3:<br></td>\ |
| 211 |
<td VALIGN=top ALIGN=center>:hheli3:<br></td>\ |
| 212 |
<td VALIGN=top ALIGN=center>:hburn3:<br></td>\ |
| 213 |
</tr>\ |
| 214 |
<tr>\ |
| 215 |
<td VALIGN=top>:hname4:<br></td>\ |
| 216 |
<td VALIGN=top>:haddr4:<br></td>\ |
| 217 |
<td VALIGN=top>:hatim4:<br></td>\ |
| 218 |
<td VALIGN=top>:hgtim4:<br></td>\ |
| 219 |
<td VALIGN=top>:hphon4:<br></td>\ |
| 220 |
<td VALIGN=top ALIGN=center>:hheli4:<br></td>\ |
| 221 |
<td VALIGN=top ALIGN=center>:hburn4:<br></td>\ |
| 222 |
</tr>\ |
| 223 |
</tbody>\ |
| 224 |
</table>\ |
| 225 |
<table ALIGN=left WIDTH=1000px BORDER=1 CELLPADDING=2 CELLSPACING=0>\ |
| 226 |
<tbody>\ |
| 227 |
<tr ALIGN=center>\ |
| 228 |
<td COLSPAN=2 VALIGN=top BGCOLOR=#E9E9E9>8. Medical Emergency Procedures<br></td>\ |
| 229 |
</tr>\ |
| 230 |
<tr>\ |
| 231 |
<td COLSPAN=2 VALIGN=top HEIGHT=200px>:proc:<br></td>\ |
| 232 |
</tr>\ |
| 233 |
<tr>\ |
| 234 |
<td VALIGN=top WIDTH=50%>9. Prepared by (Medical Unit Leader)<br>:prep:<br></td>\ |
| 235 |
<td VALIGN=top>10.Reviewed by (Safety Officer)<br>:rvwr:<br></td>\ |
| 236 |
</tr>\ |
| 237 |
</tbody>\ |
| 238 |
</table>\ |
| 239 |
</body>\ |
| 240 |
</html>"; |
| 241 |
|
| 242 |
const char ics206_text_template[] = |
| 243 |
"ICS 206 MEDICAL PLAN\n\n\ |
| 244 |
Incident name: :nam:\n\ |
| 245 |
Operational period: :opp:\n\ |
| 246 |
Date Prepared: :dat:\n\ |
| 247 |
Time Prepared: :tim:\n\ |
| 248 |
Medical Aid Station #1: :msta0:\n\ |
| 249 |
Location #1: :mloc0:\n\ |
| 250 |
Paramedics #1: :mpar0:\n\ |
| 251 |
Medical Aid Station #2: :msta1:\n\ |
| 252 |
Location #2: :mloc1:\n\ |
| 253 |
Paramedics #2: :mpar1:\n\ |
| 254 |
Medical Aid Station #3: :msta2:\n\ |
| 255 |
Location #3: :mloc2:\n\ |
| 256 |
Paramedics #3: :mpar2:\n\ |
| 257 |
Medical Aid Station #4: :msta3:\n\ |
| 258 |
Location #4: :mloc3:\n\ |
| 259 |
Paramedics #4: :mpar3:\n\ |
| 260 |
Medical Aid Station #5: :msta4:\n\ |
| 261 |
Location #5: :mloc4:\n\ |
| 262 |
Paramedics #5: :mpar4:\n\ |
| 263 |
Ambulance service #1: :tname0:\n\ |
| 264 |
Address #1: :taddr0:\n\ |
| 265 |
Phone #1: :tphon0:\n\ |
| 266 |
Paramedics #1: :tpara0:\n\ |
| 267 |
Ambulance service #2: :tname1:\n\ |
| 268 |
Address #2: :taddr1:\n\ |
| 269 |
Phone #2: :tphon1:\n\ |
| 270 |
Paramedics #2: :tpara1:\n\ |
| 271 |
Ambulance service #3: :tname2:\n\ |
| 272 |
Address #3: :taddr2:\n\ |
| 273 |
Phone #3: :tphon2:\n\ |
| 274 |
Paramedics #3: :tpara2:\n\ |
| 275 |
Ambulance service #4: :tname3:\n\ |
| 276 |
Address #4: :taddr3:\n\ |
| 277 |
Phone #4: :tphon3:\n\ |
| 278 |
Paramedics #4: :tpara3:\n\ |
| 279 |
Ambulance service #5: :tname4:\n\ |
| 280 |
Address #5: :taddr4:\n\ |
| 281 |
Phone #5: :tphon4:\n\ |
| 282 |
Paramedics #5: :tpara4:\n\ |
| 283 |
Incident ambulance name #1: :aname0:\n\ |
| 284 |
Location #1: :aloca0:\n\ |
| 285 |
Paramedics #1 :apara0:\n\ |
| 286 |
Incident ambulance name #2: :aname1:\n\ |
| 287 |
Location #2: :aloca1:\n\ |
| 288 |
Paramedics #2 :apara1:\n\ |
| 289 |
Incident ambulance name #3: :aname2:\n\ |
| 290 |
Location #3: :aloca2:\n\ |
| 291 |
Paramedics #3 :apara2:\n\ |
| 292 |
Incident ambulance name #4: :aname3:\n\ |
| 293 |
Location #4: :aloca3:\n\ |
| 294 |
Paramedics #4 :apara3:\n\ |
| 295 |
Incident ambulance name #5: :aname4:\n\ |
| 296 |
Location #5: :aloca4:\n\ |
| 297 |
Paramedics #5 :apara4:\n\ |
| 298 |
Hospital name #1: :hname0:\n\ |
| 299 |
Address #1: :haddr0:\n\ |
| 300 |
Travel time, air #1: :hatim0:\n\ |
| 301 |
Travel time, ground #1: :hgtim0:\n\ |
| 302 |
Phone #1: :hphon0:\n\ |
| 303 |
Helipad #1: :hheli0:\n\ |
| 304 |
Burn center #1: :hburn0:\n\ |
| 305 |
Hospital name #2: :hname1:\n\ |
| 306 |
Address #2: :haddr1:\n\ |
| 307 |
Travel time, air #2: :hatim1:\n\ |
| 308 |
Travel time, ground #2: :hgtim1:\n\ |
| 309 |
Phone #2: :hphon1:\n\ |
| 310 |
Helipad #2: :hheli1:\n\ |
| 311 |
Burn center #2: :hburn1:\n\ |
| 312 |
Hospital name #3: :hname2:\n\ |
| 313 |
Address #3: :haddr2:\n\ |
| 314 |
Travel time, air #3: :hatim2:\n\ |
| 315 |
Travel time, ground #3: :hgtim2:\n\ |
| 316 |
Phone #3: :hphon2:\n\ |
| 317 |
Helipad #3: :hheli2:\n\ |
| 318 |
Burn center #3: :hburn2:\n\ |
| 319 |
Hospital name #4: :hname3:\n\ |
| 320 |
Address #4: :haddr3:\n\ |
| 321 |
Travel time, air #4: :hatim3:\n\ |
| 322 |
Travel time, ground #4: :hgtim3:\n\ |
| 323 |
Phone #4: :hphon3:\n\ |
| 324 |
Helipad #4: :hheli3:\n\ |
| 325 |
Burn center #4: :hburn3:\n\ |
| 326 |
Hospital name #5: :hname4:\n\ |
| 327 |
Address #5: :haddr4:\n\ |
| 328 |
Travel time, air #5: :hatim4:\n\ |
| 329 |
Travel time, ground #5: :hgtim4:\n\ |
| 330 |
Phone #5: :hphon4:\n\ |
| 331 |
Helipad #5: :hheli4:\n\ |
| 332 |
Burn center #5: :hburn4:\n\ |
| 333 |
Medical Emergency Procedures: :proc:\n\ |
| 334 |
Prepared by: :prep:\n\ |
| 335 |
Reviewed by: :rvwr:\n\ |
| 336 |
"; |
| 337 |
|