BGP9PXT ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
;;BGP TOBACCO USE CPTS
;
; This routine loads Taxonomy BGP TOBACCO USE 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
;;9002226,828,.01)
;;BGP TOBACCO USE CPTS
;;9002226,828,.02)
;;@
;;9002226,828,.04)
;;n
;;9002226,828,.06)
;;@
;;9002226,828,.08)
;;0
;;9002226,828,.09)
;;3080224
;;9002226,828,.11)
;;@
;;9002226,828,.12)
;;455
;;9002226,828,.13)
;;1
;;9002226,828,.14)
;;@
;;9002226,828,.15)
;;81
;;9002226,828,.16)
;;@
;;9002226,828,.17)
;;@
;;9002226,828,3101)
;;@
;;9002226.02101,"828,1034F ",.01)
;;1034F
;;9002226.02101,"828,1034F ",.02)
;;1036F
;
OTHER ; OTHER ROUTINES
Q
BGP9PXT ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
+1 ;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
+2 ;;BGP TOBACCO USE CPTS
+3 ;
+4 ; This routine loads Taxonomy BGP TOBACCO USE 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 ;;9002226,828,.01)
+4 ;;BGP TOBACCO USE CPTS
+5 ;;9002226,828,.02)
+6 ;;@
+7 ;;9002226,828,.04)
+8 ;;n
+9 ;;9002226,828,.06)
+10 ;;@
+11 ;;9002226,828,.08)
+12 ;;0
+13 ;;9002226,828,.09)
+14 ;;3080224
+15 ;;9002226,828,.11)
+16 ;;@
+17 ;;9002226,828,.12)
+18 ;;455
+19 ;;9002226,828,.13)
+20 ;;1
+21 ;;9002226,828,.14)
+22 ;;@
+23 ;;9002226,828,.15)
+24 ;;81
+25 ;;9002226,828,.16)
+26 ;;@
+27 ;;9002226,828,.17)
+28 ;;@
+29 ;;9002226,828,3101)
+30 ;;@
+31 ;;9002226.02101,"828,1034F ",.01)
+32 ;;1034F
+33 ;;9002226.02101,"828,1034F ",.02)
+34 ;;1036F
+35 ;
OTHER ; OTHER ROUTINES
+1 QUIT