Table Description
Activity Admin Condition Link : A link between an Activity Admin record (ServiceOffering, OutcomePlanActionAdmin) and a condition or condition set.

Conditional logic can be used to filter data such that it does not appear to a user, for example, recommended activities displayed in an outcome plan can be filtered such that only particular recommendations are displayed if configured conditions are met. A condition can be based on gender, age, a rule set, a factor score or a factor classification. Conditions can be grouped together into sets, for example, a condition set can contain a condition for gender and for age. This entiy stores the link between the admin configuration of an Outcome Plan Activity and a condition or condition set.

Example

An outcome plan is created for James Smith, Linda Smith and their child Robert to identify and address their issues. James Smith is classified as having a Need in Substance Abuse. Adolescent Substance Abuse Treatment and Adult Inpatient Substance Abuse Treatment have been configured as recommendations for clients classified as having a Need in Substance Abuse. A condition has been associated with Adolescent Substance Abuse Treatment such that it is only recommended if the client is between the ages of 16 and 18. A condition set has been associated with Adult Inpatient Substance Abuse Treatment such that it is only recommended to male clients over the age of 18. Based on this condition, Adult Inpatient Substance Abuse Treatment is recommended for James as he is over the age of 18 and is a male. This entity stores the link between the configured Adolescent Substance Abuse Treatment activity and the condition set.

Technical Notes

Optimistic locking is not required for this entity as the only modify operation allowed is cancel, which has it's own validations. One of conditionDataID or conditionSetID must be populated.

Relationship Diagram
Click the diagram to manipulate and zoom. Traverse the diagram using Click-and-Drag motions.
Model Details
Location in Model: Logical View::MetaModel::Curam::OutcomePlanning::OutcomePlan::Entity::Admin::ActivityAdminConditionLink::ActivityAdminConditionLink
Controlling File: AssessmentPlanning\model\Packages\OutcomePlanning\Entity\ActivityAdminConditionLink.efx
Table Options
ALLOW_OPTIMISTIC_LOCKINGno
Attributes (6)
AttributeStereotypeNullableDescriptionDomain DefinitionCodetableDDL Type
conditionDataIDdetailsyesIdentifier of the condition data record linked to the activity. One of conditionDataID or conditionSetID must be populated.INTERNAL_ID SVR_INT64
conditionSetIDdetailsyesIdentifier of the condition set linked to the activity. One of conditionDataID or conditionSetID must be populated.INTERNAL_ID SVR_INT64
recordStatusdetailsnoThe record status for the condition link, used to logically delete condition link records. RECORD_STATUS_CODERecordStatusSVR_STRING<10>
activityAdminConditionLinkIDkeynoThe primary key identifier for the link record.INTERNAL_ID SVR_INT64
activityAdminIDdetailsnoThe id of the related activity admin record.INTERNAL_ID SVR_INT64
activityTypedetailsnoThe type of the related activity record.OUTCOME_PLAN_ACTIVITY_TYPEOutcomePlanActivityTypeSVR_STRING<10>
Foreign Keys (2)
ChildParent
ActivityAdminConditionLink.conditionDataIDConditionData.conditionDataID
ActivityAdminConditionLink.conditionSetIDConditionSet.conditionSetID
Indices (3)
Index NameAttributes
ActivityAdminIdxactivityAdminID, activityType, recordStatus
IND_331346230conditionDataID
IND_163207148conditionSetID
Operations (9)
OperationStereotypeOptionsDescriptionSQL
insertinsertAUTO_ID: activityAdminConditionLinkID
AUTO_ID_KEY: OUTPLANBO
Standard Operation 
modifymodifyOPTIMISTIC_LOCKING: no
Standard Operation 
readread Standard Operation 
searchByConditionDataAndStatusreadmulti Searches for link records based on conditionDataID and recordStatus. 
searchByConditionSetAndStatusreadmulti Searches for link records based on conditionSetID and recordStatus. 
searchByActivityAdminAndStatusreadmulti Searches for link record by activityAdminID, activityType and recordStatus. The set returned is order by the order column. 
readByActivityAdminConditionAndStatusnsread Reads a link record based on activityAdminID, activityType, conditionDataID and recordStatus. 
readByActivityAdminConditionSetAndStatusnsread Reads a link record based on activityAdminID, activityType, conditionSetID and recordStatus. 
searchByStatusreadmulti Searches for link records based on th erecordStatus field. Used to list all the active link records. 
Related Pages (10)