BGP8GXP ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
;;;BGP6;;SEP 28, 2007
;;BGP MAJOR DEPRESSION (ADM)
;
; This routine loads Taxonomy BGP MAJOR DEPRESSION (ADM)
;
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,"296.20 ")
;;1
;;21,"298.0 ")
;;2
;;21,"300.4 ")
;;3
;;21,"309.1 ")
;;4
;;21,"311. ")
;;5
;;9002226,564,.01)
;;BGP MAJOR DEPRESSION (ADM)
;;9002226,564,.02)
;;@
;;9002226,564,.04)
;;n
;;9002226,564,.06)
;;@
;;9002226,564,.08)
;;0
;;9002226,564,.09)
;;3050812
;;9002226,564,.11)
;;@
;;9002226,564,.12)
;;31
;;9002226,564,.13)
;;1
;;9002226,564,.14)
;;@
;;9002226,564,.15)
;;80
;;9002226,564,.16)
;;@
;;9002226,564,.17)
;;@
;;9002226,564,3101)
;;@
;;9002226.02101,"564,296.20 ",.01)
;;296.20
;;9002226.02101,"564,296.20 ",.02)
;;296.36
;;9002226.02101,"564,298.0 ",.01)
;;298.0
;;9002226.02101,"564,298.0 ",.02)
;;298.0
;;9002226.02101,"564,300.4 ",.01)
;;300.4
;;9002226.02101,"564,300.4 ",.02)
;;300.4
;;9002226.02101,"564,309.1 ",.01)
;;309.1
;;9002226.02101,"564,309.1 ",.02)
;;309.1
;;9002226.02101,"564,311. ",.01)
;;311.
;;9002226.02101,"564,311. ",.02)
;;311.
;
OTHER ; OTHER ROUTINES
Q
BGP8GXP ; 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 MAJOR DEPRESSION (ADM)
+4 ;
+5 ; This routine loads Taxonomy BGP MAJOR DEPRESSION (ADM)
+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,"296.20 ")
+2 ;;1
+3 ;;21,"298.0 ")
+4 ;;2
+5 ;;21,"300.4 ")
+6 ;;3
+7 ;;21,"309.1 ")
+8 ;;4
+9 ;;21,"311. ")
+10 ;;5
+11 ;;9002226,564,.01)
+12 ;;BGP MAJOR DEPRESSION (ADM)
+13 ;;9002226,564,.02)
+14 ;;@
+15 ;;9002226,564,.04)
+16 ;;n
+17 ;;9002226,564,.06)
+18 ;;@
+19 ;;9002226,564,.08)
+20 ;;0
+21 ;;9002226,564,.09)
+22 ;;3050812
+23 ;;9002226,564,.11)
+24 ;;@
+25 ;;9002226,564,.12)
+26 ;;31
+27 ;;9002226,564,.13)
+28 ;;1
+29 ;;9002226,564,.14)
+30 ;;@
+31 ;;9002226,564,.15)
+32 ;;80
+33 ;;9002226,564,.16)
+34 ;;@
+35 ;;9002226,564,.17)
+36 ;;@
+37 ;;9002226,564,3101)
+38 ;;@
+39 ;;9002226.02101,"564,296.20 ",.01)
+40 ;;296.20
+41 ;;9002226.02101,"564,296.20 ",.02)
+42 ;;296.36
+43 ;;9002226.02101,"564,298.0 ",.01)
+44 ;;298.0
+45 ;;9002226.02101,"564,298.0 ",.02)
+46 ;;298.0
+47 ;;9002226.02101,"564,300.4 ",.01)
+48 ;;300.4
+49 ;;9002226.02101,"564,300.4 ",.02)
+50 ;;300.4
+51 ;;9002226.02101,"564,309.1 ",.01)
+52 ;;309.1
+53 ;;9002226.02101,"564,309.1 ",.02)
+54 ;;309.1
+55 ;;9002226.02101,"564,311. ",.01)
+56 ;;311.
+57 ;;9002226.02101,"564,311. ",.02)
+58 ;;311.
+59 ;
OTHER ; OTHER ROUTINES
+1 QUIT