Activated on patient record creation or when a user or a workgroup becomes owner of a patient record
Retrieve the configured defaultVisibility for the user (either from the user profile or, if missing, from its workgroup) or from the new owner profile.
If one defaultVisibility entry exists and the value is a valid visibility level, set the visibility accordingly
If more than one such entry exists, only look at the first one as described above and ignore the rest
If no such entry exists, do nothing