-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathccos.html
More file actions
1844 lines (1688 loc) · 103 KB
/
Copy pathccos.html
File metadata and controls
1844 lines (1688 loc) · 103 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.0">
<title>CCOS Analytics Mode — Hospital Workflow Reference</title>
<style>
:root {
--slate-900: #0f172a;
--slate-800: #1e293b;
--slate-700: #334155;
--slate-600: #475569;
--slate-400: #94a3b8;
--slate-200: #e2e8f0;
--slate-100: #f1f5f9;
--slate-50: #f8fafc;
--teal-700: #0f766e;
--teal-600: #0d9488;
--teal-100: #ccfbf1;
--teal-50: #f0fdfa;
--amber-700: #b45309;
--amber-100: #fef3c7;
--amber-50: #fffbeb;
--red-700: #b91c1c;
--red-100: #fee2e2;
--blue-700: #1d4ed8;
--blue-100: #dbeafe;
--blue-50: #eff6ff;
--violet-700:#6d28d9;
--violet-100:#ede9fe;
--green-700: #15803d;
--green-100: #dcfce7;
--page-bg: #f8fafc;
--sidebar-w: 220px;
--header-h: 56px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
background: var(--page-bg);
color: var(--slate-800);
font-size: 14px;
line-height: 1.5;
min-height: 100vh;
}
/* ── HEADER ── */
header {
position: sticky;
top: 0;
z-index: 100;
height: var(--header-h);
background: var(--slate-900);
display: flex;
align-items: center;
padding: 0 1.5rem;
gap: 1rem;
border-bottom: 1px solid var(--slate-700);
}
.logo {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.logo-mark {
width: 28px; height: 28px;
background: var(--teal-600);
border-radius: 6px;
display: flex; align-items: center; justify-content: center;
font-size: 14px; font-weight: 700; color: #fff;
letter-spacing: -0.5px;
flex-shrink: 0;
}
.logo-text { color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.logo-sub { color: var(--slate-400); font-size: 11px; font-weight: 400; margin-top: 1px; }
.header-search {
flex: 1;
max-width: 480px;
margin-left: auto;
position: relative;
}
.header-search input {
width: 100%;
height: 34px;
background: var(--slate-800);
border: 1px solid var(--slate-600);
border-radius: 6px;
padding: 0 12px 0 36px;
color: #fff;
font-size: 13px;
outline: none;
}
.header-search input::placeholder { color: var(--slate-400); }
.header-search input:focus { border-color: var(--teal-600); }
.search-icon {
position: absolute;
left: 10px; top: 50%;
transform: translateY(-50%);
color: var(--slate-400);
pointer-events: none;
font-size: 14px;
}
.disclaimer-badge {
display: flex; align-items: center; gap: 5px;
background: rgba(251,191,36,0.15);
border: 1px solid rgba(251,191,36,0.3);
border-radius: 4px;
padding: 3px 8px;
font-size: 11px; color: #fbbf24;
white-space: nowrap;
flex-shrink: 0;
}
/* ── LAYOUT ── */
.app-shell {
display: flex;
min-height: calc(100vh - var(--header-h));
}
/* ── SIDEBAR ── */
nav {
width: var(--sidebar-w);
flex-shrink: 0;
background: #fff;
border-right: 1px solid var(--slate-200);
padding: 1rem 0;
position: sticky;
top: var(--header-h);
height: calc(100vh - var(--header-h));
overflow-y: auto;
}
.nav-section-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--slate-400);
padding: 0.75rem 1rem 0.25rem;
}
.nav-btn {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 7px 1rem;
background: none;
border: none;
cursor: pointer;
font-size: 13px;
color: var(--slate-600);
text-align: left;
border-left: 2px solid transparent;
transition: background 0.1s, color 0.1s;
}
.nav-btn:hover { background: var(--slate-50); color: var(--slate-900); }
.nav-btn.active {
background: var(--teal-50);
color: var(--teal-700);
border-left-color: var(--teal-600);
font-weight: 500;
}
.nav-dot {
width: 8px; height: 8px;
border-radius: 50%;
flex-shrink: 0;
}
.nav-count {
margin-left: auto;
font-size: 10px;
background: var(--slate-100);
color: var(--slate-500);
border-radius: 10px;
padding: 1px 6px;
}
.nav-btn.active .nav-count {
background: var(--teal-100);
color: var(--teal-700);
}
.nav-divider { height: 1px; background: var(--slate-200); margin: 0.5rem 0; }
/* ── MAIN CONTENT ── */
main {
flex: 1;
padding: 1.5rem 2rem;
min-width: 0;
}
/* ── PHASE HERO ── */
.phase-hero {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1.25rem 1.5rem;
border-radius: 10px;
margin-bottom: 1.5rem;
border: 1px solid;
}
.phase-icon {
width: 40px; height: 40px;
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 20px;
flex-shrink: 0;
}
.phase-hero-text h2 { font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.phase-hero-text p { font-size: 13px; line-height: 1.5; }
/* ── TASK GROUPS ── */
.task-group { margin-bottom: 2rem; }
.group-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--slate-200);
}
.group-title {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--slate-500);
}
.group-tag {
font-size: 10px;
font-weight: 500;
padding: 2px 7px;
border-radius: 3px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
/* ── TASK CARDS ── */
.tasks { display: flex; flex-direction: column; gap: 8px; }
.task-card {
background: #fff;
border: 1px solid var(--slate-200);
border-radius: 8px;
padding: 12px 14px;
cursor: pointer;
transition: border-color 0.15s, box-shadow 0.15s;
position: relative;
}
.task-card:hover {
border-color: var(--teal-600);
box-shadow: 0 0 0 3px rgba(13,148,136,0.08);
}
.task-card.safety {
border-left: 3px solid var(--amber-700);
}
.task-card.critical {
border-left: 3px solid var(--red-700);
}
.task-card.evidence {
border-left: 3px solid var(--blue-700);
}
.task-card.learning {
border-left: 3px solid var(--violet-700);
}
.task-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
margin-bottom: 4px;
}
.task-title {
font-size: 13px;
font-weight: 600;
color: var(--slate-900);
line-height: 1.3;
}
.task-modules {
display: flex;
flex-wrap: wrap;
gap: 4px;
flex-shrink: 0;
}
.mod-chip {
font-size: 10px;
font-weight: 600;
padding: 2px 6px;
border-radius: 3px;
background: var(--slate-100);
color: var(--slate-600);
letter-spacing: 0.02em;
white-space: nowrap;
}
.mod-chip.pipeline {
background: var(--teal-100);
color: var(--teal-700);
}
.task-desc {
font-size: 12px;
color: var(--slate-500);
line-height: 1.5;
margin-bottom: 8px;
}
.task-prompt {
font-size: 11.5px;
color: var(--slate-700);
background: var(--slate-50);
border: 1px solid var(--slate-200);
border-radius: 5px;
padding: 8px 10px;
line-height: 1.5;
font-family: 'SF Mono', 'Fira Code', monospace;
position: relative;
}
.task-prompt em { color: var(--teal-700); font-style: normal; font-weight: 600; }
.copy-btn {
position: absolute;
top: 6px; right: 6px;
background: var(--slate-200);
border: none;
border-radius: 4px;
padding: 3px 7px;
font-size: 10px;
color: var(--slate-600);
cursor: pointer;
transition: background 0.1s;
}
.copy-btn:hover { background: var(--slate-300); }
.copy-btn.copied { background: var(--teal-100); color: var(--teal-700); }
.task-badges {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-top: 8px;
}
.badge {
font-size: 10px;
padding: 2px 7px;
border-radius: 3px;
font-weight: 500;
}
.badge-amber { background: var(--amber-100); color: var(--amber-700); }
.badge-red { background: var(--red-100); color: var(--red-700); }
.badge-blue { background: var(--blue-100); color: var(--blue-700); }
.badge-violet { background: var(--violet-100); color: var(--violet-700); }
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-slate { background: var(--slate-100); color: var(--slate-600); }
.badge-teal { background: var(--teal-100); color: var(--teal-700); }
/* pipeline expand */
.pipeline-steps {
display: none;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid var(--slate-200);
}
.pipeline-steps.open { display: block; }
.pipeline-step {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 4px 0;
font-size: 12px;
color: var(--slate-600);
}
.step-num {
font-size: 10px;
font-weight: 700;
color: var(--teal-700);
background: var(--teal-50);
border-radius: 3px;
padding: 1px 5px;
flex-shrink: 0;
margin-top: 1px;
}
.pipeline-toggle {
font-size: 11px;
color: var(--teal-700);
background: none;
border: none;
cursor: pointer;
padding: 0;
text-decoration: underline;
text-underline-offset: 2px;
margin-top: 6px;
}
/* search state */
.no-results {
text-align: center;
padding: 3rem 1rem;
color: var(--slate-400);
font-size: 14px;
}
.no-results strong { display: block; font-size: 16px; margin-bottom: 6px; color: var(--slate-600); }
/* count bar */
.result-bar {
font-size: 12px;
color: var(--slate-400);
margin-bottom: 1rem;
padding: 6px 12px;
background: var(--slate-100);
border-radius: 5px;
display: none;
}
.result-bar.visible { display: block; }
/* footer */
.footer {
text-align: center;
padding: 2rem;
font-size: 11px;
color: var(--slate-400);
border-top: 1px solid var(--slate-200);
margin-top: 2rem;
}
.footer a { color: var(--teal-600); text-decoration: none; }
/* phase colors */
.phase-admission { background: #eff6ff; border-color: #bfdbfe; }
.phase-admission .phase-icon { background: #dbeafe; }
.phase-admission h2, .phase-admission p { color: #1e3a5f; }
.phase-round { background: #f0fdfa; border-color: #99f6e4; }
.phase-round .phase-icon { background: #ccfbf1; }
.phase-round h2, .phase-round p { color: #134e4a; }
.phase-active { background: #fffbeb; border-color: #fde68a; }
.phase-active .phase-icon { background: #fef3c7; }
.phase-active h2, .phase-active p { color: #78350f; }
.phase-deteriorating { background: #fff1f2; border-color: #fecdd3; }
.phase-deteriorating .phase-icon { background: #fee2e2; }
.phase-deteriorating h2, .phase-deteriorating p { color: #881337; }
.phase-handover { background: #f5f3ff; border-color: #ddd6fe; }
.phase-handover .phase-icon { background: #ede9fe; }
.phase-handover h2, .phase-handover p { color: #4c1d95; }
.phase-learning { background: #f0fdf4; border-color: #bbf7d0; }
.phase-learning .phase-icon { background: #dcfce7; }
.phase-learning h2, .phase-learning p { color: #14532d; }
.phase-pipelines { background: #f8fafc; border-color: #e2e8f0; }
.phase-pipelines .phase-icon { background: #e2e8f0; }
.phase-pipelines h2, .phase-pipelines p { color: #1e293b; }
.phase-advocate { background: #fff7ed; border-color: #fed7aa; }
.phase-advocate .phase-icon { background: #ffedd5; }
.phase-advocate h2, .phase-advocate p { color: #7c2d12; }
@media (max-width: 768px) {
:root { --sidebar-w: 0px; }
nav { display: none; }
main { padding: 1rem; }
}
</style>
</head>
<body>
<header>
<div class="logo">
<div class="logo-mark">VR</div>
<div>
<div class="logo-text">VibeRounds · CCOS</div>
<div class="logo-sub">Analytics Mode — Hospital Workflow</div>
</div>
</div>
<div class="header-search">
<span class="search-icon">⚲</span>
<input type="text" id="searchInput" placeholder="Search tasks, modules, or clinical scenarios…" autocomplete="off">
</div>
<div class="disclaimer-badge">⚠ Educational use only — verify all outputs</div>
</header>
<div class="app-shell">
<nav id="sidebar">
<div class="nav-section-label">Hospital Phases</div>
<button class="nav-btn active" data-phase="admission" onclick="showPhase('admission',this)">
<span class="nav-dot" style="background:#3b82f6"></span>Admission & Presentation
<span class="nav-count" id="cnt-admission">12</span>
</button>
<button class="nav-btn" data-phase="round" onclick="showPhase('round',this)">
<span class="nav-dot" style="background:#0d9488"></span>Ward Round
<span class="nav-count" id="cnt-round">10</span>
</button>
<button class="nav-btn" data-phase="active" onclick="showPhase('active',this)">
<span class="nav-dot" style="background:#f59e0b"></span>Active Management
<span class="nav-count" id="cnt-active">12</span>
</button>
<button class="nav-btn" data-phase="deteriorating" onclick="showPhase('deteriorating',this)">
<span class="nav-dot" style="background:#ef4444"></span>Deteriorating Patient
<span class="nav-count" id="cnt-deteriorating">8</span>
</button>
<button class="nav-btn" data-phase="handover" onclick="showPhase('handover',this)">
<span class="nav-dot" style="background:#8b5cf6"></span>Handover & Closure
<span class="nav-count" id="cnt-handover">7</span>
</button>
<div class="nav-divider"></div>
<div class="nav-section-label">Workflows</div>
<button class="nav-btn" data-phase="pipelines" onclick="showPhase('pipelines',this)">
<span class="nav-dot" style="background:#475569"></span>Full Pipelines
<span class="nav-count" id="cnt-pipelines">8</span>
</button>
<button class="nav-btn" data-phase="advocate" onclick="showPhase('advocate',this)">
<span class="nav-dot" style="background:#f97316"></span>Patient Advocacy
<span class="nav-count" id="cnt-advocate">6</span>
</button>
<button class="nav-btn" data-phase="learning" onclick="showPhase('learning',this)">
<span class="nav-dot" style="background:#22c55e"></span>Learning & Education
<span class="nav-count" id="cnt-learning">10</span>
</button>
</nav>
<main id="mainContent">
<div class="result-bar" id="resultBar"></div>
<!-- ═══════════════════════════════════════════════════════════
PHASE: ADMISSION & PRESENTATION
═══════════════════════════════════════════════════════════ -->
<div class="phase-section" id="phase-admission">
<div class="phase-hero phase-admission">
<div class="phase-icon">🚨</div>
<div class="phase-hero-text">
<h2>Admission & Presentation</h2>
<p>From first encounter to working diagnosis. These tasks run during assessment, triage, and the first diagnostic cycle. The AI interrogates your reasoning — it does not hand you a diagnosis.</p>
</div>
</div>
<div class="task-group">
<div class="group-header">
<span class="group-title">First contact & orientation</span>
</div>
<div class="tasks">
<div class="task-card" data-tags="orientation route new user">
<div class="task-top">
<div class="task-title">Route-finding for a new session</div>
<div class="task-modules"><span class="mod-chip">M00</span></div>
</div>
<div class="task-desc">If you are new or unsure which module fits your situation, M00 identifies your role and routes you before any clinical data is entered.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
I am a <em>[student / registrar / consultant / advocate]</em>. My current clinical question is <em>[question]</em>. Run Cold-Start Orientation to identify the right module.
</div>
</div>
<div class="task-card" data-tags="diagnosis presentation semantic problem representation">
<div class="task-top">
<div class="task-title">Compress the case to a problem representation</div>
<div class="task-modules"><span class="mod-chip">M17</span></div>
</div>
<div class="task-desc">Before building a differential, compress the case to a one-sentence semantic problem representation. Qualifiers: acuity, severity, time course, host factors.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M17 on this case. Case: <em>[paste history and exam findings]</em>. Help me compress this to a precise one-sentence problem representation using semantic qualifiers.
</div>
</div>
<div class="task-card" data-tags="illness script prototype diagnosis">
<div class="task-top">
<div class="task-title">Build the illness script for the leading candidate</div>
<div class="task-modules"><span class="mod-chip">M15</span></div>
</div>
<div class="task-desc">Build the formal illness script for the suspected disease and use it as the comparator against your patient's actual findings.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M15 on <em>[suspected diagnosis]</em>. Then compare the illness script against this patient: <em>[key findings]</em>. Where does the patient fit the prototype and where do they deviate?
</div>
</div>
<div class="task-card" data-tags="differential diagnosis ddx expand rank">
<div class="task-top">
<div class="task-title">Differential diagnosis deep dive</div>
<div class="task-modules"><span class="mod-chip">M12</span></div>
</div>
<div class="task-desc">Expand, re-rank, and interrogate the differential. For each entry: what supports it, what excludes it, what investigation would move it up or down.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M12 on this case. Working diagnosis: <em>[diagnosis]</em>. Current DDx: <em>[list]</em>. Case summary: <em>[findings]</em>. Expand, re-rank, and interrogate each item.
</div>
</div>
</div>
</div>
<div class="task-group">
<div class="group-header">
<span class="group-title">Diagnostic reasoning</span>
</div>
<div class="tasks">
<div class="task-card" data-tags="hypothetico deductive hypothesis test">
<div class="task-top">
<div class="task-title">Test each hypothesis deductively</div>
<div class="task-modules"><span class="mod-chip">M56</span></div>
</div>
<div class="task-desc">State the leading hypothesis. The AI generates its testable predictions, then checks each against the case data — surfacing where evidence supports, undermines, or is absent.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M56 (Hypothetico-Deductive Model). Leading hypothesis: <em>[diagnosis]</em>. Case: <em>[summary]</em>. Generate the predictions this hypothesis makes, then test each against the data.
</div>
</div>
<div class="task-card" data-tags="bayesian likelihood ratio probability pre-test">
<div class="task-top">
<div class="task-title">Apply Bayesian likelihood ratios to key findings</div>
<div class="task-modules"><span class="mod-chip">M36</span></div>
</div>
<div class="task-desc">For each key finding, estimate pre-test probability and apply likelihood ratios. The AI audits numeric reasoning and shows how each finding shifts the posterior probability.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M36 (Bayesian Engine) on this case. Key findings: <em>[list]</em>. Leading diagnoses: <em>[list]</em>. Audit my probability estimates and show how each finding shifts the posterior.
</div>
</div>
<div class="task-card" data-tags="causal probabilistic reasoning network">
<div class="task-top">
<div class="task-title">Separate causal from probabilistic reasoning</div>
<div class="task-modules"><span class="mod-chip">M18</span></div>
</div>
<div class="task-desc">Run the case through both lenses. The AI surfaces where you are reasoning causally when the data only supports probabilistic inference — and vice versa.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M18 on this case. Case: <em>[summary]</em>. Working diagnosis: <em>[diagnosis]</em>. Identify where my reasoning is causal and where it is only probabilistic.
</div>
</div>
<div class="task-card" data-tags="pathophysiology mechanism first principles biology">
<div class="task-top">
<div class="task-title">Map first-principles pathophysiology</div>
<div class="task-modules"><span class="mod-chip">M31</span></div>
</div>
<div class="task-desc">Build the mechanistic chain from underlying biology to clinical presentation. The AI challenges every assumed step and asks for the molecular mechanism.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M31 on this presentation. Case: <em>[findings]</em>. Build the first-principles pathophysiological chain from mechanism to the clinical picture in front of me.
</div>
</div>
<div class="task-card" data-tags="red herring signal noise data">
<div class="task-top">
<div class="task-title">Red herring / signal-to-noise drill</div>
<div class="task-modules"><span class="mod-chip">M37</span></div>
</div>
<div class="task-desc">Classify every finding as signal, noise, or red herring. The AI challenges every classification. Use when a case feels complex because of data volume, not genuine ambiguity.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M37 on this case. All findings: <em>[full data set]</em>. Classify each finding as signal, noise, or red herring — then interrogate my classifications.
</div>
</div>
<div class="task-card" data-tags="naturalistic decision recognition primed pattern">
<div class="task-top">
<div class="task-title">Audit your pattern recognition</div>
<div class="task-modules"><span class="mod-chip">M20</span></div>
</div>
<div class="task-desc">Name the pattern you fired first. M20 runs the Recognition-Primed Decision model — what cues triggered it, what mental simulation you ran, where System 1 may have short-circuited.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M20 (Naturalistic Decision Making). The pattern I fired on this case: <em>[pattern/diagnosis]</em>. Case: <em>[summary]</em>. Audit the cues, the mental simulation, and the risk of premature closure.
</div>
</div>
<div class="task-card" data-tags="diagnostic anchor anchoring premature closure">
<div class="task-top">
<div class="task-title">Extract and interrogate the diagnostic anchor</div>
<div class="task-modules"><span class="mod-chip">M30</span><span class="mod-chip">M26</span></div>
</div>
<div class="task-desc">Identify the single finding most powerfully anchoring the current diagnosis. Defend it, test its reversibility, and reason through what happens if the anchor is wrong.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M30 → M26 on this case. Case: <em>[summary]</em>. Working diagnosis: <em>[diagnosis]</em>. Extract the diagnostic anchor, then run a full bias audit on my reasoning.
</div>
<div class="task-badges"><span class="badge badge-amber">Bias audit</span></div>
</div>
</div>
</div>
</div><!-- /admission -->
<!-- ═══════════════════════════════════════════════════════════
PHASE: WARD ROUND
═══════════════════════════════════════════════════════════ -->
<div class="phase-section" id="phase-round" style="display:none">
<div class="phase-hero phase-round">
<div class="phase-icon">📋</div>
<div class="phase-hero-text">
<h2>Ward Round</h2>
<p>Structured preparation, real-time case review, and on-round decision auditing. The AI plays a senior peer — probing each element and insisting on justification before you move on.</p>
</div>
</div>
<div class="task-group">
<div class="group-header"><span class="group-title">Preparation</span></div>
<div class="tasks">
<div class="task-card" data-tags="ward round sbar preparation presentation">
<div class="task-top">
<div class="task-title">Ward round preparation — structured SBAR</div>
<div class="task-modules"><span class="mod-chip">M04</span></div>
</div>
<div class="task-desc">Prepare the structured SBAR presentation for each patient. The AI acts as a senior peer, probing the problem list, active issues, outstanding investigations, and planned interventions.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M04 (Ward Round Preparation). Patient: <em>[age, sex, day of admission]</em>. Diagnosis: <em>[working diagnosis]</em>. Summary: <em>[24hr events, vitals, key data]</em>. Outstanding issues: <em>[list]</em>. Drill my presentation.
</div>
</div>
<div class="task-card" data-tags="overnight trends vitals trajectory">
<div class="task-top">
<div class="task-title">Overnight trend analysis</div>
<div class="task-modules"><span class="mod-chip">M27</span></div>
</div>
<div class="task-desc">Plot the trajectory of key parameters overnight. The AI identifies acceleration, deceleration, plateau, and trend reversal — then asks for clinical interpretation of each velocity change.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M27 (Time-Series Analyzer) on this patient's overnight data. Data: <em>[vitals, obs, bloods with timestamps]</em>. Identify velocity changes and ask me to interpret each one.
</div>
</div>
<div class="task-card" data-tags="real time case review data audit clean">
<div class="task-top">
<div class="task-title">Real-time case review & data audit</div>
<div class="task-modules"><span class="mod-chip">M05</span></div>
</div>
<div class="task-desc">Query and clean the case log before the round. The AI identifies data gaps, inconsistencies, and entries requiring verification — asking you to explain each anomaly.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M05 (Real-Time Case Review) on this patient's record. Case log: <em>[paste de-identified record]</em>. Identify gaps, inconsistencies, and data points needing verification before the round.
</div>
<div class="task-badges"><span class="badge badge-slate">⚠ De-identified data only</span></div>
</div>
<div class="task-card" data-tags="polypharmacy medication drug chart screen">
<div class="task-top">
<div class="task-title">Polypharmacy screen before the round</div>
<div class="task-modules"><span class="mod-chip">M13</span></div>
</div>
<div class="task-desc">Run the polypharmacy screen before stepping onto the ward. For each medication: indication, interaction, dose check, and deprescribing opportunity.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M13 (Medication Reconciliation) on this drug chart. Patient: <em>[age, weight, CrCl/eGFR, hepatic function]</em>. Medications: <em>[list with doses and frequency]</em>. Diagnoses: <em>[list]</em>.
</div>
<div class="task-badges"><span class="badge badge-amber">Safety</span><span class="badge badge-slate">⚠ De-identified</span></div>
</div>
</div>
</div>
<div class="task-group">
<div class="group-header"><span class="group-title">On-round decisions</span></div>
<div class="tasks">
<div class="task-card" data-tags="diagnostic timeout pause check missing">
<div class="task-top">
<div class="task-title">Diagnostic time-out before committing</div>
<div class="task-modules"><span class="mod-chip">M28</span></div>
</div>
<div class="task-desc">Pause at the moment of decision. What are we missing? What is the most dangerous diagnosis not yet excluded? Have we anchored prematurely? Assign explicit confidence levels before proceeding.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M28 (Diagnostic Time-Out) before I commit to this plan. Current diagnosis: <em>[diagnosis]</em>. Proposed plan: <em>[summary]</em>. Case: <em>[key findings]</em>. Force a full time-out.
</div>
<div class="task-badges"><span class="badge badge-amber">Safety gate</span></div>
</div>
<div class="task-card" data-tags="high value care audit test referral investigation">
<div class="task-top">
<div class="task-title">High-value care audit of outstanding requests</div>
<div class="task-modules"><span class="mod-chip">M34</span></div>
</div>
<div class="task-desc">Audit every outstanding test, investigation, and referral. What is the pre-test probability? What will this change? Does the benefit justify the cost and patient burden?</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M34 (HVC Auditor) on these outstanding requests. Requests: <em>[list of tests/referrals]</em>. Working diagnosis: <em>[diagnosis]</em>. Audit each for pre-test probability, clinical impact, and value.
</div>
</div>
<div class="task-card" data-tags="why now precipitant acute change decompensation">
<div class="task-top">
<div class="task-title">"Why now?" — precipitant for acute change</div>
<div class="task-modules"><span class="mod-chip">M33</span></div>
</div>
<div class="task-desc">Why did this patient change overnight? The AI will not accept "the disease progressed" — it interrogates for a specific precipitant: physiological, pharmacological, behavioural, or social.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M33 ("Why Now?" Hunter). Patient with known <em>[chronic diagnosis]</em> has acutely <em>[changed/deteriorated]</em>. Clinical findings: <em>[overnight data]</em>. Find the precipitant.
</div>
</div>
<div class="task-card" data-tags="discharge planning throughput bed flow operational">
<div class="task-top">
<div class="task-title">Discharge planning & throughput strategy</div>
<div class="task-modules"><span class="mod-chip">M40</span></div>
</div>
<div class="task-desc">Identify bottlenecks, sequence dependencies, and timing risks in the discharge or ongoing management plan. Build a throughput sequence that maximizes safety without sacrificing efficiency.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M40 (Operational Strategist) for this patient. Remaining clinical tasks before discharge: <em>[list]</em>. Constraints: <em>[bed pressures, specialty availability, investigations pending]</em>. Sequence optimally.
</div>
</div>
<div class="task-card" data-tags="epistemic certainty confidence calibration how certain">
<div class="task-top">
<div class="task-title">Map certainty across the management plan</div>
<div class="task-modules"><span class="mod-chip">M35</span></div>
</div>
<div class="task-desc">For each claim in the plan, assign epistemic status: established fact, evidence-based inference, reasonable assumption, or speculation. Identify where the plan rests on conjecture.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M35 (Epistemic Certainty Mapping) on this management plan. Diagnosis: <em>[diagnosis]</em>. Plan: <em>[list each element]</em>. Map the certainty status of each claim.
</div>
<div class="task-badges"><span class="badge badge-blue">Evidence</span></div>
</div>
</div>
</div>
</div><!-- /round -->
<!-- ═══════════════════════════════════════════════════════════
PHASE: ACTIVE MANAGEMENT
═══════════════════════════════════════════════════════════ -->
<div class="phase-section" id="phase-active" style="display:none">
<div class="phase-hero phase-active">
<div class="phase-icon">⚙️</div>
<div class="phase-hero-text">
<h2>Active Management</h2>
<p>Ongoing treatment decisions, evidence integration, and management plan auditing. The AI stress-tests your plan across the Conservative → Maximal decision spectrum.</p>
</div>
</div>
<div class="task-group">
<div class="group-header"><span class="group-title">Treatment decisions</span></div>
<div class="tasks">
<div class="task-card" data-tags="treatment compare options comparative analysis prognosis">
<div class="task-top">
<div class="task-title">Compare treatment options with prognosis trajectories</div>
<div class="task-modules"><span class="mod-chip">M48</span></div>
</div>
<div class="task-desc">Compare two or more treatment options: mechanism, evidence quality, response timeline, adverse event profile, and prognostic trajectory. The AI then audits your reasoning for choosing one path.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M48 on this management decision. Options: <em>[Option A vs Option B]</em>. Diagnosis: <em>[diagnosis]</em>. Patient profile: <em>[age, comorbidities, relevant factors]</em>. Compare and then audit my reasoning.
</div>
</div>
<div class="task-card" data-tags="decision spectrum conservative aggressive risk benefit">
<div class="task-top">
<div class="task-title">Map the full decision spectrum</div>
<div class="task-modules"><span class="mod-chip">Decision Spectrum</span></div>
</div>
<div class="task-desc">For any management decision, map Conservative → Minimal → Balanced → Aggressive → Maximal with explicit rationale and uncertainty flags at each step. Defend your position on the spectrum.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run the Decision Spectrum on this management question: <em>[specific decision]</em>. Patient: <em>[summary]</em>. Map all five positions with rationale, then ask me to defend where I am placing myself.
</div>
</div>
<div class="task-card" data-tags="guideline concordance protocol deviate evidence based">
<div class="task-top">
<div class="task-title">Check guideline concordance</div>
<div class="task-modules"><span class="mod-chip">M53</span></div>
</div>
<div class="task-desc">Map relevant clinical guidelines, identify where the management plan is concordant and where it deviates, and provide explicit justification for each deviation.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M53 (Clinical Guideline Navigator) on my management plan. Diagnosis: <em>[diagnosis]</em>. Plan: <em>[list]</em>. Identify which elements are guideline-concordant and interrogate each deviation.
</div>
<div class="task-badges"><span class="badge badge-blue">Evidence</span></div>
</div>
<div class="task-card" data-tags="counterfactual what if different age sex comorbidity">
<div class="task-top">
<div class="task-title">Counterfactual stress-test of the plan</div>
<div class="task-modules"><span class="mod-chip">M23</span></div>
</div>
<div class="task-desc">Run structured "what if" scenarios. What if the key finding were absent? What if the patient were 20 years older? How does the plan change across each counterfactual?</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M23 (Counterfactual Analysis) on this case. Diagnosis: <em>[diagnosis]</em>. Plan: <em>[plan]</em>. Test these counterfactuals: <em>[list — e.g. if CXR were normal, if patient were 75yo, if renal function were impaired]</em>.
</div>
</div>
</div>
</div>
<div class="task-group">
<div class="group-header"><span class="group-title">Safety & harm prevention</span>
<span class="group-tag badge-amber badge">Safety</span>
</div>
<div class="tasks">
<div class="task-card safety" data-tags="pre mortem failure imagine catastrophe anticipate">
<div class="task-top">
<div class="task-title">Clinical pre-mortem before implementing the plan</div>
<div class="task-modules"><span class="mod-chip">M42</span></div>
</div>
<div class="task-desc">Imagine the patient has come to harm six weeks from now. Work backwards to identify the most likely failure modes in the current plan, ranked by probability and severity.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M42 (Clinical Pre-Mortem) on this plan. Management plan: <em>[list]</em>. Imagine the patient has deteriorated in 4-6 weeks. Identify the most likely failure modes and rank them.
</div>
<div class="task-badges"><span class="badge badge-amber">Safety</span></div>
</div>
<div class="task-card safety" data-tags="iatrogenic harm domino downstream treatment complication">
<div class="task-top">
<div class="task-title">Iatrogenic domino effect — trace downstream harms</div>
<div class="task-modules"><span class="mod-chip">M29</span></div>
</div>
<div class="task-desc">Trace the downstream harm chain for each decision: Treatment A → Adverse Event B → Intervention C → Harm D. Use to stress-test the management plan before committing.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M29 (Iatrogenic Domino) on this management plan. Plan: <em>[list each treatment and intervention]</em>. Patient: <em>[comorbidities, medications, age]</em>. Trace the potential downstream harm chain for each decision.
</div>
<div class="task-badges"><span class="badge badge-amber">Safety</span></div>
</div>
<div class="task-card safety" data-tags="FMEA failure mode effects analysis risk rank">
<div class="task-top">
<div class="task-title">FMEA — rank failure modes in the management plan</div>
<div class="task-modules"><span class="mod-chip">M49</span></div>
</div>
<div class="task-desc">Apply Failure Mode and Effects Analysis to the clinical plan. Enumerate failure modes at each step, estimate severity and likelihood, and prioritize the highest-risk points.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M49 (FMEA) on this clinical plan. Plan: <em>[step-by-step management]</em>. For each step, identify failure modes, estimate severity (1–10) and likelihood (1–10), and rank overall risk.
</div>
<div class="task-badges"><span class="badge badge-amber">Safety</span></div>
</div>
<div class="task-card safety" data-tags="economics value based care cost resource allocation">
<div class="task-top">
<div class="task-title">Health economics & value-based care alignment</div>
<div class="task-modules"><span class="mod-chip">M43</span></div>
</div>
<div class="task-desc">Calculate or estimate cost-effectiveness, resource intensity, and value-based care alignment for the proposed plan. The AI challenges assumptions and asks for explicit trade-off reasoning.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M43 (Health Economics) on this management plan. Plan: <em>[list]</em>. Setting: <em>[tertiary / district / resource-limited]</em>. Evaluate cost-effectiveness and value alignment, then challenge my assumptions.
</div>
</div>
<div class="task-card" data-tags="systems based analysis patient team unit institutional">
<div class="task-top">
<div class="task-title">Systems-based clinical analysis</div>
<div class="task-modules"><span class="mod-chip">M51</span></div>
</div>
<div class="task-desc">Analyse through a systems lens: patient, team, unit, institutional, and societal factors contributing to this presentation or management risk. Identify intervention points at every level.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M51 (Systems-Based Analysis) on this case. Case: <em>[summary]</em>. Analyse contributing factors at the patient, team, unit, and institutional level. Identify where interventions are possible.
</div>
</div>
<div class="task-card" data-tags="bias audit anchoring availability commission">
<div class="task-top">
<div class="task-title">Full cognitive bias audit</div>
<div class="task-modules"><span class="mod-chip">M26</span></div>
</div>
<div class="task-desc">Systematic audit for anchoring, availability, premature closure, framing effects, and commission bias. The AI names each bias, its mechanism, and the specific moment it appears in the reasoning.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M26 (Bias Audit) on my diagnostic and management reasoning for this case. My full reasoning: <em>[describe how you reached your diagnosis and plan]</em>. Identify all cognitive biases present.
</div>
<div class="task-badges"><span class="badge badge-amber">Bias audit</span></div>
</div>
</div>
</div>
<div class="task-group">
<div class="group-header"><span class="group-title">Evidence integration</span>
<span class="group-tag badge-blue badge">Evidence</span>
</div>
<div class="tasks">
<div class="task-card evidence" data-tags="evidence frontier what is known literature review">
<div class="task-top">
<div class="task-title">Map the evidence frontier for a clinical question</div>
<div class="task-modules"><span class="mod-chip">M21</span></div>
</div>
<div class="task-desc">What is known, what is contested, what is recent, and where the evidence base is thin or absent — for this diagnosis or management question.</div>
<div class="task-prompt">
<button class="copy-btn" onclick="copyPrompt(this)">Copy</button>
Run M21 (Evidence Frontier) on this clinical question: <em>[PICO or specific question]</em>. Map what is established, what is contested, what is recent, and where genuine evidence gaps exist.
</div>
<div class="task-badges"><span class="badge badge-blue">Evidence</span></div>
</div>
<div class="task-card evidence" data-tags="EBM evidence based medicine PICO appraise sackett">
<div class="task-top">
<div class="task-title">Evidence-based medicine appraisal</div>
<div class="task-modules"><span class="mod-chip">M45</span><span class="mod-chip">Shadow M47</span></div>
</div>