Medsim
Test run Core Simulation and Patient Management 🩺
- Manages patient cases with pathologies, interventions, and recovery parameters.
- Simulates and displays a real-time ECG waveform with dynamic vital sign data.
- Calculates heart rate from ECG data and provides synchronized audio/visual feedback.
- Analyses vital signs to automatically calculate a National Early Warning Score (NEWS).
- Applies a range of medical interventions, including fluids, antibiotics, and oxygen therapy.
- Tracks a dynamic task checklist and a performance score for user actions.
User Interface and Interaction
- Features a 3D medication carousel for selecting and spawning interventions.
- Controls the visibility of UI elements with a single-click toggle button.
- Generates and color-codes a NEWS table based on the severity of the patient's condition.
- Connects the entire system by acting as a central signal hub for all interventions.
- Provides an interactive viewer that displays medication and device information obtained from OpenFDA, allowing to browse, search, and reference drug data.
Patient Case Creation & Distribution
- Create and customize patient cases with vital signs, pathologies, interventions, and investigation results (including images). Completed cases can saved to user accounts.
3D Heart Visualization
- The simulation includes a 3D heart model that can rotate. Its beats are calculated from the real-time ECG data, reflecting the patient’s current heart rate and rhythm.
Logging and Networking 🖥️
- Logs all clinical events and broadcasts them across a multi-user network.
- Provides narrative feedback and logs patient milestones in real-time.
The simulation's basic logic involves a patient's vitals moving from a start value to an end value, a process driven by a deterioration rate. This foundational logic will be expanded upon to create more complex and realistic scenarios.
Basic Summary OF Simulation Case Logic 📉
Each case is defined by a set of basic rules that control how the simulation behaves. For a simple cardiac example, the logic is as follows:
- Start Values: The patient's vitals are set at their healthy baseline:
- Heart Rate: 75 bpm
- Respiratory Rate: 16
- Blood Pressure: 120/80 mmHg
- Deterioration Rate: The
deterioration_rate_per_secdetermines how fast the patient's condition worsens. For example, a rate of 0.01 means the condition worsens by 1% every second. - End Values: The vitals move toward specific unhealthy end values defined in the case. For this example, vitals would change toward:
- Heart Rate: 140 bpm
- Blood Pressure: 80/50 mmHg
- Reversing Deterioration: Applying the correct interventions (e.g., a beta-blocker) changes the logic. This stops the decline and causes the vitals to move back toward their original healthy start values.
This basic model provides the framework for all cases; it will be built upon by adding more variables, rules, and outcomes to make the simulation more realistic and challenging.
Leave a comment
Log in with itch.io to leave a comment.