flowchart TB
  subgraph L_hd["Hospital Director"]
    direction TB
    n8["5.5.3b Hospital-wide sentinel event review and analysis"]
  end
  subgraph L_path["Pathologist"]
    direction TB
  end
  subgraph L_cmt["Chief Medical Technologist / Laboratory Quality Manager"]
    direction TB
    n4["5.5.1 Investigate occurrence and determine severity classification"]
    d1{"5.2.2 Occurrence severity classification?"}
    n5["5.5.2a Apply immediate correction and close locally in F-QM-010-A-V0"]
    n6["5.5.2b Route to LAB-QM-011 for root-cause analysis and structured CAPA"]
    n7["5.5.3a Report to Hospital Director and Pathologist for sentinel event analysis"]
    e1((("5.7.3 Review occurrence records in monthly trending and CQI")))
  end
  subgraph L_mt["Medical Technologists"]
    direction TB
    n1(["5.4a Discover occurrence or incident; implement immediate containment controls"])
    n2["5.4.1 Halt affected testing and quarantine suspect analyzers or reagents"]
    n3>"5.4.4 Log occurrence within 24 hours in master log section of F-QM-010-A-V0"]
    n9["5.4b Assess whether erroneous results were released; notify affected clinicians"]
  end
  n1 --> n2
  n2 --> n3
  n4 --> d1
  d1 -->|Minor| n5
  d1 -->|Major| n6
  d1 -->|Sentinel Event| n7
  n7 --> n8
  n8 --> n6
  n5 --> e1
  n6 --> e1
  n3 --> n9
  n9 --> n4
  classDef hospital_director fill:#D6E4F5,stroke:#1F4E79,stroke-width:2px,color:#000
  classDef pathologist fill:#E6DDF2,stroke:#5B3A8C,stroke-width:2px,color:#000
  classDef cmt_lqm fill:#FBE3C8,stroke:#B35C00,stroke-width:2px,color:#000
  classDef medical_technologists fill:#D5EFD9,stroke:#2E7D32,stroke-width:2px,color:#000
  class n1 medical_technologists
  class n2 medical_technologists
  class n3 medical_technologists
  class n4 cmt_lqm
  class d1 cmt_lqm
  class n5 cmt_lqm
  class n6 cmt_lqm
  class n7 cmt_lqm
  class n8 hospital_director
  class e1 cmt_lqm
  class n9 medical_technologists
