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

BGP0POS2.m

Go to the documentation of this file.
BGP0POS2 ; IHS/CMI/LAB - NO DESCRIPTION PROVIDED 28 Jan 2005 1:34 PM ;
 ;;10.0;IHS CLINICAL REPORTING;;JUN 18, 2010
 ;
 ;
PRE ;EP
 ;CHANGE PACKAGE FILE NAME
 S BGPX=0 F  S BGPX=$O(^BGPPEIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPPEIT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPELIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPELIT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPELIIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPELIIT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPCMSIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPCMSIT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPNPLT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPNPLT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPHEIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPHEIT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPHEIIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPHEIIT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPINDTC(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPINDTC(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPINDT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPINDT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPTAXT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPTAXT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPCMSMT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPCMSMT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPSCAT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPSCAT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPICAGT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPICAGT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPICACT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPICACT(" D ^DIK
 F BGPX=0 F  S BGPX=$O(^BGPEOMT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPEOMT(" D ^DIK
 S BGPX=0 F  S BGPX=$O(^BGPEOMIT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPEOMIT(" D ^DIK
 F BGPX=1:1:2000 K ^BGPTAXT(BGPX)
 S BGPX=0 F  S BGPX=$O(^BGPTAXTT(BGPX)) Q:BGPX'=+BGPX  S DA=BGPX,DIK="^BGPTAXTT(" D ^DIK
 F BGPX=1:1:2000 K ^BGPTAXTT(BGPX)
 S X=0 F  S X=$O(^BGPSITE(X)) Q:X'=+X  S $P(^BGPSITE(X,0),U,3)=""
 S X=0 F  S X=$O(^ATXAX(X)) Q:X'=+X  D
 .I $D(^ATXAX(X,21,0)),$P(^ATXAX(X,21,0),U,2)'["9002226.02101A" S $P(^ATXAX(X,21,0),U,2)="9002226.02101A"
 .I $D(^ATXAX(X,41,0)),$P(^ATXAX(X,41,0),U,2)'["9002226.04101P" S $P(^ATXAX(X,41,0),U,2)="9002226.04101P"
 K ATXFLG
 Q