BGP82TO ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON JUN 09, 2008;
;;8.0;IHS CLINICAL REPORTING;**2**;MAR 12, 2008
;;BGP SMOKER CPTS
;
; This routine loads Taxonomy BGP SMOKER CPTS
;
START ;
K:'$G(ATXPGMC) ^TMP("ATX",$J)
S ATXPGMC=$G(ATXPGMC)+1
F ATXI=1:1 S X=$P($T(TMP+ATXI),";;",2,99) Q:X="" S X="^TMP(""ATX"",$J,"_X,ATXI=ATXI+1,Y=$P($T(TMP+ATXI),";;",2,99) S @X=Y
D OTHER
I $O(^TMP("ATX",$J,3.6,0)) D BULL^ATXSTX2
I $O(^TMP("ATX",$J,9002226,0)) D TAX^ATXSTX2
D KILL^ATXSTX2
Q
;
TMP ;;TAXONOMY (WITH BULLETIN)
;;21,"1034F ")
;;1
;;21,"99406 ")
;;2
;;21,"G0375 ")
;;3
;;9002226,794,.01)
;;BGP SMOKER CPTS
;;9002226,794,.02)
;;@
;;9002226,794,.04)
;;@
;;9002226,794,.06)
;;@
;;9002226,794,.08)
;;0
;;9002226,794,.09)
;;3080529
;;9002226,794,.11)
;;@
;;9002226,794,.12)
;;455
;;9002226,794,.13)
;;1
;;9002226,794,.14)
;;@
;;9002226,794,.15)
;;81
;;9002226,794,.16)
;;@
;;9002226,794,.17)
;;@
;;9002226,794,3101)
;;@
;;9002226.02101,"794,1034F ",.01)
;;1034F
;;9002226.02101,"794,1034F ",.02)
;;1034F
;;9002226.02101,"794,99406 ",.01)
;;99406
;;9002226.02101,"794,99406 ",.02)
;;99407
;;9002226.02101,"794,G0375 ",.01)
;;G0375
;;9002226.02101,"794,G0375 ",.02)
;;G0376
;
OTHER ; OTHER ROUTINES
Q
BGP82TO ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON JUN 09, 2008;
+1 ;;8.0;IHS CLINICAL REPORTING;**2**;MAR 12, 2008
+2 ;;BGP SMOKER CPTS
+3 ;
+4 ; This routine loads Taxonomy BGP SMOKER CPTS
+5 ;
START ;
+1 IF '$GET(ATXPGMC)
KILL ^TMP("ATX",$JOB)
+2 SET ATXPGMC=$GET(ATXPGMC)+1
+3 FOR ATXI=1:1
SET X=$PIECE($TEXT(TMP+ATXI),";;",2,99)
IF X=""
QUIT
SET X="^TMP(""ATX"",$J,"_X
SET ATXI=ATXI+1
SET Y=$PIECE($TEXT(TMP+ATXI),";;",2,99)
SET @X=Y
+4 DO OTHER
+5 IF $ORDER(^TMP("ATX",$JOB,3.6,0))
DO BULL^ATXSTX2
+6 IF $ORDER(^TMP("ATX",$JOB,9002226,0))
DO TAX^ATXSTX2
+7 DO KILL^ATXSTX2
+8 QUIT
+9 ;
TMP ;;TAXONOMY (WITH BULLETIN)
+1 ;;21,"1034F ")
+2 ;;1
+3 ;;21,"99406 ")
+4 ;;2
+5 ;;21,"G0375 ")
+6 ;;3
+7 ;;9002226,794,.01)
+8 ;;BGP SMOKER CPTS
+9 ;;9002226,794,.02)
+10 ;;@
+11 ;;9002226,794,.04)
+12 ;;@
+13 ;;9002226,794,.06)
+14 ;;@
+15 ;;9002226,794,.08)
+16 ;;0
+17 ;;9002226,794,.09)
+18 ;;3080529
+19 ;;9002226,794,.11)
+20 ;;@
+21 ;;9002226,794,.12)
+22 ;;455
+23 ;;9002226,794,.13)
+24 ;;1
+25 ;;9002226,794,.14)
+26 ;;@
+27 ;;9002226,794,.15)
+28 ;;81
+29 ;;9002226,794,.16)
+30 ;;@
+31 ;;9002226,794,.17)
+32 ;;@
+33 ;;9002226,794,3101)
+34 ;;@
+35 ;;9002226.02101,"794,1034F ",.01)
+36 ;;1034F
+37 ;;9002226.02101,"794,1034F ",.02)
+38 ;;1034F
+39 ;;9002226.02101,"794,99406 ",.01)
+40 ;;99406
+41 ;;9002226.02101,"794,99406 ",.02)
+42 ;;99407
+43 ;;9002226.02101,"794,G0375 ",.01)
+44 ;;G0375
+45 ;;9002226.02101,"794,G0375 ",.02)
+46 ;;G0376
+47 ;
OTHER ; OTHER ROUTINES
+1 QUIT