Doctor_Create_dept_only
true
创建医生只能在科室里
($User.ProfileId <>'00e10000000Y3o5' && $User.ProfileId <> '00e10000000dEQx')&&RecordTypeId='01210000000QfWd'&&isnew()&&
(Account.RecordType.DeveloperName=='HP'||
BEGINS(Account.RecordType.DeveloperName, 'Department_Class')
)
AccountId
医生创建必须隶属于具体科室