SRS-012: Orchestrate severity analysis workflow
Identifier​
SRS-012
Software System​
- Orchestrator
Category​
- Functional
Description​
Upon receiving a severity analysis request via the API, the system shall orchestrate the end-to-end processing workflow. The system shall perform the following integrated actions:
- Parse Request: The system shall parse the incoming request to identify the specified assessment type (e.g., APASI, ASCORAD, AEASI) and the associated input data.
- Invoke Processors: The system shall sequentially invoke the required processors to handle the request.
- First, it shall execute pre-processing processors responsible for image adequacy assessment (
PRS-003
) and input validation (PRS-004
). - Upon successful pre-processing, it shall call the appropriate AI analysis processor based on the assessment type to generate raw clinical data.
- Aggregate Data: The system shall aggregate the raw data returned from all executed processors.
- Invoke Report Builder: The system shall pass the aggregated data to the Report Builder microservice to assemble the final, structured clinical report as defined in the relevant software requirements (e.g.,
SRS-003
,SRS-004
). - Return Response: The system shall return the final, structured report as the response to the initial API request.
Derived from PRS​
PRS-002
: Measure severity by combining image analysis and user-reported symptoms in scoring systems