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