BGP9QXX ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
;;BGP OPT MH VISIT CPTS MH
;
; This routine loads Taxonomy BGP OPT MH VISIT CPTS MH
;
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,"90801 ")
;;1
;;21,"90821 ")
;;2
;;21,"90826 ")
;;3
;;21,"90845 ")
;;4
;;21,"90847 ")
;;5
;;21,"90857 ")
;;6
;;21,"90870 ")
;;7
;;21,"99384 ")
;;8
;;21,"99394 ")
;;9
;;21,"G0155 ")
;;10
;;21,"G0176 ")
;;11
;;21,"H0002 ")
;;12
;;21,"H0004 ")
;;13
;;21,"H0031 ")
;;14
;;21,"H0034 ")
;;15
;;21,"H0036 ")
;;16
;;21,"H0039 ")
;;17
;;21,"H2000 ")
;;18
;;21,"H2010 ")
;;19
;;21,"H2013 ")
;;20
;;21,"M0064 ")
;;21
;;21,"S9484 ")
;;22
;;9002226,522,.01)
;;BGP OPT MH VISIT CPTS MH
;;9002226,522,.02)
;;@
;;9002226,522,.04)
;;n
;;9002226,522,.06)
;;@
;;9002226,522,.08)
;;0
;;9002226,522,.09)
;;3070705
;;9002226,522,.11)
;;@
;;9002226,522,.12)
;;455
;;9002226,522,.13)
;;1
;;9002226,522,.14)
;;@
;;9002226,522,.15)
;;81
;;9002226,522,.16)
;;@
;;9002226,522,.17)
;;@
;;9002226,522,3101)
;;@
;;9002226.02101,"522,90801 ",.01)
;;90801
;;9002226.02101,"522,90801 ",.02)
;;90819
;;9002226.02101,"522,90821 ",.01)
;;90821
;;9002226.02101,"522,90821 ",.02)
;;90824
;;9002226.02101,"522,90826 ",.01)
;;90826
;;9002226.02101,"522,90826 ",.02)
;;90829
;;9002226.02101,"522,90845 ",.01)
;;90845
;;9002226.02101,"522,90845 ",.02)
;;90845
;;9002226.02101,"522,90847 ",.01)
;;90847
;;9002226.02101,"522,90847 ",.02)
;;90853
;;9002226.02101,"522,90857 ",.01)
;;90857
;;9002226.02101,"522,90857 ",.02)
;;90862
;;9002226.02101,"522,90870 ",.01)
;;90870
;;9002226.02101,"522,90870 ",.02)
;;90876
;;9002226.02101,"522,99384 ",.01)
;;99384
;;9002226.02101,"522,99384 ",.02)
;;99387
;;9002226.02101,"522,99394 ",.01)
;;99394
;;9002226.02101,"522,99394 ",.02)
;;99404
;;9002226.02101,"522,G0155 ",.01)
;;G0155
;;9002226.02101,"522,G0155 ",.02)
;;G0155
;;9002226.02101,"522,G0176 ",.01)
;;G0176
;;9002226.02101,"522,G0176 ",.02)
;;G0177
;;9002226.02101,"522,H0002 ",.01)
;;H0002
;;9002226.02101,"522,H0002 ",.02)
;;H0002
;;9002226.02101,"522,H0004 ",.01)
;;H0004
;;9002226.02101,"522,H0004 ",.02)
;;H0004
;;9002226.02101,"522,H0031 ",.01)
;;H0031
;;9002226.02101,"522,H0031 ",.02)
;;H0031
;;9002226.02101,"522,H0034 ",.01)
;;H0034
;;9002226.02101,"522,H0034 ",.02)
;;H0034
;;9002226.02101,"522,H0036 ",.01)
;;H0036
;;9002226.02101,"522,H0036 ",.02)
;;H0037
;;9002226.02101,"522,H0039 ",.01)
;;H0039
;;9002226.02101,"522,H0039 ",.02)
;;H0040
;;9002226.02101,"522,H2000 ",.01)
;;H2000
;;9002226.02101,"522,H2000 ",.02)
;;H2000
;;9002226.02101,"522,H2010 ",.01)
;;H2010
;;9002226.02101,"522,H2010 ",.02)
;;H2011
;;9002226.02101,"522,H2013 ",.01)
;;H2013
;;9002226.02101,"522,H2013 ",.02)
;;H2020
;;9002226.02101,"522,M0064 ",.01)
;;M0064
;;9002226.02101,"522,M0064 ",.02)
;;M0064
;;9002226.02101,"522,S9484 ",.01)
;;S9484
;;9002226.02101,"522,S9484 ",.02)
;;S9485
;
OTHER ; OTHER ROUTINES
Q
BGP9QXX ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
+1 ;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
+2 ;;BGP OPT MH VISIT CPTS MH
+3 ;
+4 ; This routine loads Taxonomy BGP OPT MH VISIT CPTS MH
+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,"90801 ")
+2 ;;1
+3 ;;21,"90821 ")
+4 ;;2
+5 ;;21,"90826 ")
+6 ;;3
+7 ;;21,"90845 ")
+8 ;;4
+9 ;;21,"90847 ")
+10 ;;5
+11 ;;21,"90857 ")
+12 ;;6
+13 ;;21,"90870 ")
+14 ;;7
+15 ;;21,"99384 ")
+16 ;;8
+17 ;;21,"99394 ")
+18 ;;9
+19 ;;21,"G0155 ")
+20 ;;10
+21 ;;21,"G0176 ")
+22 ;;11
+23 ;;21,"H0002 ")
+24 ;;12
+25 ;;21,"H0004 ")
+26 ;;13
+27 ;;21,"H0031 ")
+28 ;;14
+29 ;;21,"H0034 ")
+30 ;;15
+31 ;;21,"H0036 ")
+32 ;;16
+33 ;;21,"H0039 ")
+34 ;;17
+35 ;;21,"H2000 ")
+36 ;;18
+37 ;;21,"H2010 ")
+38 ;;19
+39 ;;21,"H2013 ")
+40 ;;20
+41 ;;21,"M0064 ")
+42 ;;21
+43 ;;21,"S9484 ")
+44 ;;22
+45 ;;9002226,522,.01)
+46 ;;BGP OPT MH VISIT CPTS MH
+47 ;;9002226,522,.02)
+48 ;;@
+49 ;;9002226,522,.04)
+50 ;;n
+51 ;;9002226,522,.06)
+52 ;;@
+53 ;;9002226,522,.08)
+54 ;;0
+55 ;;9002226,522,.09)
+56 ;;3070705
+57 ;;9002226,522,.11)
+58 ;;@
+59 ;;9002226,522,.12)
+60 ;;455
+61 ;;9002226,522,.13)
+62 ;;1
+63 ;;9002226,522,.14)
+64 ;;@
+65 ;;9002226,522,.15)
+66 ;;81
+67 ;;9002226,522,.16)
+68 ;;@
+69 ;;9002226,522,.17)
+70 ;;@
+71 ;;9002226,522,3101)
+72 ;;@
+73 ;;9002226.02101,"522,90801 ",.01)
+74 ;;90801
+75 ;;9002226.02101,"522,90801 ",.02)
+76 ;;90819
+77 ;;9002226.02101,"522,90821 ",.01)
+78 ;;90821
+79 ;;9002226.02101,"522,90821 ",.02)
+80 ;;90824
+81 ;;9002226.02101,"522,90826 ",.01)
+82 ;;90826
+83 ;;9002226.02101,"522,90826 ",.02)
+84 ;;90829
+85 ;;9002226.02101,"522,90845 ",.01)
+86 ;;90845
+87 ;;9002226.02101,"522,90845 ",.02)
+88 ;;90845
+89 ;;9002226.02101,"522,90847 ",.01)
+90 ;;90847
+91 ;;9002226.02101,"522,90847 ",.02)
+92 ;;90853
+93 ;;9002226.02101,"522,90857 ",.01)
+94 ;;90857
+95 ;;9002226.02101,"522,90857 ",.02)
+96 ;;90862
+97 ;;9002226.02101,"522,90870 ",.01)
+98 ;;90870
+99 ;;9002226.02101,"522,90870 ",.02)
+100 ;;90876
+101 ;;9002226.02101,"522,99384 ",.01)
+102 ;;99384
+103 ;;9002226.02101,"522,99384 ",.02)
+104 ;;99387
+105 ;;9002226.02101,"522,99394 ",.01)
+106 ;;99394
+107 ;;9002226.02101,"522,99394 ",.02)
+108 ;;99404
+109 ;;9002226.02101,"522,G0155 ",.01)
+110 ;;G0155
+111 ;;9002226.02101,"522,G0155 ",.02)
+112 ;;G0155
+113 ;;9002226.02101,"522,G0176 ",.01)
+114 ;;G0176
+115 ;;9002226.02101,"522,G0176 ",.02)
+116 ;;G0177
+117 ;;9002226.02101,"522,H0002 ",.01)
+118 ;;H0002
+119 ;;9002226.02101,"522,H0002 ",.02)
+120 ;;H0002
+121 ;;9002226.02101,"522,H0004 ",.01)
+122 ;;H0004
+123 ;;9002226.02101,"522,H0004 ",.02)
+124 ;;H0004
+125 ;;9002226.02101,"522,H0031 ",.01)
+126 ;;H0031
+127 ;;9002226.02101,"522,H0031 ",.02)
+128 ;;H0031
+129 ;;9002226.02101,"522,H0034 ",.01)
+130 ;;H0034
+131 ;;9002226.02101,"522,H0034 ",.02)
+132 ;;H0034
+133 ;;9002226.02101,"522,H0036 ",.01)
+134 ;;H0036
+135 ;;9002226.02101,"522,H0036 ",.02)
+136 ;;H0037
+137 ;;9002226.02101,"522,H0039 ",.01)
+138 ;;H0039
+139 ;;9002226.02101,"522,H0039 ",.02)
+140 ;;H0040
+141 ;;9002226.02101,"522,H2000 ",.01)
+142 ;;H2000
+143 ;;9002226.02101,"522,H2000 ",.02)
+144 ;;H2000
+145 ;;9002226.02101,"522,H2010 ",.01)
+146 ;;H2010
+147 ;;9002226.02101,"522,H2010 ",.02)
+148 ;;H2011
+149 ;;9002226.02101,"522,H2013 ",.01)
+150 ;;H2013
+151 ;;9002226.02101,"522,H2013 ",.02)
+152 ;;H2020
+153 ;;9002226.02101,"522,M0064 ",.01)
+154 ;;M0064
+155 ;;9002226.02101,"522,M0064 ",.02)
+156 ;;M0064
+157 ;;9002226.02101,"522,S9484 ",.01)
+158 ;;S9484
+159 ;;9002226.02101,"522,S9484 ",.02)
+160 ;;S9485
+161 ;
OTHER ; OTHER ROUTINES
+1 QUIT