Print Page as PDF
SOCIAL WORK FILE DELETION ICR (7079)

SOCIAL WORK FILE DELETION    ICR (7079)

Name Value
NUMBER 7079
IA # 7079
GLOBAL ROOT DD(
DATE CREATED 2019/06/03
CUSTODIAL PACKAGE VA FILEMAN
USAGE Private
TYPE File
DBIC APPROVAL STATUS APPROVED
NAME SOCIAL WORK FILE DELETION
GENERAL DESCRIPTION
Social Work patch SOW*3.0*65 contains post install
routine SOW3P65, which will use the VA FileMan API, EN^DIU2, to completely
remove all SOW files, data, and related data dictionary entries.

The following files will be removed:

-SOCIAL WORK CASE (#650)

-SOCIAL WORK SITE PARAMETERS (#650.1)

-COST DISTRIBUTION CENTER (#651)

-RCH (#652)

-RESOURCES/REFERRALS (#653)

-SOCIAL WORK PATIENT (#655)

-SWS ASSESSMENT DATA BASE (#655.2)

-PSYCHO-SOCIAL PROBLEMS (#655.201)

-DIRECT SERVICE CATEGORIES (#655.202)

-PSYCHO-SOCIAL OUTCOMES (#655.203)

-SWS RESOURCES (#656)

The following code from SOW3P65 will be used to remove the files:

S DIU(0)="DST" ;flags to delete data, subfile and templates
F SOWFILE=650,650.1,651:1:653,655,655.2:.001:655.203,656 D  ;loop through
known social work files
.S DIU=$$ROOT^DILFD(SOWFILE),SOWNODE=$$CREF^DILF(DIU) ;set diu=file root and
sownode=closed file root
.I '$$VFILE^DILFD(SOWFILE) Q  ;verify file exists
.D EN^DIU2 ;delete file and data in diu
STATUS Active
KEYWORDS File Deletion
DURATION Till Otherwise Agreed
ID DD(
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
SOCIAL WORK
ONE TIME USE

DATE ACTIVATED 2019/06/03