QuestionnaireDecisionOutcomeMetadata Class

This class is used to store presentation data for questionnaires. Presentation data indicates the text that is displayed for a questionnaire. For example, if the presentation data is set to "mandatory" for a questionnaire, the text "mandatory" is displayed beside the questionnaire on the View Assessment Details and View Determination Details pages. Presentation data can also label a questionnaire as recommended. There is no validation for presentation data; it is for information purposes only.

Presentation data will only be read for questionnaires associated with a determination package and which link to an outcome and a decision matrix.

The following table describes the business processes that make up the QuestionnaireDecisionOutcomeMetadata class:

Table 1. QuestionnaireDecisionOutcomeMetadata Business Processes
Business Process Description
readQuestionnairePresentationData Reads the presentation data record for a questionnaire based on a key. This key distinguishes different versions of the same presentation data record.
listPresentationData This method returns a list of all presentation data records for a questionnaire.
readAllActiveOutcomes This method returns the list of all active outcomes on the system. It is used to link presentation data to an active outcome.
readPresentationDataHeaderDetails This method returns the questionnaire header details: questionnaire name, version number, type, and status.