|
Download task_045/instruction.md from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 3.08 kB
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_045/instruction.md
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_045/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_045/instruction.md
3.08 kB
| # Draw an emergency-department swimlane diagram | |
| Deliver a standalone `.svg` at the project root, readable offline. Illustrate the clinical workflow as six left-to-right stages within five top-to-bottom horizontal role lanes. | |
| ## Lanes and ownership | |
| | Lane ID | Role and responsibilities | Node IDs | | |
| | --- | --- | --- | | |
| | `triage` | Triage nurse: reception, registration, vital signs and preliminary assessment | `triage`, `waiting` | | |
| | `doctor` | Emergency physician: history, examination, orders and diagnosis | `doctor`, `diagnosis` | | |
| | `lab` | Examination/laboratory: blood, urine, imaging and ECG | `lab` | | |
| | `specialist` | Specialist/surgical team: emergency treatment, surgery, monitoring and ward handover | `resuscitation`, `surgery`, `ward` | | |
| | `admin` | Administration: discharge, admission, ward allocation and transfer | `death`, `discharge`, `admission`, `transfer` | | |
| ## Stages and paths | |
| 1. **Arrival and triage:** critical (red) → emergency treatment; severe (yellow) → physician's initial exam; mild (green) → waiting, then initial exam. | |
| 2. **Initial examination:** take history, examine and order tests. Emergency care → resuscitation; further testing → lab; minor case/prescription → discharge. | |
| 3. **Examination and diagnosis:** show blood/urine tests, imaging (X-ray, CT or MRI) and ECG. Normal results → physician diagnosis (`lab->diagnosis`); abnormal results → surgery (`lab->surgery`). | |
| 4. **Emergency/critical care:** show cardiopulmonary resuscitation, airway management and emergency medication. Stabilized → diagnosis; deterioration → repeat resuscitation (`resuscitation->resuscitation`); unsuccessful → death. | |
| 5. **Diagnosis and disposition:** outpatient care → discharge; hospitalization → admission; surgery needed → surgical preparation; transfer needed → transfer coordination. | |
| 6. **Disposition processing:** discharge and transfer complete their workflows; admission leads to ward nursing handover. Mark death, discharge and transfer as terminal outcomes. | |
| ## Acceptance Checklist | |
| - Mark lanes with `data-lane` and nodes with `data-node`, `data-lane-owner` and `data-stage` (1–6). All twelve listed nodes are visibly inside their specified role lane; each stage is overall farther right than the previous stage. | |
| - Show all seventeen paths above as visible arrowed SVG lines, paths or polylines with `data-from` and `data-to` set to endpoint node IDs. Additional documented connections may not replace required ones or contradict terminal outcomes. | |
| - A connector starts and ends within five screen pixels of its respective node boundaries, has a visible stroke and uses `marker-end` referencing an SVG arrowhead marker. Route it around the interiors of unrelated nodes. | |
| - State each branch condition beside its arrow or in a corresponding visible legend; mark the label `data-edge-label="from->to"` using the endpoint IDs. Use the conditions above in English or Chinese. Color the critical, severe and mild triage connector strokes red, yellow and green respectively (for example `#d32f2f`, `#f9d40d`, `#388e3c`). | |