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