For each top-level screen and sub-screen, you must write a Dynamic UIM file and associated .properties file, and then store these files on the database.
For each top-level screen, write UIM including the following:
<PAGE_PARAMETER NAME="determinationID"/> <PAGE_PARAMETER NAME="displayDate"/>
<SERVER_INTERFACE CLASS="CaseDetermination" NAME="DISPLAY" OPERATION="viewDecisionDisplayRulesCategoryXML" /> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="determinationID" /> <TARGET NAME="DISPLAY" PROPERTY="key$determinationID" /> </CONNECT> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="displayDate" /> <TARGET NAME="DISPLAY" PROPERTY="key$date" /> </CONNECT> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="CategoryRef" /> <TARGET NAME="DISPLAY" PROPERTY="key$categoryRef" /> </CONNECT>
CategoryRef=MY_CATEGORY_REF
<SERVER_INTERFACE CLASS="CaseDetermination" NAME="DISPLAY_PREV" OPERATION="viewPreviousDecisionDisplayRulesCategoryXML" /> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="determinationID" /> <TARGET NAME="DISPLAY_PREV" PROPERTY="key$determinationID" /> </CONNECT> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="displayDate" /> <TARGET NAME="DISPLAY_PREV" PROPERTY="key$date" /> </CONNECT> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="CategoryRef" /> <TARGET NAME="DISPLAY_PREV" PROPERTY="key$categoryRef" /> </CONNECT>
See the screen CREOLEDisplayRules_basicCaseDisplay.uim included with the Engine for a full example of a decision details top-level screen (including connection to a sub-screen).
For each sub-screen, write UIM including the following:
<PAGE_PARAMETER NAME="determinationID"/> <PAGE_PARAMETER NAME="displayDate"/> <PAGE_PARAMETER NAME="businessObjectID"/>
<SERVER_INTERFACE CLASS="CaseDetermination" NAME="DISPLAY" OPERATION="viewDecisionDisplayRuleCategorySubscreenXML" /> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="determinationID" /> <TARGET NAME="DISPLAY" PROPERTY="key$determinationID" /> </CONNECT> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="displayDate" /> <TARGET NAME="DISPLAY" PROPERTY="key$date" /> </CONNECT> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="CategoryRef" /> <TARGET NAME="DISPLAY" PROPERTY="key$categoryRef" /> </CONNECT> <CONNECT> <SOURCE NAME="PAGE" PROPERTY="businessObjectID" /> <TARGET NAME="DISPLAY" PROPERTY="key$businessObjectID" /> </CONNECT> <CONNECT> <SOURCE NAME="TEXT" PROPERTY="SubscreenName" /> <TARGET NAME="DISPLAY" PROPERTY="key$subscreenName" /> </CONNECT>
CategoryRef=MY_CATEGORY_REF SubscreenName=myCaseRuleAttributeWithDisplaySubscreenAnnotation
See the screen CREOLEDisplayRules_basicCaseDisplay_objectiveTagSubscreen.uim included with the Engine for a full example of a decision details sub-screen.
Refer to the Cúram Web Client Reference Manual for more details.