IBINI0C7 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(409.95) 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
;;^DD(409.95,.03,21,3,0)
;;=been seen in the clinic previously.
;;^DD(409.95,.03,"DT")
;;=2930818
;;^DD(409.95,.04,0)
;;=SUPPLMNTL FORM - FIRST VISIT^*P357'^IBE(357,^0;4^S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(409.95,.04,1,0)
;;=^.1
;;^DD(409.95,.04,1,1,0)
;;=409.95^E
;;^DD(409.95,.04,1,1,1)
;;=S ^SD(409.95,"E",$E(X,1,30),DA)=""
;;^DD(409.95,.04,1,1,2)
;;=K ^SD(409.95,"E",$E(X,1,30),DA)
;;^DD(409.95,.04,1,1,"DT")
;;=2930209
;;^DD(409.95,.04,3)
;;=What supplemental form should be printed for first time patients?
;;^DD(409.95,.04,12)
;;=Does not allow tool kit forms or forms that are not of type encounter form.
;;^DD(409.95,.04,12.1)
;;=S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1"
;;^DD(409.95,.04,21,0)
;;=^^3^3^2940216^
;;^DD(409.95,.04,21,1,0)
;;=
;;^DD(409.95,.04,21,2,0)
;;=This is a supplemental for that will print only for patients that have
;;^DD(409.95,.04,21,3,0)
;;=not been seen previously at the clinic.
;;^DD(409.95,.04,"DT")
;;=2930806
;;^DD(409.95,.05,0)
;;=FORM W/O PATIENT DATA^*P357'^IBE(357,^0;5^S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(409.95,.05,.1)
;;=FORM TO PRINT WITH NO PATIENT DATA
;;^DD(409.95,.05,1,0)
;;=^.1
;;^DD(409.95,.05,1,1,0)
;;=409.95^F
;;^DD(409.95,.05,1,1,1)
;;=S ^SD(409.95,"F",$E(X,1,30),DA)=""
;;^DD(409.95,.05,1,1,2)
;;=K ^SD(409.95,"F",$E(X,1,30),DA)
;;^DD(409.95,.05,1,1,"DT")
;;=2930209
;;^DD(409.95,.05,3)
;;=Enter the form that should print in cases where you do not want patient data printed on the form.
;;^DD(409.95,.05,12)
;;=Does not allow tool kit forms or forms that are not of type encounter form.
;;^DD(409.95,.05,12.1)
;;=S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1"
;;^DD(409.95,.05,21,0)
;;=^^4^4^2940216^^^^
;;^DD(409.95,.05,21,1,0)
;;=
;;^DD(409.95,.05,21,2,0)
;;=This is the encounter form that should be printed for unscheduled visits.
;;^DD(409.95,.05,21,3,0)
;;=It may have a space in the top left hand corner for imprinting the
;;^DD(409.95,.05,21,4,0)
;;=embossed patient card or space to write in the name, ssn, etc.
;;^DD(409.95,.05,"DT")
;;=2930910
;;^DD(409.95,.06,0)
;;=SUPPLMNTL FORM - ALL PATIENTS^*P357'^IBE(357,^0;6^S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(409.95,.06,1,0)
;;=^.1
;;^DD(409.95,.06,1,1,0)
;;=409.95^G
;;^DD(409.95,.06,1,1,1)
;;=S ^SD(409.95,"G",$E(X,1,30),DA)=""
;;^DD(409.95,.06,1,1,2)
;;=K ^SD(409.95,"G",$E(X,1,30),DA)
;;^DD(409.95,.06,1,1,"%D",0)
;;=^^1^1^2930719^
;;^DD(409.95,.06,1,1,"%D",1,0)
;;=Used to find all clinics using this form as a supplemental form for all patients.
;;^DD(409.95,.06,1,1,"DT")
;;=2930719
;;^DD(409.95,.06,3)
;;=You may require a supplemental form to be used for all appointments for this clinic.
;;^DD(409.95,.06,12)
;;=Does not allow tool kit forms or forms that are not of type encounter form.
;;^DD(409.95,.06,12.1)
;;=S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1"
;;^DD(409.95,.06,21,0)
;;=^^4^4^2940216^^
;;^DD(409.95,.06,21,1,0)
;;=
;;^DD(409.95,.06,21,2,0)
;;=This is a supplemental form to be used by all patients of the clinic. A
;;^DD(409.95,.06,21,3,0)
;;=form in this category should not also be in one of the other categories
;;^DD(409.95,.06,21,4,0)
;;=for supplemental forms, else it will be printed twice.
;;^DD(409.95,.06,"DT")
;;=2930806
;;^DD(409.95,.07,0)
;;=RESERVED FOR FUTURE USE^P357'^IBE(357,^0;7^Q
IBINI0C7 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(409.95)
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 ;;^DD(409.95,.03,21,3,0)
+2 ;;=been seen in the clinic previously.
+3 ;;^DD(409.95,.03,"DT")
+4 ;;=2930818
+5 ;;^DD(409.95,.04,0)
+6 ;;=SUPPLMNTL FORM - FIRST VISIT^*P357'^IBE(357,^0;4^S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+7 ;;^DD(409.95,.04,1,0)
+8 ;;=^.1
+9 ;;^DD(409.95,.04,1,1,0)
+10 ;;=409.95^E
+11 ;;^DD(409.95,.04,1,1,1)
+12 ;;=S ^SD(409.95,"E",$E(X,1,30),DA)=""
+13 ;;^DD(409.95,.04,1,1,2)
+14 ;;=K ^SD(409.95,"E",$E(X,1,30),DA)
+15 ;;^DD(409.95,.04,1,1,"DT")
+16 ;;=2930209
+17 ;;^DD(409.95,.04,3)
+18 ;;=What supplemental form should be printed for first time patients?
+19 ;;^DD(409.95,.04,12)
+20 ;;=Does not allow tool kit forms or forms that are not of type encounter form.
+21 ;;^DD(409.95,.04,12.1)
+22 ;;=S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1"
+23 ;;^DD(409.95,.04,21,0)
+24 ;;=^^3^3^2940216^
+25 ;;^DD(409.95,.04,21,1,0)
+26 ;;=
+27 ;;^DD(409.95,.04,21,2,0)
+28 ;;=This is a supplemental for that will print only for patients that have
+29 ;;^DD(409.95,.04,21,3,0)
+30 ;;=not been seen previously at the clinic.
+31 ;;^DD(409.95,.04,"DT")
+32 ;;=2930806
+33 ;;^DD(409.95,.05,0)
+34 ;;=FORM W/O PATIENT DATA^*P357'^IBE(357,^0;5^S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+35 ;;^DD(409.95,.05,.1)
+36 ;;=FORM TO PRINT WITH NO PATIENT DATA
+37 ;;^DD(409.95,.05,1,0)
+38 ;;=^.1
+39 ;;^DD(409.95,.05,1,1,0)
+40 ;;=409.95^F
+41 ;;^DD(409.95,.05,1,1,1)
+42 ;;=S ^SD(409.95,"F",$E(X,1,30),DA)=""
+43 ;;^DD(409.95,.05,1,1,2)
+44 ;;=K ^SD(409.95,"F",$E(X,1,30),DA)
+45 ;;^DD(409.95,.05,1,1,"DT")
+46 ;;=2930209
+47 ;;^DD(409.95,.05,3)
+48 ;;=Enter the form that should print in cases where you do not want patient data printed on the form.
+49 ;;^DD(409.95,.05,12)
+50 ;;=Does not allow tool kit forms or forms that are not of type encounter form.
+51 ;;^DD(409.95,.05,12.1)
+52 ;;=S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1"
+53 ;;^DD(409.95,.05,21,0)
+54 ;;=^^4^4^2940216^^^^
+55 ;;^DD(409.95,.05,21,1,0)
+56 ;;=
+57 ;;^DD(409.95,.05,21,2,0)
+58 ;;=This is the encounter form that should be printed for unscheduled visits.
+59 ;;^DD(409.95,.05,21,3,0)
+60 ;;=It may have a space in the top left hand corner for imprinting the
+61 ;;^DD(409.95,.05,21,4,0)
+62 ;;=embossed patient card or space to write in the name, ssn, etc.
+63 ;;^DD(409.95,.05,"DT")
+64 ;;=2930910
+65 ;;^DD(409.95,.06,0)
+66 ;;=SUPPLMNTL FORM - ALL PATIENTS^*P357'^IBE(357,^0;6^S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+67 ;;^DD(409.95,.06,1,0)
+68 ;;=^.1
+69 ;;^DD(409.95,.06,1,1,0)
+70 ;;=409.95^G
+71 ;;^DD(409.95,.06,1,1,1)
+72 ;;=S ^SD(409.95,"G",$E(X,1,30),DA)=""
+73 ;;^DD(409.95,.06,1,1,2)
+74 ;;=K ^SD(409.95,"G",$E(X,1,30),DA)
+75 ;;^DD(409.95,.06,1,1,"%D",0)
+76 ;;=^^1^1^2930719^
+77 ;;^DD(409.95,.06,1,1,"%D",1,0)
+78 ;;=Used to find all clinics using this form as a supplemental form for all patients.
+79 ;;^DD(409.95,.06,1,1,"DT")
+80 ;;=2930719
+81 ;;^DD(409.95,.06,3)
+82 ;;=You may require a supplemental form to be used for all appointments for this clinic.
+83 ;;^DD(409.95,.06,12)
+84 ;;=Does not allow tool kit forms or forms that are not of type encounter form.
+85 ;;^DD(409.95,.06,12.1)
+86 ;;=S DIC("S")="I '$P($G(^(0)),U,7),$P($G(^(0)),U,4)'>1"
+87 ;;^DD(409.95,.06,21,0)
+88 ;;=^^4^4^2940216^^
+89 ;;^DD(409.95,.06,21,1,0)
+90 ;;=
+91 ;;^DD(409.95,.06,21,2,0)
+92 ;;=This is a supplemental form to be used by all patients of the clinic. A
+93 ;;^DD(409.95,.06,21,3,0)
+94 ;;=form in this category should not also be in one of the other categories
+95 ;;^DD(409.95,.06,21,4,0)
+96 ;;=for supplemental forms, else it will be printed twice.
+97 ;;^DD(409.95,.06,"DT")
+98 ;;=2930806
+99 ;;^DD(409.95,.07,0)
+100 ;;=RESERVED FOR FUTURE USE^P357'^IBE(357,^0;7^Q