BGP9PXU ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
;;BGP TOBACCO USER HLTH FACTORS
;
; This routine loads Taxonomy BGP TOBACCO USER HLTH FACTORS
;
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,"CESSATION-SMOKELESS ")
;;1
;;21,"CESSATION-SMOKER ")
;;2
;;21,"CURRENT SMOKELESS ")
;;3
;;21,"CURRENT SMOKER ")
;;4
;;21,"CURRENT SMOKER & SMOKELESS ")
;;5
;;9002226,638,.01)
;;BGP TOBACCO USER HLTH FACTORS
;;9002226,638,.02)
;;TOBACCO USER HLTH FACTORS
;;9002226,638,.04)
;;n
;;9002226,638,.06)
;;@
;;9002226,638,.08)
;;0
;;9002226,638,.09)
;;3050209
;;9002226,638,.11)
;;@
;;9002226,638,.12)
;;78
;;9002226,638,.13)
;;0
;;9002226,638,.14)
;;@
;;9002226,638,.15)
;;9999999.64
;;9002226,638,.16)
;;@
;;9002226,638,.17)
;;@
;;9002226,638,3101)
;;@
;;9002226.02101,"638,CESSATION-SMOKELESS ",.01)
;;CESSATION-SMOKELESS
;;9002226.02101,"638,CESSATION-SMOKELESS ",.02)
;;CESSATION-SMOKELESS
;;9002226.02101,"638,CESSATION-SMOKER ",.01)
;;CESSATION-SMOKER
;;9002226.02101,"638,CESSATION-SMOKER ",.02)
;;CESSATION-SMOKER
;;9002226.02101,"638,CURRENT SMOKELESS ",.01)
;;CURRENT SMOKELESS
;;9002226.02101,"638,CURRENT SMOKELESS ",.02)
;;CURRENT SMOKELESS
;;9002226.02101,"638,CURRENT SMOKER ",.01)
;;CURRENT SMOKER
;;9002226.02101,"638,CURRENT SMOKER ",.02)
;;CURRENT SMOKER
;;9002226.02101,"638,CURRENT SMOKER & SMOKELESS ",.01)
;;CURRENT SMOKER & SMOKELESS
;;9002226.02101,"638,CURRENT SMOKER & SMOKELESS ",.02)
;;CURRENT SMOKER & SMOKELESS
;
OTHER ; OTHER ROUTINES
Q
BGP9PXU ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
+1 ;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
+2 ;;BGP TOBACCO USER HLTH FACTORS
+3 ;
+4 ; This routine loads Taxonomy BGP TOBACCO USER HLTH FACTORS
+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,"CESSATION-SMOKELESS ")
+2 ;;1
+3 ;;21,"CESSATION-SMOKER ")
+4 ;;2
+5 ;;21,"CURRENT SMOKELESS ")
+6 ;;3
+7 ;;21,"CURRENT SMOKER ")
+8 ;;4
+9 ;;21,"CURRENT SMOKER & SMOKELESS ")
+10 ;;5
+11 ;;9002226,638,.01)
+12 ;;BGP TOBACCO USER HLTH FACTORS
+13 ;;9002226,638,.02)
+14 ;;TOBACCO USER HLTH FACTORS
+15 ;;9002226,638,.04)
+16 ;;n
+17 ;;9002226,638,.06)
+18 ;;@
+19 ;;9002226,638,.08)
+20 ;;0
+21 ;;9002226,638,.09)
+22 ;;3050209
+23 ;;9002226,638,.11)
+24 ;;@
+25 ;;9002226,638,.12)
+26 ;;78
+27 ;;9002226,638,.13)
+28 ;;0
+29 ;;9002226,638,.14)
+30 ;;@
+31 ;;9002226,638,.15)
+32 ;;9999999.64
+33 ;;9002226,638,.16)
+34 ;;@
+35 ;;9002226,638,.17)
+36 ;;@
+37 ;;9002226,638,3101)
+38 ;;@
+39 ;;9002226.02101,"638,CESSATION-SMOKELESS ",.01)
+40 ;;CESSATION-SMOKELESS
+41 ;;9002226.02101,"638,CESSATION-SMOKELESS ",.02)
+42 ;;CESSATION-SMOKELESS
+43 ;;9002226.02101,"638,CESSATION-SMOKER ",.01)
+44 ;;CESSATION-SMOKER
+45 ;;9002226.02101,"638,CESSATION-SMOKER ",.02)
+46 ;;CESSATION-SMOKER
+47 ;;9002226.02101,"638,CURRENT SMOKELESS ",.01)
+48 ;;CURRENT SMOKELESS
+49 ;;9002226.02101,"638,CURRENT SMOKELESS ",.02)
+50 ;;CURRENT SMOKELESS
+51 ;;9002226.02101,"638,CURRENT SMOKER ",.01)
+52 ;;CURRENT SMOKER
+53 ;;9002226.02101,"638,CURRENT SMOKER ",.02)
+54 ;;CURRENT SMOKER
+55 ;;9002226.02101,"638,CURRENT SMOKER & SMOKELESS ",.01)
+56 ;;CURRENT SMOKER & SMOKELESS
+57 ;;9002226.02101,"638,CURRENT SMOKER & SMOKELESS ",.02)
+58 ;;CURRENT SMOKER & SMOKELESS
+59 ;
OTHER ; OTHER ROUTINES
+1 QUIT