--
ScottMaxson - 2013-08-22
Dev Changes for Lancaster General Health
Based on the
InspireIT platform. Lancaster has customer job roles and competencies, which means they need their own identity in the
dsugall Customer table.
The
!Category
and
!GroupCategory
as well as the
!Behavior
and
!GroupCatBehavior
database tables will need to be filled with the special competency "tree" values. See the
ITSBContentAdmin and
InspireIT pages for info about how these are set up.
This customer also asked for a check-box that users mark to confirm that they've discussed their plan and/or assessment results with their manager. This is in leiue of a full manager-assessment tool like
JnJCDX has. The checkbox is found on the landing page, which is mapped to a special action handler forward setting after the user logs in by the XML configuration setting:
<config name="dashboard_start_link" value="lgh_start_page"/>
This sends regular users to a landing page in the "LancasterGH" folder under "landing.jsp". The check box is tied via javascript with an ajax call to the class
UpdateUserProfile which makes the indicated change in a ProfileEntry database record using a new (for Lancaster) ProfileAttribute named "Manager Review" with a database ID = 9. Run the script in DSUG/database/schema_update20130821.sql for the INSERT statement to build this record.
If we need to clear out all Lancaster user's settings of this checkbox for the manager review, then a SQL statement like this will do it:
DELETE FROM ProfileEntry WHERE ProfileAttributeID=9 AND WebUserID IN (SELECT WebUserID FROM WebUser WHERE GroupID=
lgid );
where the value lgid is the CustomerGroup.GroupID for Lancaster's content model.