BGP9SXN ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON MAR 25, 2009 ;
+1 ;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
+2 ;;BGP HEDIS NARCOTIC NDC
+3 ;
+4 ; This routine loads Taxonomy BGP HEDIS NARCOTIC NDC
+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,"00002-0351-02 ")
+2 ;;1
+3 ;;21,"00002-0353-02 ")
+4 ;;2
+5 ;;21,"00002-0353-03 ")
+6 ;;3
+7 ;;21,"00002-0353-33 ")
+8 ;;4
+9 ;;21,"00002-0363-02 ")
+10 ;;5
+11 ;;21,"00002-0363-03 ")
+12 ;;6
+13 ;;21,"00002-0363-33 ")
+14 ;;7
+15 ;;21,"00002-0803-02 ")
+16 ;;8
+17 ;;21,"00002-0803-03 ")
+18 ;;9
+19 ;;21,"00002-0803-33 ")
+20 ;;10
+21 ;;21,"00002-3111-02 ")
+22 ;;11
+23 ;;21,"00002-3111-03 ")
+24 ;;12
+25 ;;21,"00008-0259-01 ")
+26 ;;13
+27 ;;21,"00008-0261-02 ")
+28 ;;14
+29 ;;21,"00024-0332-06 ")
+30 ;;15
+31 ;;21,"00024-0335-02 ")
+32 ;;16
+33 ;;21,"00024-0335-04 ")
+34 ;;17
+35 ;;21,"00024-0335-06 ")
+36 ;;18
+37 ;;21,"00024-0337-04 ")
+38 ;;19
+39 ;;21,"00024-0361-04 ")
+40 ;;20
+41 ;;21,"00024-0371-04 ")
+42 ;;21
+43 ;;21,"00024-0373-04 ")
+44 ;;22
+45 ;;21,"00024-0375-04 ")
+46 ;;23
+47 ;;21,"00024-1916-01 ")
+48 ;;24
+49 ;;21,"00024-1924-14 ")
+50 ;;25
+51 ;;21,"00024-1926-04 ")
+52 ;;26
+53 ;;21,"00024-1937-04 ")
+54 ;;27
+55 ;;21,"00024-1951-04 ")
+56 ;;28
+57 ;;21,"00054-3545-63 ")
+58 ;;29
+59 ;;21,"00054-4595-25 ")
+60 ;;30
+61 ;;21,"00054-4596-25 ")
+62 ;;31
+63 ;;21,"00054-8545-16 ")
+64 ;;32
+65 ;;21,"00054-8595-11 ")
+66 ;;33
+67 ;;21,"00054-8596-11 ")
+68 ;;34
+69 ;;21,"00074-1176-02 ")
+70 ;;35
+71 ;;21,"00074-1176-11 ")
+72 ;;36
+73 ;;21,"00074-1176-21 ")
+74 ;;37
+75 ;;21,"00074-1176-30 ")
+76 ;;38
+77 ;;21,"00074-1178-01 ")
+78 ;;39
+79 ;;21,"00074-1178-02 ")
+80 ;;40
+81 ;;21,"00074-1178-11 ")
+82 ;;41
+83 ;;21,"00074-1178-21 ")
+84 ;;42
+85 ;;21,"00074-1178-30 ")
+86 ;;43
+87 ;;21,"00074-1178-31 ")
+88 ;;44
+89 ;;21,"00074-1179-01 ")
+90 ;;45
+91 ;;21,"00074-1179-02 ")
+92 ;;46
+93 ;;21,"00074-1179-11 ")
+94 ;;47
+95 ;;21,"00074-1179-21 ")
+96 ;;48
+97 ;;21,"00074-1179-30 ")
+98 ;;49
+99 ;;21,"00074-1179-31 ")
+100 ;;50
+101 ;;21,"00074-1180-01 ")
+102 ;;51
+103 ;;21,"00074-1180-02 ")
+104 ;;52
+105 ;;21,"00074-1180-21 ")
+106 ;;53
+107 ;;21,"00074-1180-31 ")
+108 ;;54
+109 ;;21,"00074-1180-69 ")
+110 ;;55
+111 ;;21,"00074-1181-30 ")
+112 ;;56
+113 ;;21,"00074-1201-20 ")
+114 ;;57
+115 ;;21,"00074-1203-01 ")
+116 ;;58
+117 ;;21,"00074-1253-01 ")
+118 ;;59
+119 ;;21,"00074-1254-01 ")
+120 ;;60
+121 ;;21,"00074-1255-02 ")
+122 ;;61
+123 ;;21,"00074-1256-01 ")
+124 ;;62
+125 ;;21,"00074-1266-01 ")
+126 ;;63
+127 ;;21,"00074-1267-01 ")
+128 ;;64
+129 ;;21,"00074-1269-01 ")
+130 ;;65
+131 ;;21,"00074-1271-02 ")
+132 ;;66
+133 ;;21,"00074-1920-10 ")
+134 ;;67
+135 ;;21,"00074-1937-01 ")
+136 ;;68
+137 ;;21,"00074-1937-31 ")
+138 ;;69
+139 ;;21,"00074-1938-02 ")
+140 ;;70
+141 ;;21,"00074-1941-01 ")
+142 ;;71
+143 ;;21,"00074-1941-11 ")
+144 ;;72
+145 ;;21,"00074-2046-01 ")
+146 ;;73
+147 ;;21,"00074-6030-04 ")
+148 ;;74
+149 ;;21,"00093-0490-01 ")
+150 ;;75
+151 ;;21,"00093-0490-05 ")
+152 ;;76
+153 ;;21,"00093-0741-01 ")
+154 ;;77
+155 ;;21,"00093-0890-01 ")
+156 ;;78
+157 ;;21,"00093-0890-05 ")
+158 ;;79
+159 ;;21,"00143-3235-01 ")
+160 ;;80
+161 ;;21,"00143-3235-05 ")
+162 ;;81
+163 ;;21,"00172-2186-60 ")
+164 ;;82
+165 ;;21,"00172-2186-70 ")
+166 ;;83
+167 ;;21,"00172-2186-80 ")
+168 ;;84
+169 ;;21,"00172-4980-60 ")
+170 ;;85
+171 ;;21,"00172-4980-70 ")
+172 ;;86
+173 ;;21,"00172-4980-80 ")
+174 ;;87
+175 ;;21,"00182-0317-89 ")
+176 ;;88
+177 ;;21,"00182-0698-01 ")
+178 ;;89
+179 ;;21,"00182-0698-05 ")
+180 ;;90
+181 ;;21,"00182-1673-01 ")
+182 ;;91
+183 ;;21,"00182-1673-05 ")
+184 ;;92
+185 ;;21,"00182-9130-66 ")
+186 ;;93
+187 ;;21,"00182-9131-65 ")
+188 ;;94
+189 ;;21,"00182-9140-01 ")
+190 ;;95
+191 ;;21,"00182-9141-01 ")
+192 ;;96
+193 ;;21,"00228-2082-10 ")
+194 ;;97
+195 ;;21,"00228-2082-50 ")
+196 ;;98
+197 ;;21,"00228-2085-10 ")
+198 ;;99
+199 ;;21,"00228-2085-50 ")
+200 ;;100
+201 ;;21,"00247-0086-00 ")
+202 ;;101
+203 ;;21,"00247-0086-02 ")
+204 ;;102
+205 ;;21,"00247-0086-03 ")
+206 ;;103
+207 ;;21,"00247-0086-04 ")
+208 ;;104
+209 ;;21,"00247-0086-05 ")
+210 ;;105
+211 ;;21,"00247-0086-06 ")
+212 ;;106
+213 ;;21,"00247-0086-08 ")
+214 ;;107
+215 ;;21,"00247-0086-10 ")
+216 ;;108
+217 ;;21,"00247-0086-12 ")
+218 ;;109
+219 ;;21,"00247-0086-15 ")
+220 ;;110
+221 ;;21,"00247-0086-16 ")
+222 ;;111
+223 ;;21,"00247-0086-20 ")
+224 ;;112
+225 ;;21,"00247-0086-24 ")
+226 ;;113
+227 ;;21,"00247-0086-25 ")
+228 ;;114
+229 ;;21,"00247-0086-28 ")
+230 ;;115
+231 ;;21,"00247-0086-30 ")
+232 ;;116
+233 ;;21,"00247-0086-40 ")
+234 ;;117
+235 ;;21,"00247-0086-45 ")
+236 ;;118
+237 ;;21,"00247-0086-60 ")
+238 ;;119
+239 ;;21,"00247-0086-98 ")
+240 ;;120
+241 ;;21,"00247-0154-04 ")
+242 ;;121
+243 ;;21,"00247-0154-10 ")
+244 ;;122
+245 ;;21,"00247-0154-12 ")
+246 ;;123
+247 ;;21,"00247-0154-20 ")
+248 ;;124
+249 ;;21,"00247-0154-30 ")
+250 ;;125
+251 ;;21,"00247-0154-40 ")
+252 ;;126
+253 ;;21,"00254-4206-28 ")
+254 ;;127
+255 ;;21,"00254-5112-28 ")
+256 ;;128
+257 ;;21,"00254-5112-35 ")
+258 ;;129
+259 ;;21,"00254-5112-38 ")
+260 ;;130
+261 ;;21,"00254-5113-28 ")
+262 ;;131
+263 ;;21,"00254-5113-35 ")
+264 ;;132
+265 ;;21,"00254-5113-38 ")
+266 ;;133
+267 ;;21,"00254-5114-28 ")
+268 ;;134
+269 ;;21,"00254-5114-35 ")
+270 ;;135
+271 ;;21,"00254-5114-38 ")
+272 ;;136
+273 ;;21,"00302-5840-01 ")
+274 ;;137
+275 ;;21,"00338-2691-75 ")
+276 ;;138
+277 ;;21,"00338-9370-41 ")
+278 ;;139
+279 ;;21,"00338-9372-48 ")
+280 ;;140
+281 ;;21,"00338-9373-48 ")
+282 ;;141
+283 ;;21,"00378-0129-01 ")
+284 ;;142
+285 ;;21,"00378-0129-05 ")
+286 ;;143
+287 ;;21,"00378-0130-01 ")
+288 ;;144
+289 ;;21,"00378-0130-05 ")
+290 ;;145
+291 ;;21,"00378-0131-01 ")
+292 ;;146
+293 ;;21,"00378-0131-05 ")
+294 ;;147
+295 ;;21,"00378-0155-01 ")
+296 ;;148
+297 ;;21,"00378-0155-05 ")
+298 ;;149
+299 ;;21,"00378-1155-05 ")
+300 ;;150
+301 ;
OTHER ; OTHER ROUTINES
+1 DO ^BGP9SXNB
+2 DO ^BGP9SXNC
+3 DO ^BGP9SXND
+4 DO ^BGP9SXNE
+5 DO ^BGP9SXNF
+6 DO ^BGP9SXNG
+7 DO ^BGP9SXNH
+8 DO ^BGP9SXNI
+9 DO ^BGP9SXNJ
+10 DO ^BGP9SXNK
+11 DO ^BGP9SXNL
+12 DO ^BGP9SXNM
+13 DO ^BGP9SXNN
+14 DO ^BGP9SXNO
+15 DO ^BGP9SXNP
+16 DO ^BGP9SXNQ
+17 DO ^BGP9SXNR
+18 QUIT