| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Report_Request_Input_Dept_before_submit</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>(Text(Status__c) = '申请中' &&  | 
| (RecordTypeId = '01210000000Qekj' || RecordTypeId = '01210000000Qeko' ) &&  | 
| ISNULL(Hospital_Department__c) | 
|   | 
| )</errorConditionFormula> | 
|     <errorMessage>报告书提交之前,请输入科室</errorMessage> | 
| </ValidationRule> |