- IBINI032 ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(351.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(351.1,0,"GL")
- ;;=^IBE(351.1,
- ;;^DIC("B","IB CONTINUOUS PATIENT",351.1)
- ;;=
- ;;^DIC(351.1,"%D",0)
- ;;=0^^9^9^2940214^^^^
- ;;^DIC(351.1,"%D",1,0)
- ;;=This file was created as part of v1.5 of Integrated Billing, in
- ;;^DIC(351.1,"%D",2,0)
- ;;=conjunction with the automation of Means Test/Category C billing.
- ;;^DIC(351.1,"%D",3,0)
- ;;=This file contains a list of all continuous Hospital or Nursing
- ;;^DIC(351.1,"%D",4,0)
- ;;=Home Care patients since 7/1/86 who may be subject to Category C
- ;;^DIC(351.1,"%D",5,0)
- ;;=billing. These patients are exempt from the co-payment charges,
- ;;^DIC(351.1,"%D",6,0)
- ;;=but not the per diem charges. Patients who change their level of care must
- ;;^DIC(351.1,"%D",7,0)
- ;;=be manually unflagged.
- ;;^DIC(351.1,"%D",8,0)
- ;;=
- ;;^DIC(351.1,"%D",9,0)
- ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- ;;^DD(351.1,0)
- ;;=FIELD^^.06^6
- ;;^DD(351.1,0,"DDA")
- ;;=N
- ;;^DD(351.1,0,"IX","B",351.1,.01)
- ;;=
- ;;^DD(351.1,0,"NM","IB CONTINUOUS PATIENT")
- ;;=
- ;;^DD(351.1,.01,0)
- ;;=PATIENT^RP2'^DPT(^0;1^Q
- ;;^DD(351.1,.01,1,0)
- ;;=^.1^^-1
- ;;^DD(351.1,.01,1,1,0)
- ;;=351.1^B
- ;;^DD(351.1,.01,1,1,1)
- ;;=S ^IBE(351.1,"B",$E(X,1,30),DA)=""
- ;;^DD(351.1,.01,1,1,2)
- ;;=K ^IBE(351.1,"B",$E(X,1,30),DA)
- ;;^DD(351.1,.01,3)
- ;;=Enter the name of the patient who has been a continuous inpatient since July 1, 1986.
- ;;^DD(351.1,.01,21,0)
- ;;=^^2^2^2911104^^
- ;;^DD(351.1,.01,21,1,0)
- ;;=This field contains the DFN of the patient who has been a continuous
- ;;^DD(351.1,.01,21,2,0)
- ;;=inpatient since July 1, 1986.
- ;;^DD(351.1,.01,"DT")
- ;;=2911101
- ;;^DD(351.1,.02,0)
- ;;=DISCHARGE DATE^D^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
- ;;^DD(351.1,.02,3)
- ;;=Enter the date on which the patient is no longer a continuous patient.
- ;;^DD(351.1,.02,21,0)
- ;;=^^2^2^2920415^^^^
- ;;^DD(351.1,.02,21,1,0)
- ;;=This is the date on which the patient has been discharged from the hospital
- ;;^DD(351.1,.02,21,2,0)
- ;;=or nursing home after a continuous stay since July 1,1986.
- ;;^DD(351.1,.02,"DT")
- ;;=2911101
- ;;^DD(351.1,.03,0)
- ;;=USER ADDING ENTRY^P200'^VA(200,^0;3^Q
- ;;^DD(351.1,.03,9)
- ;;=^
- ;;^DD(351.1,.03,21,0)
- ;;=^^1^1^2911104^^^
- ;;^DD(351.1,.03,21,1,0)
- ;;=This is the person who is adding the entry to the file.
- ;;^DD(351.1,.03,"DT")
- ;;=2911008
- ;;^DD(351.1,.04,0)
- ;;=DATE ENTRY ADDED^D^^0;4^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
- ;;^DD(351.1,.04,9)
- ;;=^
- ;;^DD(351.1,.04,21,0)
- ;;=^^1^1^2911008^^
- ;;^DD(351.1,.04,21,1,0)
- ;;=This is the date/time that the entry was added to the file.
- ;;^DD(351.1,.04,"DT")
- ;;=2911008
- ;;^DD(351.1,.05,0)
- ;;=USER LAST UPDATING^P200'^VA(200,^0;5^Q
- ;;^DD(351.1,.05,21,0)
- ;;=^^1^1^2940209^^^^
- ;;^DD(351.1,.05,21,1,0)
- ;;=This is the last user who has edited this entry.
- ;;^DD(351.1,.05,"DT")
- ;;=2911008
- ;;^DD(351.1,.06,0)
- ;;=DATE LAST UPDATED^D^^0;6^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
- ;;^DD(351.1,.06,21,0)
- ;;=^^1^1^2911008^
- ;;^DD(351.1,.06,21,1,0)
- ;;=This is the last date/time that the entry was edited.
- ;;^DD(351.1,.06,"DT")
- ;;=2911008
- IBINI032 ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(351.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(351.1,0,"GL")
- +2 ;;=^IBE(351.1,
- +3 ;;^DIC("B","IB CONTINUOUS PATIENT",351.1)
- +4 ;;=
- +5 ;;^DIC(351.1,"%D",0)
- +6 ;;=0^^9^9^2940214^^^^
- +7 ;;^DIC(351.1,"%D",1,0)
- +8 ;;=This file was created as part of v1.5 of Integrated Billing, in
- +9 ;;^DIC(351.1,"%D",2,0)
- +10 ;;=conjunction with the automation of Means Test/Category C billing.
- +11 ;;^DIC(351.1,"%D",3,0)
- +12 ;;=This file contains a list of all continuous Hospital or Nursing
- +13 ;;^DIC(351.1,"%D",4,0)
- +14 ;;=Home Care patients since 7/1/86 who may be subject to Category C
- +15 ;;^DIC(351.1,"%D",5,0)
- +16 ;;=billing. These patients are exempt from the co-payment charges,
- +17 ;;^DIC(351.1,"%D",6,0)
- +18 ;;=but not the per diem charges. Patients who change their level of care must
- +19 ;;^DIC(351.1,"%D",7,0)
- +20 ;;=be manually unflagged.
- +21 ;;^DIC(351.1,"%D",8,0)
- +22 ;;=
- +23 ;;^DIC(351.1,"%D",9,0)
- +24 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- +25 ;;^DD(351.1,0)
- +26 ;;=FIELD^^.06^6
- +27 ;;^DD(351.1,0,"DDA")
- +28 ;;=N
- +29 ;;^DD(351.1,0,"IX","B",351.1,.01)
- +30 ;;=
- +31 ;;^DD(351.1,0,"NM","IB CONTINUOUS PATIENT")
- +32 ;;=
- +33 ;;^DD(351.1,.01,0)
- +34 ;;=PATIENT^RP2'^DPT(^0;1^Q
- +35 ;;^DD(351.1,.01,1,0)
- +36 ;;=^.1^^-1
- +37 ;;^DD(351.1,.01,1,1,0)
- +38 ;;=351.1^B
- +39 ;;^DD(351.1,.01,1,1,1)
- +40 ;;=S ^IBE(351.1,"B",$E(X,1,30),DA)=""
- +41 ;;^DD(351.1,.01,1,1,2)
- +42 ;;=K ^IBE(351.1,"B",$E(X,1,30),DA)
- +43 ;;^DD(351.1,.01,3)
- +44 ;;=Enter the name of the patient who has been a continuous inpatient since July 1, 1986.
- +45 ;;^DD(351.1,.01,21,0)
- +46 ;;=^^2^2^2911104^^
- +47 ;;^DD(351.1,.01,21,1,0)
- +48 ;;=This field contains the DFN of the patient who has been a continuous
- +49 ;;^DD(351.1,.01,21,2,0)
- +50 ;;=inpatient since July 1, 1986.
- +51 ;;^DD(351.1,.01,"DT")
- +52 ;;=2911101
- +53 ;;^DD(351.1,.02,0)
- +54 ;;=DISCHARGE DATE^D^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
- +55 ;;^DD(351.1,.02,3)
- +56 ;;=Enter the date on which the patient is no longer a continuous patient.
- +57 ;;^DD(351.1,.02,21,0)
- +58 ;;=^^2^2^2920415^^^^
- +59 ;;^DD(351.1,.02,21,1,0)
- +60 ;;=This is the date on which the patient has been discharged from the hospital
- +61 ;;^DD(351.1,.02,21,2,0)
- +62 ;;=or nursing home after a continuous stay since July 1,1986.
- +63 ;;^DD(351.1,.02,"DT")
- +64 ;;=2911101
- +65 ;;^DD(351.1,.03,0)
- +66 ;;=USER ADDING ENTRY^P200'^VA(200,^0;3^Q
- +67 ;;^DD(351.1,.03,9)
- +68 ;;=^
- +69 ;;^DD(351.1,.03,21,0)
- +70 ;;=^^1^1^2911104^^^
- +71 ;;^DD(351.1,.03,21,1,0)
- +72 ;;=This is the person who is adding the entry to the file.
- +73 ;;^DD(351.1,.03,"DT")
- +74 ;;=2911008
- +75 ;;^DD(351.1,.04,0)
- +76 ;;=DATE ENTRY ADDED^D^^0;4^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
- +77 ;;^DD(351.1,.04,9)
- +78 ;;=^
- +79 ;;^DD(351.1,.04,21,0)
- +80 ;;=^^1^1^2911008^^
- +81 ;;^DD(351.1,.04,21,1,0)
- +82 ;;=This is the date/time that the entry was added to the file.
- +83 ;;^DD(351.1,.04,"DT")
- +84 ;;=2911008
- +85 ;;^DD(351.1,.05,0)
- +86 ;;=USER LAST UPDATING^P200'^VA(200,^0;5^Q
- +87 ;;^DD(351.1,.05,21,0)
- +88 ;;=^^1^1^2940209^^^^
- +89 ;;^DD(351.1,.05,21,1,0)
- +90 ;;=This is the last user who has edited this entry.
- +91 ;;^DD(351.1,.05,"DT")
- +92 ;;=2911008
- +93 ;;^DD(351.1,.06,0)
- +94 ;;=DATE LAST UPDATED^D^^0;6^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
- +95 ;;^DD(351.1,.06,21,0)
- +96 ;;=^^1^1^2911008^
- +97 ;;^DD(351.1,.06,21,1,0)
- +98 ;;=This is the last date/time that the entry was edited.
- +99 ;;^DD(351.1,.06,"DT")
- +100 ;;=2911008