| 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
 
 | 
 
 |