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

AMH30P2.m

Go to the documentation of this file.
AMH30P2 ; IHS/CMI/LAB - POST INIT BH ;   [ 06/03/04  12:46 PM ]
 ;;3.0;IHS BEHAVIORAL HEALTH;**1**;JAN 27, 2003
 ;
 ;LORI -SEND OUT LISTER ITEMS
ENV ;EP 
 I $G(XPDENV)=1 S (XPDDIQ("XPZ1"),XPDDIQ("XPZ2"))=0
 Q
 ;
PRE ;
 S DIK="^DD(9002011.55,",DA=.13,DA(1)=9002011.55 D ^DIK
 S DIK="^DD(9002011.51,",DA=.06,DA(1)=9002011.51 D ^DIK
 S DIK="^DD(9002011,",DA=.17,DA(1)=9002011 D ^DIK
 S DA=$O(^AMHTACT("B",32,0)) I DA S DIE="^AMHTACT(",DR=".02///CLINICAL SUPERVISION PROVIDED" D ^DIE K DIE,DA,DR
 S DA=$O(^AMHPROB("B",19,0))
 I DA S DIE="^AMHPROB(",DR=".02///PERSONALITY DISORDER" D ^DIE
 S DA=$O(^AMHPROBC("B",19,0))
 I DA S DIE="^AMHPROBC(",DR=".02///PERSONALITY DISORDER" D ^DIE
 D ^XBFMK
 S DA=$O(^AMHTSDRG("B","TYLENOL (ACETOMINOPHEN)",0))
 I DA S DIE="^AMHTSDRG(",DR=".01///TYLENOL (ACETAMINOPHEN)" D ^DIE K DA,DR,DIE
 S DA=$O(^AMHTSDRG("B","TRICYLCLIC ANTIDEPRESSANTS (TC",0))
 I DA S DIE="^AMHTSDRG(",DR=".01///TRICYCLIC ANTIDEPRESSANT (TCA)" D ^DIE
 S DA=$O(^AMHTSDRG("B","BARBITUATES",0))
 I DA S DIE="^AMHTSDRG(",DR=".01///BARBITURATES" D ^DIE K DA,DR,DIE
 D ^XBFMK
 S X=0 F  S X=$O(^AMHTPLT(X)) Q:X'=+X  S $P(^AMHTPLT(X,0),U,2)=""
 F DA=1:1:200 S DIK="^AMHSORT(" D ^DIK
 Q
POST ;EP
 S DIK="^AMHPSUIC(",DIK(1)=".21^AEX" D ENALL^DIK
 S X=$$ADD^XPDMENU("AMH M MANAGER UTILITIES","AMH BACKLOAD CDMIS DATA","BLCD")
 I 'X W "Attempt to add cdmis backload option failed.." H 3
 S X=$$ADD^XPDMENU("AMH M PATIENT LISTINGS","AMH RPT TIME IN GRP","TSG")
 I 'X W "Attempt to add time in group report option failed.." H 3
 D ^AMH30P2B
 Q
 ;;
 ;
 ;;
 ;