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.
|