Print Page as PDF
COMPACT ACT ICR (7327)

COMPACT ACT    ICR (7327)

Name Value
NUMBER 7327
IA # 7327
DATE CREATED 2023/12/04
CUSTODIAL PACKAGE PCE PATIENT CARE ENCOUNTER
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PXCOMPACT
NAME COMPACT ACT
GENERAL DESCRIPTION
Patches  DG*5.3*1104 and PX*1.0*240 will allow
Registration to make decisions on when to prompt for COMPACT Act clinical
information.  For this decision making process Registration needs to call the
entry point ADMIN^PXCOMPACT to get and display the patient's COMPACT Act
status.  Another need is if the patient is currently in an Acute Suicidal
Crisis.  This is found by calling Entry point ASC^PXCOMPACT.

Registration also needs to be able to add a new entry to the COMPACT ACT
EPISODE OF CARE file (#818) for a patient and this is allowed by a call made
to the ADMIT^PXCOMPACT entry point.

Other displays needed during the registration process are determined by the
entry point DISPLAY^PXCOMPACT.
STATUS Active
KEYWORDS COMPACT ACT
DURATION Till Otherwise Agreed
ID PXCOMPACT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$ADMIN
Function call returns the current administrative
COMPACT Act status for a patient. The valid statuses are ELIGIBLE, NOT
ELIGIBILE, UNDETERMINED.

Sample Use
----------
S DFN=xxxxx
W !,"COMPACT Eligibility: "_$$ADMIN^PXCOMPACT(DFN)
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Pointer to PATIENT file (#2)
Output of function call Output
One of the 3 valid statuses below:
ELIGIBLE
NOT ELIGIBLE
UNDETERMINED
$$ASC
Function call returns the Acute Suicidal Crisis flag
value of a patient's Open COMPACT ACT EPISODE OF CARE file (#818, "N" for No
or "Y" for Yes.

Sample Use
----------
S DFN=xxxxx
I $$ASC^PXCOMPACT(DFN)="Y") W !,"Patient is in an Acute Suicidal Crisis!
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Pointer to PATIENT file (#2)
Output of function call Output
One of 2 valid statuses below:
"N" for no
"Y" for yes
$$DISPLAY
Function returns a delimited string of display values
based on various scenarios of the current state of a patient's COMPACT Act
Episode of Care.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient DFN.
Output of function call Output
Below are various scenarios that will be returned
about the state of a patient's COMPACT Act Episode of Care.

DISPLAY will contain one of the following groups of information:

1. If end date exists (episode has ended) and
there are no extensions,
"COMPACT Act Start Date"^EPISODE START
DATE^"End Date"^EPISODE END DATE^"IP
Benefit End Date"^INPATIENT BENEFIT END
DATE^"OP Benefit end date"^OUTPATIENT
BENEFIT END DATE

2. If end date exists (episode has ended) and
an extension exists,
"Extension Start Date"^EXTENSION START
DATE^"Episode End Date"^EPISODE END DATE

3. If end date does not exist (episode is
ongoing) and there are no extensions,
For an inpatient with an INPATIENT BENEFIT
END DATE,
"COMPACT Act Start Date"^EPISODE START
DATE^"Remaining Days"^REMAINING
INPATIENT DAYS^"Inpatient Benefit End
Date"^INPATIENT BENEFIT END DATE
Otherwise,
"COMPACT Act Start Date"^EPISODE START
DATE^"Remaining Days"^REMAINING
INPATIENT DAYS or REMAINING OUTPATIENT
DAYS

4. If end date does not exist (episode is
ongoing) and an extension exists,
"Extension Start Date"^EXTENSION START
DATE^"Remaining Days"^REMAINING INPATIENT
DAYS or REMAINING OUTPATIENT DAYS
ADMIT
This call will add a patient to the COMPACT ACT
EPISODE OF CARE file (#818) upon admission for COMPACT Act related care.  It
will also update the pointer in the file #818 to the PTF file (#45) that was
created during this admission event.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient internal entry number.
STARTDT Input
The clinically determined start date for this Acute
Suicidal Crisis.
ADMIT Input
The Admit type:  "F" = Full admission
"P" = Partial admission

The ADMIT parameter is used to distinguish between a partial admit
(observation) with a value of P or a full admit (admitted to a facility other
than observation) with a value of F.  It is not required but failure to set
the parameter will result in the ADMIT process defaulting to a partial admit.
PTF Input
This is the internal entry number of the associated
PTF file (#45) of this admission movement.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
REGISTRATION
ORDER ENTRY/RESULTS REPORTING
Added 12/22/23, effective with patches DG*5.3*1104 and
PX*1.0*240
SCHEDULING
Added 1/29/24, effective with patch SD*5.3*873 to call
$$ADMIN component, in support of Compact Act functionality in Scheduling.
DATE ACTIVATED 2023/12/22