The Evidence Review widget expects information in a specific XML format, which conforms to the appropriate schema, specified by evidence-review.xsd file located in the lib/curam/xml/schema folder of your CDEJ installation folder. This format is the same for both modes and can be distinguished by the value of EVIDENCE_REVIEW_EDITABLE. For the Edit mode it is set to true and for view mode it is set to false. Below is an example of this:
<EVIDENCE_REVIEW EDITABLE="true|false">
<QUESTION TYPE="NORMAL" SUB_TYPE="SVR_STRING" QUESTION_ID="Q1"
LABEL="What gender are you?" CHOSEN_ANSWER_ID="A1">
<ANSWERS>
<ANSWER ANSWER_ID="A1" NAME="John Doe"
DESCRIPTION="Claimant" VALUE="Male"/>
</ANSWERS>
</QUESTION>
<QUESTION TYPE="NORMAL" SUB_TYPE="COMMENTS" QUESTION_ID="Q2"
LABEL="What age are you?" CHOSEN_ANSWER_ID="">
<ANSWERS>
<ANSWER ANSWER_ID="A2" NAME="John Doe"
DESCRIPTION="Claimant" VALUE="35"/>
</ANSWERS>
</QUESTION>
<QUESTION TYPE="NORMAL" SUB_TYPE="BOOLEAN_TYPE"
QUESTION_ID="Q3" CHOSEN_ANSWER_ID="A3"
LABEL="Do you have trouble breathing when you walk?">
<ANSWERS>
<ANSWER ANSWER_ID="A3" NAME="John Doe"
DESCRIPTION="Claimant" VALUE="true"/>
<ANSWER ANSWER_ID="A4" NAME="Dr. Jones"
DESCRIPTION="General Practitioner" VALUE="Yes"/>
</ANSWERS>
</QUESTION>
<QUESTION TYPE="CODETABLE" SUB_TYPE="Cars" QUESTION_ID="Q5"
LABEL="What car do You own?" CHOSEN_ANSWER_ID="">
<ANSWERS>
<ANSWER ANSWER_ID="A7" NAME="John Doe"
DESCRIPTION="Claimant" VALUE="CR7"/>
<ANSWER ANSWER_ID="A8" NAME="Mr. Jones"
DESCRIPTION="Neighbour" VALUE="CR6"/>
</ANSWERS>
</QUESTION>
</EVIDENCE_REVIEW>
Table 1. Attributes of Evidence Review Question ElementAttribute |
Description |
TYPE |
The type is either
NORMAL
or
CODETABLE. |
SUB_TYPE |
The
behavior of the
SUB_TYPE
attribute value depends on the value of the
TYPE
attribute. In case
where the
TYPE
attribute is
specified as
NORMAL,
the
SUB_TYPE
refers to the
actual data type to used value; where
TYPE
value is specified as
CODETABLE,
the SUB_TYPE
value would be the name
of the codetable to use. |
QUESTION_ID |
Unique identifier for this element. |
LABEL |
Label for the question. |
CHOSEN_ANSWER_ID |
Pre-defined answer suggestion or
n/a
if no answer suggestion. |
Table 2. Attributes of Evidence Review Answer ElementAttribute |
Description |
ANSWER_ID |
Unique identifier for this element. |
NAME |
Specifies source of answer option. |
DESCRIPTION |
Qualifies the option source. |
VALUE |
The value of the question provided by named and qualified
source. |
Collapsible Cluster Support: Collapsible clusters are not supported for any cluster containing this widget.