- BGP8AXC ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
- ;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
- ;;BGP ALCOHOL DXS
- ;
- ; This routine loads Taxonomy BGP ALCOHOL DXS
- ;
- 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,"291.0 ")
- ;;1
- ;;21,"303.00 ")
- ;;2
- ;;21,"305.00 ")
- ;;3
- ;;21,"357.5 ")
- ;;4
- ;;9002226,308,.01)
- ;;BGP ALCOHOL DXS
- ;;9002226,308,.02)
- ;;@
- ;;9002226,308,.04)
- ;;n
- ;;9002226,308,.06)
- ;;@
- ;;9002226,308,.08)
- ;;0
- ;;9002226,308,.09)
- ;;3031111
- ;;9002226,308,.11)
- ;;@
- ;;9002226,308,.12)
- ;;31
- ;;9002226,308,.13)
- ;;1
- ;;9002226,308,.14)
- ;;@
- ;;9002226,308,.15)
- ;;80
- ;;9002226,308,.16)
- ;;@
- ;;9002226,308,.17)
- ;;@
- ;;9002226,308,3101)
- ;;@
- ;;9002226.02101,"308,291.0 ",.01)
- ;;291.0
- ;;9002226.02101,"308,291.0 ",.02)
- ;;291.9
- ;;9002226.02101,"308,303.00 ",.01)
- ;;303.00
- ;;9002226.02101,"308,303.00 ",.02)
- ;;303.93
- ;;9002226.02101,"308,305.00 ",.01)
- ;;305.00
- ;;9002226.02101,"308,305.00 ",.02)
- ;;305.03
- ;;9002226.02101,"308,357.5 ",.01)
- ;;357.5
- ;;9002226.02101,"308,357.5 ",.02)
- ;;357.5
- ;
- OTHER ; OTHER ROUTINES
- Q
- BGP8AXC ; IHS/CMI/LAB -CREATED BY ^ATXSTX ON SEP 28, 2007 ;
- +1 ;;8.0;IHS CLINICAL REPORTING;;MAR 12, 2008
- +2 ;;BGP ALCOHOL DXS
- +3 ;
- +4 ; This routine loads Taxonomy BGP ALCOHOL DXS
- +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,"291.0 ")
- +2 ;;1
- +3 ;;21,"303.00 ")
- +4 ;;2
- +5 ;;21,"305.00 ")
- +6 ;;3
- +7 ;;21,"357.5 ")
- +8 ;;4
- +9 ;;9002226,308,.01)
- +10 ;;BGP ALCOHOL DXS
- +11 ;;9002226,308,.02)
- +12 ;;@
- +13 ;;9002226,308,.04)
- +14 ;;n
- +15 ;;9002226,308,.06)
- +16 ;;@
- +17 ;;9002226,308,.08)
- +18 ;;0
- +19 ;;9002226,308,.09)
- +20 ;;3031111
- +21 ;;9002226,308,.11)
- +22 ;;@
- +23 ;;9002226,308,.12)
- +24 ;;31
- +25 ;;9002226,308,.13)
- +26 ;;1
- +27 ;;9002226,308,.14)
- +28 ;;@
- +29 ;;9002226,308,.15)
- +30 ;;80
- +31 ;;9002226,308,.16)
- +32 ;;@
- +33 ;;9002226,308,.17)
- +34 ;;@
- +35 ;;9002226,308,3101)
- +36 ;;@
- +37 ;;9002226.02101,"308,291.0 ",.01)
- +38 ;;291.0
- +39 ;;9002226.02101,"308,291.0 ",.02)
- +40 ;;291.9
- +41 ;;9002226.02101,"308,303.00 ",.01)
- +42 ;;303.00
- +43 ;;9002226.02101,"308,303.00 ",.02)
- +44 ;;303.93
- +45 ;;9002226.02101,"308,305.00 ",.01)
- +46 ;;305.00
- +47 ;;9002226.02101,"308,305.00 ",.02)
- +48 ;;305.03
- +49 ;;9002226.02101,"308,357.5 ",.01)
- +50 ;;357.5
- +51 ;;9002226.02101,"308,357.5 ",.02)
- +52 ;;357.5
- +53 ;
- OTHER ; OTHER ROUTINES
- +1 QUIT