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

BGP2WL.m

Go to the documentation of this file.
BGP2WL ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON FEB 28, 2012;
 ;;12.1;IHS CLINICAL REPORTING;;MAY 17, 2012;Build 66
 ;;BGP CD4 LOINC CODES
 ;
 ; This routine loads Taxonomy BGP CD4 LOINC CODES
 ;
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,"13332-2 ")
 ;;1
 ;;21,"13335-5 ")
 ;;2
 ;;21,"13336-3 ")
 ;;3
 ;;21,"13343-9 ")
 ;;4
 ;;21,"13491-6 ")
 ;;5
 ;;21,"13492-4 ")
 ;;6
 ;;21,"16274-3 ")
 ;;7
 ;;21,"17144-7 ")
 ;;8
 ;;21,"17145-4 ")
 ;;9
 ;;21,"17146-2 ")
 ;;10
 ;;21,"17153-8 ")
 ;;11
 ;;21,"20605-2 ")
 ;;12
 ;;21,"20606-0 ")
 ;;13
 ;;21,"20607-8 ")
 ;;14
 ;;21,"24467-3 ")
 ;;15
 ;;21,"26569-4 ")
 ;;16
 ;;21,"26570-2 ")
 ;;17
 ;;21,"26573-6 ")
 ;;18
 ;;21,"26759-1 ")
 ;;19
 ;;21,"26922-5 ")
 ;;20
 ;;21,"26982-9 ")
 ;;21
 ;;21,"26983-7 ")
 ;;22
 ;;21,"32515-9 ")
 ;;23
 ;;21,"32516-7 ")
 ;;24
 ;;21,"32532-4 ")
 ;;25
 ;;21,"32533-2 ")
 ;;26
 ;;21,"32537-3 ")
 ;;27
 ;;21,"34475-4 ")
 ;;28
 ;;21,"34622-1 ")
 ;;43
 ;;21,"34929-0 ")
 ;;29
 ;;21,"34930-8 ")
 ;;30
 ;;21,"34931-6 ")
 ;;31
 ;;21,"34932-4 ")
 ;;32
 ;;21,"38237-4 ")
 ;;33
 ;;21,"38238-2 ")
 ;;34
 ;;21,"38239-0 ")
 ;;35
 ;;21,"38240-8 ")
 ;;36
 ;;21,"40898-9 ")
 ;;66
 ;;21,"40900-3 ")
 ;;67
 ;;21,"41994-5 ")
 ;;37
 ;;21,"42737-7 ")
 ;;38
 ;;21,"43944-8 ")
 ;;39
 ;;21,"43946-3 ")
 ;;68
 ;;21,"43947-1 ")
 ;;69
 ;;21,"43952-1 ")
 ;;40
 ;;21,"43953-9 ")
 ;;70
 ;;21,"43955-4 ")
 ;;71
 ;;21,"43962-0 ")
 ;;41
 ;;21,"43963-8 ")
 ;;72
 ;;21,"43965-3 ")
 ;;73
 ;;21,"43970-3 ")
 ;;74
 ;;21,"44056-0 ")
 ;;44
 ;;21,"44057-8 ")
 ;;75
 ;;21,"44059-4 ")
 ;;76
 ;;21,"44060-2 ")
 ;;45
 ;;21,"47016-1 ")
 ;;77
 ;;21,"49025-0 ")
 ;;46
 ;;21,"49120-9 ")
 ;;47
 ;;21,"51300-2 ")
 ;;78
 ;;21,"51302-8 ")
 ;;79
 ;;21,"51303-6 ")
 ;;80
 ;;21,"51304-4 ")
 ;;65
 ;;21,"51306-9 ")
 ;;48
 ;;21,"51307-7 ")
 ;;81
 ;;21,"51308-5 ")
 ;;82
 ;;21,"51309-3 ")
 ;;49
 ;;21,"51311-9 ")
 ;;50
 ;;21,"51312-7 ")
 ;;83
 ;;21,"51313-5 ")
 ;;84
 ;;21,"51314-3 ")
 ;;51
 ;;21,"51316-8 ")
 ;;52
 ;;21,"51755-7 ")
 ;;53
 ;;21,"53939-5 ")
 ;;54
 ;;21,"53940-3 ")
 ;;55
 ;;21,"54218-3 ")
 ;;56
 ;;21,"5472-6 ")
 ;;57
 ;;21,"5473-4 ")
 ;;58
 ;;21,"5474-2 ")
 ;;59
 ;;21,"58920-0 ")
 ;;63
 ;;21,"60457-9 ")
 ;;64
 ;;21,"63450-1 ")
 ;;85
 ;;21,"8123-2 ")
 ;;42
 ;;21,"8127-3 ")
 ;;60
 ;;21,"8128-1 ")
 ;;61
 ;;21,"8129-9 ")
 ;;62
 ;;9002226,312,.01)
 ;;BGP CD4 LOINC CODES
 ;;9002226,312,.02)
 ;;LOINC CODES FOR CD4 TESTS
 ;;9002226,312,.04)
 ;;n
 ;;9002226,312,.06)
 ;;@
 ;;9002226,312,.08)
 ;;@
 ;;9002226,312,.09)
 ;;3030709
 ;;9002226,312,.11)
 ;;@
 ;;9002226,312,.12)
 ;;@
 ;;9002226,312,.13)
 ;;1
 ;;9002226,312,.14)
 ;;FIHS
 ;;9002226,312,.15)
 ;;95.3
 ;;9002226,312,.16)
 ;;0
 ;;9002226,312,.17)
 ;;@
 ;;9002226,312,3101)
 ;;@
 ;;9002226.02101,"312,13332-2 ",.01)
 ;;13332-2
 ;;9002226.02101,"312,13332-2 ",.02)
 ;;13332-2
 ;;9002226.02101,"312,13335-5 ",.01)
 ;;13335-5
 ;;9002226.02101,"312,13335-5 ",.02)
 ;;13335-5
 ;;9002226.02101,"312,13336-3 ",.01)
 ;;13336-3
 ;;9002226.02101,"312,13336-3 ",.02)
 ;;13336-3
 ;;9002226.02101,"312,13343-9 ",.01)
 ;;13343-9
 ;;9002226.02101,"312,13343-9 ",.02)
 ;;13343-9
 ;;9002226.02101,"312,13491-6 ",.01)
 ;;13491-6
 ;;9002226.02101,"312,13491-6 ",.02)
 ;;13491-6
 ;;9002226.02101,"312,13492-4 ",.01)
 ;;13492-4
 ;;9002226.02101,"312,13492-4 ",.02)
 ;;13492-4
 ;;9002226.02101,"312,16274-3 ",.01)
 ;;16274-3
 ;;9002226.02101,"312,16274-3 ",.02)
 ;;16274-3
 ;;9002226.02101,"312,17144-7 ",.01)
 ;;17144-7
 ;;9002226.02101,"312,17144-7 ",.02)
 ;;17144-7
 ;;9002226.02101,"312,17145-4 ",.01)
 ;;17145-4
 ;;9002226.02101,"312,17145-4 ",.02)
 ;;17145-4
 ;;9002226.02101,"312,17146-2 ",.01)
 ;;17146-2
 ;;9002226.02101,"312,17146-2 ",.02)
 ;;17146-2
 ;;9002226.02101,"312,17153-8 ",.01)
 ;;17153-8
 ;;9002226.02101,"312,17153-8 ",.02)
 ;;17153-8
 ;;9002226.02101,"312,20605-2 ",.01)
 ;;20605-2
 ;;9002226.02101,"312,20605-2 ",.02)
 ;;20605-2
 ;;9002226.02101,"312,20606-0 ",.01)
 ;;20606-0
 ;;9002226.02101,"312,20606-0 ",.02)
 ;;20606-0
 ;;9002226.02101,"312,20607-8 ",.01)
 ;;20607-8
 ;;9002226.02101,"312,20607-8 ",.02)
 ;;20607-8
 ;;9002226.02101,"312,24467-3 ",.01)
 ;;24467-3
 ;;9002226.02101,"312,24467-3 ",.02)
 ;;24467-3
 ;;9002226.02101,"312,26569-4 ",.01)
 ;;26569-4
 ;;9002226.02101,"312,26569-4 ",.02)
 ;;26569-4
 ;;9002226.02101,"312,26570-2 ",.01)
 ;;26570-2
 ;;9002226.02101,"312,26570-2 ",.02)
 ;;26570-2
 ;;9002226.02101,"312,26573-6 ",.01)
 ;;26573-6
 ;;9002226.02101,"312,26573-6 ",.02)
 ;;26573-6
 ;;9002226.02101,"312,26759-1 ",.01)
 ;;26759-1
 ;;9002226.02101,"312,26759-1 ",.02)
 ;;26759-1
 ;;9002226.02101,"312,26922-5 ",.01)
 ;;26922-5
 ;;9002226.02101,"312,26922-5 ",.02)
 ;;26922-5
 ;;9002226.02101,"312,26982-9 ",.01)
 ;;26982-9
 ;;9002226.02101,"312,26982-9 ",.02)
 ;;26982-9
 ;;9002226.02101,"312,26983-7 ",.01)
 ;;26983-7
 ;;9002226.02101,"312,26983-7 ",.02)
 ;;26983-7
 ;;9002226.02101,"312,32515-9 ",.01)
 ;;32515-9
 ;;9002226.02101,"312,32515-9 ",.02)
 ;;32515-9
 ;;9002226.02101,"312,32516-7 ",.01)
 ;;32516-7
 ;;9002226.02101,"312,32516-7 ",.02)
 ;;32516-7
 ;;9002226.02101,"312,32532-4 ",.01)
 ;;32532-4
 ;;9002226.02101,"312,32532-4 ",.02)
 ;;32532-4
 ;;9002226.02101,"312,32533-2 ",.01)
 ;;32533-2
 ;;9002226.02101,"312,32533-2 ",.02)
 ;;32533-2
 ;;9002226.02101,"312,32537-3 ",.01)
 ;;32537-3
 ;;9002226.02101,"312,32537-3 ",.02)
 ;;32537-3
 ;;9002226.02101,"312,34475-4 ",.01)
 ;;34475-4
 ;;9002226.02101,"312,34475-4 ",.02)
 ;;34475-4
 ;;9002226.02101,"312,34622-1 ",.01)
 ;;34622-1
 ;;9002226.02101,"312,34622-1 ",.02)
 ;;34622-1
 ;;9002226.02101,"312,34929-0 ",.01)
 ;;34929-0
 ;;9002226.02101,"312,34929-0 ",.02)
 ;;34929-0
 ;;9002226.02101,"312,34930-8 ",.01)
 ;;34930-8
 ;;9002226.02101,"312,34930-8 ",.02)
 ;;34930-8
 ;;9002226.02101,"312,34931-6 ",.01)
 ;;34931-6
 ;;9002226.02101,"312,34931-6 ",.02)
 ;;34931-6
 ;;9002226.02101,"312,34932-4 ",.01)
 ;;34932-4
 ;;9002226.02101,"312,34932-4 ",.02)
 ;;34932-4
 ;;9002226.02101,"312,38237-4 ",.01)
 ;;38237-4
 ;;9002226.02101,"312,38237-4 ",.02)
 ;;38237-4
 ;;9002226.02101,"312,38238-2 ",.01)
 ;;38238-2
 ;;9002226.02101,"312,38238-2 ",.02)
 ;;38238-2
 ;;9002226.02101,"312,38239-0 ",.01)
 ;;38239-0
 ;;9002226.02101,"312,38239-0 ",.02)
 ;;38239-0
 ;;9002226.02101,"312,38240-8 ",.01)
 ;;38240-8
 ;;9002226.02101,"312,38240-8 ",.02)
 ;;38240-8
 ;;9002226.02101,"312,40898-9 ",.01)
 ;;40898-9
 ;;9002226.02101,"312,40898-9 ",.02)
 ;;40898-9
 ;;9002226.02101,"312,40900-3 ",.01)
 ;;40900-3
 ;;9002226.02101,"312,40900-3 ",.02)
 ;;40900-3
 ;;9002226.02101,"312,41994-5 ",.01)
 ;;41994-5
 ;;9002226.02101,"312,41994-5 ",.02)
 ;;41994-5
 ;;9002226.02101,"312,42737-7 ",.01)
 ;;42737-7
 ;;9002226.02101,"312,42737-7 ",.02)
 ;;42737-7
 ;;9002226.02101,"312,43944-8 ",.01)
 ;;43944-8
 ;;9002226.02101,"312,43944-8 ",.02)
 ;;43944-8
 ;;9002226.02101,"312,43946-3 ",.01)
 ;;43946-3
 ;;9002226.02101,"312,43946-3 ",.02)
 ;;43946-3
 ;;9002226.02101,"312,43947-1 ",.01)
 ;;43947-1
 ;;9002226.02101,"312,43947-1 ",.02)
 ;;43947-1
 ;;9002226.02101,"312,43952-1 ",.01)
 ;;43952-1
 ;;9002226.02101,"312,43952-1 ",.02)
 ;;43952-1
 ;;9002226.02101,"312,43953-9 ",.01)
 ;;43953-9
 ;;9002226.02101,"312,43953-9 ",.02)
 ;;43953-9
 ;;9002226.02101,"312,43955-4 ",.01)
 ;;43955-4
 ;;9002226.02101,"312,43955-4 ",.02)
 ;;43955-4
 ;;9002226.02101,"312,43962-0 ",.01)
 ;;43962-0
 ;;9002226.02101,"312,43962-0 ",.02)
 ;;43962-0
 ;;9002226.02101,"312,43963-8 ",.01)
 ;;43963-8
 ;;9002226.02101,"312,43963-8 ",.02)
 ;;43963-8
 ;;9002226.02101,"312,43965-3 ",.01)
 ;;43965-3
 ;;9002226.02101,"312,43965-3 ",.02)
 ;;43965-3
 ;;9002226.02101,"312,43970-3 ",.01)
 ;;43970-3
 ;;9002226.02101,"312,43970-3 ",.02)
 ;;43970-3
 ;;9002226.02101,"312,44056-0 ",.01)
 ;;44056-0
 ;;9002226.02101,"312,44056-0 ",.02)
 ;;44056-0
 ;;9002226.02101,"312,44057-8 ",.01)
 ;;44057-8
 ;;9002226.02101,"312,44057-8 ",.02)
 ;;44057-8
 ;;9002226.02101,"312,44059-4 ",.01)
 ;;44059-4
 ;;9002226.02101,"312,44059-4 ",.02)
 ;;44059-4
 ;;9002226.02101,"312,44060-2 ",.01)
 ;;44060-2
 ;;9002226.02101,"312,44060-2 ",.02)
 ;;44060-2
 ;;9002226.02101,"312,47016-1 ",.01)
 ;;47016-1
 ;;9002226.02101,"312,47016-1 ",.02)
 ;;47016-1
 ;;9002226.02101,"312,49025-0 ",.01)
 ;;49025-0
 ;;9002226.02101,"312,49025-0 ",.02)
 ;;49025-0
 ;;9002226.02101,"312,49120-9 ",.01)
 ;;49120-9
 ;;9002226.02101,"312,49120-9 ",.02)
 ;;49120-9
 ;;9002226.02101,"312,51300-2 ",.01)
 ;;51300-2
 ;;9002226.02101,"312,51300-2 ",.02)
 ;;51300-2
 ;;9002226.02101,"312,51302-8 ",.01)
 ;;51302-8
 ;;9002226.02101,"312,51302-8 ",.02)
 ;;51302-8
 ;;9002226.02101,"312,51303-6 ",.01)
 ;;51303-6
 ;;9002226.02101,"312,51303-6 ",.02)
 ;;51303-6
 ;;9002226.02101,"312,51304-4 ",.01)
 ;;51304-4
 ;;9002226.02101,"312,51304-4 ",.02)
 ;;51304-4
 ;;9002226.02101,"312,51306-9 ",.01)
 ;;51306-9
 ;;9002226.02101,"312,51306-9 ",.02)
 ;;51306-9
 ;;9002226.02101,"312,51307-7 ",.01)
 ;;51307-7
 ;;9002226.02101,"312,51307-7 ",.02)
 ;;51307-7
 ;;9002226.02101,"312,51308-5 ",.01)
 ;;51308-5
 ;;9002226.02101,"312,51308-5 ",.02)
 ;;51308-5
 ;;9002226.02101,"312,51309-3 ",.01)
 ;;51309-3
 ;;9002226.02101,"312,51309-3 ",.02)
 ;;51309-3
 ;;9002226.02101,"312,51311-9 ",.01)
 ;;51311-9
 ;;9002226.02101,"312,51311-9 ",.02)
 ;;51311-9
 ;;9002226.02101,"312,51312-7 ",.01)
 ;;51312-7
 ;;9002226.02101,"312,51312-7 ",.02)
 ;;51312-7
 ;;9002226.02101,"312,51313-5 ",.01)
 ;;51313-5
 ;;9002226.02101,"312,51313-5 ",.02)
 ;;51313-5
 ;;9002226.02101,"312,51314-3 ",.01)
 ;;51314-3
 ;;9002226.02101,"312,51314-3 ",.02)
 ;;51314-3
 ;;9002226.02101,"312,51316-8 ",.01)
 ;;51316-8
 ;;9002226.02101,"312,51316-8 ",.02)
 ;;51316-8
 ;;9002226.02101,"312,51755-7 ",.01)
 ;;51755-7
 ;;9002226.02101,"312,51755-7 ",.02)
 ;;51755-7
 ;;9002226.02101,"312,53939-5 ",.01)
 ;;53939-5
 ;;9002226.02101,"312,53939-5 ",.02)
 ;;53939-5
 ;;9002226.02101,"312,53940-3 ",.01)
 ;;53940-3
 ;;9002226.02101,"312,53940-3 ",.02)
 ;;53940-3
 ;;9002226.02101,"312,54218-3 ",.01)
 ;;54218-3
 ;;9002226.02101,"312,54218-3 ",.02)
 ;;54218-3
 ;;9002226.02101,"312,5472-6 ",.01)
 ;;5472-6
 ;;9002226.02101,"312,5472-6 ",.02)
 ;;5472-6
 ;;9002226.02101,"312,5473-4 ",.01)
 ;;5473-4
 ;;9002226.02101,"312,5473-4 ",.02)
 ;;5473-4
 ;;9002226.02101,"312,5474-2 ",.01)
 ;;5474-2
 ;;9002226.02101,"312,5474-2 ",.02)
 ;;5474-2
 ;;9002226.02101,"312,58920-0 ",.01)
 ;;58920-0
 ;;9002226.02101,"312,58920-0 ",.02)
 ;;58920-0
 ;;9002226.02101,"312,60457-9 ",.01)
 ;;60457-9
 ;;9002226.02101,"312,60457-9 ",.02)
 ;;60457-9
 ;;9002226.02101,"312,63450-1 ",.01)
 ;;63450-1
 ;;9002226.02101,"312,63450-1 ",.02)
 ;;63450-1
 ;;9002226.02101,"312,8123-2 ",.01)
 ;;8123-2
 ;;9002226.02101,"312,8123-2 ",.02)
 ;;8123-2
 ;;9002226.02101,"312,8127-3 ",.01)
 ;;8127-3
 ;;9002226.02101,"312,8127-3 ",.02)
 ;;8127-3
 ;;9002226.02101,"312,8128-1 ",.01)
 ;;8128-1
 ;;9002226.02101,"312,8128-1 ",.02)
 ;;8128-1
 ;;9002226.02101,"312,8129-9 ",.01)
 ;;8129-9
 ;;9002226.02101,"312,8129-9 ",.02)
 ;;8129-9
 ;
OTHER ; OTHER ROUTINES
 Q