BGP8BXM ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
;;;BGP6;;SEP 28, 2007
;;BGP CMS ANTIBIOTICS MEDS CLASS
;
; This routine loads Taxonomy BGP CMS ANTIBIOTICS MEDS CLASS
;
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,"AM050 ")
;;1
;;21,"AM051 ")
;;2
;;21,"AM052 ")
;;3
;;21,"AM053 ")
;;4
;;21,"AM054 ")
;;5
;;21,"AM100 ")
;;6
;;21,"AM101 ")
;;7
;;21,"AM102 ")
;;8
;;21,"AM103 ")
;;21
;;21,"AM104 ")
;;9
;;21,"AM111 ")
;;10
;;21,"AM112 ")
;;11
;;21,"AM130 ")
;;12
;;21,"AM150 ")
;;13
;;21,"AM200 ")
;;14
;;21,"AM250 ")
;;15
;;21,"AM300 ")
;;16
;;21,"AM350 ")
;;17
;;21,"AM500 ")
;;20
;;21,"AM650 ")
;;18
;;21,"AM900 ")
;;19
;;9002226,465,.01)
;;BGP CMS ANTIBIOTICS MEDS CLASS
;;9002226,465,.02)
;;@
;;9002226,465,.04)
;;n
;;9002226,465,.06)
;;@
;;9002226,465,.08)
;;@
;;9002226,465,.09)
;;@
;;9002226,465,.11)
;;@
;;9002226,465,.12)
;;@
;;9002226,465,.13)
;;1
;;9002226,465,.14)
;;@
;;9002226,465,.15)
;;@
;;9002226,465,.16)
;;@
;;9002226,465,.17)
;;@
;;9002226,465,3101)
;;@
;;9002226.02101,"465,AM050 ",.01)
;;AM050
;;9002226.02101,"465,AM050 ",.02)
;;AM050
;;9002226.02101,"465,AM051 ",.01)
;;AM051
;;9002226.02101,"465,AM051 ",.02)
;;AM051
;;9002226.02101,"465,AM052 ",.01)
;;AM052
;;9002226.02101,"465,AM052 ",.02)
;;AM052
;;9002226.02101,"465,AM053 ",.01)
;;AM053
;;9002226.02101,"465,AM053 ",.02)
;;AM053
;;9002226.02101,"465,AM054 ",.01)
;;AM054
;;9002226.02101,"465,AM054 ",.02)
;;AM054
;;9002226.02101,"465,AM100 ",.01)
;;AM100
;;9002226.02101,"465,AM100 ",.02)
;;AM100
;;9002226.02101,"465,AM101 ",.01)
;;AM101
;;9002226.02101,"465,AM101 ",.02)
;;AM101
;;9002226.02101,"465,AM102 ",.01)
;;AM102
;;9002226.02101,"465,AM102 ",.02)
;;AM103
;;9002226.02101,"465,AM103 ",.01)
;;AM103
;;9002226.02101,"465,AM103 ",.02)
;;AM103
;;9002226.02101,"465,AM104 ",.01)
;;AM104
;;9002226.02101,"465,AM104 ",.02)
;;AM104
;;9002226.02101,"465,AM111 ",.01)
;;AM111
;;9002226.02101,"465,AM111 ",.02)
;;AM111
;;9002226.02101,"465,AM112 ",.01)
;;AM112
;;9002226.02101,"465,AM112 ",.02)
;;AM112
;;9002226.02101,"465,AM130 ",.01)
;;AM130
;;9002226.02101,"465,AM130 ",.02)
;;AM130
;;9002226.02101,"465,AM150 ",.01)
;;AM150
;;9002226.02101,"465,AM150 ",.02)
;;AM150
;;9002226.02101,"465,AM200 ",.01)
;;AM200
;;9002226.02101,"465,AM200 ",.02)
;;AM200
;;9002226.02101,"465,AM250 ",.01)
;;AM250
;;9002226.02101,"465,AM250 ",.02)
;;AM250
;;9002226.02101,"465,AM300 ",.01)
;;AM300
;;9002226.02101,"465,AM300 ",.02)
;;AM300
;;9002226.02101,"465,AM350 ",.01)
;;AM350
;;9002226.02101,"465,AM350 ",.02)
;;AM350
;;9002226.02101,"465,AM500 ",.01)
;;AM500
;;9002226.02101,"465,AM500 ",.02)
;;AM500
;;9002226.02101,"465,AM650 ",.01)
;;AM650
;;9002226.02101,"465,AM650 ",.02)
;;AM650
;;9002226.02101,"465,AM900 ",.01)
;;AM900
;;9002226.02101,"465,AM900 ",.02)
;;AM900
;
OTHER ; OTHER ROUTINES
Q
BGP8BXM ; 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 CMS ANTIBIOTICS MEDS CLASS
+4 ;
+5 ; This routine loads Taxonomy BGP CMS ANTIBIOTICS MEDS CLASS
+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,"AM050 ")
+2 ;;1
+3 ;;21,"AM051 ")
+4 ;;2
+5 ;;21,"AM052 ")
+6 ;;3
+7 ;;21,"AM053 ")
+8 ;;4
+9 ;;21,"AM054 ")
+10 ;;5
+11 ;;21,"AM100 ")
+12 ;;6
+13 ;;21,"AM101 ")
+14 ;;7
+15 ;;21,"AM102 ")
+16 ;;8
+17 ;;21,"AM103 ")
+18 ;;21
+19 ;;21,"AM104 ")
+20 ;;9
+21 ;;21,"AM111 ")
+22 ;;10
+23 ;;21,"AM112 ")
+24 ;;11
+25 ;;21,"AM130 ")
+26 ;;12
+27 ;;21,"AM150 ")
+28 ;;13
+29 ;;21,"AM200 ")
+30 ;;14
+31 ;;21,"AM250 ")
+32 ;;15
+33 ;;21,"AM300 ")
+34 ;;16
+35 ;;21,"AM350 ")
+36 ;;17
+37 ;;21,"AM500 ")
+38 ;;20
+39 ;;21,"AM650 ")
+40 ;;18
+41 ;;21,"AM900 ")
+42 ;;19
+43 ;;9002226,465,.01)
+44 ;;BGP CMS ANTIBIOTICS MEDS CLASS
+45 ;;9002226,465,.02)
+46 ;;@
+47 ;;9002226,465,.04)
+48 ;;n
+49 ;;9002226,465,.06)
+50 ;;@
+51 ;;9002226,465,.08)
+52 ;;@
+53 ;;9002226,465,.09)
+54 ;;@
+55 ;;9002226,465,.11)
+56 ;;@
+57 ;;9002226,465,.12)
+58 ;;@
+59 ;;9002226,465,.13)
+60 ;;1
+61 ;;9002226,465,.14)
+62 ;;@
+63 ;;9002226,465,.15)
+64 ;;@
+65 ;;9002226,465,.16)
+66 ;;@
+67 ;;9002226,465,.17)
+68 ;;@
+69 ;;9002226,465,3101)
+70 ;;@
+71 ;;9002226.02101,"465,AM050 ",.01)
+72 ;;AM050
+73 ;;9002226.02101,"465,AM050 ",.02)
+74 ;;AM050
+75 ;;9002226.02101,"465,AM051 ",.01)
+76 ;;AM051
+77 ;;9002226.02101,"465,AM051 ",.02)
+78 ;;AM051
+79 ;;9002226.02101,"465,AM052 ",.01)
+80 ;;AM052
+81 ;;9002226.02101,"465,AM052 ",.02)
+82 ;;AM052
+83 ;;9002226.02101,"465,AM053 ",.01)
+84 ;;AM053
+85 ;;9002226.02101,"465,AM053 ",.02)
+86 ;;AM053
+87 ;;9002226.02101,"465,AM054 ",.01)
+88 ;;AM054
+89 ;;9002226.02101,"465,AM054 ",.02)
+90 ;;AM054
+91 ;;9002226.02101,"465,AM100 ",.01)
+92 ;;AM100
+93 ;;9002226.02101,"465,AM100 ",.02)
+94 ;;AM100
+95 ;;9002226.02101,"465,AM101 ",.01)
+96 ;;AM101
+97 ;;9002226.02101,"465,AM101 ",.02)
+98 ;;AM101
+99 ;;9002226.02101,"465,AM102 ",.01)
+100 ;;AM102
+101 ;;9002226.02101,"465,AM102 ",.02)
+102 ;;AM103
+103 ;;9002226.02101,"465,AM103 ",.01)
+104 ;;AM103
+105 ;;9002226.02101,"465,AM103 ",.02)
+106 ;;AM103
+107 ;;9002226.02101,"465,AM104 ",.01)
+108 ;;AM104
+109 ;;9002226.02101,"465,AM104 ",.02)
+110 ;;AM104
+111 ;;9002226.02101,"465,AM111 ",.01)
+112 ;;AM111
+113 ;;9002226.02101,"465,AM111 ",.02)
+114 ;;AM111
+115 ;;9002226.02101,"465,AM112 ",.01)
+116 ;;AM112
+117 ;;9002226.02101,"465,AM112 ",.02)
+118 ;;AM112
+119 ;;9002226.02101,"465,AM130 ",.01)
+120 ;;AM130
+121 ;;9002226.02101,"465,AM130 ",.02)
+122 ;;AM130
+123 ;;9002226.02101,"465,AM150 ",.01)
+124 ;;AM150
+125 ;;9002226.02101,"465,AM150 ",.02)
+126 ;;AM150
+127 ;;9002226.02101,"465,AM200 ",.01)
+128 ;;AM200
+129 ;;9002226.02101,"465,AM200 ",.02)
+130 ;;AM200
+131 ;;9002226.02101,"465,AM250 ",.01)
+132 ;;AM250
+133 ;;9002226.02101,"465,AM250 ",.02)
+134 ;;AM250
+135 ;;9002226.02101,"465,AM300 ",.01)
+136 ;;AM300
+137 ;;9002226.02101,"465,AM300 ",.02)
+138 ;;AM300
+139 ;;9002226.02101,"465,AM350 ",.01)
+140 ;;AM350
+141 ;;9002226.02101,"465,AM350 ",.02)
+142 ;;AM350
+143 ;;9002226.02101,"465,AM500 ",.01)
+144 ;;AM500
+145 ;;9002226.02101,"465,AM500 ",.02)
+146 ;;AM500
+147 ;;9002226.02101,"465,AM650 ",.01)
+148 ;;AM650
+149 ;;9002226.02101,"465,AM650 ",.02)
+150 ;;AM650
+151 ;;9002226.02101,"465,AM900 ",.01)
+152 ;;AM900
+153 ;;9002226.02101,"465,AM900 ",.02)
+154 ;;AM900
+155 ;
OTHER ; OTHER ROUTINES
+1 QUIT