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

APCDPREI.m

Go to the documentation of this file.
APCDPREI ; IHS/CMI/LAB - CREATED BY XBBPI ON OCT 14,1998 ;
 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
 ;
 ;
 ;kill of all protocol entries
 W !,"Deleting exisiting protocol entries."
 S XBX="APCD" F  S XBX=$O(^ORD(101,"B",XBX)) Q:XBX]"APCDZZ"  S DA=$O(^ORD(101,"B",XBX,0)) I DA S DIK="^ORD(101," D ^DIK
 W !,"Deleting all APCD namespaced INPUT TEMPLATES"
 S XBX="APCD" F  S XBX=$O(^DIE("B",XBX)) Q:XBX]"APCDZZ"  S DA=$O(^DIE("B",XBX,0)) I DA S DIK="^DIE(" D ^DIK
 S DA=$O(^DIC(19,"APCD 3M TASKED GENERATOR",0)) I DA S DIK="^DIC(19," D ^DIK
 S DA=$O(^DIC(19,"APCD 3M DELIQUENT REPORT",0)) I DA S DIK="^DIC(19," D ^DIK
 K ^UTILITY("XBDSET",$J) F XBBPI=1:1 S XBBPIX=$P($T(Q+XBBPI),";;",2) Q:XBBPIX=""  S XBBPIY=$P(XBBPIX,"=",2,99),XBBPIX=$P(XBBPIX,"=",1) S @XBBPIX=XBBPIY
 K XBBPI,XBBPIX,XBBPIY D EN2^XBKD
Q Q
 ;;^UTILITY("XBDSET",$J,9001001)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.2)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.3)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.4)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.5)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.6)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.7)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.8)=S^S
 ;;^UTILITY("XBDSET",$J,9001001.9)=S^S
 ;;^UTILITY("XBDSET",$J,9001002)=S^S