BGPMBTXG ;IHS/MSC/MMT-CREATED BY ^ATXSTX ON FEB 02, 2011;
;;11.0;IHS CLINICAL REPORTING;**4**;JAN 06, 2011;Build 84
;;BGPMU TOBACCO USER HF
;
; This routine loads Taxonomy BGPMU TOBACCO USER HF
;
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,"CURRENT SMOKELESS ")
;;2
;;21,"CURRENT SMOKER ")
;;1
;;21,"CURRENT SMOKER & SMOKELESS ")
;;4
;;21,"EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE ")
;;5
;;21,"SMOKER IN HOME ")
;;3
;;9002226,770,.01)
;;BGPMU TOBACCO USER HF
;;9002226,770,.02)
;;TOBACCO USER HEALTH FACTORS
;;9002226,770,.04)
;;n
;;9002226,770,.06)
;;@
;;9002226,770,.08)
;;@
;;9002226,770,.09)
;;3110126
;;9002226,770,.11)
;;@
;;9002226,770,.12)
;;@
;;9002226,770,.13)
;;@
;;9002226,770,.14)
;;@
;;9002226,770,.15)
;;9999999.64
;;9002226,770,.16)
;;0
;;9002226,770,.17)
;;@
;;9002226,770,3101)
;;@
;;9002226.02101,"770,CURRENT SMOKELESS ",.01)
;;CURRENT SMOKELESS
;;9002226.02101,"770,CURRENT SMOKELESS ",.02)
;;CURRENT SMOKELESS
;;9002226.02101,"770,CURRENT SMOKER ",.01)
;;CURRENT SMOKER
;;9002226.02101,"770,CURRENT SMOKER ",.02)
;;CURRENT SMOKER
;;9002226.02101,"770,CURRENT SMOKER & SMOKELESS ",.01)
;;CURRENT SMOKER & SMOKELESS
;;9002226.02101,"770,CURRENT SMOKER & SMOKELESS ",.02)
;;CURRENT SMOKER & SMOKELESS
;;9002226.02101,"770,EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE ",.01)
;;EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE
;;9002226.02101,"770,EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE ",.02)
;;EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE
;;9002226.02101,"770,SMOKER IN HOME ",.01)
;;SMOKER IN HOME
;;9002226.02101,"770,SMOKER IN HOME ",.02)
;;SMOKER IN HOME
;
OTHER ; OTHER ROUTINES
Q
BGPMBTXG ;IHS/MSC/MMT-CREATED BY ^ATXSTX ON FEB 02, 2011;
+1 ;;11.0;IHS CLINICAL REPORTING;**4**;JAN 06, 2011;Build 84
+2 ;;BGPMU TOBACCO USER HF
+3 ;
+4 ; This routine loads Taxonomy BGPMU TOBACCO USER HF
+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,"CURRENT SMOKELESS ")
+2 ;;2
+3 ;;21,"CURRENT SMOKER ")
+4 ;;1
+5 ;;21,"CURRENT SMOKER & SMOKELESS ")
+6 ;;4
+7 ;;21,"EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE ")
+8 ;;5
+9 ;;21,"SMOKER IN HOME ")
+10 ;;3
+11 ;;9002226,770,.01)
+12 ;;BGPMU TOBACCO USER HF
+13 ;;9002226,770,.02)
+14 ;;TOBACCO USER HEALTH FACTORS
+15 ;;9002226,770,.04)
+16 ;;n
+17 ;;9002226,770,.06)
+18 ;;@
+19 ;;9002226,770,.08)
+20 ;;@
+21 ;;9002226,770,.09)
+22 ;;3110126
+23 ;;9002226,770,.11)
+24 ;;@
+25 ;;9002226,770,.12)
+26 ;;@
+27 ;;9002226,770,.13)
+28 ;;@
+29 ;;9002226,770,.14)
+30 ;;@
+31 ;;9002226,770,.15)
+32 ;;9999999.64
+33 ;;9002226,770,.16)
+34 ;;0
+35 ;;9002226,770,.17)
+36 ;;@
+37 ;;9002226,770,3101)
+38 ;;@
+39 ;;9002226.02101,"770,CURRENT SMOKELESS ",.01)
+40 ;;CURRENT SMOKELESS
+41 ;;9002226.02101,"770,CURRENT SMOKELESS ",.02)
+42 ;;CURRENT SMOKELESS
+43 ;;9002226.02101,"770,CURRENT SMOKER ",.01)
+44 ;;CURRENT SMOKER
+45 ;;9002226.02101,"770,CURRENT SMOKER ",.02)
+46 ;;CURRENT SMOKER
+47 ;;9002226.02101,"770,CURRENT SMOKER & SMOKELESS ",.01)
+48 ;;CURRENT SMOKER & SMOKELESS
+49 ;;9002226.02101,"770,CURRENT SMOKER & SMOKELESS ",.02)
+50 ;;CURRENT SMOKER & SMOKELESS
+51 ;;9002226.02101,"770,EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE ",.01)
+52 ;;EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE
+53 ;;9002226.02101,"770,EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE ",.02)
+54 ;;EXPOSURE TO ENVIRONMENTAL TOBACCO SMOKE
+55 ;;9002226.02101,"770,SMOKER IN HOME ",.01)
+56 ;;SMOKER IN HOME
+57 ;;9002226.02101,"770,SMOKER IN HOME ",.02)
+58 ;;SMOKER IN HOME
+59 ;
OTHER ; OTHER ROUTINES
+1 QUIT