SRS-028: Orchestrate diagnosis support workflow
Identifier
SRS-016
Software System
- Orchestrator
 
Category
- Functional
 
Description
Upon receiving a diagnosis support 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 extract the set of one or more dermatological images.
 - 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-7XK) and input validation (PRS-1V6). - Upon successful pre-processing, it shall call the appropriate AI analysis processor to generate the probability distributions and explainability heat maps.
 
 - First, it shall execute pre-processing processors responsible for image adequacy assessment (
 - Aggregate data: The system shall aggregate the results returned from the AI analysis processor, which includes both the aggregated probabilities and the per-image analyses.
 - 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 software requirements 
SRS-013,SRS-014, andSRS-015. - Return response: The system shall return the final, structured report.
 
Derived from PRS
PRS-8QJ: Generate an interpretative probability distribution of possible ICD categories by analysing images