<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>ReapplyOPDPlan</fullName> 
 | 
    <active>true</active> 
 | 
    <description>通过再申请创建的OPD计划不可修改科室的值</description> 
 | 
    <errorConditionFormula>AND(Reapply__c, ISCHANGED(Account_Laboratory__c))</errorConditionFormula> 
 | 
    <errorMessage>通过再申请创建的OPD计划,不能修改科室的值</errorMessage> 
 | 
</ValidationRule> 
 |