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