Print Page as PDF
DBIA2884 ICR (2884)

DBIA2884    ICR (2884)

Name Value
NUMBER 2884
IA # 2884
DATE CREATED 1999/08/10
CUSTODIAL PACKAGE MENTAL HEALTH
CUSTODIAL ISC Dallas
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE YSDSS
NAME DBIA2884
GENERAL DESCRIPTION
The purpose of DBIA #2884 is to allow the VistA DSS
Extracts package to call routine YSDSS at tag UPD.

The call to UPD^YSDSS will return Mental Health data to be placed in the DSS
Mental Health extract.
STATUS Active
DURATION Till Otherwise Agreed
ID YSDSS
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
UPD
Subroutine UPD in YSDSS must be called with
parameters as follows:

UPD(YSFILE,YSFRN,YSYRMO,YSEXTN,YSSITE,YSSD,YSEND,YSERR), where
YSFILE - MENTAL HEALTH EXTRACT file # (required)
YSFRN  - last IEN used in the MENTAL HEALTH EXTRACT file (required)
YSYRMO - YearMonth of the extract (YYYYMM) (required)
YSEXTN - Extract # (required)
YSSITE - Facility identifier (required)
YSSD   - Start date for extract (required)
YSEND  - End date for extract (required)
YSERR  - passed by reference; returnes "1", if error; otherwise "0"

VARIABLES TYPE VARIABLES DESCRIPTION
YSFILE Input
This is the file number for the DSS Mental Health
extract file.
YSFRN Both
Input: This is the last internal record number used
in the Mental Health extract file before the current extract.

Output: This is the last internal record number used for the current Mental
Health extract.
YSYRMO Input
A 6-digit numeric of format YYYYMM.
YSEXTN Input
The unique extract number for the current Mental
Health extract.
YSSITE Input
May be numeric or alpha-numeric; the Station Number
of the facility performing the Mental Health extract.
YSSD Input
The start date for the data extraction process in
standard FileMan internal format.
YSEND Input
The ending date for the data extracttion process in
standard FileMan internal format.
YSERR Output
Returns "0" if no problems were encountered which
would cause the extraction process to abort.

Returns "1" if some problem is found which prevents the extraction process
from occurring; e.g., missing files.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
DSS - DECISION SUPPORT SYSTEM EXTRACTS Albany
VistA DSS Extracts will call UPD^YSDSS exclusively from
routine ECXMTL, which is the DSS Mental Health extract routine.