Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: EDP20P

EDP20P.m

Go to the documentation of this file.
EDP20P ;PHI/WAR - Update EDPF SCHEDULING TRIGGER values ; 2/21/23 2:57pm
 ;;2.0;EMERGENCY DEPARTMENT;**20**;May 2, 2012;Build 7
 ;
 Q
 ;
INIT ;
 D CHG^XPAR("SYS","EDPF SCHEDULING TRIGGER",,"Check-in",.ERROR)
 D CHG^XPAR("PKG.EMERGENCY DEPARTMENT","EDPF SCHEDULING TRIGGER",,"Check-in",.ERROR)
CHGDIV ;
 N SITECODE,SITENAME
 S SITECODE=0
 F  S SITECODE=$O(^EDPB(231.9,"C",SITECODE)) Q:'SITECODE  D
 .S SITENAME=$P(^DIC(4,SITECODE,0),U,1)
 .D CHG^XPAR(""_"DIV"_"."_SITENAME_"","EDPF SCHEDULING TRIGGER",,"Check-in",.ERROR)
 Q