Introduced logging of module ehr, pm or portal for activity log.