BGP86E ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON MAR 12, 2018;
;;18.1;IHS CLINICAL REPORTING;;MAY 25, 2018;Build 66
;;BGP IPC PSYCH VISIT CPTS
;
; This routine loads Taxonomy BGP IPC PSYCH VISIT CPTS
;
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,"90791 ")
;;1
;;21,"90832 ")
;;2
;;21,"90834 ")
;;3
;;21,"90837 ")
;;4
;;9002226,2302,.01)
;;BGP IPC PSYCH VISIT CPTS
;;9002226,2302,.02)
;;@
;;9002226,2302,.04)
;;n
;;9002226,2302,.06)
;;@
;;9002226,2302,.08)
;;0
;;9002226,2302,.09)
;;3180312
;;9002226,2302,.11)
;;@
;;9002226,2302,.12)
;;455
;;9002226,2302,.13)
;;1
;;9002226,2302,.14)
;;@
;;9002226,2302,.15)
;;81
;;9002226,2302,.16)
;;@
;;9002226,2302,.17)
;;@
;;9002226,2302,.22)
;;1
;;9002226,2302,3101)
;;@
;;9002226.02101,"2302,90791 ",.01)
;;90791
;;9002226.02101,"2302,90791 ",.02)
;;90792
;;9002226.02101,"2302,90832 ",.01)
;;90832
;;9002226.02101,"2302,90832 ",.02)
;;90832
;;9002226.02101,"2302,90834 ",.01)
;;90834
;;9002226.02101,"2302,90834 ",.02)
;;90834
;;9002226.02101,"2302,90837 ",.01)
;;90837
;;9002226.02101,"2302,90837 ",.02)
;;90837
;
OTHER ; OTHER ROUTINES
Q
BGP86E ;IHS/CMI/LAB-CREATED BY ^ATXSTX ON MAR 12, 2018;
+1 ;;18.1;IHS CLINICAL REPORTING;;MAY 25, 2018;Build 66
+2 ;;BGP IPC PSYCH VISIT CPTS
+3 ;
+4 ; This routine loads Taxonomy BGP IPC PSYCH VISIT CPTS
+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,"90791 ")
+2 ;;1
+3 ;;21,"90832 ")
+4 ;;2
+5 ;;21,"90834 ")
+6 ;;3
+7 ;;21,"90837 ")
+8 ;;4
+9 ;;9002226,2302,.01)
+10 ;;BGP IPC PSYCH VISIT CPTS
+11 ;;9002226,2302,.02)
+12 ;;@
+13 ;;9002226,2302,.04)
+14 ;;n
+15 ;;9002226,2302,.06)
+16 ;;@
+17 ;;9002226,2302,.08)
+18 ;;0
+19 ;;9002226,2302,.09)
+20 ;;3180312
+21 ;;9002226,2302,.11)
+22 ;;@
+23 ;;9002226,2302,.12)
+24 ;;455
+25 ;;9002226,2302,.13)
+26 ;;1
+27 ;;9002226,2302,.14)
+28 ;;@
+29 ;;9002226,2302,.15)
+30 ;;81
+31 ;;9002226,2302,.16)
+32 ;;@
+33 ;;9002226,2302,.17)
+34 ;;@
+35 ;;9002226,2302,.22)
+36 ;;1
+37 ;;9002226,2302,3101)
+38 ;;@
+39 ;;9002226.02101,"2302,90791 ",.01)
+40 ;;90791
+41 ;;9002226.02101,"2302,90791 ",.02)
+42 ;;90792
+43 ;;9002226.02101,"2302,90832 ",.01)
+44 ;;90832
+45 ;;9002226.02101,"2302,90832 ",.02)
+46 ;;90832
+47 ;;9002226.02101,"2302,90834 ",.01)
+48 ;;90834
+49 ;;9002226.02101,"2302,90834 ",.02)
+50 ;;90834
+51 ;;9002226.02101,"2302,90837 ",.01)
+52 ;;90837
+53 ;;9002226.02101,"2302,90837 ",.02)
+54 ;;90837
+55 ;
OTHER ; OTHER ROUTINES
+1 QUIT