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

BGP2TB.m

Go to the documentation of this file.
BGP2TB ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON MAR 12, 2012;
 ;;12.1;IHS CLINICAL REPORTING;;MAY 17, 2012;Build 66
 ;;BGP HEDIS OSTEOPOROSIS NDC
 ;
 ; This routine loads Taxonomy BGP HEDIS OSTEOPOROSIS 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,"00002-4165-02 ")
 ;;642
 ;;21,"00002-4165-07 ")
 ;;643
 ;;21,"00002-4165-30 ")
 ;;644
 ;;21,"00002-4165-34 ")
 ;;645
 ;;21,"00002-4165-79 ")
 ;;646
 ;;21,"00002-8400-01 ")
 ;;680
 ;;21,"00002-8971-01 ")
 ;;681
 ;;21,"00003-0251-51 ")
 ;;542
 ;;21,"00004-0185-23 ")
 ;;638
 ;;21,"00004-0186-82 ")
 ;;632
 ;;21,"00004-0188-09 ")
 ;;639
 ;;21,"00004-0191-09 ")
 ;;640
 ;;21,"00006-0031-01 ")
 ;;75
 ;;21,"00006-0031-04 ")
 ;;76
 ;;21,"00006-0031-21 ")
 ;;77
 ;;21,"00006-0031-44 ")
 ;;78
 ;;21,"00006-0077-01 ")
 ;;35
 ;;21,"00006-0077-21 ")
 ;;36
 ;;21,"00006-0077-44 ")
 ;;37
 ;;21,"00006-0212-31 ")
 ;;61
 ;;21,"00006-0270-44 ")
 ;;126
 ;;21,"00006-0710-01 ")
 ;;121
 ;;21,"00006-0710-11 ")
 ;;122
 ;;21,"00006-0710-21 ")
 ;;123
 ;;21,"00006-0710-44 ")
 ;;124
 ;;21,"00006-0925-31 ")
 ;;63
 ;;21,"00006-0925-58 ")
 ;;64
 ;;21,"00006-0936-01 ")
 ;;1
 ;;21,"00006-0936-28 ")
 ;;2
 ;;21,"00006-0936-31 ")
 ;;3
 ;;21,"00006-0936-58 ")
 ;;4
 ;;21,"00006-0936-82 ")
 ;;5
 ;;21,"00006-3833-01 ")
 ;;119
 ;;21,"00006-3833-34 ")
 ;;120
 ;;21,"00009-0271-01 ")
 ;;516
 ;;21,"00009-3772-01 ")
 ;;574
 ;;21,"00009-3773-01 ")
 ;;591
 ;;21,"00009-3774-01 ")
 ;;602
 ;;21,"00046-0875-05 ")
 ;;291
 ;;21,"00046-0875-06 ")
 ;;292
 ;;21,"00046-0875-11 ")
 ;;293
 ;;21,"00046-0937-08 ")
 ;;285
 ;;21,"00046-0937-09 ")
 ;;286
 ;;21,"00046-0937-18 ")
 ;;287
 ;;21,"00046-0938-08 ")
 ;;279
 ;;21,"00046-0938-09 ")
 ;;280
 ;;21,"00046-0938-18 ")
 ;;281
 ;;21,"00046-0975-05 ")
 ;;301
 ;;21,"00046-0975-06 ")
 ;;302
 ;;21,"00046-0975-11 ")
 ;;303
 ;;21,"00046-1100-81 ")
 ;;138
 ;;21,"00046-1100-91 ")
 ;;139
 ;;21,"00046-1101-81 ")
 ;;164
 ;;21,"00046-1102-81 ")
 ;;168
 ;;21,"00046-1102-91 ")
 ;;169
 ;;21,"00046-1103-81 ")
 ;;218
 ;;21,"00046-1104-81 ")
 ;;233
 ;;21,"00046-1104-91 ")
 ;;234
 ;;21,"00046-1105-11 ")
 ;;282
 ;;21,"00046-1106-11 ")
 ;;288
 ;;21,"00046-1107-11 ")
 ;;294
 ;;21,"00046-2573-01 ")
 ;;307
 ;;21,"00046-2573-05 ")
 ;;308
 ;;21,"00046-2573-06 ")
 ;;309
 ;;21,"00046-2579-11 ")
 ;;310
 ;;21,"00051-1028-58 ")
 ;;434
 ;;21,"00078-0149-23 ")
 ;;135
 ;;21,"00078-0311-54 ")
 ;;127
 ;;21,"00078-0343-42 ")
 ;;333
 ;;21,"00078-0343-45 ")
 ;;334
 ;;21,"00078-0343-62 ")
 ;;335
 ;;21,"00078-0344-42 ")
 ;;341
 ;;21,"00078-0344-45 ")
 ;;342
 ;;21,"00078-0344-62 ")
 ;;343
 ;;21,"00078-0345-42 ")
 ;;372
 ;;21,"00078-0345-45 ")
 ;;373
 ;;21,"00078-0345-62 ")
 ;;374
 ;;21,"00078-0346-42 ")
 ;;382
 ;;21,"00078-0346-45 ")
 ;;383
 ;;21,"00078-0346-62 ")
 ;;384
 ;;21,"00078-0365-42 ")
 ;;323
 ;;21,"00078-0365-45 ")
 ;;324
 ;;21,"00078-0377-42 ")
 ;;554
 ;;21,"00078-0377-45 ")
 ;;555
 ;;21,"00078-0377-62 ")
 ;;556
 ;;21,"00078-0378-42 ")
 ;;559
 ;;21,"00078-0378-45 ")
 ;;560
 ;;21,"00078-0378-62 ")
 ;;561
 ;;21,"00078-0387-25 ")
 ;;684
 ;;21,"00078-0435-61 ")
 ;;685
 ;;21,"00078-0480-42 ")
 ;;344
 ;;21,"00078-0480-62 ")
 ;;345
 ;;21,"00078-0481-42 ")
 ;;385
 ;;21,"00078-0481-62 ")
 ;;386
 ;;21,"00078-0590-61 ")
 ;;683
 ;;21,"00083-2310-01 ")
 ;;346
 ;;21,"00083-2310-08 ")
 ;;347
 ;;21,"00083-2310-62 ")
 ;;348
 ;;21,"00083-2320-01 ")
 ;;387
 ;;21,"00083-2320-08 ")
 ;;388
 ;;21,"00083-2320-62 ")
 ;;389
 ;;21,"00083-2325-08 ")
 ;;336
 ;;21,"00083-2326-01 ")
 ;;349
 ;;21,"00083-2327-08 ")
 ;;375
 ;;21,"00083-2328-01 ")
 ;;390
 ;;21,"00083-2328-08 ")
 ;;391
 ;;21,"00087-0756-01 ")
 ;;480
 ;;21,"00087-0756-48 ")
 ;;481
 ;;21,"00093-2090-58 ")
 ;;614
 ;;21,"00093-3122-42 ")
 ;;618
 ;;21,"00093-3122-98 ")
 ;;619
 ;;21,"00093-5140-01 ")
 ;;65
 ;;21,"00093-5140-56 ")
 ;;66
 ;;21,"00093-5141-01 ")
 ;;6
 ;;21,"00093-5141-56 ")
 ;;7
 ;;21,"00093-5142-56 ")
 ;;62
 ;;21,"00093-5171-19 ")
 ;;79
 ;;21,"00093-5171-20 ")
 ;;80
 ;;21,"00093-5171-44 ")
 ;;81
 ;;21,"00093-5172-19 ")
 ;;38
 ;;21,"00093-5172-20 ")
 ;;39
 ;;21,"00093-5172-44 ")
 ;;40
 ;;21,"00093-5455-28 ")
 ;;565
 ;;21,"00093-5455-42 ")
 ;;566
 ;;21,"00149-0470-01 ")
 ;;659
 ;;21,"00149-0470-03 ")
 ;;660
 ;;21,"00149-0471-01 ")
 ;;675
 ;;21,"00149-0471-03 ")
 ;;676
 ;;21,"00149-0472-01 ")
 ;;665
 ;;21,"00149-0472-04 ")
 ;;666
 ;;21,"00149-0475-01 ")
 ;;136
 ;;21,"00149-0477-01 ")
 ;;679
 ;;21,"00149-0478-01 ")
 ;;655
 ;;21,"00149-0478-03 ")
 ;;656
 ;;21,"00149-0491-04 ")
 ;;350
 ;;21,"00169-5174-01 ")
 ;;567
 ;;21,"00169-5174-02 ")
 ;;568
 ;;21,"00169-5175-10 ")
 ;;562
 ;;21,"00169-5175-11 ")
 ;;563
 ;;21,"00182-0662-63 ")
 ;;517
 ;;21,"00182-1805-63 ")
 ;;532
 ;;21,"00182-1976-01 ")
 ;;575
 ;;21,"00182-1977-01 ")
 ;;592
 ;;21,"00182-1978-01 ")
 ;;603
 ;;21,"00182-2648-01 ")
 ;;409
 ;;21,"00223-7605-10 ")
 ;;527
 ;;21,"00223-7606-10 ")
 ;;533
 ;;21,"00223-7607-10 ")
 ;;543
 ;;21,"00245-0008-35 ")
 ;;128
 ;;21,"00245-0880-30 ")
 ;;407
 ;;21,"00245-0880-89 ")
 ;;408
 ;;21,"00245-0881-30 ")
 ;;428
 ;;21,"00245-0881-89 ")
 ;;429
 ;;21,"00245-0882-30 ")
 ;;474
 ;;21,"00245-0882-89 ")
 ;;475
 ;;21,"00247-0242-30 ")
 ;;436
 ;;21,"00247-0243-21 ")
 ;;482
 ;;21,"00247-0243-30 ")
 ;;483
 ;;21,"00247-0249-00 ")
 ;;219
 ;;21,"00247-0249-15 ")
 ;;220
 ;;21,"00247-0249-30 ")
 ;;221
 ;;21,"00247-0249-60 ")
 ;;222
 ;;21,"00247-0249-90 ")
 ;;223
 ;;21,"00247-0250-00 ")
 ;;235
 ;;21,"00247-0250-28 ")
 ;;236
 ;;21,"00247-0250-30 ")
 ;;237
 ;;21,"00247-0251-00 ")
 ;;170
 ;;21,"00247-0251-01 ")
 ;;171
 ;;21,"00247-0251-30 ")
 ;;172
 ;;21,"00247-0251-60 ")
 ;;173
 ;;21,"00247-0251-90 ")
 ;;174
 ;;21,"00247-0975-05 ")
 ;;518
 ;;21,"00247-0975-10 ")
 ;;519
 ;;21,"00247-1226-30 ")
 ;;140
 ;;21,"00247-1702-01 ")
 ;;295
 ;;21,"00247-1702-28 ")
 ;;296
 ;;21,"00247-1703-28 ")
 ;;311
 ;;21,"00247-1960-15 ")
 ;;661
 ;;21,"00247-1960-30 ")
 ;;662
 ;;21,"00247-2156-30 ")
 ;;576
 ;;21,"00247-2281-05 ")
 ;;520
 ;;21,"00339-5981-12 ")
 ;;577
 ;;21,"00339-5983-12 ")
 ;;593
 ;;21,"00339-5985-12 ")
 ;;604
 ;;21,"00339-6073-12 ")
 ;;410
 ;;21,"00339-6074-12 ")
 ;;437
 ;;21,"00339-6075-12 ")
 ;;484
 ;;21,"00378-1452-01 ")
 ;;411
 ;;21,"00378-1452-05 ")
 ;;412
 ;;21,"00378-1454-01 ")
 ;;438
 ;;21,"00378-1454-05 ")
 ;;439
 ;;21,"00378-1458-01 ")
 ;;485
 ;;21,"00378-1458-05 ")
 ;;486
 ;;21,"00378-1458-77 ")
 ;;487
 ;;21,"00378-3349-99 ")
 ;;328
 ;;21,"00378-3350-99 ")
 ;;358
 ;;21,"00378-3351-99 ")
 ;;380
 ;;21,"00378-3352-99 ")
 ;;397
 ;;21,"00378-3360-99 ")
 ;;338
 ;;21,"00378-3361-99 ")
 ;;369
 ;;21,"00378-3566-01 ")
 ;;67
 ;;21,"00378-3567-01 ")
 ;;8
 ;;21,"00378-3568-22 ")
 ;;41
 ;;21,"00378-3568-99 ")
 ;;42
 ;;21,"00378-3569-22 ")
 ;;82
 ;;21,"00378-3569-93 ")
 ;;83
 ;;21,"00378-3569-99 ")
 ;;84
 ;;21,"00378-4551-01 ")
 ;;578
 ;;21,"00378-4553-01 ")
 ;;594
 ;;21,"00421-0158-01 ")
 ;;476
 ;;21,"00421-0748-01 ")
 ;;488
 ;;21,"00421-0768-01 ")
 ;;413
 ;;21,"00421-1259-01 ")
 ;;440
 ;;21,"00430-0023-24 ")
 ;;441
 ;;21,"00430-0024-24 ")
 ;;489
 ;;21,"00430-0145-14 ")
 ;;610
 ;;21,"00430-0145-23 ")
 ;;611
 ;;21,"00430-0389-24 ")
 ;;513
 ;;21,"00430-0390-24 ")
 ;;514
 ;;21,"00430-0391-24 ")
 ;;515
 ;;21,"00430-0420-14 ")
 ;;627
 ;;21,"00430-0470-15 ")
 ;;663
 ;;21,"00430-0471-15 ")
 ;;677
 ;;21,"00430-0472-03 ")
 ;;667
 ;;21,"00430-0478-01 ")
 ;;657
 ;;21,"00430-0478-02 ")
 ;;658
 ;;21,"00430-0544-14 ")
 ;;620
 ;;21,"00430-0544-23 ")
 ;;621
 ;;21,"00430-0720-24 ")
 ;;414
 ;;21,"00430-0721-24 ")
 ;;442
 ;;21,"00430-0722-24 ")
 ;;490
 ;;21,"00430-0979-03 ")
 ;;664
 ;;21,"00430-6201-40 ")
 ;;368
 ;;21,"00430-6202-40 ")
 ;;405
 ;;21,"00440-8171-90 ")
 ;;238
 ;;21,"00456-0784-10 ")
 ;;534
 ;;21,"00456-1021-10 ")
 ;;521
 ;;21,"00482-4900-02 ")
 ;;430
 ;;21,"00555-0719-51 ")
 ;;43
 ;;21,"00555-0719-54 ")
 ;;44
 ;;21,"00555-0720-51 ")
 ;;85
 ;;21,"00555-0720-54 ")
 ;;86
 ;;21,"00555-0727-02 ")
 ;;579
 ;;21,"00555-0728-02 ")
 ;;595
 ;;21,"00555-0729-02 ")
 ;;605
 ;;21,"00555-0886-02 ")
 ;;443
 ;;21,"00555-0886-04 ")
 ;;444
 ;;21,"00555-0887-02 ")
 ;;491
 ;;21,"00555-0887-04 ")
 ;;492
 ;;21,"00555-0899-02 ")
 ;;415
 ;;21,"00555-9066-58 ")
 ;;630
 ;;21,"00555-9066-67 ")
 ;;631
 ;;21,"00574-0870-05 ")
 ;;535
 ;;21,"00574-0872-05 ")
 ;;544
 ;;21,"00591-0031-04 ")
 ;;87
 ;;21,"00591-0077-04 ")
 ;;45
 ;;21,"00591-0414-01 ")
 ;;580
 ;;21,"00591-0415-01 ")
 ;;596
 ;;21,"00591-0416-01 ")
 ;;606
 ;;21,"00591-0487-01 ")
 ;;445
 ;;21,"00591-0487-05 ")
 ;;446
 ;;21,"00591-0488-01 ")
 ;;493
 ;;21,"00591-0488-05 ")
 ;;494
 ;;21,"00591-0528-01 ")
 ;;416
 ;;21,"00591-3171-04 ")
 ;;46
 ;;21,"00591-3173-04 ")
 ;;88
 ;;21,"00603-7521-17 ")
 ;;616
 ;;21,"00603-7521-49 ")
 ;;617
 ;;21,"00603-7525-17 ")
 ;;628
 ;;21,"00603-7525-49 ")
 ;;629
 ;;21,"00781-3029-75 ")
 ;;536
 ;;21,"00781-3030-75 ")
 ;;528
 ;;21,"00781-3031-75 ")
 ;;545
 ;;21,"00781-6320-79 ")
 ;;129
 ;;21,"00904-2909-10 ")
 ;;529
 ;;21,"00904-2910-10 ")
 ;;537
 ;;21,"00904-2911-10 ")
 ;;546
 ;;21,"00904-5177-60 ")
 ;;417
 ;;21,"00904-5178-60 ")
 ;;447
 ;;21,"00904-5179-60 ")
 ;;495
 ;;21,"12280-0039-00 ")
 ;;175
 ;;21,"12280-0110-00 ")
 ;;418
 ;;21,"12280-0402-30 ")
 ;;647
 ;;21,"12280-0412-03 ")
 ;;633
 ;;21,"12280-0418-30 ")
 ;;648
 ;;21,"15456-0325-56 ")
 ;;365
 ;;21,"16252-0599-02 ")
 ;;47
 ;;21,"16252-0599-44 ")
 ;;48
 ;;21,"16252-0601-02 ")
 ;;89
 ;;21,"16252-0601-44 ")
 ;;90
 ;;21,"16590-0491-04 ")
 ;;91
 ;;21,"16590-0718-04 ")
 ;;92
 ;;21,"16590-0718-20 ")
 ;;93
 ;;21,"16590-0718-30 ")
 ;;94
 ;;21,"16590-0721-04 ")
 ;;668
 ;;21,"16714-0631-01 ")
 ;;9
 ;;21,"16714-0631-02 ")
 ;;10
 ;;21,"16714-0632-01 ")
 ;;49
 ;;21,"16714-0632-02 ")
 ;;50
 ;;21,"16714-0633-01 ")
 ;;95
 ;;21,"16714-0633-02 ")
 ;;96
 ;;21,"17139-0617-40 ")
 ;;435
 ;;21,"18860-0480-01 ")
 ;;431
 ;;21,"18860-0480-60 ")
 ;;432
 ;;21,"18860-0490-02 ")
 ;;433
 ;;21,"21695-0901-04 ")
 ;;51
 ;;21,"21695-0902-04 ")
 ;;97
 ;;21,"23490-5528-02 ")
 ;;359
 ;;21,"23490-5529-02 ")
 ;;398
 ;;21,"23490-6906-01 ")
 ;;581
 ;;21,"23490-9245-00 ")
 ;;669
 ;;21,"23629-0019-01 ")
 ;;448
 ;;21,"25332-0117-10 ")
 ;;538
 ;;21,"29336-0325-56 ")
 ;;366
 ;;21,"33358-0295-30 ")
 ;;224
 ;;21,"35356-0249-00 ")
 ;;141
 ;;21,"35356-0250-00 ")
 ;;225
 ;;21,"35356-0251-00 ")
 ;;165
 ;;21,"35356-0276-28 ")
 ;;283
 ;;21,"35356-0277-28 ")
 ;;297
 ;;21,"35356-0278-28 ")
 ;;304
 ;;21,"35356-0279-28 ")
 ;;289
 ;;21,"35356-0351-01 ")
 ;;686
 ;;21,"35356-0404-90 ")
 ;;622
 ;;21,"35356-0423-03 ")
 ;;634
 ;;21,"35356-0426-30 ")
 ;;239
 ;;21,"41616-0635-83 ")
 ;;68
 ;;21,"41616-0635-88 ")
 ;;69
 ;;21,"41616-0636-83 ")
 ;;11
 ;;21,"41616-0636-88 ")
 ;;12
 ;;21,"41616-0637-68 ")
 ;;52
 ;;21,"41616-0638-68 ")
 ;;98
 ;;21,"42023-0110-01 ")
 ;;530
 ;;21,"42023-0111-01 ")
 ;;539
 ;;21,"42023-0112-01 ")
 ;;547
 ;;21,"43063-0201-01 ")
 ;;496
 ;;21,"43063-0201-30 ")
 ;;497
 ;;21,"43063-0201-90 ")
 ;;498
 ;;21,"49884-0161-11 ")
 ;;130
 ;;21,"49999-0083-30 ")
 ;;449
 ;;21,"49999-0109-00 ")
 ;;176
 ;;21,"49999-0109-30 ")
 ;;177
 ;;21,"49999-0109-90 ")
 ;;178
 ;;21,"49999-0448-04 ")
 ;;670
 ;;21,"49999-0458-30 ")
 ;;649
 ;;21,"49999-0501-04 ")
 ;;99
 ;;21,"50419-0451-04 ")
 ;;360
 ;;21,"50419-0452-04 ")
 ;;399
 ;;21,"50419-0453-04 ")
 ;;381
 ;;21,"50419-0454-04 ")
 ;;329
 ;;21,"50419-0455-04 ")
 ;;478
 ;;21,"50419-0456-04 ")
 ;;339
 ;;21,"50419-0459-04 ")
 ;;370
 ;;21,"50419-0491-04 ")
 ;;552
 ;;21,"51079-0941-01 ")
 ;;13
 ;;21,"51079-0941-05 ")
 ;;14
 ;;21,"51079-0942-01 ")
 ;;100
 ;;21,"51079-0942-05 ")
 ;;101
 ;;21,"51285-0011-02 ")
 ;;597
 ;;21,"51285-0063-90 ")
 ;;571
 ;;21,"51285-0088-90 ")
 ;;572
 ;;21,"51285-0406-02 ")
 ;;274
 ;;21,"51285-0407-02 ")
 ;;275
 ;;21,"51285-0408-02 ")
 ;;276
 ;;21,"51285-0409-02 ")
 ;;277
 ;;21,"51285-0410-02 ")
 ;;278
 ;;21,"51285-0441-02 ")
 ;;261
 ;;21,"51285-0442-02 ")
 ;;265
 ;;21,"51285-0442-05 ")
 ;;266
 ;;21,"51285-0443-02 ")
 ;;270
 ;;21,"51285-0444-02 ")
 ;;271
 ;;21,"51285-0446-02 ")
 ;;262
 ;;21,"51655-0452-24 ")
 ;;179
 ;;21,"51655-0452-25 ")
 ;;180
 ;;21,"51991-0474-28 ")
 ;;569
 ;;21,"51991-0623-28 ")
 ;;564
 ;;21,"52544-0204-31 ")
 ;;612
 ;;21,"52544-0237-19 ")
 ;;623
 ;;21,"52544-0237-72 ")
 ;;624
 ;;21,"52544-0471-08 ")
 ;;351
 ;;21,"52544-0471-23 ")
 ;;352
 ;;21,"52544-0471-54 ")
 ;;353
 ;;21,"52544-0472-08 ")
 ;;376
 ;;21,"52544-0472-54 ")
 ;;377
 ;;21,"52544-0473-08 ")
 ;;392
 ;;21,"52544-0473-54 ")
 ;;393
 ;;21,"52544-0884-08 ")
 ;;325
 ;;21,"52544-0884-54 ")
 ;;326
 ;;21,"52637-0332-10 ")
 ;;522
 ;;21,"52959-0222-00 ")
 ;;240
 ;;21,"52959-0223-00 ")
 ;;181
 ;;21,"52959-0223-30 ")
 ;;182
 ;
OTHER ; OTHER ROUTINES
 D ^BGP2TB2
 D ^BGP2TB3
 D ^BGP2TB4
 D ^BGP2TB5
 D ^BGP2TB6
 D ^BGP2TB7
 D ^BGP2TB8
 Q