BGP8IXI ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
;;;BGP6;;SEP 28, 2007
;;BGP SUBSTANCE ABUSE
;
; This routine loads Taxonomy BGP SUBSTANCE ABUSE
;
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,"291.0 ")
;;1
;;21,"303.00 ")
;;2
;;9002226,575,.01)
;;BGP SUBSTANCE ABUSE
;;9002226,575,.02)
;;@
;;9002226,575,.04)
;;n
;;9002226,575,.06)
;;@
;;9002226,575,.08)
;;0
;;9002226,575,.09)
;;3050802
;;9002226,575,.11)
;;@
;;9002226,575,.12)
;;31
;;9002226,575,.13)
;;1
;;9002226,575,.14)
;;@
;;9002226,575,.15)
;;80
;;9002226,575,.16)
;;@
;;9002226,575,.17)
;;@
;;9002226,575,3101)
;;@
;;9002226.02101,"575,291.0 ",.01)
;;291.0
;;9002226.02101,"575,291.0 ",.02)
;;292.9
;;9002226.02101,"575,303.00 ",.01)
;;303.00
;;9002226.02101,"575,303.00 ",.02)
;;305.99
;
OTHER ; OTHER ROUTINES
Q
BGP8IXI ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
+1 ;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
+2 ;;;BGP6;;SEP 28, 2007
+3 ;;BGP SUBSTANCE ABUSE
+4 ;
+5 ; This routine loads Taxonomy BGP SUBSTANCE ABUSE
+6 ;
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,"291.0 ")
+2 ;;1
+3 ;;21,"303.00 ")
+4 ;;2
+5 ;;9002226,575,.01)
+6 ;;BGP SUBSTANCE ABUSE
+7 ;;9002226,575,.02)
+8 ;;@
+9 ;;9002226,575,.04)
+10 ;;n
+11 ;;9002226,575,.06)
+12 ;;@
+13 ;;9002226,575,.08)
+14 ;;0
+15 ;;9002226,575,.09)
+16 ;;3050802
+17 ;;9002226,575,.11)
+18 ;;@
+19 ;;9002226,575,.12)
+20 ;;31
+21 ;;9002226,575,.13)
+22 ;;1
+23 ;;9002226,575,.14)
+24 ;;@
+25 ;;9002226,575,.15)
+26 ;;80
+27 ;;9002226,575,.16)
+28 ;;@
+29 ;;9002226,575,.17)
+30 ;;@
+31 ;;9002226,575,3101)
+32 ;;@
+33 ;;9002226.02101,"575,291.0 ",.01)
+34 ;;291.0
+35 ;;9002226.02101,"575,291.0 ",.02)
+36 ;;292.9
+37 ;;9002226.02101,"575,303.00 ",.01)
+38 ;;303.00
+39 ;;9002226.02101,"575,303.00 ",.02)
+40 ;;305.99
+41 ;
OTHER ; OTHER ROUTINES
+1 QUIT