{
  "layout": "stacked-cards",
  "subsections": [
    {
      "id": "patient-journey",
      "title": "Your Visit, Step by Step",
      "blocks": [
        {
          "type": "flow-step",
          "stepNumber": 1,
          "heading": "Intake",
          "blocks": [
            {
              "type": "p",
              "text": "Check in at the Intake desk at the main Emergency Department entrance. Staff will take your basic details so your name is in the system."
            },
            {
              "type": "p",
              "html": "<strong>Children (under 18):</strong> The Child and Youth Emergency Zone (<abbr title=\"Child and Youth Emergency Zone\">CYEZ</abbr>) entrance is open 9:30 a.m. to 10:00 p.m. It is the door just to the right of the main ED entrance - check in at registration there. After 10:00 p.m., use the main ED entrance instead. Children still in <abbr title=\"Child and Youth Emergency Zone\">CYEZ</abbr> at closing (11:30 p.m.) are moved to the Green Zone."
            }
          ]
        },
        {
          "type": "flow-step",
          "stepNumber": 2,
          "heading": "Triage",
          "blocks": [
            {
              "type": "p",
              "text": "A triage nurse briefly assesses how urgent your condition is so that the sickest patients are seen first."
            },
            {
              "type": "p",
              "text": "During triage, the nurse will:"
            },
            {
              "type": "ul",
              "items": [
                "Ask about your main concern and symptoms. Focus on what is new today (e.g. \"the pain got worse this morning\")",
                "Check your vital signs (temperature, heart rate, blood pressure, oxygen)",
                "Ask about your medical history and current medications",
                { "html": "Assign an urgency level from 1 (most urgent) to 5 (least urgent) - see <button type=\"button\" class=\"inline-link section-jump\" data-section=\"how-ed-works\" data-subsection=\"urgency-levels\">urgency levels below</button>" }
              ]
            },
            {
              "type": "p",
              "html": "Bloodwork and an electrocardiogram (<abbr title=\"electrocardiogram\">ECG</abbr>) may be done here before you are moved to your designated zone."
            },
            {
              "type": "p",
              "html": "<strong>Need an interpreter?</strong> Tell any staff member. Free, day or night, in 300+ languages including American Sign Language (<abbr title=\"American Sign Language\">ASL</abbr>)."
            },
            {
              "type": "p",
              "html": "<strong>Let us know how we can help.</strong> You can share your preferred name, pronouns, or any needs (such as mobility, hearing, or visual support)."
            }
          ]
        },
        {
          "type": "flow-step",
          "stepNumber": 3,
          "heading": "Registration",
          "blocks": [
            {
              "type": "p",
              "text": "Go to Registration to give your personal details. This is combined with your triage info to make your chart. Have your health card ready if you have one. You will still be seen without a health card or ID."
            },
            {
              "type": "p",
              "text": "If you have a mobile phone, make sure the number is listed on your file. Staff may need to call you during your visit."
            }
          ]
        },
        {
          "type": "flow-step",
          "stepNumber": 4,
          "heading": "Zone Assignment",
          "blocks": [
            {
              "type": "p",
              "html": "After registration, you will be directed to your assigned zone. The ED has about 100 beds spread across 8 zones (<button type=\"button\" class=\"inline-link map-open-btn\" aria-label=\"View interactive ED map\">interactive map</button>)."
            },
            {
              "type": "p",
              "html": "Find your <button type=\"button\" class=\"inline-link section-jump\" data-section=\"how-ed-works\" data-subsection=\"find-your-zone\">zone</button> below to see what happens next."
            }
          ]
        },
        {
          "type": "flow-step",
          "stepNumber": 5,
          "heading": "Care & Waiting",
          "blocks": [
            {
              "type": "p",
              "text": "Your nurse and doctor will assess you, run tests, and treat you in your assigned zone. Waiting between visits is normal. Behind the scenes, the team is checking results and planning your care."
            },
            {
              "type": "p",
              "html": "<button type=\"button\" class=\"inline-link section-jump\" data-section=\"care\">Continue to Care &amp; Waiting →</button>"
            }
          ]
        },
        {
          "type": "flow-step",
          "stepNumber": 6,
          "heading": "Discharge",
          "blocks": [
            {
              "type": "p",
              "text": "When your assessment is complete, your doctor will go over next steps. Most patients go home; some are admitted to a hospital bed."
            },
            {
              "type": "p",
              "text": "You may get discharge papers with prescriptions and follow-up appointments. If anything is unclear, ask before you leave."
            },
            {
              "type": "p",
              "html": "<button type=\"button\" class=\"inline-link section-jump\" data-section=\"after\">Continue to After Your Visit →</button>"
            }
          ]
        }
      ]
    },
    {
      "id": "urgency-levels",
      "title": "Urgency Levels",
      "blocks": [
        {
          "type": "urgency-list",
          "items": [
            {
              "level": 1,
              "label": "Resuscitation",
              "description": "e.g., cardiac arrest, major trauma.",
              "hoursRange": "~10-11 hours"
            },
            {
              "level": 2,
              "label": "Emergent",
              "description": "e.g., chest pain, stroke symptoms.",
              "hoursRange": "~7-8 hours"
            },
            {
              "level": 3,
              "label": "Urgent",
              "description": "e.g., broken bones, abdominal pain.",
              "hoursRange": "~5 hours"
            },
            {
              "level": 4,
              "label": "Less urgent",
              "description": "e.g., minor cuts, sprains, earache.",
              "hoursRange": "~3-3.5 hours"
            },
            {
              "level": 5,
              "label": "Non-urgent",
              "description": "e.g., prescription refills, minor rashes.",
              "hoursRange": "~3-3.5 hours"
            }
          ]
        },
        {
          "type": "p",
          "html": "On average, most patients wait about 2 hours to see a doctor for the first time. Critical patients (Level 1) are seen much sooner."
        },
        {
          "type": "p",
          "html": "<em>These are averages from recent data. Your time may be longer or shorter. It depends on how busy the ED is and what tests or consults you need.</em>"
        }
      ]
    },
    {
      "id": "find-your-zone",
      "title": "Find Your Zone",
      "blocks": [
        {
          "type": "zone-selector",
          "intro": "",
          "zoneFlows": {
            "red": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "p",
                  "html": "<strong>Path A - Emergency Medical Services (EMS):</strong> You arrive by ambulance. Paramedics bring you straight to the Red Zone. Staff do triage and register you at your bedside."
                },
                {
                  "type": "p",
                  "html": "<strong>Path B - Traditional:</strong> After Intake and Triage, you are moved to the Red Zone. A nurse will walk you there right away."
                },
                {
                  "type": "ol",
                  "items": [
                    "Nurses assess you. Tests may begin immediately.",
                    "A doctor will assess you, order additional tests, and decide on treatment."
                  ]
                }
              ]
            },
            "blue": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "ol",
                  "items": [
                    {
                      "text": "You may be escorted by a nurse or walk on your own to the Blue Zone.",
                      "subitems": [
                        "You may wait in the main waiting room until a bed in Blue Zone is available. Extra hallway beds may open during busy times."
                      ]
                    },
                    "A nurse will assess you. Some tests may happen before you see a doctor.",
                    "A doctor will assess you, order any additional tests, and decide on treatment."
                  ]
                }
              ]
            },
            "pink": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "ol",
                  "items": [
                    {
                      "text": "You may be escorted by a nurse or walk on your own to the Pink Zone.",
                      "subitems": [
                        "You may wait in the main waiting room until a bed is available. Extra hallway beds may open during busy times."
                      ]
                    },
                    "A nurse will assess you. Some tests may happen before you see a doctor.",
                    "A doctor will assess you, order any additional tests, and decide on treatment."
                  ]
                }
              ]
            },
            "green": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "ol",
                  "items": [
                    "Drop your chart off in the bin beside the waiting room.",
                    "Wait in the waiting area until you are called. Extra hallway beds may open during busy times.",
                    "A nurse will assess you. Some tests may happen before you see a doctor.",
                    "A doctor will assess you, order any additional tests, and decide on treatment."
                  ]
                }
              ]
            },
            "raz": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "ol",
                  "items": [
                    "Drop your chart off in the bin at the nursing station.",
                    { "html": "Wait in the Rapid Assessment Zone (<abbr title=\"Rapid Assessment Zone\">RAZ</abbr>) waiting area until you are called." },
                    "A nurse will assess you. Some tests may happen before you see a doctor.",
                    "A doctor will assess you, order any additional tests, and decide on treatment."
                  ]
                },
                {
                  "type": "p",
                  "html": "<abbr title=\"Rapid Assessment Zone\">RAZ</abbr> closes around midnight. If you are still waiting at that time, you will be moved to the Green Zone."
                }
              ]
            },
            "yellow": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "ol",
                  "items": [
                    {
                      "html": "Drop off your chart at the <abbr title=\"Rapid Assessment Zone\">RAZ</abbr> nursing station. When it's your turn, a navigator will move you to the Yellow Zone."
                    },
                    "An orthopedic technician performs an initial assessment. An X-ray may be done at this stage.",
                    { "html": "Wait in the <abbr title=\"Rapid Assessment Zone\">RAZ</abbr> or Yellow Zone waiting area." },
                    "A doctor will assess you and may order additional imaging.",
                    "Treatment (e.g. casting, sutures) and discharge."
                  ]
                },
                {
                  "type": "p",
                  "html": "You can also book a same-day or next-day spot <a href=\"https://www.tehn.ca/programs-services/emergency/emergency-department-e-booking-portal-minor-injuries\" target=\"_blank\" rel=\"noopener noreferrer\">online</a> (6 slots per day). Arrive 30 minutes early."
                }
              ]
            },
            "purple": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "ol",
                  "items": [
                    "You may come here straight from triage. Or you may be moved here from another zone once your medical needs are checked.",
                    { "html": "Security or Psychiatric Emergency Zone (<abbr title=\"Psychiatric Emergency Zone\">PEZ</abbr>) staff walk you to the zone. As a safety step, personal items are checked and only essentials are allowed in. Staff will tell you what to expect." },
                    "You may first be seen by an ED physician for medical assessment and tests.",
                    "A mental health nurse or psychiatrist will then assess you. This may take many hours because these assessments are thorough and may need to be repeated."
                  ]
                },
                {
                  "type": "p",
                  "text": "The space is kept calm and low-stimulation. For safety, no visitors are permitted unless approved by staff. Staff are there to help - let them know if you need water, a blanket, or support while you wait."
                }
              ]
            },
            "cyez": {
              "blocks": [
                {
                  "type": "h4",
                  "text": "What happens here:"
                },
                {
                  "type": "p",
                  "html": "<strong>Regular hours (9:30 am - 10:00 pm):</strong> Enter through the <abbr title=\"Child and Youth Emergency Zone\">CYEZ</abbr> entrance. After triage and registration, the patient goes to <abbr title=\"Child and Youth Emergency Zone\">CYEZ</abbr>. Patients who are sicker may be moved to another zone (such as Red or Blue)."
                },
                {
                  "type": "ol",
                  "items": [
                    { "html": "Wait in the dedicated <abbr title=\"Child and Youth Emergency Zone\">CYEZ</abbr> waiting area until you are called." },
                    "A nurse will assess the patient. Some tests may happen before seeing a doctor.",
                    "A doctor will assess the patient, order any additional tests, and decide on treatment."
                  ]
                },
                {
                  "type": "p",
                  "text": "A Child Life Specialist can help the patient feel calmer during procedures. Virtual reality (VR) headsets are available to distract during blood draws or wound care."
                },
                {
                  "type": "p",
                  "html": "<abbr title=\"Child and Youth Emergency Zone\">CYEZ</abbr> closes at 11:30 pm; patients still waiting are moved to the Green Zone."
                },
                {
                  "type": "p",
                  "html": "<strong>After hours:</strong> Enter via the main ED entrance. After Triage and Registration, the patient is assigned to a zone."
                }
              ]
            }
          }
        }
      ]
    }
  ]
}
