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