Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BGP2TG

BGP2TG.m

Go to the documentation of this file.
BGP2TG ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON MAR 12, 2012;
 ;;12.1;IHS CLINICAL REPORTING;;MAY 17, 2012;Build 66
 ;;BGP PQA SULFONYLUREA NDC
 ;
 ; This routine loads Taxonomy BGP PQA SULFONYLUREA NDC
 ;
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,"00007-3148-13 ")
 ;;1339
 ;;21,"00007-3149-13 ")
 ;;1342
 ;;21,"00007-3151-13 ")
 ;;1330
 ;;21,"00007-3152-13 ")
 ;;1333
 ;;21,"00007-3153-13 ")
 ;;1336
 ;;21,"00009-0070-02 ")
 ;;1305
 ;;21,"00009-0114-04 ")
 ;;1316
 ;;21,"00009-0114-05 ")
 ;;1317
 ;;21,"00009-0131-01 ")
 ;;980
 ;;21,"00009-0141-01 ")
 ;;1068
 ;;21,"00009-0141-02 ")
 ;;1069
 ;;21,"00009-0171-03 ")
 ;;1300
 ;;21,"00009-0171-05 ")
 ;;1301
 ;;21,"00009-0171-06 ")
 ;;1302
 ;;21,"00009-0171-07 ")
 ;;1303
 ;;21,"00009-0341-01 ")
 ;;872
 ;;21,"00009-0341-02 ")
 ;;873
 ;;21,"00009-0352-01 ")
 ;;910
 ;;21,"00009-0352-02 ")
 ;;911
 ;;21,"00009-0352-03 ")
 ;;912
 ;;21,"00009-0352-04 ")
 ;;913
 ;;21,"00009-3449-01 ")
 ;;945
 ;;21,"00009-3449-03 ")
 ;;946
 ;;21,"00029-3151-13 ")
 ;;1331
 ;;21,"00029-3152-13 ")
 ;;1332
 ;;21,"00029-3153-13 ")
 ;;1337
 ;;21,"00039-0051-10 ")
 ;;981
 ;;21,"00039-0051-11 ")
 ;;982
 ;;21,"00039-0051-50 ")
 ;;983
 ;;21,"00039-0052-10 ")
 ;;1083
 ;;21,"00039-0052-11 ")
 ;;1084
 ;;21,"00039-0052-50 ")
 ;;1085
 ;;21,"00039-0052-70 ")
 ;;1086
 ;;21,"00039-0053-05 ")
 ;;947
 ;;21,"00039-0221-10 ")
 ;;270
 ;;21,"00039-0222-10 ")
 ;;298
 ;;21,"00039-0222-11 ")
 ;;299
 ;;21,"00039-0223-10 ")
 ;;352
 ;;21,"00039-0223-11 ")
 ;;353
 ;;21,"00049-1550-66 ")
 ;;852
 ;;21,"00049-1550-73 ")
 ;;853
 ;;21,"00049-1560-66 ")
 ;;792
 ;;21,"00049-1560-73 ")
 ;;793
 ;;21,"00049-1620-30 ")
 ;;808
 ;;21,"00049-4110-66 ")
 ;;732
 ;;21,"00049-4110-73 ")
 ;;733
 ;;21,"00049-4120-66 ")
 ;;568
 ;;21,"00049-4120-73 ")
 ;;569
 ;;21,"00069-3930-66 ")
 ;;233
 ;;21,"00069-3940-66 ")
 ;;268
 ;;21,"00069-3940-82 ")
 ;;269
 ;;21,"00087-6072-11 ")
 ;;44
 ;;21,"00087-6073-11 ")
 ;;86
 ;;21,"00087-6074-11 ")
 ;;143
 ;;21,"00087-6077-31 ")
 ;;25
 ;;21,"00087-6078-31 ")
 ;;43
 ;;21,"00087-6081-31 ")
 ;;10
 ;;21,"00093-5710-01 ")
 ;;59
 ;;21,"00093-5710-05 ")
 ;;60
 ;;21,"00093-5710-19 ")
 ;;51
 ;;21,"00093-5710-83 ")
 ;;58
 ;;21,"00093-5710-93 ")
 ;;52
 ;;21,"00093-5711-01 ")
 ;;116
 ;;21,"00093-5711-05 ")
 ;;117
 ;;21,"00093-5711-19 ")
 ;;94
 ;;21,"00093-5711-93 ")
 ;;95
 ;;21,"00093-5712-01 ")
 ;;184
 ;;21,"00093-5712-05 ")
 ;;185
 ;;21,"00093-5712-19 ")
 ;;166
 ;;21,"00093-5712-93 ")
 ;;167
 ;;21,"00093-7254-01 ")
 ;;284
 ;;21,"00093-7255-01 ")
 ;;319
 ;;21,"00093-7256-01 ")
 ;;381
 ;;21,"00093-7256-52 ")
 ;;382
 ;;21,"00093-7260-01 ")
 ;;57
 ;;21,"00093-7261-01 ")
 ;;118
 ;;21,"00093-7261-05 ")
 ;;119
 ;;21,"00093-7262-01 ")
 ;;186
 ;;21,"00093-7262-05 ")
 ;;187
 ;;21,"00093-7455-01 ")
 ;;2
 ;;21,"00093-7456-01 ")
 ;;12
 ;;21,"00093-7457-01 ")
 ;;26
 ;;21,"00093-8034-01 ")
 ;;857
 ;;21,"00093-8035-01 ")
 ;;879
 ;;21,"00093-8035-05 ")
 ;;880
 ;;21,"00093-8035-10 ")
 ;;881
 ;;21,"00093-8036-01 ")
 ;;928
 ;;21,"00093-8342-01 ")
 ;;948
 ;;21,"00093-8343-01 ")
 ;;1053
 ;;21,"00093-8343-05 ")
 ;;1054
 ;;21,"00093-8343-10 ")
 ;;1055
 ;;21,"00093-8343-98 ")
 ;;1056
 ;;21,"00093-8344-01 ")
 ;;1087
 ;;21,"00093-8344-05 ")
 ;;1088
 ;;21,"00093-8344-10 ")
 ;;1089
 ;;21,"00093-8344-19 ")
 ;;1090
 ;;21,"00093-8344-93 ")
 ;;1091
 ;;21,"00093-8344-98 ")
 ;;1092
 ;;21,"00093-9364-01 ")
 ;;1093
 ;;21,"00093-9364-05 ")
 ;;1094
 ;;21,"00093-9364-10 ")
 ;;1095
 ;;21,"00093-9433-01 ")
 ;;1057
 ;;21,"00093-9433-05 ")
 ;;1058
 ;;21,"00093-9477-53 ")
 ;;949
 ;;21,"00143-9918-01 ")
 ;;858
 ;;21,"00143-9919-01 ")
 ;;877
 ;;21,"00143-9919-05 ")
 ;;878
 ;;21,"00143-9920-01 ")
 ;;929
 ;;21,"00143-9920-05 ")
 ;;930
 ;;21,"00143-9920-10 ")
 ;;931
 ;;21,"00172-2978-60 ")
 ;;1304
 ;;21,"00172-2979-60 ")
 ;;1309
 ;;21,"00172-2979-80 ")
 ;;1310
 ;;21,"00172-2980-60 ")
 ;;1318
 ;;21,"00172-3649-00 ")
 ;;690
 ;;21,"00172-3649-10 ")
 ;;691
 ;;21,"00172-3649-60 ")
 ;;692
 ;;21,"00172-3649-70 ")
 ;;693
 ;;21,"00172-3650-00 ")
 ;;487
 ;;21,"00172-3650-10 ")
 ;;488
 ;;21,"00172-3650-60 ")
 ;;489
 ;;21,"00172-3650-70 ")
 ;;490
 ;;21,"00172-5710-00 ")
 ;;64
 ;;21,"00172-5710-10 ")
 ;;65
 ;;21,"00172-5710-60 ")
 ;;66
 ;;21,"00172-5710-70 ")
 ;;67
 ;;21,"00172-5710-84 ")
 ;;68
 ;;21,"00172-5711-00 ")
 ;;120
 ;;21,"00172-5711-10 ")
 ;;121
 ;;21,"00172-5711-60 ")
 ;;122
 ;;21,"00172-5711-70 ")
 ;;123
 ;;21,"00172-5711-88 ")
 ;;124
 ;;21,"00172-5712-00 ")
 ;;191
 ;;21,"00172-5712-10 ")
 ;;192
 ;;21,"00172-5712-60 ")
 ;;193
 ;;21,"00172-5712-70 ")
 ;;194
 ;;21,"00172-5712-88 ")
 ;;195
 ;;21,"00173-0841-13 ")
 ;;1329
 ;;21,"00173-0842-13 ")
 ;;1334
 ;;21,"00173-0843-13 ")
 ;;1335
 ;;21,"00173-0844-13 ")
 ;;1340
 ;;21,"00173-0845-13 ")
 ;;1341
 ;;21,"00182-1851-89 ")
 ;;222
 ;;21,"00182-1994-00 ")
 ;;688
 ;;21,"00182-1994-89 ")
 ;;689
 ;;21,"00182-1995-00 ")
 ;;491
 ;;21,"00182-1995-89 ")
 ;;492
 ;;21,"00182-2646-00 ")
 ;;1059
 ;;21,"00182-2646-89 ")
 ;;1060
 ;;21,"00182-2647-00 ")
 ;;1106
 ;;21,"00182-2647-89 ")
 ;;1107
 ;;21,"00228-2751-11 ")
 ;;62
 ;;21,"00228-2751-50 ")
 ;;63
 ;;21,"00228-2752-11 ")
 ;;125
 ;;21,"00228-2752-50 ")
 ;;126
 ;;21,"00228-2753-11 ")
 ;;189
 ;;21,"00228-2753-50 ")
 ;;190
 ;;21,"00228-2898-03 ")
 ;;800
 ;;21,"00228-2899-10 ")
 ;;809
 ;;21,"00228-2899-50 ")
 ;;810
 ;;21,"00228-2899-96 ")
 ;;811
 ;;21,"00228-2900-10 ")
 ;;761
 ;;21,"00228-2900-11 ")
 ;;762
 ;;21,"00228-2900-50 ")
 ;;763
 ;;21,"00228-2900-96 ")
 ;;764
 ;;21,"00247-0444-00 ")
 ;;680
 ;;21,"00247-0444-30 ")
 ;;681
 ;;21,"00247-1045-30 ")
 ;;236
 ;;21,"00247-1045-45 ")
 ;;237
 ;;21,"00247-1270-00 ")
 ;;1104
 ;;21,"00247-1270-06 ")
 ;;1105
 ;;21,"00378-0197-01 ")
 ;;223
 ;;21,"00378-0197-05 ")
 ;;224
 ;;21,"00378-0210-01 ")
 ;;234
 ;;21,"00378-0210-10 ")
 ;;235
 ;;21,"00378-0215-01 ")
 ;;1325
 ;;21,"00378-0215-05 ")
 ;;1326
 ;;21,"00378-0217-01 ")
 ;;1311
 ;;21,"00378-0551-01 ")
 ;;1319
 ;;21,"00378-1105-01 ")
 ;;682
 ;;21,"00378-1105-05 ")
 ;;683
 ;;21,"00378-1110-01 ")
 ;;498
 ;;21,"00378-1110-05 ")
 ;;499
 ;;21,"00378-1113-01 ")
 ;;859
 ;;21,"00378-1125-01 ")
 ;;875
 ;;21,"00378-1125-10 ")
 ;;876
 ;;21,"00378-1142-01 ")
 ;;932
 ;;21,"00378-3131-01 ")
 ;;1
 ;;21,"00378-3132-01 ")
 ;;11
 ;;21,"00378-3133-01 ")
 ;;27
 ;;21,"00378-4011-01 ")
 ;;285
 ;;21,"00378-4012-01 ")
 ;;320
 ;;21,"00378-4013-01 ")
 ;;383
 ;;21,"00440-7565-14 ")
 ;;684
 ;;21,"00440-7565-30 ")
 ;;685
 ;;21,"00440-7565-60 ")
 ;;686
 ;;21,"00440-7565-90 ")
 ;;687
 ;;21,"00440-7566-30 ")
 ;;493
 ;;21,"00440-7566-60 ")
 ;;494
 ;;21,"00440-7566-90 ")
 ;;495
 ;;21,"00440-7566-91 ")
 ;;496
 ;;21,"00440-7566-92 ")
 ;;497
 ;;21,"00440-7568-90 ")
 ;;812
 ;;21,"00440-7568-92 ")
 ;;813
 ;;21,"00440-7569-90 ")
 ;;759
 ;;21,"00440-7569-92 ")
 ;;760
 ;;21,"00440-7570-20 ")
 ;;1061
 ;;21,"00440-7571-14 ")
 ;;1096
 ;;21,"00440-7571-30 ")
 ;;1097
 ;;21,"00440-7571-60 ")
 ;;1098
 ;;21,"00440-7571-90 ")
 ;;1099
 ;;21,"00440-7571-91 ")
 ;;1100
 ;;21,"00440-7571-92 ")
 ;;1101
 ;;21,"00440-7571-94 ")
 ;;1102
 ;;21,"00440-7571-95 ")
 ;;1103
 ;;21,"00440-7585-90 ")
 ;;61
 ;;21,"00440-7587-90 ")
 ;;127
 ;;21,"00440-7589-90 ")
 ;;188
 ;;21,"00440-7589-95 ")
 ;;168
 ;;21,"00440-8563-90 ")
 ;;1312
 ;;21,"00555-0442-02 ")
 ;;218
 ;;21,"00555-0443-02 ")
 ;;219
 ;;21,"00555-0625-02 ")
 ;;3
 ;;21,"00555-0626-02 ")
 ;;16
 ;;21,"00555-0627-02 ")
 ;;28
 ;;21,"00591-0460-01 ")
 ;;677
 ;;21,"00591-0460-05 ")
 ;;678
 ;;21,"00591-0460-10 ")
 ;;679
 ;;21,"00591-0461-01 ")
 ;;500
 ;;21,"00591-0461-05 ")
 ;;501
 ;;21,"00591-0461-10 ")
 ;;502
 ;;21,"00591-0844-01 ")
 ;;814
 ;;21,"00591-0844-10 ")
 ;;815
 ;;21,"00591-0844-15 ")
 ;;816
 ;;21,"00591-0845-01 ")
 ;;767
 ;;21,"00591-0845-10 ")
 ;;768
 ;;21,"00591-0845-15 ")
 ;;769
 ;;21,"00591-0900-30 ")
 ;;802
 ;;21,"00591-3971-01 ")
 ;;4
 ;;21,"00591-3972-01 ")
 ;;15
 ;;21,"00591-3973-01 ")
 ;;29
 ;;21,"00603-2835-21 ")
 ;;220
 ;;21,"00603-2836-32 ")
 ;;239
 ;;21,"00603-3744-21 ")
 ;;286
 ;;21,"00603-3744-28 ")
 ;;287
 ;;21,"00603-3745-21 ")
 ;;326
 ;;21,"00603-3745-28 ")
 ;;327
 ;;21,"00603-3746-21 ")
 ;;384
 ;;21,"00603-3746-28 ")
 ;;385
 ;;21,"00615-3595-53 ")
 ;;675
 ;;21,"00615-3595-63 ")
 ;;676
 ;;21,"00615-3596-53 ")
 ;;503
 ;;21,"00615-3596-63 ")
 ;;504
 ;;21,"00781-1138-01 ")
 ;;950
 ;;21,"00781-1146-01 ")
 ;;1067
 ;;21,"00781-1191-01 ")
 ;;1108
 ;;21,"00781-1191-10 ")
 ;;1109
 ;;21,"00781-1452-01 ")
 ;;673
 ;;21,"00781-1452-10 ")
 ;;674
 ;;21,"00781-1453-01 ")
 ;;505
 ;;21,"00781-1453-10 ")
 ;;506
 ;;21,"00781-5045-01 ")
 ;;288
 ;;21,"00781-5046-01 ")
 ;;325
 ;;21,"00781-5047-01 ")
 ;;386
 ;;21,"00781-5170-01 ")
 ;;69
 ;;21,"00781-5171-01 ")
 ;;128
 ;;21,"00781-5171-05 ")
 ;;129
 ;;21,"00781-5172-01 ")
 ;;182
 ;;21,"00781-5172-05 ")
 ;;183
 ;;21,"00781-5304-01 ")
 ;;5
 ;;21,"00781-5305-01 ")
 ;;14
 ;;21,"00781-5306-01 ")
 ;;30
 ;;21,"00904-0225-60 ")
 ;;221
 ;;21,"00904-0226-60 ")
 ;;238
 ;;21,"00904-6123-61 ")
 ;;511
 ;;21,"00904-6124-61 ")
 ;;668
 ;;21,"00904-6137-60 ")
 ;;952
 ;;21,"00904-6138-40 ")
 ;;1062
 ;;21,"00904-6138-60 ")
 ;;1063
 ;;21,"00904-6139-60 ")
 ;;1117
 ;;21,"00904-6139-80 ")
 ;;1118
 ;;21,"00904-7924-40 ")
 ;;669
 ;;21,"00904-7924-60 ")
 ;;670
 ;;21,"00904-7924-61 ")
 ;;671
 ;;21,"00904-7924-80 ")
 ;;672
 ;;21,"00904-7925-40 ")
 ;;507
 ;;21,"00904-7925-60 ")
 ;;508
 ;;21,"00904-7925-61 ")
 ;;509
 ;;21,"00904-7925-80 ")
 ;;510
 ;;21,"10768-7150-01 ")
 ;;289
 ;;21,"10768-7475-01 ")
 ;;324
 ;;21,"10768-7700-01 ")
 ;;387
 ;;21,"12280-0012-00 ")
 ;;851
 ;;21,"12280-0026-00 ")
 ;;85
 ;;21,"12280-0027-00 ")
 ;;142
 ;;21,"12280-0028-00 ")
 ;;874
 ;;21,"12280-0259-30 ")
 ;;765
 ;;21,"16590-0287-30 ")
 ;;514
 ;;21,"16590-0287-60 ")
 ;;515
 ;;21,"16590-0287-90 ")
 ;;516
 ;;21,"16590-0940-60 ")
 ;;1114
 ;;21,"16729-0001-01 ")
 ;;290
 ;;21,"16729-0002-01 ")
 ;;323
 ;;21,"16729-0003-01 ")
 ;;388
 ;;21,"16729-0139-00 ")
 ;;666
 ;;21,"16729-0139-16 ")
 ;;667
 ;;21,"16729-0140-00 ")
 ;;512
 ;;21,"16729-0140-16 ")
 ;;513
 ;;21,"17236-0441-01 ")
 ;;661
 ;;21,"17236-0441-10 ")
 ;;662
 ;;21,"17236-0442-01 ")
 ;;522
 ;;21,"17236-0442-10 ")
 ;;523
 ;;21,"21695-0467-30 ")
 ;;1065
 ;;21,"21695-0467-60 ")
 ;;1066
 ;;21,"21695-0468-30 ")
 ;;1110
 ;;21,"21695-0468-60 ")
 ;;1111
 ;;21,"21695-0468-72 ")
 ;;1112
 ;;21,"21695-0468-78 ")
 ;;1113
 ;;21,"21695-0469-30 ")
 ;;663
 ;;21,"21695-0469-60 ")
 ;;664
 ;;21,"21695-0469-90 ")
 ;;665
 ;;21,"21695-0470-00 ")
 ;;517
 ;;21,"21695-0470-30 ")
 ;;518
 ;;21,"21695-0470-60 ")
 ;;519
 ;;21,"21695-0470-78 ")
 ;;520
 ;;21,"21695-0470-90 ")
 ;;521
 ;;21,"21695-0568-30 ")
 ;;181
 ;;21,"21695-0746-30 ")
 ;;321
 ;;21,"21695-0746-90 ")
 ;;322
 ;;21,"21695-0747-30 ")
 ;;389
 ;;21,"21695-0747-60 ")
 ;;390
 ;;21,"21695-0747-90 ")
 ;;391
 ;;21,"21695-0894-00 ")
 ;;32
 ;;21,"21695-0967-30 ")
 ;;801
 ;;21,"21695-0993-72 ")
 ;;291
 ;;21,"23155-0056-01 ")
 ;;951
 ;;21,"23155-0057-01 ")
 ;;1064
 ;;21,"23155-0058-01 ")
 ;;1115
 ;;21,"23155-0058-10 ")
 ;;1116
 ;;21,"23155-0115-01 ")
 ;;6
 ;;21,"23155-0116-01 ")
 ;;13
 ;;21,"23155-0117-01 ")
 ;;31
 ;;21,"23490-5632-01 ")
 ;;524
 ;;21,"23490-5632-02 ")
 ;;525
 ;;21,"23490-5632-03 ")
 ;;526
 ;;21,"23490-5633-01 ")
 ;;766
 ;;21,"23490-5634-03 ")
 ;;694
 ;;21,"23490-5635-03 ")
 ;;821
 ;;21,"23490-5638-01 ")
 ;;1045
 ;;21,"23490-5638-02 ")
 ;;1046
 ;;21,"23490-5638-04 ")
 ;;1047
 ;;21,"23490-5639-01 ")
 ;;1149
 ;;21,"23490-5639-02 ")
 ;;1150
 ;;21,"23490-5640-03 ")
 ;;380
 ;;21,"23490-7448-03 ")
 ;;92
 ;;21,"23490-7448-06 ")
 ;;93
 ;;21,"23490-7449-01 ")
 ;;176
 ;;21,"23490-7449-06 ")
 ;;169
 ;;21,"23490-7449-09 ")
 ;;170
 ;;21,"23629-0022-10 ")
 ;;280
 ;;21,"23629-0023-10 ")
 ;;891
 ;;21,"33261-0209-30 ")
 ;;1151
 ;;21,"33261-0209-60 ")
 ;;1152
 ;;21,"33261-0209-90 ")
 ;;1153
 ;;21,"33358-0157-30 ")
 ;;562
 ;;21,"33358-0157-60 ")
 ;;563
 ;;21,"33358-0158-00 ")
 ;;695
 ;;21,"33358-0158-30 ")
 ;;696
 ;;21,"33358-0158-60 ")
 ;;697
 ;;21,"33358-0160-30 ")
 ;;1048
 ;;21,"33358-0160-60 ")
 ;;1049
 ;;21,"33358-0161-01 ")
 ;;1145
 ;;21,"33358-0161-30 ")
 ;;1146
 ;;21,"33358-0161-60 ")
 ;;1147
 ;;21,"33358-0161-90 ")
 ;;1148
 ;;21,"35356-0121-90 ")
 ;;845
 ;;21,"35356-0360-30 ")
 ;;1044
 ;;21,"42549-0498-30 ")
 ;;375
 ;;21,"42549-0499-30 ")
 ;;313
 ;;21,"43063-0034-30 ")
 ;;311
 ;;21,"43063-0034-90 ")
 ;;312
 ;;21,"43063-0119-90 ")
 ;;892
 ;;21,"43063-0120-90 ")
 ;;937
 ;;21,"43063-0121-30 ")
 ;;281
 ;;21,"43063-0121-90 ")
 ;;282
 ;;21,"43063-0122-30 ")
 ;;378
 ;;21,"43063-0122-90 ")
 ;;379
 ;;21,"43353-0369-53 ")
 ;;557
 ;;21,"43353-0369-60 ")
 ;;558
 ;
OTHER ; OTHER ROUTINES
 D ^BGP2TG10
 D ^BGP2TG11
 D ^BGP2TG12
 D ^BGP2TG13
 D ^BGP2TG14
 D ^BGP2TG15
 D ^BGP2TG16
 D ^BGP2TG2
 D ^BGP2TG3
 D ^BGP2TG4
 D ^BGP2TG5
 D ^BGP2TG6
 D ^BGP2TG7
 D ^BGP2TG8
 D ^BGP2TG9
 Q