Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: 818.01

Package: PCE Patient Care Encounter

COMPACT ACT EPISODE OF CARE(#818)-->818.01

Sub-Field: 818.01


Information

Parent File Name Number Package
COMPACT ACT EPISODE OF CARE(#818) EPISODES OF CARE 818.01 PCE Patient Care Encounter

Details

Field # Name Loc Type Details
.01 EPISODE START DATE 0;1 DATE

  • INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 04, 2024
  • HELP-PROMPT:  Enter the date the patient was determined to be in acute suicidal crisis.
  • DESCRIPTION:  
    The date the patient was determined to be in acute suicidal crisis.
  • TECHNICAL DESCR:  
    Fileman date only, no time.
  • CROSS-REFERENCE:  818.01^B
    1)= S ^PXCOMP(818,DA(1),10,"B",$E(X,1,30),DA)=""
    2)= K ^PXCOMP(818,DA(1),10,"B",$E(X,1,30),DA)
2 EPISODE END DATE 0;2 DATE

  • INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  SEP 12, 2023
  • HELP-PROMPT:  Enter the date the patient was determined to be non-acute.
  • DESCRIPTION:  
    The date the patient was determined to be non-acute.
  • TECHNICAL DESCR:  
    Fileman date only, no time.
3 SOURCE OF CRISIS END 0;3 SET
  • 'PR' FOR PROVIDER;
  • 'PA' FOR PATIENT;
  • 'TE' FOR TIME EXPIRED;

  • LAST EDITED:  JAN 03, 2024
  • HELP-PROMPT:  Select the code that identifies the source of how the acute suicidal crisis was ended.
  • DESCRIPTION:  
    This is the source of the acute suicidal crisis end.
  • TECHNICAL DESCR:  
    Set of codes.
