DGPFAPIU ;ALB/SCK - PRF API UTILITIES FOR HIGH RISK MENTAL HEALTH ;Jan 21, 2011
Source file <DGPFAPIU.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| CHKDATE(DGSTART,DGEND,DGRANGE) | ; Check for valid start and end dates, set DGRANGE parameter
 | 
|
| CHKDFN(DGDFN,DGNAME) | ; Check for a valid entry in the PATIENT file
 | 
|
| ASGNDATE(DGIEN) | ; Get intial assignment date from new record history entry
 | 
|
| GETFLAG(DGPRF,DGCAT) | ; Get the variable pointer value for the flag text passed in
 ; Input: DGPRF - Flag name, i.e. BEHAVIORAL ; DGCAT - Flag Category, N - National [Optional] ; L - Local  | 
 
  | 
| ACTIVE(DGIEN,DGRANGE) | ; Check if "active" during date range
 ; Input ; DGIEN - Pointer to PRF Assignment File (#26.13) ; DGRANGE - Array containg Start Date/End Date  | 
|
| CHKQ | ;
 | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | GET1^DIQ |