IBINI03K ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(353.2) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^DIC(353.2,0,"GL")
;;=^IBE(353.2,
;;^DIC("B","TYPE OF SERVICE",353.2)
;;=
;;^DIC(353.2,"%D",0)
;;=^^5^5^2940214^^
;;^DIC(353.2,"%D",1,0)
;;=This is a reference file containing the Types of Services that may be
;;^DIC(353.2,"%D",2,0)
;;=associated with a procedure. This set is specifically defined for the
;;^DIC(353.2,"%D",3,0)
;;=HCFA 1500.
;;^DIC(353.2,"%D",4,0)
;;=
;;^DIC(353.2,"%D",5,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(353.2,0)
;;=FIELD^^.03^3
;;^DD(353.2,0,"DDA")
;;=N
;;^DD(353.2,0,"DT")
;;=2920429
;;^DD(353.2,0,"ID",.02)
;;=W " ",$P(^(0),U,2)
;;^DD(353.2,0,"IX","B",353.2,.01)
;;=
;;^DD(353.2,0,"IX","C",353.2,.02)
;;=
;;^DD(353.2,0,"NM","TYPE OF SERVICE")
;;=
;;^DD(353.2,0,"PT",162.03,31)
;;=
;;^DD(353.2,0,"PT",399,169)
;;=
;;^DD(353.2,0,"PT",399.0304,9)
;;=
;;^DD(353.2,.01,0)
;;=CODE^RF^^0;1^K:$L(X)>7!($L(X)<1)!'(X'?1P.E) X
;;^DD(353.2,.01,1,0)
;;=^.1
;;^DD(353.2,.01,1,1,0)
;;=353.2^B
;;^DD(353.2,.01,1,1,1)
;;=S ^IBE(353.2,"B",$E(X,1,30),DA)=""
;;^DD(353.2,.01,1,1,2)
;;=K ^IBE(353.2,"B",$E(X,1,30),DA)
;;^DD(353.2,.01,3)
;;=Answer must be 1-7 characters in length.
;;^DD(353.2,.01,21,0)
;;=^^2^2^2920427^
;;^DD(353.2,.01,21,1,0)
;;=This is the code that identifies a Type of Service associated with a visit
;;^DD(353.2,.01,21,2,0)
;;=on the HCFA 1500.
;;^DD(353.2,.01,"DT")
;;=2920427
;;^DD(353.2,.02,0)
;;=NAME^RF^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>50!($L(X)<3) X
;;^DD(353.2,.02,1,0)
;;=^.1
;;^DD(353.2,.02,1,1,0)
;;=353.2^C
;;^DD(353.2,.02,1,1,1)
;;=S ^IBE(353.2,"C",$E(X,1,30),DA)=""
;;^DD(353.2,.02,1,1,2)
;;=K ^IBE(353.2,"C",$E(X,1,30),DA)
;;^DD(353.2,.02,1,1,3)
;;=DO NOT DELETE
;;^DD(353.2,.02,1,1,"DT")
;;=2920630
;;^DD(353.2,.02,3)
;;=Answer must be 3-50 characters in length.
;;^DD(353.2,.02,21,0)
;;=^^1^1^2920429^^^
;;^DD(353.2,.02,21,1,0)
;;=This is the full name/description of this Type of Service.
;;^DD(353.2,.02,"DT")
;;=2920630
;;^DD(353.2,.03,0)
;;=ABBREVIATION^RF^^0;3^K:$L(X)>20!($L(X)<2) X
;;^DD(353.2,.03,3)
;;=Answer must be 2-20 characters in length.
;;^DD(353.2,.03,21,0)
;;=^^2^2^2920427^
;;^DD(353.2,.03,21,1,0)
;;=This is the abbreviation of the name of this entry. Will primarily be
;;^DD(353.2,.03,21,2,0)
;;=used for reports.
;;^DD(353.2,.03,"DT")
;;=2920427
IBINI03K ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(353.2)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DIC(353.2,0,"GL")
+2 ;;=^IBE(353.2,
+3 ;;^DIC("B","TYPE OF SERVICE",353.2)
+4 ;;=
+5 ;;^DIC(353.2,"%D",0)
+6 ;;=^^5^5^2940214^^
+7 ;;^DIC(353.2,"%D",1,0)
+8 ;;=This is a reference file containing the Types of Services that may be
+9 ;;^DIC(353.2,"%D",2,0)
+10 ;;=associated with a procedure. This set is specifically defined for the
+11 ;;^DIC(353.2,"%D",3,0)
+12 ;;=HCFA 1500.
+13 ;;^DIC(353.2,"%D",4,0)
+14 ;;=
+15 ;;^DIC(353.2,"%D",5,0)
+16 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+17 ;;^DD(353.2,0)
+18 ;;=FIELD^^.03^3
+19 ;;^DD(353.2,0,"DDA")
+20 ;;=N
+21 ;;^DD(353.2,0,"DT")
+22 ;;=2920429
+23 ;;^DD(353.2,0,"ID",.02)
+24 ;;=W " ",$P(^(0),U,2)
+25 ;;^DD(353.2,0,"IX","B",353.2,.01)
+26 ;;=
+27 ;;^DD(353.2,0,"IX","C",353.2,.02)
+28 ;;=
+29 ;;^DD(353.2,0,"NM","TYPE OF SERVICE")
+30 ;;=
+31 ;;^DD(353.2,0,"PT",162.03,31)
+32 ;;=
+33 ;;^DD(353.2,0,"PT",399,169)
+34 ;;=
+35 ;;^DD(353.2,0,"PT",399.0304,9)
+36 ;;=
+37 ;;^DD(353.2,.01,0)
+38 ;;=CODE^RF^^0;1^K:$L(X)>7!($L(X)<1)!'(X'?1P.E) X
+39 ;;^DD(353.2,.01,1,0)
+40 ;;=^.1
+41 ;;^DD(353.2,.01,1,1,0)
+42 ;;=353.2^B
+43 ;;^DD(353.2,.01,1,1,1)
+44 ;;=S ^IBE(353.2,"B",$E(X,1,30),DA)=""
+45 ;;^DD(353.2,.01,1,1,2)
+46 ;;=K ^IBE(353.2,"B",$E(X,1,30),DA)
+47 ;;^DD(353.2,.01,3)
+48 ;;=Answer must be 1-7 characters in length.
+49 ;;^DD(353.2,.01,21,0)
+50 ;;=^^2^2^2920427^
+51 ;;^DD(353.2,.01,21,1,0)
+52 ;;=This is the code that identifies a Type of Service associated with a visit
+53 ;;^DD(353.2,.01,21,2,0)
+54 ;;=on the HCFA 1500.
+55 ;;^DD(353.2,.01,"DT")
+56 ;;=2920427
+57 ;;^DD(353.2,.02,0)
+58 ;;=NAME^RF^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>50!($L(X)<3) X
+59 ;;^DD(353.2,.02,1,0)
+60 ;;=^.1
+61 ;;^DD(353.2,.02,1,1,0)
+62 ;;=353.2^C
+63 ;;^DD(353.2,.02,1,1,1)
+64 ;;=S ^IBE(353.2,"C",$E(X,1,30),DA)=""
+65 ;;^DD(353.2,.02,1,1,2)
+66 ;;=K ^IBE(353.2,"C",$E(X,1,30),DA)
+67 ;;^DD(353.2,.02,1,1,3)
+68 ;;=DO NOT DELETE
+69 ;;^DD(353.2,.02,1,1,"DT")
+70 ;;=2920630
+71 ;;^DD(353.2,.02,3)
+72 ;;=Answer must be 3-50 characters in length.
+73 ;;^DD(353.2,.02,21,0)
+74 ;;=^^1^1^2920429^^^
+75 ;;^DD(353.2,.02,21,1,0)
+76 ;;=This is the full name/description of this Type of Service.
+77 ;;^DD(353.2,.02,"DT")
+78 ;;=2920630
+79 ;;^DD(353.2,.03,0)
+80 ;;=ABBREVIATION^RF^^0;3^K:$L(X)>20!($L(X)<2) X
+81 ;;^DD(353.2,.03,3)
+82 ;;=Answer must be 2-20 characters in length.
+83 ;;^DD(353.2,.03,21,0)
+84 ;;=^^2^2^2920427^
+85 ;;^DD(353.2,.03,21,1,0)
+86 ;;=This is the abbreviation of the name of this entry. Will primarily be
+87 ;;^DD(353.2,.03,21,2,0)
+88 ;;=used for reports.
+89 ;;^DD(353.2,.03,"DT")
+90 ;;=2920427