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