Sample of the software requirement specifications to build the core diagnostic support system. The core diagnostic support system contains diagnostic algorithms for the screening and diagnostic sub-modules. These algorithms consist of three main components, namely the question item with its serial number; the ‘rater’s rule’ for the rater to apply; and the ‘decision rule’ for computer automation. Each question item is based on the official classificatory systems, but is more descriptive, uses culturally relevant idioms and examples, and is simple to comprehend. For every question item in the screening and diagnostic sub-modules, a ‘rater’s rule’ has been framed in a ‘yes/no’ format. The rater’s rule specifies how the interviewer should rate an item as present or absent, based on the intent of the question, the duration and persistence of symptoms, and the distress or dysfunction caused by the symptoms. Thus, it incorporates a threshold for symptoms. The third component, the ‘decision rule’ is an automated rule that governs the flow of the diagnostic algorithm, as it defines how this ‘yes’ or ‘no’ response will influence the diagnostic decision tree. The ‘decision rules’ have been built based on the diagnostic thresholds set by standardized classification systems, as well as socio-cultural norms, duration of symptoms, possibility of self-limiting symptoms, and dysfunction caused by symptoms.