Print Page as PDF
DGPFAA ICR (7107)

DGPFAA    ICR (7107)

Name Value
NUMBER 7107
IA # 7107
DATE CREATED 2019/11/14
CUSTODIAL PACKAGE REGISTRATION
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE DGPFAA
NAME DGPFAA
GENERAL DESCRIPTION
This documents the use of tags in routine DGPFAA to
retrieve patient record flags.
STATUS Active
DURATION Till Otherwise Agreed
ID DGPFAA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GETALL
This function returns an array of patient record flag
assignment IENs for a given patient. The returned IEN array may be optionally
filtered by Active or Inactive status and by flag category.
VARIABLES TYPE VARIABLES DESCRIPTION
DGDFN Input
Pointer to patient in PATIENT (#2) file [required]
DGIENS Both
Result array passed by reference [required] Returns
output array subscripted by the assignment IENs
DGSTAT Input
Status filter (0:Inactive,1:Active,"":Both), defaults
to Both
DGCAT Input
Category filter (1:Category I,2:Category II,"":Both),
defaults to Both
$$GETALL Output
Count of returned IENs
GETASGN
This function returns a single patient record flag
assignment in an array format.
VARIABLES TYPE VARIABLES DESCRIPTION
DGPFIEN Input
Pointer to patient record flag assignment in PRF
ASSIGNMENT (#26.13) file
DGPFA Both
Result array passed by reference; returns array
containing assignment record values.
$$GETASGN Output
Returns 1 on success, 0 on failure
FNDASGN
This function finds a patient record flag assignment
record.
VARIABLES TYPE VARIABLES DESCRIPTION
DGDFN Input
Pointer to patient in the PATIENT (#2) file
DGFLAG Input
Pointer to flag in either the PRF LOCAL FLAG (#26.11)
file or the PRF NATIONAL FLAG (#26.15) file
$$FNDASGN Output
Returns IEN of existing record on success, 0 on
failure
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
VIRTUAL PATIENT RECORD
ORDER ENTRY/RESULTS REPORTING
Added 1/14/21 to support the Suicide High Risk Patient
Enhancements Project Phase 2 (SHRPE 2.0) with Patch OR*3.0*542, which
implements enhanced display information for the Active Patient Record Flag
(PRF) displayed in the CPRS application.
ACCOUNTS RECEIVABLE
Added 2/18/21 to support Suicide High Risk Patient
Enhancements Project Phase 2 (SHRPE 2.0), PRCA*4.5*373.
COMPREHENSIVE CARE COORDINATION
ADDED 1/25/23, effective with DSSV*1.0*1 DSS Class 2
product Document Only
DATE ACTIVATED 2019/11/22