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