File size: 9,713 Bytes
ef987bb | 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 | <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="960" viewBox="0 0 1200 960">
<style>[data-node] text { font-family: Arial, sans-serif; font-size: 11px; }</style>
<defs><marker id="arrow" markerWidth="8" markerHeight="8" refX="8" refY="4" orient="auto"><path d="M0 0L8 4L0 8Z" fill="#334155"/></marker></defs>
<rect width="1200" height="960" fill="#fff"/><text x="20" y="28" font-size="18">Emergency Medical Workflow</text>
<g fill="none" stroke="#94a3b8"><rect data-lane="triage" x="5" y="40" width="1190" height="105"/><rect data-lane="doctor" x="5" y="145" width="1190" height="105"/><rect data-lane="lab" x="5" y="250" width="1190" height="105"/><rect data-lane="specialist" x="5" y="355" width="1190" height="105"/><rect data-lane="admin" x="5" y="460" width="1190" height="125"/></g>
<g font-size="13" fill="#334155"><text x="8" y="58">Triage Nurse</text><text x="8" y="163">ER Physician</text><text x="8" y="268">Diagnostics</text><text x="8" y="373">Specialist Team</text><text x="8" y="478">Administration</text></g>
<g data-node="triage" data-lane-owner="triage" data-stage="1"><rect x="45" y="72" width="120" height="58" rx="8" fill="#f8fafc" stroke="#334155"/><rect x="48" y="75" width="35" height="8" fill="#ef4444"/><rect x="85" y="75" width="35" height="8" fill="#facc15"/><rect x="122" y="75" width="35" height="8" fill="#22c55e"/><text x="60" y="105">Arrival / Triage</text></g>
<g data-node="waiting" data-lane-owner="triage" data-stage="2"><rect x="230" y="82" width="120" height="48" rx="8" fill="#dcfce7"/><text x="247" y="111">Low-Risk Queue</text></g>
<g data-node="doctor" data-lane-owner="doctor" data-stage="2"><rect x="230" y="174" width="120" height="55" rx="8" fill="#fef3c7"/><text x="245" y="202">Initial ER Exam</text><text x="244" y="219">History / Orders</text></g>
<g data-node="lab" data-lane-owner="lab" data-stage="3"><rect x="420" y="278" width="125" height="58" rx="8" fill="#dbeafe"/><text x="436" y="304">Lab / Imaging / ECG</text><text x="440" y="322">Diagnostic Tests</text></g>
<g data-node="resuscitation" data-lane-owner="specialist" data-stage="4"><rect x="610" y="383" width="130" height="60" rx="8" fill="#fee2e2"/><text x="627" y="410">Critical Care</text><text x="628" y="429">Airway / Medication</text></g>
<g data-node="death" data-lane-owner="admin" data-stage="4"><rect x="610" y="505" width="130" height="38" rx="8" fill="#e5e7eb"/><text x="638" y="530">Death / End</text></g>
<g data-node="diagnosis" data-lane-owner="doctor" data-stage="5"><rect x="800" y="174" width="130" height="58" rx="8" fill="#ede9fe"/><text x="817" y="201">Diagnosis / Decision</text><text x="818" y="219">Review Test Results</text></g>
<g data-node="surgery" data-lane-owner="specialist" data-stage="5"><rect x="800" y="383" width="130" height="58" rx="8" fill="#fae8ff"/><text x="822" y="410">Surgery / Specialty</text><text x="825" y="428">Treatment / Monitor</text></g>
<g data-node="discharge" data-lane-owner="admin" data-stage="6"><rect x="985" y="475" width="125" height="30" rx="6" fill="#dcfce7"/><text x="1005" y="496">Discharge (End)</text></g>
<g data-node="admission" data-lane-owner="admin" data-stage="6"><rect x="985" y="515" width="125" height="30" rx="6" fill="#dbeafe"/><text x="1008" y="536">Admit / Assign Bed</text></g>
<g data-node="transfer" data-lane-owner="admin" data-stage="6"><rect x="985" y="555" width="125" height="30" rx="6" fill="#fef3c7"/><text x="1004" y="576">Transfer (End)</text></g>
<g data-node="ward" data-lane-owner="specialist" data-stage="6"><rect x="1035" y="398" width="130" height="38" rx="6" fill="#cffafe"/><text x="1052" y="423">Ward Handoff</text></g>
<g stroke="#334155" stroke-width="2" fill="none" marker-end="url(#arrow)">
<path data-from="triage" data-to="resuscitation" stroke="#dc2626" d="M165 110 H190 V365 H600 V400 H610"/><path data-from="triage" data-to="doctor" stroke="#d4a700" d="M165 101 H200 V195 H230"/><path data-from="triage" data-to="waiting" stroke="#16803d" d="M165 91 L230 105"/>
<path data-from="waiting" data-to="doctor" stroke="#334155" d="M290 130 V174"/><path data-from="doctor" data-to="resuscitation" stroke="#334155" d="M350 218 H375 V375 H590 V410 H610"/><path data-from="doctor" data-to="lab" stroke="#334155" d="M350 205 H390 V300 H420"/><path data-from="doctor" data-to="discharge" stroke="#334155" d="M350 190 H365 V155 H965 V490 H985"/>
<path data-from="lab" data-to="diagnosis" stroke="#334155" d="M545 292 H760 V215 H800"/><path data-from="lab" data-to="surgery" stroke="#334155" d="M545 325 H775 V400 H800"/>
<path data-from="resuscitation" data-to="diagnosis" stroke="#334155" d="M740 395 H750 V245 H790 V220 H800"/><path data-from="resuscitation" data-to="resuscitation" stroke="#334155" d="M740 425 C780 465 575 465 610 425"/><path data-from="resuscitation" data-to="death" stroke="#334155" d="M675 443 V505"/>
<path data-from="diagnosis" data-to="discharge" stroke="#334155" d="M930 185 H945 V490 H985"/><path data-from="diagnosis" data-to="admission" stroke="#334155" d="M930 200 H953 V530 H985"/><path data-from="diagnosis" data-to="surgery" stroke="#334155" d="M865 232 V383"/><path data-from="diagnosis" data-to="transfer" stroke="#334155" d="M930 220 H961 V570 H985"/>
<path data-from="admission" data-to="ward" stroke="#334155" d="M1110 530 H1145 V436"/>
</g>
<text x="176" y="310" font-size="11" fill="#dc2626" stroke="white" stroke-width="3" paint-order="stroke">E1</text>
<text x="203" y="150" font-size="11" fill="#d4a700" stroke="white" stroke-width="3" paint-order="stroke">E2</text>
<text x="188" y="92" font-size="11" fill="#16803d" stroke="white" stroke-width="3" paint-order="stroke">E3</text>
<text x="294" y="151" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E4</text>
<text x="378" y="345" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E5</text>
<text x="393" y="261" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E6</text>
<text x="500" y="151" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E7</text>
<text x="700" y="288" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E8</text>
<text x="665" y="321" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E9</text>
<text x="753" y="310" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E10</text>
<text x="665" y="457" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E11</text>
<text x="680" y="483" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E12</text>
<text x="935" y="265" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E13</text>
<text x="948" y="310" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E14</text>
<text x="870" y="312" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E15</text>
<text x="961" y="355" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E16</text>
<text x="1148" y="485" font-size="11" fill="#334155" stroke="white" stroke-width="3" paint-order="stroke">E17</text>
<g font-size="13" fill="#172033"><text x="20" y="615">Branch Index (E numbers map to connectors; workflow visualization only, not clinical advice)</text>
<text data-edge-label="triage->resuscitation" x="20" y="644">E1 · triage → resuscitation: critical / red</text>
<text data-edge-label="triage->doctor" x="20" y="668">E2 · triage → doctor: severe / yellow</text>
<text data-edge-label="triage->waiting" x="20" y="692">E3 · triage → waiting: mild / green</text>
<text data-edge-label="waiting->doctor" x="20" y="716">E4 · waiting → doctor: initial exam after waiting</text>
<text data-edge-label="doctor->resuscitation" x="20" y="740">E5 · doctor → resuscitation: emergency care needed</text>
<text data-edge-label="doctor->lab" x="20" y="764">E6 · doctor → lab: further tests needed</text>
<text data-edge-label="doctor->discharge" x="20" y="788">E7 · doctor → discharge: outpatient treatment / prescription</text>
<text data-edge-label="lab->diagnosis" x="20" y="812">E8 · lab → diagnosis: normal results</text>
<text data-edge-label="lab->surgery" x="20" y="836">E9 · lab → surgery: abnormal results</text>
<text data-edge-label="resuscitation->diagnosis" x="610" y="644">E10 · resuscitation → diagnosis: condition stable</text>
<text data-edge-label="resuscitation->resuscitation" x="610" y="668">E11 · resuscitation → resuscitation: deterioration / repeat care</text>
<text data-edge-label="resuscitation->death" x="610" y="692">E12 · resuscitation → death: resuscitation unsuccessful</text>
<text data-edge-label="diagnosis->discharge" x="610" y="716">E13 · diagnosis → discharge: outpatient care / discharge</text>
<text data-edge-label="diagnosis->admission" x="610" y="740">E14 · diagnosis → admission: inpatient care needed</text>
<text data-edge-label="diagnosis->surgery" x="610" y="764">E15 · diagnosis → surgery: surgery needed</text>
<text data-edge-label="diagnosis->transfer" x="610" y="788">E16 · diagnosis → transfer: transfer needed</text>
<text data-edge-label="admission->ward" x="610" y="812">E17 · admission → ward: nursing handoff</text>
<text x="20" y="875">Triage: reception, registration, vital signs, and acuity level. Initial exam: history, physical exam, and test orders.</text><text x="20" y="902">Diagnostics: blood, urine, X-ray / CT / MRI, and ECG. Administration: discharge, bed assignment, and transfer.</text></g>
</svg>
|