A State Diagram of a Simple Healthcare Service Using Mermaid

Mermaid
Healthcare
Queueing Systems
Author

Galen Seilis

Published

August 10, 2024

Here is a simple diagram representing a healthcare service. This diagram can be used for communicating with clients about the basic structure of queueing systems.

stateDiagram
    direction LR
    [*] --> 🚑Arrivals
    🚑Arrivals --> ⏳Queue
    state ⏳Queue {
      direction LR
      🤒 --> 😷
      😷 --> 🤕
    }

    state 🏥Servers {
      direction LR
      👨🏾‍⚕️🧠
      👩🏾‍⚕️🩺
    }

    ⏳Queue --> ⚕️Service_Discipline
    ⚕️Service_Discipline --> 🏥Servers
    🏥Servers --> 🚘Departures
    🚘Departures --> [*]

stateDiagram
    direction LR
    [*] --> 🚑Arrivals
    🚑Arrivals --> ⏳Queue
    state ⏳Queue {
      direction LR
      🤒 --> 😷
      😷 --> 🤕
    }

    state 🏥Servers {
      direction LR
      👨🏾‍⚕️🧠
      👩🏾‍⚕️🩺
    }

    ⏳Queue --> ⚕️Service_Discipline
    ⚕️Service_Discipline --> 🏥Servers
    🏥Servers --> 🚘Departures
    🚘Departures --> [*]

Feel free to adapt this to your own slides and projects.