BGP9PXK ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
;;BGP SMOKER CPTS
;
; This routine loads Taxonomy BGP SMOKER 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,"G0375 ")
;;3
;;9002226,586,.01)
;;BGP SMOKER CPTS
;;9002226,586,.02)
;;@
;;9002226,586,.04)
;;n
;;9002226,586,.06)
;;@
;;9002226,586,.08)
;;0
;;9002226,586,.09)
;;3080529
;;9002226,586,.11)
;;@
;;9002226,586,.12)
;;455
;;9002226,586,.13)
;;1
;;9002226,586,.14)
;;@
;;9002226,586,.15)
;;81
;;9002226,586,.16)
;;@
;;9002226,586,.17)
;;@
;;9002226,586,3101)
;;@
;;9002226.02101,"586,1034F ",.01)
;;1034F
;;9002226.02101,"586,1034F ",.02)
;;1034F
;;9002226.02101,"586,99406 ",.01)
;;99406
;;9002226.02101,"586,99406 ",.02)
;;99407
;;9002226.02101,"586,G0375 ",.01)
;;G0375
;;9002226.02101,"586,G0375 ",.02)
;;G0376
;
OTHER ; OTHER ROUTINES
Q
BGP9PXK ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
+1 ;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
+2 ;;BGP SMOKER CPTS
+3 ;
+4 ; This routine loads Taxonomy BGP SMOKER 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,"G0375 ")
+6 ;;3
+7 ;;9002226,586,.01)
+8 ;;BGP SMOKER CPTS
+9 ;;9002226,586,.02)
+10 ;;@
+11 ;;9002226,586,.04)
+12 ;;n
+13 ;;9002226,586,.06)
+14 ;;@
+15 ;;9002226,586,.08)
+16 ;;0
+17 ;;9002226,586,.09)
+18 ;;3080529
+19 ;;9002226,586,.11)
+20 ;;@
+21 ;;9002226,586,.12)
+22 ;;455
+23 ;;9002226,586,.13)
+24 ;;1
+25 ;;9002226,586,.14)
+26 ;;@
+27 ;;9002226,586,.15)
+28 ;;81
+29 ;;9002226,586,.16)
+30 ;;@
+31 ;;9002226,586,.17)
+32 ;;@
+33 ;;9002226,586,3101)
+34 ;;@
+35 ;;9002226.02101,"586,1034F ",.01)
+36 ;;1034F
+37 ;;9002226.02101,"586,1034F ",.02)
+38 ;;1034F
+39 ;;9002226.02101,"586,99406 ",.01)
+40 ;;99406
+41 ;;9002226.02101,"586,99406 ",.02)
+42 ;;99407
+43 ;;9002226.02101,"586,G0375 ",.01)
+44 ;;G0375
+45 ;;9002226.02101,"586,G0375 ",.02)
+46 ;;G0376
+47 ;
OTHER ; OTHER ROUTINES
+1 QUIT