-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathICU-Help-Support-v2.4.html
More file actions
1874 lines (1681 loc) · 94.2 KB
/
ICU-Help-Support-v2.4.html
File metadata and controls
1874 lines (1681 loc) · 94.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>ICU Help & Support | Documentation + Orders + Notes + ICU Calculators + Advanced Support (v2.4)</title>
<style>
:root{
--bg:#0b1220; --panel:#0f1a2e; --panel2:#101f3a; --text:#e7eefc; --muted:#a9b7d6;
--border:rgba(255,255,255,.10); --accent:#7dd3fc; --ok:#34d399; --warn:#fbbf24; --bad:#fb7185;
--shadow: 0 10px 30px rgba(0,0,0,.35);
--radius:16px;
--mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(180deg,#070b14,#0b1220);color:var(--text);font-family:var(--sans)}
header{position:sticky;top:0;z-index:10;background:rgba(11,18,32,.85);backdrop-filter: blur(10px);
border-bottom:1px solid var(--border)}
.wrap{max-width:1280px;margin:0 auto;padding:16px}
.topbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.brand{display:flex;gap:10px;align-items:center}
.badge{font-size:12px;color:#00121f;background:var(--accent);padding:4px 10px;border-radius:999px;font-weight:700}
h1{font-size:18px;margin:0}
.sub{font-size:12px;color:var(--muted)}
.grid{display:grid;grid-template-columns: 1.1fr .9fr; gap:14px; align-items:start}
@media (max-width: 980px){.grid{grid-template-columns: 1fr}}
.card{background:linear-gradient(180deg,var(--panel),var(--panel2));border:1px solid var(--border);
border-radius:var(--radius); box-shadow:var(--shadow)}
.card h2{font-size:14px;margin:0 0 10px 0;color:#dbeafe}
.card .p{color:var(--muted);font-size:12px;line-height:1.35}
.card .inner{padding:14px}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{padding:8px 10px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.03);
color:var(--text);cursor:pointer;font-size:12px}
.tab[aria-selected="true"]{border-color:rgba(125,211,252,.6);box-shadow:0 0 0 4px rgba(125,211,252,.12)}
.row{display:grid;grid-template-columns: 1fr 1fr; gap:10px}
@media (max-width: 700px){.row{grid-template-columns: 1fr}}
label{display:block;font-size:12px;color:var(--muted);margin:10px 0 6px}
input, select, textarea{
width:100%; padding:10px 12px; border-radius:12px; border:1px solid var(--border);
background:rgba(255,255,255,.03); color:var(--text); outline:none;
}
textarea{min-height:92px;resize:vertical;font-family:var(--mono);font-size:12px;line-height:1.35}
.pillrow{display:flex;gap:8px;flex-wrap:wrap}
.pill{
border:1px solid var(--border); background:rgba(255,255,255,.03); padding:6px 10px; border-radius:999px;
font-size:12px; cursor:pointer; user-select:none;
}
.pill[data-on="true"]{border-color:rgba(52,211,153,.6); box-shadow:0 0 0 4px rgba(52,211,153,.12)}
.btnrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
button{
border:1px solid var(--border); background:rgba(255,255,255,.05); color:var(--text);
padding:10px 12px; border-radius:12px; cursor:pointer; font-size:12px;
}
button.primary{border-color:rgba(125,211,252,.6); background:rgba(125,211,252,.12)}
button.danger{border-color:rgba(251,113,133,.55); background:rgba(251,113,133,.12)}
button.ok{border-color:rgba(52,211,153,.55); background:rgba(52,211,153,.12)}
.kpi{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}
.dot{width:10px;height:10px;border-radius:999px;background:var(--muted)}
.dot.ok{background:var(--ok)} .dot.warn{background:var(--warn)} .dot.bad{background:var(--bad)}
.small{font-size:12px;color:var(--muted)}
.outbox{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}
.output{white-space:pre-wrap;font-family:var(--mono);font-size:12px;line-height:1.35;background:rgba(0,0,0,.18);
border:1px solid var(--border); padding:12px; border-radius:14px; min-height:180px}
.footer{padding:18px 0 40px;color:var(--muted);font-size:12px}
.split{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hint{border-left:3px solid rgba(125,211,252,.6); padding:10px 12px; background:rgba(125,211,252,.07);
border-radius:12px; color:var(--muted); font-size:12px; line-height:1.35}
.warnbox{border-left:3px solid rgba(251,191,36,.75); padding:10px 12px; background:rgba(251,191,36,.08);
border-radius:12px; color:var(--muted); font-size:12px; line-height:1.35}
.dangerbox{border-left:3px solid rgba(251,113,133,.75); padding:10px 12px; background:rgba(251,113,133,.08);
border-radius:12px; color:var(--muted); font-size:12px; line-height:1.35}
.divider{height:1px;background:var(--border);margin:10px 0}
.list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.lineitem{
border:1px solid var(--border); background:rgba(255,255,255,.02);
border-radius:14px; padding:10px 10px;
display:grid; grid-template-columns: 24px 1fr; gap:10px; align-items:start;
}
.lineitem input[type="checkbox"]{width:18px;height:18px;margin-top:2px}
.linehead{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tag{font-size:11px;color:#00121f;background:rgba(125,211,252,.85);padding:2px 8px;border-radius:999px;font-weight:700}
.tag.gray{background:rgba(255,255,255,.14);color:var(--text);font-weight:600}
.linetxt{font-family:var(--mono);font-size:12px;line-height:1.35;color:var(--text)}
.inlineEdit{margin-top:8px}
.inlineEdit textarea{min-height:64px}
.req{border-color:rgba(251,113,133,.55)!important; box-shadow:0 0 0 4px rgba(251,113,133,.12)}
.okField{border-color:rgba(52,211,153,.55)!important; box-shadow:0 0 0 4px rgba(52,211,153,.12)}
</style>
</head>
<body>
<header>
<div class="wrap">
<div class="topbar">
<div class="brand">
<span class="badge">ICU</span>
<div>
<h1>ICU Help & Support | Orders + Documentation + Notes + ICU Calculators (Non AI mode), + Advanced Support (CRIL AI Agent) </h1>
<div class="sub">v2.4 (For Desktop PC) • Order Composer + Short Rounds Note + Every-shift macro • Local-first • Keeper-upgradable • Advanced Support (CRIL - Critical-care Rounds & Interactive Learning assistant). Author: Prof. Jyotirmay Kirtania, License: GNU GPL v3</div>
</div>
</div>
<div style="flex:1"></div>
<div class="split">
<button id="btnSave" class="ok">Save (local)</button>
<button id="btnLoad">Load</button>
<button id="btnExport" class="primary">Export JSON</button>
<button id="btnImport">Import JSON</button>
<button id="btnReset" class="danger">Reset</button>
</div>
</div>
</div>
</header>
<main class="wrap">
<div class="grid">
<!-- LEFT: INPUT -->
<section class="card">
<div class="inner">
<div class="tabs" role="tablist" aria-label="ICU modules">
<button class="tab" role="tab" aria-selected="true" data-tab="admission">Admission Orders</button>
<button class="tab" role="tab" aria-selected="false" data-tab="composer">Order Composer</button>
<button class="tab" role="tab" aria-selected="false" data-tab="daily">Daily Progress Note</button>
<button class="tab" role="tab" aria-selected="false" data-tab="short">Short Rounds Note</button>
<button class="tab" role="tab" aria-selected="false" data-tab="shift">Every-shift Progress Macro</button>
<button class="tab" role="tab" aria-selected="false" data-tab="procedure">Procedure Note</button>
<button class="tab" role="tab" aria-selected="false" data-tab="acls">ACLS Note</button>
<button class="tab" role="tab" aria-selected="false" data-tab="keeper">Keeper Mode</button>
</div>
<div class="divider"></div>
<!-- Patient header (always visible) -->
<h2>Patient Header</h2>
<div class="row">
<div>
<label>First Name</label>
<input id="p_fname" placeholder="e.g., R.K." />
</div>
<div>
<label>Age (years)</label>
<input id="p_age" inputmode="numeric" placeholder="e.g., 45" />
</div>
</div>
<div class="row">
<div>
<label>Gender</label>
<select id="p_gender">
<option value="">— Select —</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Other">Other</option>
</select>
</div>
<div>
<label>Case No.</label>
<input id="p_case" placeholder="e.g., 16F2025001234" />
</div>
</div>
<div class="row">
<div>
<label>Height (cm)</label>
<input id="p_ht" inputmode="numeric" placeholder="e.g., 170" />
</div>
<div>
<label>Weight (kg)</label>
<input id="p_wt" inputmode="numeric" placeholder="e.g., 65" />
</div>
</div>
<div class="row">
<div>
<label>Primary cancer / status</label>
<input id="p_cancer" placeholder="e.g., DLBCL on treatment / post-chemo" />
</div>
<div>
<label>Date & time</label>
<input id="p_dt" />
</div>
</div>
<div class="divider"></div>
<!-- Admission Orders -->
<div class="tabpanel" data-panel="admission">
<h2>Admission Orders Builder</h2>
<div class="p">Pick bundles + antimicrobial/infusion templates. Output is clean text for CIS/EMR paste.</div>
<label>Admitting diagnosis (free text)</label>
<input id="a_dx" placeholder="e.g., Neutropenic sepsis with shock; pneumonia with RF; AKI/TLS..." />
<label>Choose ICU bundles / order-sets</label>
<div id="a_sets" class="pillrow"></div>
<div class="row">
<div>
<label>Antimicrobial scenario</label>
<select id="a_abx">
<option value="">— Select —</option>
<option value="undiff_sepsis">Undifferentiated sepsis</option>
<option value="sepsis_diarrhoea">Sepsis with diarrhoea</option>
<option value="pneumonia">Pneumonia</option>
<option value="urosepsis">Urosepsis</option>
<option value="fungal">Systemic fungal sepsis</option>
<option value="custom">Custom / culture-directed (free text)</option>
</select>
</div>
<div>
<label>Custom / culture-directed antimicrobial</label>
<input id="a_abx_custom" placeholder="e.g., drug + dose + frequency + duration" />
</div>
</div>
<label>Shock / infusion scenario</label>
<div class="row">
<div>
<select id="a_shock">
<option value="">— Select —</option>
<option value="septic">Septic shock infusion bundle</option>
<option value="cardio">Cardiogenic shock infusion bundle</option>
<option value="rv">RV failure supportive bundle</option>
</select>
</div>
<div>
<input id="a_shock_custom" placeholder="Optional: targets (MAP, lactate, UO etc.)" />
</div>
</div>
<label>Ventilation / oxygen support (optional)</label>
<div class="row">
<div>
<select id="a_resp">
<option value="">— Select —</option>
<option value="hfnc">HFNC initial settings</option>
<option value="mv_init">MV initial settings after intubation</option>
</select>
</div>
<div>
<input id="a_resp_custom" placeholder="Optional: mode, FiO2, PEEP, Vt, RR etc." />
</div>
</div>
<label>Extra orders / notes (free text)</label>
<textarea id="a_extra" placeholder="Consults, imaging, blood products plan, special precautions..."></textarea>
<div class="btnrow">
<button class="primary" id="btnGenAdmission">Generate Admission Orders</button>
<button id="btnCopyOutA">Copy Output</button>
<button id="btnDownloadA">Download .txt</button>
</div>
</div>
<!-- Order Composer -->
<div class="tabpanel" data-panel="composer" style="display:none">
<h2>Order Composer — tick-box dose lines</h2>
<div class="p">Tick the dose lines you want → auto-collates into one “Treatment advice” block. You can edit any selected line before generating.</div>
<div class="row">
<div>
<label>Filter lines</label>
<input id="oc_filter" placeholder="Type to filter (e.g., pantoprazole, meropenem, insulin, SLED...)" />
</div>
<div>
<label>Category</label>
<select id="oc_cat">
<option value="">All</option>
</select>
</div>
</div>
<div class="row">
<div>
<label>Output header</label>
<select id="oc_hdr">
<option value="treatment_advice">Treatment advice</option>
<option value="treatment_orders">Treatment orders</option>
<option value="icu_orders">ICU orders</option>
</select>
</div>
<div>
<label>Free text add-on</label>
<input id="oc_addon" placeholder="One-line add-on (optional)" />
</div>
</div>
<div class="list" id="oc_list"></div>
<label>Additional instructions / narrative (optional)</label>
<textarea id="oc_extra" placeholder="Any plan notes, targets, communication, consults..."></textarea>
<div class="btnrow">
<button class="primary" id="btnGenComposer">Generate Collated Block</button>
<button id="btnSelectNone">Uncheck all</button>
<button id="btnCopyOutOC">Copy Output</button>
<button id="btnDownloadOC">Download .txt</button>
</div>
</div>
<!-- Daily Progress -->
<div class="tabpanel" data-panel="daily" style="display:none">
<h2>Daily Progress Note (Structured)</h2>
<label>Diagnosis line</label>
<input id="d_dx" placeholder="Known case of … admitted with …" />
<div class="row">
<div>
<label>Neuro</label>
<textarea id="d_neuro" placeholder="AVPU/GCS, pupils, sedation, seizures, delirium..."></textarea>
</div>
<div>
<label>Resp</label>
<textarea id="d_resp" placeholder="Support, FiO2/PEEP, ABG, CXR/POCUS, PF trend..."></textarea>
</div>
</div>
<div class="row">
<div>
<label>CVS</label>
<textarea id="d_cvs" placeholder="HR/BP, pressors, rhythm, echo/IVC, CRT, lactate trend..."></textarea>
</div>
<div>
<label>Renal</label>
<textarea id="d_renal" placeholder="UO, Cr, dialysis mode, electrolytes (K/Na/Ca/PO4 etc.)..."></textarea>
</div>
</div>
<div class="row">
<div>
<label>Heme</label>
<textarea id="d_heme" placeholder="Hb/TLC/ANC/Plt, bleeding, coags, transfusions..."></textarea>
</div>
<div>
<label>Hepatic / Metabolic</label>
<textarea id="d_liver" placeholder="Bili, AST/ALT, INR/PT, glucose, albumin..."></textarea>
</div>
</div>
<div class="row">
<div>
<label>Infection / Sepsis</label>
<textarea id="d_sepsis" placeholder="Temp, source, cultures, antibiotics, escalation/de-escalation..."></textarea>
</div>
<div>
<label>Immune suppression</label>
<textarea id="d_immune" placeholder="Neutropenia, chemo, G-CSF, antifungals..."></textarea>
</div>
</div>
<div class="row">
<div>
<label>Lines / Tubes / Support</label>
<textarea id="d_lines" placeholder="CVC/HD cath/A-line/NGT/Foley, sites..."></textarea>
</div>
<div>
<label>Nutrition / GI + Skin / Others</label>
<textarea id="d_nutri" placeholder="Feeds, GI symptoms, pressure areas, DVT prophylaxis..."></textarea>
</div>
</div>
<label>Plan</label>
<textarea id="d_plan" placeholder="Continue/wean/escalate/de-escalate/imaging/consults/family update..."></textarea>
<div class="warnbox" style="margin-top:10px">
<b>Rule:</b> Don’t trigger ICU interventions on a single parameter; require ≥3 independent triggers for action.
</div>
<label>Trigger checklist (for decision justification)</label>
<div class="pillrow" id="d_triggers"></div>
<div class="kpi">
<span id="triDot" class="dot"></span>
<span class="small" id="triText">Select triggers (0/3)</span>
</div>
<div class="btnrow">
<button class="primary" id="btnGenDaily">Generate Daily Progress Note</button>
<button id="btnCopyOutD">Copy Output</button>
<button id="btnDownloadD">Download .txt</button>
</div>
</div>
<!-- Short rounds note -->
<div class="tabpanel" data-panel="short" style="display:none">
<h2>Short form daily rounds documentation (CIS)</h2>
<div class="p">Your short-form CIS note structure. Keep it tight. Paste directly.</div>
<label>Diagnosis (short form)</label>
<input id="s_dx" placeholder="[MM/DLBCL/ALL/AML/...] admitted with [ARDS/shock/AKI/TLS/...]" />
<div class="row">
<div>
<label>Neuro</label>
<input id="s_neuro" placeholder="[V/AVPU], GCS [ ], [sedated/alert], pupils equal/reactive." />
</div>
<div>
<label>Resp</label>
<input id="s_resp" placeholder="[RA/HFNC/NIV/MV], FiO2 [ ], PEEP [ ], ABG [ ], CXR/POCUS [ ]." />
</div>
</div>
<div class="row">
<div>
<label>CVS</label>
<input id="s_cvs" placeholder="HR [ ], BP [ ], [on/off pressors], CRT [ ], lactate [ ]." />
</div>
<div>
<label>Renal</label>
<input id="s_renal" placeholder="UO [ ], Cr [ ], [on/off dialysis], electrolytes stable/labile." />
</div>
</div>
<div class="row">
<div>
<label>Heme</label>
<input id="s_heme" placeholder="Hb [ ], TLC [ ], ANC [ ], Plt [ ], bleeding [ ], transfusion [ ]." />
</div>
<div>
<label>Liver/Metabolic</label>
<input id="s_liver" placeholder="Bili [ ], AST/ALT [ ], INR [ ], Glu [ ], Alb [ ], dysfunction [Y/N]." />
</div>
</div>
<div class="row">
<div>
<label>Sepsis/Infection</label>
<input id="s_sepsis" placeholder="Temp [ ], source [known/unknown], empiric ABx [ ], cultures sent." />
</div>
<div>
<label>Immune/Chemo</label>
<input id="s_immune" placeholder="Neutropenic [Y/N], chemo [Y/N], G-CSF [Y/N], antifungals [Y/N]." />
</div>
</div>
<label>Lines/Access</label>
<input id="s_lines" placeholder="[CVC/HD cath/A-line/Foley/NGT] in situ; site [ ]." />
<label>Plan (single paragraph)</label>
<textarea id="s_plan" placeholder="Continue/wean/escalate/de-escalate; imaging; consults; family update; procedures planned..."></textarea>
<div class="btnrow">
<button class="primary" id="btnGenShort">Generate Short Rounds Note</button>
<button id="btnCopyOutS">Copy Output</button>
<button id="btnDownloadS">Download .txt</button>
</div>
</div>
<!-- Every-shift macro -->
<div class="tabpanel" data-panel="shift" style="display:none">
<h2>Record progress note every shift (macro)</h2>
<div class="p">One-click macro that forces documenting Lung/CVS/Renal trends exactly as you specified. It also flags missing fields before generation.</div>
<div class="row">
<div>
<label>Shift</label>
<select id="sh_shift">
<option value="Morning">Morning</option>
<option value="Evening">Evening</option>
<option value="Night">Night</option>
</select>
</div>
<div>
<label>AVPU / GCS / Sedation</label>
<input id="sh_neuro" placeholder="AVPU/GCS [ ], RASS/sedation [ ], delirium [ ]" />
</div>
</div>
<div class="divider"></div>
<h2>Lung condition (trend)</h2>
<div class="row">
<div>
<label>Oxygenation trend (PaO2/FiO2)</label>
<input id="sh_pf" placeholder="PaO2/FiO2: [ ], trend: [improving/static/worsening]" />
</div>
<div>
<label>Ventilation trend (PaCO2)</label>
<input id="sh_paco2" placeholder="PaCO2: [ ], trend: [ ]" />
</div>
</div>
<div class="row">
<div>
<label>Driving pressure trend (ΔP)</label>
<input id="sh_dp" placeholder="Driving pressure: [ ], trend: [ ]" />
</div>
<div>
<label>Support summary</label>
<input id="sh_support" placeholder="[RA/HFNC/NIV/MV], mode [ ], FiO2 [ ], PEEP [ ], RR [ ]" />
</div>
</div>
<div class="divider"></div>
<h2>Heart condition (trend)</h2>
<div class="row">
<div>
<label>MAP trend</label>
<input id="sh_map" placeholder="MAP: [ ], trend: [ ]" />
</div>
<div>
<label>PI trend</label>
<input id="sh_pi" placeholder="PI: [ ], trend: [ ]" />
</div>
</div>
<div class="row">
<div>
<label>Vasopressor / inotrope trend</label>
<input id="sh_pressor" placeholder="Pressors: [drug + dose], trend: [increasing/decreasing/stable/off]" />
</div>
<div>
<label>NT-proBNP trend (if relevant)</label>
<input id="sh_ntprobnp" placeholder="NT-proBNP: [ ], trend: [ ] / NA" />
</div>
</div>
<div class="divider"></div>
<h2>Kidney condition (trend)</h2>
<div class="row">
<div>
<label>Urine output trend</label>
<input id="sh_uo" placeholder="UO: [ ], trend: [ ]" />
</div>
<div>
<label>Creatinine trend</label>
<input id="sh_cr" placeholder="Creatinine: [ ], trend: [ ]" />
</div>
</div>
<div class="row">
<div>
<label>Urea trend</label>
<input id="sh_urea" placeholder="Urea: [ ], trend: [ ]" />
</div>
<div>
<label>Uric acid trend</label>
<input id="sh_ua" placeholder="Uric acid: [ ], trend: [ ]" />
</div>
</div>
<label>Electrolyte trend</label>
<input id="sh_elect" placeholder="Electrolytes: Na [ ], K [ ], Ca [ ], PO4 [ ], Mg [ ] — trend [stable/labile]" />
<div class="divider"></div>
<h2>Other mandatory line-items (shift)</h2>
<label>Liver / coagulation trend</label>
<input id="sh_liver" placeholder="LFT/INR trend: [ ]" />
<label>Bleeding + Platelets trend</label>
<input id="sh_bleed" placeholder="Bleeding: [Y/N, site], Platelets: [ ], trend: [ ]" />
<label>Procedures planned / done</label>
<input id="sh_proc" placeholder="Procedures: [planned/done/none]" />
<label>Family communication</label>
<input id="sh_family" placeholder="Family updated: [Y/N], by [ ], key points: [ ]" />
<div class="warnbox" style="margin-top:10px">
<b>Validation:</b> Generate is enabled even if fields are missing, but missing required fields are highlighted red for medico-legal completeness.
</div>
<div class="btnrow">
<button class="primary" id="btnMacroFill">One-click: insert macro text into note</button>
<button class="primary" id="btnGenShift">Generate Shift Progress Note</button>
<button id="btnCopyOutSH">Copy Output</button>
<button id="btnDownloadSH">Download .txt</button>
</div>
</div>
<!-- Procedure Note -->
<div class="tabpanel" data-panel="procedure" style="display:none">
<h2>Procedure Note (Template-driven)</h2>
<label>Procedure type</label>
<select id="pr_type"></select>
<label>Minimal variables (auto-insert into template)</label>
<div class="row">
<div>
<label>Side / Site</label>
<input id="pr_site" placeholder="e.g., Left radial / Right IJV / Right femoral..." />
</div>
<div>
<label>Indication</label>
<input id="pr_ind" placeholder="e.g., IBP + sampling / vasopressors / SLED..." />
</div>
</div>
<div class="row">
<div>
<label>Device / size</label>
<input id="pr_dev" placeholder="e.g., 20G 4 cm / 7 Fr 3 lumen / 11.5 Fr HD cath..." />
</div>
<div>
<label>Attempts / complications</label>
<input id="pr_att" placeholder="e.g., Single attempt, uncomplicated" />
</div>
</div>
<label>Overrides / add-ons (optional)</label>
<textarea id="pr_extra" placeholder="Any deviations, US findings, heparinization decision, confirmation steps..."></textarea>
<div class="btnrow">
<button class="primary" id="btnGenProc">Generate Procedure Note</button>
<button id="btnCopyOutP">Copy Output</button>
<button id="btnDownloadP">Download .txt</button>
</div>
</div>
<!-- ACLS Note -->
<div class="tabpanel" data-panel="acls" style="display:none">
<h2>ACLS Note (Template-driven)</h2>
<div class="row">
<div>
<label>Scenario</label>
<select id="c_scn">
<option value="ns_rosc">Non-shockable rhythm — ROSC achieved</option>
<option value="ns_norosc">Non-shockable rhythm — ROSC not achieved</option>
<option value="s_rosc">Shockable rhythm — ROSC achieved</option>
<option value="s_norosc">Shockable rhythm — ROSC not achieved</option>
</select>
</div>
<div>
<label>Airway during CPR</label>
<input id="c_airway" placeholder="e.g., i-gel #3/#4 / already intubated" />
</div>
</div>
<div class="row">
<div>
<label>Arrest time</label>
<input id="c_t0" placeholder="e.g., 14:32" />
</div>
<div>
<label>ROSC / TOD time</label>
<input id="c_t1" placeholder="e.g., ROSC 14:45 / TOD 14:58" />
</div>
</div>
<div class="row">
<div>
<label>Suspected reversible causes</label>
<input id="c_causes" placeholder="e.g., severe acidosis, hypoxia, hyperkalemia, septic shock..." />
</div>
<div>
<label>Key drugs / doses (override)</label>
<input id="c_drugs" placeholder="Optional: any deviations from default text" />
</div>
</div>
<label>Extra narrative (optional)</label>
<textarea id="c_extra" placeholder="Team members, shocks, ETCO2 notes, post-ROSC plan..."></textarea>
<div class="btnrow">
<button class="primary" id="btnGenACLS">Generate ACLS Note</button>
<button id="btnCopyOutC">Copy Output</button>
<button id="btnDownloadC">Download .txt</button>
</div>
</div>
<!-- Keeper Mode -->
<div class="tabpanel" data-panel="keeper" style="display:none">
<h2>Keeper Mode (Upgradability)</h2>
<div class="hint">
All dose-lines / bundles / templates live in <span style="font-family:var(--mono)">STORE.catalog</span>.
Export/import JSON for versioning and safe updates.
</div>
<label>Catalog JSON (editable)</label>
<textarea id="k_json" spellcheck="false"></textarea>
<div class="btnrow">
<button class="primary" id="btnApplyCatalog">Apply Catalog JSON</button>
<button id="btnRebuildCatalog">Refresh JSON from Current Catalog</button>
</div>
<div class="dangerbox" style="margin-top:10px">
Drafting tool only. Final clinical decisions and prescriptions remain with the treating team.
</div>
</div>
</div>
</section>
<!-- RIGHT: OUTPUT -->
<aside class="card">
<div class="inner">
<h2>Generated Output</h2>
<div class="p">Read, Check, Modify (as per actual patient data). Then copy into CIS/EMR; read again before save/commit. The responsibility of the saved information rests on the doctor on-duty.</div>
<div class="outbox">
<div class="output" id="out"></div>
</div>
<div class="footer">
Keeper tip: Export JSON as “Catalog_vXX.json” whenever you change dose-lines/templates.
</div>
</div>
</aside>
</div>
<section class="card" style="margin-top:14px">
<div class="inner">
<details id="scoresPanel" style="border:1px solid var(--border); border-radius:var(--radius); padding:10px 12px; background:rgba(255,255,255,.02)">
<summary style="cursor:pointer; font-weight:700; color:#dbeafe; list-style:none; outline:none;">
ICU Scores & Calculators (MPM₀-III, SOFA, GCS, CrCl)
<span class="small" style="font-weight:600; margin-left:8px; color:var(--muted)">(Click to expand)</span>
</summary>
<div class="divider" style="margin:10px 0"></div>
<div class="p" style="margin-top:0"></div>
<iframe
title="ICU Scores"
style="width:100%; height:980px; border:1px solid var(--border); border-radius:12px; background:#fff"
sandbox="allow-scripts allow-forms"
srcdoc="<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ICU All-in-One Calculator (MPM-III, SOFA, GCS, CrCl)</title>
<style>
:root { --primary: #2980b9; --secondary: #16a085; --bg: #f4f7f6; --text: #333; }
body { font-family: -apple-system, system-ui, sans-serif; background-color: var(--bg); color: var(--text); padding: 20px; line-height: 1.5; }
.container { max-width: 1000px; margin: auto; background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
h1 { text-align: center; color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 30px; }
h2 { background: var(--primary); color: white; padding: 10px 15px; border-radius: 6px; font-size: 1.2rem; margin-top: 35px; }
h2.sofa { background: var(--secondary); }
h2.gcs { background: #8e44ad; }
h2.crcl { background: #d35400; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 15px; }
.card { border: 1px solid #e0e0e0; padding: 15px; border-radius: 8px; background: #fafafa; }
.input-group { margin-bottom: 12px; }
label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 0.9rem; }
input[type="number"], select { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 0.85rem; cursor: pointer; }
.checkbox-group input { margin-top: 3px; }
button { width: 100%; padding: 12px; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 1rem; font-weight: bold; margin-top: 10px; transition: 0.2s; }
.btn-mpm { background: var(--primary); }
.btn-sofa { background: var(--secondary); }
.btn-gcs { background: #8e44ad; }
.btn-crcl { background: #d35400; }
button:hover { opacity: 0.9; transform: translateY(-1px); }
.result-box { margin-top: 15px; padding: 15px; background: #fff; border: 2px solid #eee; border-radius: 6px; text-align: center; font-weight: bold; font-size: 1.15rem; }
.note { font-size: 0.75rem; color: #666; font-style: italic; margin-top: 5px; line-height: 1.2; }
</style>
</head>
<body>
<div class="container">
<h1>ICU Clinical Calculators</h1>
<section>
<h2>Mortality Probability Model (MPM₀-III)</h2>
<div class="card">
<div class="grid" style="grid-template-columns: 1fr 1fr; margin-bottom: 15px;">
<div class="input-group">
<label>Age (Years)</label>
<input type="number" id="mpm_age" placeholder="Age 18+">
</div>
<div class="input-group">
<label>Admission Type</label>
<select id="mpm_adm_type">
<option value="elective">Elective Surgical</option>
<option value="medical">Medical / Unscheduled Surgical</option>
</select>
</div>
</div>
<div class="checkbox-group" style="background: #e1f5fe; padding: 10px; border-radius: 5px; border-left: 5px solid #03a9f4;">
<input type="checkbox" id="mpm_full_code" checked>
<label for="mpm_full_code"><strong>Full Code Status</strong> (Uncheck if DNR/DNI or limitation of care present at admission)</label>
</div>
<div class="grid">
<div>
<label style="color:var(--primary)">Physiological / Chronic Factors:</label>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="coma" data-b="2.0505" data-ia="-0.0075"><label>Coma / Deep Stupor (GCS 3-4)</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="sap90" data-b="1.4510" data-ia="-0.0085"><label>Systolic BP ≤ 90 mmHg</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="hr150" data-b="0.4332"><label>Heart Rate ≥ 150/min</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="dysrhythmia" data-b="0.8220" data-ia="-0.0101"><label>Cardiac Dysrhythmia</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="cpr" data-b="1.4973" data-ia="-0.0112"><label>CPR prior to admission</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="mech_vent" data-b="0.8216"><label>Mech. Ventilation (within 1h)</label></div>
</div>
<div>
<label style="color:var(--primary)">Co-morbidities:</label>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="met_cancer" data-b="3.2049" data-ia="-0.0330"><label>Metastatic Neoplasm</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="cirrhosis" data-b="2.0707" data-ia="-0.0224"><label>Cirrhosis</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="mass_effect" data-b="1.8553" data-ia="-0.0169"><label>Intracranial Mass Effect</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="cva" data-b="0.4108"><label>Cerebrovascular Incident</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="gibleed" data-b="-0.1653"><label>GI Bleeding</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="crf" data-b="0.5395"><label>Chronic Renal Insufficiency</label></div>
<div class="checkbox-group"><input type="checkbox" class="mpm-bit" id="arf" data-b="0.8412"><label>Acute Renal Failure</label></div>
</div>
</div>
</div>
<button class="btn-mpm" onclick="calcMPM3()">Calculate MPM-III Mortality</button>
<div id="mpm_res" class="result-box" style="border-color: var(--primary);">Prob: --</div>
</section>
<section>
<h2 class="sofa">SOFA Score (Sequential Organ Failure Assessment)</h2>
<div class="grid">
<div class="card">
<div class="input-group"><label>PaO₂ (mmHg)</label><input type="number" id="sofa_pao2" placeholder="Arterial O2"></div>
<div class="input-group"><label>FiO₂ (%)</label><input type="number" id="sofa_fio2" placeholder="21 - 100"></div>
<div class="checkbox-group"><input type="checkbox" id="sofa_vent"><label for="sofa_vent">Respiratory Support (Ventilator/CPAP)</label></div>
<div class="input-group">
<label>Coagulation (Platelets x10³/µL)</label>
<select id="sofa_plt"><option value="0">≥ 150</option><option value="1">&lt; 150</option><option value="2">&lt; 100</option><option value="3">&lt; 50</option><option value="4">&lt; 20</option></select>
</div>
</div>
<div class="card">
<div class="input-group">
<label>Liver (Bilirubin mg/dL)</label>
<select id="sofa_bili"><option value="0">&lt; 1.2</option><option value="1">1.2–1.9</option><option value="2">2.0–5.9</option><option value="3">6.0–11.9</option><option value="4">≥ 12.0</option></select>
</div>
<div class="input-group">
<label>Cardiovascular</label>
<select id="sofa_cv"><option value="0">MAP ≥ 70 mmHg</option><option value="1">MAP &lt; 70 mmHg</option><option value="2">Dopamine ≤ 5 or Dobutamine (any)</option><option value="3">Dopamine &gt; 5 or Epi/Norepi ≤ 0.1</option><option value="4">Dopamine &gt; 15 or Epi/Norepi &gt; 0.1</option></select>
</div>
<div class="input-group">
<label>Neurological (GCS)</label>
<select id="sofa_gcs_score"><option value="0">15</option><option value="1">13–14</option><option value="2">10–12</option><option value="3">6–9</option><option value="4">&lt; 6</option></select>
</div>
<div class="input-group">
<label>Renal (Creatinine mg/dL)</label>
<select id="sofa_cr"><option value="0">&lt; 1.2</option><option value="1">1.2–1.9</option><option value="2">2.0–3.4</option><option value="3">3.5–4.9 or UOP &lt; 500</option><option value="4">≥ 5.0 or UOP &lt; 200</option></select>
</div>
</div>
</div>
<button class="btn-sofa" onclick="calcSOFA()">Calculate SOFA Score</button>
<div id="sofa_res" class="result-box" style="border-color: var(--secondary);">Total: --</div>
</section>
<section>
<h2 class="gcs">Glasgow Coma Scale (GCS)</h2>
<div class="card">
<div class="grid">
<div class="input-group">
<label>Eyes (E)</label>
<select id="gcs_e"><option value="4">4 - Spontaneous</option><option value="3">3 - To Sound</option><option value="2">2 - To Pressure</option><option value="1">1 - None</option></select>
</div>
<div class="input-group">
<label>Verbal (V)</label>
<select id="gcs_v"><option value="5">5 - Oriented</option><option value="4">4 - Confused</option><option value="3">3 - Inappropriate</option><option value="2">2 - Sounds</option><option value="1">1 - None</option><option value="T">T - Intubated</option></select>
</div>
<div class="input-group">
<label>Motor (M)</label>
<select id="gcs_m"><option value="6">6 - Obeys</option><option value="5">5 - Localizing</option><option value="4">4 - Flexion/Withdrawal</option><option value="3">3 - Abnormal Flexion</option><option value="2">2 - Extension</option><option value="1">1 - None</option></select>
</div>
</div>
</div>
<button class="btn-gcs" onclick="calcGCS()">Calculate GCS</button>
<div id="gcs_res" class="result-box" style="border-color: #8e44ad;">Score: --</div>
</section>
<section>
<h2 class="crcl">Creatinine Clearance (Cockcroft-Gault)</h2>
<div class="card">
<div class="grid">
<div class="input-group"><label>Age (Years)</label><input type="number" id="cg_age"></div>
<div class="input-group"><label>Weight (kg)</label><input type="number" id="cg_wt"></div>
<div class="input-group"><label>Serum Creatinine (mg/dL)</label><input type="number" id="cg_cr" step="0.1"></div>
<div class="input-group"><label>Sex</label><select id="cg_sex"><option value="1">Male</option><option value="0.85">Female</option></select></div>
</div>
</div>
<button class="btn-crcl" onclick="calcCG()">Calculate CrCl</button>
<div id="cg_res" class="result-box" style="border-color: #d35400;">CrCl: -- mL/min</div>
</section>
</div>
<script>
// ARF/CRF Mutual Exclusivity Logic for MPM
document.getElementById('crf').addEventListener('change', function() { if(this.checked) document.getElementById('arf').checked = false; });
document.getElementById('arf').addEventListener('change', function() { if(this.checked) document.getElementById('crf').checked = false; });
function calcMPM3() {
const age = parseFloat(document.getElementById('mpm_age').value);
if (isNaN(age)) return alert("Please enter patient age.");
let logit = -5.36283 + (0.0385582 * age);
let factorCount = 0;
document.querySelectorAll('.mpm-bit').forEach(cb => {
if (cb.checked) {
factorCount++;
const b = parseFloat(cb.getAttribute('data-b'));
const ia = parseFloat(cb.getAttribute('data-ia') || 0);
logit += b + (ia * age);
}
});
if (document.getElementById('mpm_adm_type').value === 'medical') {
logit += 0.9097936;
factorCount++;
}
if (document.getElementById('mpm_full_code').checked) logit -= 0.7969783;
if (factorCount === 0) logit -= 0.4243604; // Zero Factor Logic
const prob = (Math.exp(logit) / (1 + Math.exp(logit))) * 100;
document.getElementById('mpm_res').innerText = "Predicted Mortality: " + prob.toFixed(2) + "%";
}
function calcSOFA() {
const pao2 = parseFloat(document.getElementById('sofa_pao2').value);
const fio2 = parseFloat(document.getElementById('sofa_fio2').value);
const vent = document.getElementById('sofa_vent').checked;
let r = 0;
if (!isNaN(pao2) && !isNaN(fio2)) {
const pf = pao2 / (fio2 / 100);
if (pf < 100 && vent) r = 4;
else if (pf < 200 && vent) r = 3;
else if (pf < 300) r = 2;
else if (pf < 400) r = 1;
}
const score = r + parseInt(document.getElementById('sofa_plt').value) +
parseInt(document.getElementById('sofa_bili').value) +
parseInt(document.getElementById('sofa_cv').value) +
parseInt(document.getElementById('sofa_gcs_score').value) +
parseInt(document.getElementById('sofa_cr').value);
document.getElementById('sofa_res').innerText = "Total SOFA: " + score;
}
function calcGCS() {
const e = parseInt(document.getElementById('gcs_e').value);
const v = document.getElementById('gcs_v').value;
const m = parseInt(document.getElementById('gcs_m').value);
if (v === 'T') document.getElementById('gcs_res').innerText = "GCS: " + (e + m) + "T";
else document.getElementById('gcs_res').innerText = "GCS: " + (e + parseInt(v) + m);
}
function calcCG() {
const age = parseFloat(document.getElementById('cg_age').value);
const wt = parseFloat(document.getElementById('cg_wt').value);
const cr = parseFloat(document.getElementById('cg_cr').value);
const sex = parseFloat(document.getElementById('cg_sex').value);
if (age && wt && cr) {
const cl = ((140 - age) * wt / (72 * cr)) * sex;
document.getElementById('cg_res').innerText = "CrCl: " + cl.toFixed(1) + " mL/min";
} else alert("Fill all CrCl fields.");
}
</script>
</body>
</html>"></iframe>
</details>
</div>
</section>
</main>
<script>
/** ===========================
* ICU Help & Support (v1.1)
* Added:
* 1) Order Composer (tick-box dose lines → collated block)
* 2) Short rounds CIS note
* 3) Every-shift progress macro with required lung/CVS/renal trend fields
* =========================== */
const APP_KEY = "ICU_HELP_SUPPORT_V1_1";
const nowLocal = () => {
const d = new Date();
const pad = n => String(n).padStart(2,"0");
return `${d.getFullYear()}-${pad(d.getMonth()+1)}-${pad(d.getDate())} ${pad(d.getHours())}:${pad(d.getMinutes())}`;
};
const STORE = {
meta: { app: "ICU Help & Support", version: "1.1", catalogVersion: "15Dec2025_base_plus" },
catalog: {
admissionSets: [
{ id:"labs_schema", label:"Labs schema (admission + daily + indication-based)", text:
`General schema of lab investigations in ICU:
• On admission: ABG, CBC, coagulation profile, kidney function tests & electrolytes, LFT, CRP; send blood + urine culture; 12-lead ECG.
• Daily labs: ABG, CBC, coag profile, KFT+electrolytes, LFT, CRP.
• Indication-based: NT-proBNP (undifferentiated shock), D-dimer/fibrinogen (bleeding/thrombosis), procalcitonin (sepsis progression), FT4/TSH, ND-BAL culture (VAP), repeat cultures (persistent fever), ECG (arrhythmia), CXR AP (pneumonia/ARDS/after tubes/lines).`
},
{ id:"stress_ulcer", label:"Stress ulcer prophylaxis", text:"Inj. Pantoprazole 40 mg IV OD." },
{ id:"fluids", label:"Total fluid (IV + dilutions + enteral)", text:"Total fluid 60–150 mL/h. Fluids: RL / D5 / DNS / RL + 25 mL D50 = 2.5% DRL." },
{ id:"pneumonia_proph", label:"Pneumonia prophylaxis", text:
`Raise head of bed 15–20° (except hypotension/ongoing CPR).
Chlorhexidine mouth wash 15 mL 8 hourly orally.
Tab. Clotrimazole lozenges 6 hourly SL.`
},
{ id:"nutrition_bundle", label:"Nutrition bundle (baseline)", text:"Start enteral feeding within 24 h (except active UGIB, severe shock)." },
{ id:"transfusion_bundle", label:"Transfusion bundle", text:
`Hb < 7 g/dL: transfuse 1 unit irradiated PRBC over 4 h.
Platelets <10,000/mm3 without bleeding OR <30,000/mm3 with bleeding/CVC/dialysis catheter planned: 1 unit irradiated SDP over 40 min.
DIC with bleeding OR fibrinogen <200 mg/dL: cryoprecipitate 10–15 mL/kg (≈10 units) OR FFP (≈5 units).
Premedication 30 min prior: Avil 2 mL slow IV + Dexamethasone 6 mg slow IV (for SDP/RDP/FFP).`
},
],
antimicrobials: {
undiff_sepsis:
`Antimicrobial therapy:
• Inj. Meropenem 2 g IVI 8 hourly
• Inj. Vancomycin 1 g IVI (over 2 h) 12 hourly`,
sepsis_diarrhoea:
`Sepsis with diarrhoea:
• Tab. Rifaximine 400 mg PO/NGT 8 hourly OR
• Inj. Metronidazole 500 mg IVI 8 hourly`,
pneumonia:
`Pneumonia:
• Inj. Elores (Ceftriaxone+Sulbactam+EDTA) 1.5–3 g IVI 12 hourly × 10 days