BGP82TI ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON JUN 09, 2008;
;;8.0;IHS CLINICAL REPORTING;**2**;MAR 12, 2008
;;BGP TOBACCO USER CPTS
;
; This routine loads Taxonomy BGP TOBACCO USER 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,"99407 ")
;;3
;;21,"G0375 ")
;;4
;;9002226,792,.01)
;;BGP TOBACCO USER CPTS
;;9002226,792,.02)
;;@
;;9002226,792,.04)
;;@
;;9002226,792,.06)
;;@
;;9002226,792,.08)
;;0
;;9002226,792,.09)
;;3080506
;;9002226,792,.11)
;;@
;;9002226,792,.12)
;;455
;;9002226,792,.13)
;;1
;;9002226,792,.14)
;;@
;;9002226,792,.15)
;;81
;;9002226,792,.16)
;;@
;;9002226,792,.17)
;;@
;;9002226,792,3101)
;;@
;;9002226.02101,"792,1034F ",.01)
;;1034F
;;9002226.02101,"792,1034F ",.02)
;;1035F
;;9002226.02101,"792,99406 ",.01)
;;99406
;;9002226.02101,"792,99406 ",.02)
;;99406
;;9002226.02101,"792,99407 ",.01)
;;99407
;;9002226.02101,"792,99407 ",.02)
;;99407
;;9002226.02101,"792,G0375 ",.01)
;;G0375
;;9002226.02101,"792,G0375 ",.02)
;;G0376
;
OTHER ; OTHER ROUTINES
Q
BGP82TI ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON JUN 09, 2008;
+1 ;;8.0;IHS CLINICAL REPORTING;**2**;MAR 12, 2008
+2 ;;BGP TOBACCO USER CPTS
+3 ;
+4 ; This routine loads Taxonomy BGP TOBACCO USER 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,"99407 ")
+6 ;;3
+7 ;;21,"G0375 ")
+8 ;;4
+9 ;;9002226,792,.01)
+10 ;;BGP TOBACCO USER CPTS
+11 ;;9002226,792,.02)
+12 ;;@
+13 ;;9002226,792,.04)
+14 ;;@
+15 ;;9002226,792,.06)
+16 ;;@
+17 ;;9002226,792,.08)
+18 ;;0
+19 ;;9002226,792,.09)
+20 ;;3080506
+21 ;;9002226,792,.11)
+22 ;;@
+23 ;;9002226,792,.12)
+24 ;;455
+25 ;;9002226,792,.13)
+26 ;;1
+27 ;;9002226,792,.14)
+28 ;;@
+29 ;;9002226,792,.15)
+30 ;;81
+31 ;;9002226,792,.16)
+32 ;;@
+33 ;;9002226,792,.17)
+34 ;;@
+35 ;;9002226,792,3101)
+36 ;;@
+37 ;;9002226.02101,"792,1034F ",.01)
+38 ;;1034F
+39 ;;9002226.02101,"792,1034F ",.02)
+40 ;;1035F
+41 ;;9002226.02101,"792,99406 ",.01)
+42 ;;99406
+43 ;;9002226.02101,"792,99406 ",.02)
+44 ;;99406
+45 ;;9002226.02101,"792,99407 ",.01)
+46 ;;99407
+47 ;;9002226.02101,"792,99407 ",.02)
+48 ;;99407
+49 ;;9002226.02101,"792,G0375 ",.01)
+50 ;;G0375
+51 ;;9002226.02101,"792,G0375 ",.02)
+52 ;;G0376
+53 ;
OTHER ; OTHER ROUTINES
+1 QUIT