BGP6EXW ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON AUG 21, 2005 ;
;;7.0;IHS CLINICAL REPORTING;;JAN 24, 2007
;;;BGP6;;AUG 21, 2005
;;BGP MAJOR DEPRESSION PRIOR
;
; This routine loads Taxonomy BGP MAJOR DEPRESSION PRIOR
;
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.0 ")
;;4
;;21,"309.28 ")
;;5
;;21,"311. ")
;;6
;;9002226,441,.01)
;;BGP MAJOR DEPRESSION PRIOR
;;9002226,441,.02)
;;@
;;9002226,441,.04)
;;@
;;9002226,441,.06)
;;@
;;9002226,441,.08)
;;0
;;9002226,441,.09)
;;3050802
;;9002226,441,.11)
;;@
;;9002226,441,.12)
;;31
;;9002226,441,.13)
;;1
;;9002226,441,.14)
;;@
;;9002226,441,.15)
;;80
;;9002226,441,.16)
;;@
;;9002226,441,.17)
;;@
;;9002226,441,3101)
;;@
;;9002226.02101,"441,296.20 ",.01)
;;296.20
;;9002226.02101,"441,296.20 ",.02)
;;296.99
;;9002226.02101,"441,298.0 ",.01)
;;298.0
;;9002226.02101,"441,298.0 ",.02)
;;298.0
;;9002226.02101,"441,300.4 ",.01)
;;300.4
;;9002226.02101,"441,300.4 ",.02)
;;300.4
;;9002226.02101,"441,309.0 ",.01)
;;309.0
;;9002226.02101,"441,309.0 ",.02)
;;309.1
;;9002226.02101,"441,309.28 ",.01)
;;309.28
;;9002226.02101,"441,309.28 ",.02)
;;309.28
;;9002226.02101,"441,311. ",.01)
;;311.
;;9002226.02101,"441,311. ",.02)
;;311.
;
OTHER ; OTHER ROUTINES
Q
BGP6EXW ; 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 MAJOR DEPRESSION PRIOR
+4 ;
+5 ; This routine loads Taxonomy BGP MAJOR DEPRESSION PRIOR
+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.0 ")
+8 ;;4
+9 ;;21,"309.28 ")
+10 ;;5
+11 ;;21,"311. ")
+12 ;;6
+13 ;;9002226,441,.01)
+14 ;;BGP MAJOR DEPRESSION PRIOR
+15 ;;9002226,441,.02)
+16 ;;@
+17 ;;9002226,441,.04)
+18 ;;@
+19 ;;9002226,441,.06)
+20 ;;@
+21 ;;9002226,441,.08)
+22 ;;0
+23 ;;9002226,441,.09)
+24 ;;3050802
+25 ;;9002226,441,.11)
+26 ;;@
+27 ;;9002226,441,.12)
+28 ;;31
+29 ;;9002226,441,.13)
+30 ;;1
+31 ;;9002226,441,.14)
+32 ;;@
+33 ;;9002226,441,.15)
+34 ;;80
+35 ;;9002226,441,.16)
+36 ;;@
+37 ;;9002226,441,.17)
+38 ;;@
+39 ;;9002226,441,3101)
+40 ;;@
+41 ;;9002226.02101,"441,296.20 ",.01)
+42 ;;296.20
+43 ;;9002226.02101,"441,296.20 ",.02)
+44 ;;296.99
+45 ;;9002226.02101,"441,298.0 ",.01)
+46 ;;298.0
+47 ;;9002226.02101,"441,298.0 ",.02)
+48 ;;298.0
+49 ;;9002226.02101,"441,300.4 ",.01)
+50 ;;300.4
+51 ;;9002226.02101,"441,300.4 ",.02)
+52 ;;300.4
+53 ;;9002226.02101,"441,309.0 ",.01)
+54 ;;309.0
+55 ;;9002226.02101,"441,309.0 ",.02)
+56 ;;309.1
+57 ;;9002226.02101,"441,309.28 ",.01)
+58 ;;309.28
+59 ;;9002226.02101,"441,309.28 ",.02)
+60 ;;309.28
+61 ;;9002226.02101,"441,311. ",.01)
+62 ;;311.
+63 ;;9002226.02101,"441,311. ",.02)
+64 ;;311.
+65 ;
OTHER ; OTHER ROUTINES
+1 QUIT