# zoa-account/incident-reporting architecture

> Architecture diagram of the GitHub repository zoa-account/incident-reporting, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zoa-account/incident-reporting
- Repository: https://github.com/zoa-account/incident-reporting

## Overview

Incident Reporting is a Microsoft Power Platform application for humanitarian organizations. Users create and view reports in the app, including offline; submitting reports is online-only. The README identifies SharePoint Online as part of the solution and describes separate security-advisor and IT-administrator capabilities. It also lists language switching, conditional questions, emergency calling, SMS/location messaging, operating procedures, and a Power BI dashboard. No source excerpts or detailed technical-document contents were provided, so internal calls and data connections beyond the README’s stated relationships are not asserted.

Main entry points: [`installationfiles/power_apps_application.zip`](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip) (Reporting app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_reporting["Incident reporting"]
  node_app["Reporting app"]
  node_create["Create reports"]
  node_submit["Submit reports"]
  node_view["View reports"]
  node_questions[("Question database")]
end

subgraph group_support["App capabilities"]
  node_offline["Offline access"]
  node_languages["Language switching"]
  node_conditional["Conditional questions"]
  node_emergency["Emergency contact"]
  node_sms["SMS and location"]
  node_procedures["Operating procedures"]
end

subgraph group_oversight["Administration and analytics"]
  node_oversight_app["Report oversight"]
  node_roles["Role administration"]
  node_dashboard["Power BI dashboard"]
end

subgraph group_platform["Platform and data"]
  node_sharepoint[("SharePoint Online")]
  node_incident_db[("Incident database")]
  node_automation["Power Automate flow"]
end

node_reporter(("Incident reporter"))
node_advisor(("Security advisor"))
node_admin(("IT administrator"))

node_reporter -->|"uses"| node_app
node_app -->|"supports"| node_create
node_app -->|"supports"| node_submit
node_app -->|"supports"| node_view
node_app -->|"supports"| node_offline
node_app -->|"supports"| node_languages
node_app -->|"supports"| node_conditional
node_app -->|"supports"| node_emergency
node_app -->|"supports"| node_sms
node_app -->|"supports"| node_procedures
node_app -->|"uses"| node_sharepoint
node_advisor -->|"uses"| node_oversight_app
node_oversight_app -->|"extends"| node_roles
node_admin -->|"configures"| node_roles

click node_app "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_create "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_submit "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_view "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_questions "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/question_database.stp"
click node_offline "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_languages "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_conditional "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_emergency "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_sms "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_procedures "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_oversight_app "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_roles "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip"
click node_dashboard "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_bi_dashboard.pbit"
click node_incident_db "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/incident_database.stp"
click node_automation "https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_automate_flow.zip"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_create,node_submit,node_view,node_questions toneBlue
class node_offline,node_languages,node_conditional,node_emergency,node_sms,node_procedures toneAmber
class node_oversight_app,node_roles,node_dashboard toneMint
class node_sharepoint,node_incident_db,node_automation toneRose
class node_reporter,node_advisor,node_admin toneIndigo
```

## Components

### Incident reporting

- [Reporting app](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Create reports](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Submit reports](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [View reports](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Question database](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/question_database.stp): `installationfiles/question_database.stp`

### App capabilities

- [Offline access](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Language switching](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Conditional questions](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Emergency contact](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [SMS and location](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Operating procedures](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`

### Administration and analytics

- [Report oversight](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Role administration](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_apps_application.zip): `installationfiles/power_apps_application.zip`
- [Power BI dashboard](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_bi_dashboard.pbit): `installationfiles/power_bi_dashboard.pbit`

### Platform and data

- **SharePoint Online**
- [Incident database](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/incident_database.stp): `installationfiles/incident_database.stp`
- [Power Automate flow](https://github.com/zoa-account/incident-reporting/blob/master/installationfiles/power_automate_flow.zip): `installationfiles/power_automate_flow.zip`

### Other components

- **Incident reporter**
- **Security advisor**
- **IT administrator**

## Connections

- Incident reporter → Reporting app: uses (evidence: `README.md`)
- Reporting app → Create reports: supports (evidence: `README.md`)
- Reporting app → Submit reports: supports (evidence: `README.md`)
- Reporting app → View reports: supports (evidence: `README.md`)
- Reporting app → Offline access: supports (evidence: `README.md`)
- Reporting app → Language switching: supports (evidence: `README.md`)
- Reporting app → Conditional questions: supports (evidence: `README.md`)
- Reporting app → Emergency contact: supports (evidence: `README.md`)
- Reporting app → SMS and location: supports (evidence: `README.md`)
- Reporting app → Operating procedures: supports (evidence: `README.md`)
- Reporting app → SharePoint Online: uses (evidence: `README.md`)
- Security advisor → Report oversight: uses (evidence: `README.md`)
- Report oversight → Role administration: extends (evidence: `README.md`)
- IT administrator → Role administration: configures (evidence: `README.md`)
