BGPM5AOZ ;IHS/MSC/SAT-CREATED BY ^ATXSTX ON AUG 10, 2011;
;;11.1;IHS CLINICAL REPORTING SYSTEM;**1**;JUN 27, 2011;Build 106
;;BGPMU TOB SMOKER HF
;
; This routine loads Taxonomy BGPMU TOB SMOKER 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 ")
;;4
;;21,"CURRENT SMOKER, EVERY DAY ")
;;1
;;21,"CURRENT SMOKER, SOME DAY ")
;;2
;;21,"CURRENT SMOKER, STATUS UNKNOWN ")
;;3
;;9002226,978,.01)
;;BGPMU TOB SMOKER HF
;;9002226,978,.02)
;;HF VALUES FOR TOBACCO USER
;;9002226,978,.04)
;;@
;;9002226,978,.06)
;;@
;;9002226,978,.08)
;;@
;;9002226,978,.09)
;;3110805
;;9002226,978,.11)
;;@
;;9002226,978,.12)
;;@
;;9002226,978,.13)
;;@
;;9002226,978,.14)
;;@
;;9002226,978,.15)
;;9999999.64
;;9002226,978,.16)
;;1
;;9002226,978,.17)
;;@
;;9002226,978,3101)
;;@
;;9002226.02101,"978,CURRENT SMOKELESS ",.01)
;;CURRENT SMOKELESS
;;9002226.02101,"978,CURRENT SMOKELESS ",.02)
;;CURRENT SMOKELESS
;;9002226.02101,"978,CURRENT SMOKER, EVERY DAY ",.01)
;;CURRENT SMOKER, EVERY DAY
;;9002226.02101,"978,CURRENT SMOKER, EVERY DAY ",.02)
;;CURRENT SMOKER, EVERY DAY
;;9002226.02101,"978,CURRENT SMOKER, SOME DAY ",.01)
;;CURRENT SMOKER, SOME DAY
;;9002226.02101,"978,CURRENT SMOKER, SOME DAY ",.02)
;;CURRENT SMOKER, SOME DAY
;;9002226.02101,"978,CURRENT SMOKER, STATUS UNKNOWN ",.01)
;;CURRENT SMOKER, STATUS UNKNOWN
;;9002226.02101,"978,CURRENT SMOKER, STATUS UNKNOWN ",.02)
;;CURRENT SMOKER, STATUS UNKNOWN
;
OTHER ; OTHER ROUTINES
Q
BGPM5AOZ ;IHS/MSC/SAT-CREATED BY ^ATXSTX ON AUG 10, 2011;
+1 ;;11.1;IHS CLINICAL REPORTING SYSTEM;**1**;JUN 27, 2011;Build 106
+2 ;;BGPMU TOB SMOKER HF
+3 ;
+4 ; This routine loads Taxonomy BGPMU TOB SMOKER 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 ;;4
+3 ;;21,"CURRENT SMOKER, EVERY DAY ")
+4 ;;1
+5 ;;21,"CURRENT SMOKER, SOME DAY ")
+6 ;;2
+7 ;;21,"CURRENT SMOKER, STATUS UNKNOWN ")
+8 ;;3
+9 ;;9002226,978,.01)
+10 ;;BGPMU TOB SMOKER HF
+11 ;;9002226,978,.02)
+12 ;;HF VALUES FOR TOBACCO USER
+13 ;;9002226,978,.04)
+14 ;;@
+15 ;;9002226,978,.06)
+16 ;;@
+17 ;;9002226,978,.08)
+18 ;;@
+19 ;;9002226,978,.09)
+20 ;;3110805
+21 ;;9002226,978,.11)
+22 ;;@
+23 ;;9002226,978,.12)
+24 ;;@
+25 ;;9002226,978,.13)
+26 ;;@
+27 ;;9002226,978,.14)
+28 ;;@
+29 ;;9002226,978,.15)
+30 ;;9999999.64
+31 ;;9002226,978,.16)
+32 ;;1
+33 ;;9002226,978,.17)
+34 ;;@
+35 ;;9002226,978,3101)
+36 ;;@
+37 ;;9002226.02101,"978,CURRENT SMOKELESS ",.01)
+38 ;;CURRENT SMOKELESS
+39 ;;9002226.02101,"978,CURRENT SMOKELESS ",.02)
+40 ;;CURRENT SMOKELESS
+41 ;;9002226.02101,"978,CURRENT SMOKER, EVERY DAY ",.01)
+42 ;;CURRENT SMOKER, EVERY DAY
+43 ;;9002226.02101,"978,CURRENT SMOKER, EVERY DAY ",.02)
+44 ;;CURRENT SMOKER, EVERY DAY
+45 ;;9002226.02101,"978,CURRENT SMOKER, SOME DAY ",.01)
+46 ;;CURRENT SMOKER, SOME DAY
+47 ;;9002226.02101,"978,CURRENT SMOKER, SOME DAY ",.02)
+48 ;;CURRENT SMOKER, SOME DAY
+49 ;;9002226.02101,"978,CURRENT SMOKER, STATUS UNKNOWN ",.01)
+50 ;;CURRENT SMOKER, STATUS UNKNOWN
+51 ;;9002226.02101,"978,CURRENT SMOKER, STATUS UNKNOWN ",.02)
+52 ;;CURRENT SMOKER, STATUS UNKNOWN
+53 ;
OTHER ; OTHER ROUTINES
+1 QUIT