DGPTAPP1 ;MTC/ALB - PTF Purge/Archive - Purge Continued ; 21 DEC 1992
Source file <DGPTAPP1.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 2 | ^DIE ^DIK |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Registration | 1 | DGPTAPP |
Name | Comments | DBIA/ICR reference |
---|---|---|
PURGE(TMP) | ;-- Purge entry point. This function will loop thru the
; PTF records found in the A/P template pointed to by TMP. ; Starting with the PTF Release file, PTF Close Out file, Census ; Work file and finally the PTF record in file #45. |
|
REL(PTF) | ;-- This function will delete the entries in the PTF
; Release File (#45.83) Associated with the record PTF. |
|
RELQ | ||
CLOSE(PTF) | ;-- This function will delete the entries in the PTF Close
; Out file (#45.84), associated with the record PTF. |
|
CLOSEQ | ||
CENSUS(PTF) | ;-- This function will delete the entries in the PTF Close
; Out file (#45.84), associated with the record PTF. |
|
CENSUSQ | ||
DELPTF(PTF) | ;-- This function will delete the entries in the PTF
; file (#45), associated with the record PTF. |
|
DELPTFQ | ||
UPDATE(PTF) | ; This function will update the entry in the Patient Movement
; file (#405) cooresponding to the PTF record. The PTF record entry ; in field 16 will be deleted and the PTF PURGED STATUS field 26 ; will be set to 1. This field will be used to prevent re-creation ; of the PTF record from a past admission. |
|
WARNING() | ; This function will display a warning to the user before the
; purge of the data will occur. A '1' will be returned if the purge ; should continue. ; OUTPUT : 1 - DO NOT CONTINUE ; 0 - OK |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DGPM - [#405] | Classic Fileman Calls |
^DGPT - [#45] | Classic Fileman Calls |
^DGP(45.84 - [#45.84] | Classic Fileman Calls |
^DG(45.85 - [#45.85] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DG(45.85 - [#45.85] | CENSUS+5, CENSUS+6 |
^DGP(45.62 - [#45.62] | PURGE+8 |
^DGP(45.83 - [#45.83] | REL+6, REL+7 |
^DGP(45.84 - [#45.84] | CLOSE+5 |
^DGPM("APTF" | UPDATE+6 |
^DGPT - [#45] | DELPTF+5 |
^DIBT - [#.401] | PURGE+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DA | REL+8*, RELQ!, CLOSE+6*, CLOSEQ!, CENSUS+6*, CENSUSQ!, DELPTF+6*, DELPTFQ!, UPDATE+6*, UPDATE+8! |
DA(1 | REL+8* |
DIE | UPDATE+7*, UPDATE+8! |
DIK | REL+8*, RELQ!, CLOSE+6*, CLOSEQ!, CENSUS+6*, CENSUSQ!, DELPTF+6*, DELPTFQ! |
DR | UPDATE+7*, UPDATE+8! |
FLAG | WARNING+5~, WARNING+6*, WARNING+9 |
I | REL+5~, REL+7*, REL+8 |
PTF | PURGE+7~, PURGE+9*, PURGE+10, REL~, REL+6, REL+7, REL+8, CLOSE~, CLOSE+5, CLOSE+6 , CENSUS~, CENSUS+5, CENSUS+6, DELPTF~, DELPTF+5, DELPTF+6, UPDATE~, UPDATE+6 |
REC | PURGE+7~, PURGE+8*, PURGE+9 |
TMP | PURGE~, PURGE+8 |
U | PURGE+8 |