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