- generic [ref=e2]:
  - complementary [ref=e3]:
    - generic [ref=e4]:
      - img "Al Hammadi" [ref=e6]
      - img "Al Hammadi" [ref=e8]
    - navigation [ref=e9]:
      - link [ref=e10] [cursor=pointer]:
        - /url: /analytics/dashboard/
        - img [ref=e11]
      - link [ref=e16] [cursor=pointer]:
        - /url: /
        - img [ref=e17]
      - button [ref=e20] [cursor=pointer]:
        - img [ref=e21]
      - link [ref=e22] [cursor=pointer]:
        - /url: /complaints/
        - img [ref=e23]
      - link [ref=e26] [cursor=pointer]:
        - /url: /inquiries/
        - img [ref=e27]
      - link [ref=e30] [cursor=pointer]:
        - /url: /observations/
        - img [ref=e31]
      - button [ref=e35] [cursor=pointer]:
        - img [ref=e36]
      - link [ref=e40] [cursor=pointer]:
        - /url: /appreciation/
        - img [ref=e41]
      - link [ref=e43] [cursor=pointer]:
        - /url: /suggestions/?feedback_type=suggestion
        - img [ref=e44]
      - button [ref=e47] [cursor=pointer]:
        - img [ref=e48]
      - button [ref=e52] [cursor=pointer]:
        - img [ref=e53]
      - link [ref=e58] [cursor=pointer]:
        - /url: /organizations/departments/
        - img [ref=e59]
      - link [ref=e63] [cursor=pointer]:
        - /url: /organizations/patients/
        - img [ref=e64]
      - link [ref=e67] [cursor=pointer]:
        - /url: /social/
        - img [ref=e68]
      - button [ref=e75] [cursor=pointer]:
        - img [ref=e76]
      - button [ref=e81] [cursor=pointer]:
        - img [ref=e82]
      - button [ref=e89] [cursor=pointer]:
        - img [ref=e90]
      - link [ref=e93] [cursor=pointer]:
        - /url: /notifications/send-sms/
        - img [ref=e94]
      - link [ref=e96] [cursor=pointer]:
        - /url: /config/
        - img [ref=e97]
      - link [ref=e100] [cursor=pointer]:
        - /url: /complaints/trash/
        - img [ref=e101]
      - link [ref=e104] [cursor=pointer]:
        - /url: /accounts/acknowledgements/my-acknowledgements/
        - img [ref=e105]
      - button [ref=e111] [cursor=pointer]:
        - img [ref=e112]
      - button [ref=e115] [cursor=pointer]:
        - img [ref=e116]
    - generic [ref=e120]:
      - paragraph [ref=e122]: Hospital
      - generic [ref=e123]:
        - combobox [ref=e124] [cursor=pointer]:
          - option "NUZHA" [selected]
          - option "SUWAIDI"
        - generic:
          - img
    - button [ref=e126] [cursor=pointer]:
      - img [ref=e127]
    - generic [ref=e130]:
      - link "🇬🇧" [ref=e131] [cursor=pointer]:
        - /url: /core/set-language/?language=en
        - generic [ref=e132]: 🇬🇧
      - link "🇸🇦" [ref=e133] [cursor=pointer]:
        - /url: /core/set-language/?language=ar
        - generic [ref=e134]: 🇸🇦
  - generic [ref=e135]:
    - banner [ref=e136]:
      - generic [ref=e137]:
        - heading "Good morning, PX! ☀️" [level=2] [ref=e138]
        - paragraph [ref=e139]: Welcome to PX360 Patient Experience Management
      - generic [ref=e140]:
        - generic [ref=e141]:
          - img [ref=e142]
          - textbox "Search..." [ref=e145]
        - button "7" [ref=e147] [cursor=pointer]:
          - img [ref=e148]
          - generic [ref=e151]: "7"
        - generic [ref=e152]:
          - link "🇬🇧 English" [ref=e153] [cursor=pointer]:
            - /url: /core/set-language/?language=en
            - generic [ref=e154]: 🇬🇧
            - generic [ref=e155]: English
          - link "🇸🇦 Arabic" [ref=e156] [cursor=pointer]:
            - /url: /core/set-language/?language=ar
            - generic [ref=e157]: 🇸🇦
            - generic [ref=e158]: Arabic
        - button "PX Admin PX Admin P" [ref=e160] [cursor=pointer]:
          - generic [ref=e161]:
            - generic [ref=e162]: PX Admin
            - generic [ref=e163]: PX Admin
          - generic [ref=e164]: P
          - img [ref=e165]
    - main [ref=e167]:
      - generic [ref=e168]:
        - generic [ref=e169]:
          - link "Cases" [ref=e170] [cursor=pointer]:
            - /url: /complaints/
          - img [ref=e171]
          - generic [ref=e173]: CMP-20260506-640283
          - generic [ref=e174]: Open
        - heading "Urgent Complaint" [level=1] [ref=e176]
      - navigation [ref=e177]:
        - button "Details" [ref=e178] [cursor=pointer]
        - button "Departments (0)" [ref=e179]:
          - text: Departments (0)
          - img [ref=e180]
        - button "Staff (0)" [ref=e183]:
          - text: Staff (0)
          - img [ref=e184]
        - button "Timeline (3)" [ref=e187]:
          - text: Timeline (3)
          - img [ref=e188]
        - button "PX Actions (0)" [ref=e191]:
          - text: PX Actions (0)
          - img [ref=e192]
        - button "AI Analysis" [ref=e195]:
          - img [ref=e196]
          - text: AI Analysis
          - img [ref=e199]
        - button "Explanation" [ref=e202]:
          - text: Explanation
          - img [ref=e203]
        - button "Resolution" [ref=e206]:
          - text: Resolution
          - img [ref=e207]
        - button "RCA" [ref=e210] [cursor=pointer]:
          - img [ref=e211]
          - text: RCA
      - main [ref=e214]:
        - generic [ref=e216]:
          - generic [ref=e217]:
            - generic [ref=e218]:
              - heading "Complaint Details" [level=3] [ref=e219]:
                - img [ref=e220]
                - text: Complaint Details
              - generic [ref=e222]: "Source: Staff"
            - paragraph [ref=e224]: "\"urgent\""
            - generic [ref=e225]:
              - generic [ref=e226]:
                - paragraph [ref=e227]: Location
                - paragraph [ref=e228]: Emergency
                - paragraph [ref=e229]: Medical > ER Doctors
              - generic [ref=e230]:
                - paragraph [ref=e231]: Severity
                - paragraph [ref=e232]: Critical
              - generic [ref=e233]:
                - paragraph [ref=e234]: Date Created
                - paragraph [ref=e235]: 06 May 2026, 12:30 AM
              - generic [ref=e236]:
                - paragraph [ref=e237]: Response Deadline
                - paragraph [ref=e238]: 06 May 2026, 12:30 PM
                - paragraph
            - generic [ref=e240] [cursor=pointer]:
              - checkbox "OVR Escalated as OVR" [ref=e241]
              - generic [ref=e242]:
                - generic [ref=e243]: OVR
                - generic [ref=e244]: Escalated as OVR
          - generic [ref=e245]:
            - heading "Classification" [level=3] [ref=e246]:
              - img [ref=e247]
              - text: Classification
            - generic [ref=e251]:
              - generic [ref=e252]:
                - paragraph [ref=e253]: Domain
                - paragraph [ref=e254]: CLINICAL
              - generic [ref=e255]:
                - paragraph [ref=e256]: Category
                - paragraph [ref=e257]: Quality
              - generic [ref=e258]:
                - paragraph [ref=e259]: Subcategory
                - paragraph [ref=e260]: Quality of Care
              - generic [ref=e261]:
                - paragraph [ref=e262]: Classification
                - paragraph [ref=e263]: Substandard clinical/nursing care
        - generic [ref=e264]:
          - generic [ref=e265]:
            - heading "Quick Actions" [level=3] [ref=e266]
            - generic [ref=e267]:
              - button "Assign" [ref=e268] [cursor=pointer]:
                - img [ref=e269]
                - generic [ref=e272]: Assign
              - button "Activate" [ref=e274] [cursor=pointer]:
                - img [ref=e275]
                - generic [ref=e278]: Activate
              - generic [ref=e279]:
                - img [ref=e280]
                - paragraph [ref=e283]: Activate this complaint to perform actions
              - button "Delete" [ref=e286] [cursor=pointer]:
                - img [ref=e287]
                - generic [ref=e290]: Delete
          - generic [ref=e291]:
            - heading "Update Status" [level=3] [ref=e292]:
              - img [ref=e293]
              - text: Update Status
            - generic [ref=e298]:
              - combobox [ref=e300]:
                - option "In Progress" [selected]
                - option "Cancelled"
                - option "Contacted"
                - option "Contacted, No Response"
              - generic [ref=e301]:
                - generic [ref=e302]: Note (Optional)
                - textbox "Add a note..." [ref=e303]
              - button "Update" [ref=e304] [cursor=pointer]:
                - img [ref=e305]
                - text: Update
          - generic [ref=e307]:
            - heading "Status Timeline" [level=3] [ref=e308]:
              - img [ref=e309]
              - text: Status Timeline
            - generic [ref=e313]:
              - generic [ref=e315]: May 06, 2026 00:30
              - generic [ref=e316]: Created
    - contentinfo [ref=e317]:
      - paragraph [ref=e318]:
        - text: Powered by
        - link "tenhal.sa" [ref=e319] [cursor=pointer]:
          - /url: https://tenhal.sa