<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>DepartmentClass_Hospital_check</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>Hospital__c <> Department_Class__r.ParentId</errorConditionFormula> 
 | 
    <errorDisplayField>Department_Class__c</errorDisplayField> 
 | 
    <errorMessage>战略科室不是医院下面的</errorMessage> 
 | 
</ValidationRule> 
 |