BGP8AXB ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
;;BGP ACUTE MENTAL HEALTH
;
; This routine loads Taxonomy BGP ACUTE MENTAL HEALTH
;
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,"290.0 ")
;;1
;;21,"293.0 ")
;;2
;;21,"306.0 ")
;;3
;;9002226,560,.01)
;;BGP ACUTE MENTAL HEALTH
;;9002226,560,.02)
;;@
;;9002226,560,.04)
;;n
;;9002226,560,.06)
;;@
;;9002226,560,.08)
;;0
;;9002226,560,.09)
;;3050802
;;9002226,560,.11)
;;@
;;9002226,560,.12)
;;31
;;9002226,560,.13)
;;1
;;9002226,560,.14)
;;@
;;9002226,560,.15)
;;80
;;9002226,560,.16)
;;@
;;9002226,560,.17)
;;@
;;9002226,560,3101)
;;@
;;9002226.02101,"560,290.0 ",.01)
;;290.0
;;9002226.02101,"560,290.0 ",.02)
;;290.9
;;9002226.02101,"560,293.0 ",.01)
;;293.0
;;9002226.02101,"560,293.0 ",.02)
;;302.9
;;9002226.02101,"560,306.0 ",.01)
;;306.0
;;9002226.02101,"560,306.0 ",.02)
;;316.
;
OTHER ; OTHER ROUTINES
Q
BGP8AXB ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
+1 ;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
+2 ;;BGP ACUTE MENTAL HEALTH
+3 ;
+4 ; This routine loads Taxonomy BGP ACUTE MENTAL HEALTH
+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,"290.0 ")
+2 ;;1
+3 ;;21,"293.0 ")
+4 ;;2
+5 ;;21,"306.0 ")
+6 ;;3
+7 ;;9002226,560,.01)
+8 ;;BGP ACUTE MENTAL HEALTH
+9 ;;9002226,560,.02)
+10 ;;@
+11 ;;9002226,560,.04)
+12 ;;n
+13 ;;9002226,560,.06)
+14 ;;@
+15 ;;9002226,560,.08)
+16 ;;0
+17 ;;9002226,560,.09)
+18 ;;3050802
+19 ;;9002226,560,.11)
+20 ;;@
+21 ;;9002226,560,.12)
+22 ;;31
+23 ;;9002226,560,.13)
+24 ;;1
+25 ;;9002226,560,.14)
+26 ;;@
+27 ;;9002226,560,.15)
+28 ;;80
+29 ;;9002226,560,.16)
+30 ;;@
+31 ;;9002226,560,.17)
+32 ;;@
+33 ;;9002226,560,3101)
+34 ;;@
+35 ;;9002226.02101,"560,290.0 ",.01)
+36 ;;290.0
+37 ;;9002226.02101,"560,290.0 ",.02)
+38 ;;290.9
+39 ;;9002226.02101,"560,293.0 ",.01)
+40 ;;293.0
+41 ;;9002226.02101,"560,293.0 ",.02)
+42 ;;302.9
+43 ;;9002226.02101,"560,306.0 ",.01)
+44 ;;306.0
+45 ;;9002226.02101,"560,306.0 ",.02)
+46 ;;316.
+47 ;
OTHER ; OTHER ROUTINES
+1 QUIT