BGP50K ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON AUG 05, 2014;
;;15.1;IHS CLINICAL REPORTING;;MAY 06, 2015;Build 143
;;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
;;21,"G8402 ")
;;5
;;21,"G8453 ")
;;6
;;21,"G8455 ")
;;7
;;21,"G9276 ")
;;8
;;9002226,584,.01)
;;BGP TOBACCO USER CPTS
;;9002226,584,.02)
;;@
;;9002226,584,.04)
;;n
;;9002226,584,.06)
;;@
;;9002226,584,.08)
;;0
;;9002226,584,.09)
;;3100511
;;9002226,584,.11)
;;@
;;9002226,584,.12)
;;455
;;9002226,584,.13)
;;1
;;9002226,584,.14)
;;@
;;9002226,584,.15)
;;81
;;9002226,584,.16)
;;@
;;9002226,584,.17)
;;@
;;9002226,584,3101)
;;@
;;9002226.02101,"584,1034F ",.01)
;;1034F
;;9002226.02101,"584,1034F ",.02)
;;1035F
;;9002226.02101,"584,99406 ",.01)
;;99406
;;9002226.02101,"584,99406 ",.02)
;;99406
;;9002226.02101,"584,99407 ",.01)
;;99407
;;9002226.02101,"584,99407 ",.02)
;;99407
;;9002226.02101,"584,G0375 ",.01)
;;G0375
;;9002226.02101,"584,G0375 ",.02)
;;G0376
;;9002226.02101,"584,G8402 ",.01)
;;G8402
;;9002226.02101,"584,G8402 ",.02)
;;G8402
;;9002226.02101,"584,G8453 ",.01)
;;G8453
;;9002226.02101,"584,G8453 ",.02)
;;G8453
;;9002226.02101,"584,G8455 ",.01)
;;G8455
;;9002226.02101,"584,G8455 ",.02)
;;G8456
;;9002226.02101,"584,G9276 ",.01)
;;G9276
;;9002226.02101,"584,G9276 ",.02)
;;G9276
;
OTHER ; OTHER ROUTINES
Q
BGP50K ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON AUG 05, 2014;
+1 ;;15.1;IHS CLINICAL REPORTING;;MAY 06, 2015;Build 143
+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 ;;21,"G8402 ")
+10 ;;5
+11 ;;21,"G8453 ")
+12 ;;6
+13 ;;21,"G8455 ")
+14 ;;7
+15 ;;21,"G9276 ")
+16 ;;8
+17 ;;9002226,584,.01)
+18 ;;BGP TOBACCO USER CPTS
+19 ;;9002226,584,.02)
+20 ;;@
+21 ;;9002226,584,.04)
+22 ;;n
+23 ;;9002226,584,.06)
+24 ;;@
+25 ;;9002226,584,.08)
+26 ;;0
+27 ;;9002226,584,.09)
+28 ;;3100511
+29 ;;9002226,584,.11)
+30 ;;@
+31 ;;9002226,584,.12)
+32 ;;455
+33 ;;9002226,584,.13)
+34 ;;1
+35 ;;9002226,584,.14)
+36 ;;@
+37 ;;9002226,584,.15)
+38 ;;81
+39 ;;9002226,584,.16)
+40 ;;@
+41 ;;9002226,584,.17)
+42 ;;@
+43 ;;9002226,584,3101)
+44 ;;@
+45 ;;9002226.02101,"584,1034F ",.01)
+46 ;;1034F
+47 ;;9002226.02101,"584,1034F ",.02)
+48 ;;1035F
+49 ;;9002226.02101,"584,99406 ",.01)
+50 ;;99406
+51 ;;9002226.02101,"584,99406 ",.02)
+52 ;;99406
+53 ;;9002226.02101,"584,99407 ",.01)
+54 ;;99407
+55 ;;9002226.02101,"584,99407 ",.02)
+56 ;;99407
+57 ;;9002226.02101,"584,G0375 ",.01)
+58 ;;G0375
+59 ;;9002226.02101,"584,G0375 ",.02)
+60 ;;G0376
+61 ;;9002226.02101,"584,G8402 ",.01)
+62 ;;G8402
+63 ;;9002226.02101,"584,G8402 ",.02)
+64 ;;G8402
+65 ;;9002226.02101,"584,G8453 ",.01)
+66 ;;G8453
+67 ;;9002226.02101,"584,G8453 ",.02)
+68 ;;G8453
+69 ;;9002226.02101,"584,G8455 ",.01)
+70 ;;G8455
+71 ;;9002226.02101,"584,G8455 ",.02)
+72 ;;G8456
+73 ;;9002226.02101,"584,G9276 ",.01)
+74 ;;G9276
+75 ;;9002226.02101,"584,G9276 ",.02)
+76 ;;G9276
+77 ;
OTHER ; OTHER ROUTINES
+1 QUIT