3.1 CRISIS END AUTHORIZED BY 1;1 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  SEP 12, 2023
  • HELP-PROMPT:  Enter the person that authorized the end of the crisis.
  • DESCRIPTION:  
    Person that authorized the End of the Acute Suicidal Crisis.
  • TECHNICAL DESCR:  
    (Required) Pointer to NEW PERSON file (#200).
3.2 CRISIS END OTHER COMMENT 1;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
    MAXIMUM LENGTH: 245
  • LAST EDITED:  SEP 20, 2023
  • HELP-PROMPT:  Enter other comments about the end of the acute suicidal crisis episode. Answer must be 1-245 characters in length.
  • DESCRIPTION:  
    Enter other information about the source of the End of this Acute Suicidal Crisis.
  • TECHNICAL DESCR:  
    Other free text comments about the end of the acute suicidal crisis episode. (1-245)
4 INPATIENT BENEFIT END DATE 0;4 DATE

  • INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  FEB 02, 2024
  • HELP-PROMPT:  Enter the inpatient benefit end date. Date should be 30 days after the initial start of the inpatient period. Calculated by the system and user entry is discouraged for this field.
5 OUTPATIENT BENEFIT END DATE 0;5 DATE

  • INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 22, 2024
  • HELP-PROMPT:  Enter the outpatient benefit end date. Date should be 90 days after the initial start of the outpatient period. Calculated by the system and user entry is discouraged for this field.
  • DESCRIPTION:  
    The date that the outpatient COMPACT Act benefit has ended.
  • TECHNICAL DESCR:  
    Fileman date only, no time. This is a date to be calculated by the system and is 90 days total benefit starting on the day the outpatient period began.
6 EPISODE FINAL STATUS 0;6 SET
  • 'R' FOR Rollback;
  • 'E' FOR Entered in Error ;

  • LAST EDITED:  SEP 20, 2023
  • HELP-PROMPT:  Enter 'R' to rollback this episode or 'E' if this episode was entered in error for this patient.
  • DESCRIPTION:  This status will be Null upon creation and marked 'R' if it has been rolled back or 'E' if it was entered in error. Rollback indicates that the patient was later determined as Not Eligible for COMPACT Act. Entered in
    error indicates that this episode was started and entered for this patient by mistake.
  • TECHNICAL DESCR:  
    Null for a valid Acute Suicidal Crisis episode, else use 'R' when rollback conditions are met or 'E' if entered in error.
7 EPISODE SOURCE 0;7 SET
  • 'A' FOR Auto Adjudication;
  • 'V' FOR VistA;

  • LAST EDITED:  SEP 18, 2023
  • HELP-PROMPT:  Enter 'A' for Auto adjudication or 'V' for VistA manual adjudication.
  • DESCRIPTION:  
    Episode source will show if the system uses auto adjudicating algorithms to create this episode of care for Acute Suicidal Crisis or if the end user manually created this episode of care and it was saved in VistA.
  • TECHNICAL DESCR:  
    System enters 'A' for Auto adjudicating or 'V' is entered for a VistA user manual edit.
8 LAST COMPACT ACT ADMIN ELIG 0;8 SET
  • 'E' FOR ELIGIBLE;
  • 'N' FOR NOT ELIGIBLE;
  • 'U' FOR UNDETERMINED;

  • LAST EDITED:  APR 11, 2024
  • HELP-PROMPT:  Enter the last COMPACT ACT eligibility code from VES.
  • DESCRIPTION:  
    This is the last COMPACT ACT eligibility status retrieved from the Veterans Health Administration Enrollment System (VES) for this patient.
  • TECHNICAL DESCR:  
    This is a set of codes that match the valid entries that VES returns from their VES Web Service class API call. Values are Eligible, Not Eligible, or Undetermined.
20 INPATIENT EXTENSION 20;0 DATE Multiple #818.02 818.02

  • DESCRIPTION:  
    This multiple is used to extend the inpatient benefit.
  • TECHNICAL DESCR:  
    Multiple file.
30 OUTPATIENT EXTENSION 30;0 DATE Multiple #818.03 818.03

  • DESCRIPTION:  
    This multiple is used to extend the outpatient benefit.
40 TREATMENT 40;0 POINTER Multiple #818.04 818.04

  • DESCRIPTION:  
    This multiple is used to track all PTF treatment entries that were marked as related to an Acute Suicidal Crisis episode.
  • TECHNICAL DESCR:  
    Multiple file.
41 VISIT 41;0 POINTER Multiple #818.141 818.141

  • DESCRIPTION:  
    This multiple is used to track VISIT file entries that are related to an Acute Suicidal Crisis episode.
  • TECHNICAL DESCR:  
    Multiple file.
42 REMAINING INPATIENT DAYS COMPUTED

  • MUMPS CODE:  X ^DD(818.01,42,9.5) S Y(818.01,42,10)=$G(X) S X=1,Y(818.01,42,11)=$G(X) S X=0,X=$S(Y(818.01,42,3):Y(818.01,42,10),Y(818.01,42,11):X)
    9.2 = S Y(818.01,42,1)=$S($D(^PXCOMP(818,D0,10,D1,0)):^(0),1:"") S X=$P(Y(818.01,42,1),U,4),Y(818.01,42,2)=$G(X) N %I,%H,% D NOW^%DTC S X=% S Y=X,X=Y(818.01,42,2),X=X S X=X
    9.3 = X ^DD(818.01,42,9.2) S X=X>Y,Y(818.01,42,3)=$G(X),Y(818.01,42,4)=$G(X) S X=$P(Y(818.01,42,1),U,4),Y(818.01,42,5)=$G(X),Y(818.01,42,6)=$G(X) N %I,%H,% D NOW^%DTC S X=% S X=X
    9.4 = X ^DD(818.01,42,9.3) S Y(818.01,42,7)=$G(X) S X=$P(Y(818.01,42,1),U,4),Y(818.01,42,8)=$G(X),Y(818.01,42,9)=$G(X) N %I,%H,% D NOW^%DTC S X=% S X=X
    9.5 = X ^DD(818.01,42,9.4) S X1=Y(818.01,42,8) S X2=Y(818.01,42,7) S X3=Y(818.01,42,5) S %Y=X3,Y=X2,X2=X S:X>X1 X2=X1,X1=X S:Y>%Y %Y=Y,Y=X3 S:Y>X2 X2=Y S:%Y
  • ALGORITHM:  $S(INPATIENT BENEFIT END DATE>NOW:RANGEDATE(INPATIENT BENEFIT END DATE,NOW,INPATIENT BENEFIT END DATE,NOW),1:0)
  • LAST EDITED:  SEP 12, 2023
  • DESCRIPTION:  
    Remaining days of the inpatient benefit.
  • TECHNICAL DESCR:  
    Computed field for inpatient benefit days remaining.
43 REMAINING OUTPATIENT DAYS COMPUTED

  • MUMPS CODE:  X ^DD(818.01,43,9.5) S Y(818.01,43,10)=$G(X) S X=1,Y(818.01,43,11)=$G(X) S X=0,X=$S(Y(818.01,43,3):Y(818.01,43,10),Y(818.01,43,11):X)
    9.2 = S Y(818.01,43,1)=$S($D(^PXCOMP(818,D0,10,D1,0)):^(0),1:"") S X=$P(Y(818.01,43,1),U,5),Y(818.01,43,2)=$G(X) N %I,%H,% D NOW^%DTC S X=% S Y=X,X=Y(818.01,43,2),X=X S X=X
    9.3 = X ^DD(818.01,43,9.2) S X=X>Y,Y(818.01,43,3)=$G(X),Y(818.01,43,4)=$G(X) S X=$P(Y(818.01,43,1),U,5),Y(818.01,43,5)=$G(X),Y(818.01,43,6)=$G(X) N %I,%H,% D NOW^%DTC S X=% S X=X
    9.4 = X ^DD(818.01,43,9.3) S Y(818.01,43,7)=$G(X) S X=$P(Y(818.01,43,1),U,5),Y(818.01,43,8)=$G(X),Y(818.01,43,9)=$G(X) N %I,%H,% D NOW^%DTC S X=% S X=X
    9.5 = X ^DD(818.01,43,9.4) S X1=Y(818.01,43,8) S X2=Y(818.01,43,7) S X3=Y(818.01,43,5) S %Y=X3,Y=X2,X2=X S:X>X1 X2=X1,X1=X S:Y>%Y %Y=Y,Y=X3 S:Y>X2 X2=Y S:%Y
  • ALGORITHM:  $S(OUTPATIENT BENEFIT END DATE>NOW:RANGEDATE(OUTPATIENT BENEFIT END DATE,NOW,OUTPATIENT BENEFIT END DATE,NOW),1:0)
  • LAST EDITED:  SEP 12, 2023
  • DESCRIPTION:  
    Remaining days of the outpatient benefit.
  • TECHNICAL DESCR:  
    Computed field for outpatient benefit days remaining.
Info |  Details