Print Page as PDF
COMPACT Act Treatment Related to Flag in PTF ICR (7463)

COMPACT Act Treatment Related to Flag in PTF    ICR (7463)

Name Value
NUMBER 7463
IA # 7463
DATE CREATED 2024/04/15
CUSTODIAL PACKAGE REGISTRATION
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE DGCOMPACT
NAME COMPACT Act Treatment Related to Flag in PTF
GENERAL DESCRIPTION
During certain COMPACT Act processing, such as creation
or retraction of an Episode of Care (EOC), the EOC processing routines in PCE
sometimes need to access the DGCOMPACT routine to set "Treatment Related To"
flags in the PTF file (#45).
STATUS Active
KEYWORDS COMPACT ACT
DURATION Till Otherwise Agreed
ID DGCOMPACT
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
SETPTFFLG
API to set TRT FOR ACUTE SUICIDAL CRISIS flag (Field
#79.33) in PTF 101 (File #45)
For YES: D SETPTFFLG^DGCOMPACT(DGENC,1)
For NO: D SETPTFFLG^DGCOMPACT(DGENC,0)
For NULL: D SETPTFFLG^DGCOMPACT(DGENC,"")
VARIABLES TYPE VARIABLES DESCRIPTION
DGENC Input
Encounter ID (PTF IEN)
DGVAL Input
Value to set into flag
SETPTFMVMT
API to set TREATMENT FOR SUICIDAL CRISIS flag (Field
#33) in PTF 501 (Sub-File #45.02)
For YES: D SETPTFMVMT^DGCOMPACT(DGENC,"Y",DGSEQ)
For NO: D SETPTFMVMT^DGCOMPACT(DGENC,"N",DGSEQ)
For NULL: D SETPTFMVMT^DGCOMPACT(DGENC,"",DGSEQ)
VARIABLES TYPE VARIABLES DESCRIPTION
DGENC Input
Encounter ID (PTF IEN)
DGVAL Input
Value to set into flag
DGSEQ Input
Movement sequence (not required)
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
PCE PATIENT CARE ENCOUNTER
Added 4/15/24, effective with Patches DG*5.3*1104 and
PX*1.0*240
DATE ACTIVATED 2024/04/23