Print Page as PDF
DBIA2893 ICR (2893)

DBIA2893    ICR (2893)

Name Value
NUMBER 2893
IA # 2893
DATE CREATED 1999/08/19
CUSTODIAL PACKAGE MENTAL HEALTH
CUSTODIAL ISC Dallas
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE YTAPI1
NAME DBIA2893
GENERAL DESCRIPTION
This API allows saving of patient responses to a test
or interview in the PSYCH INSTRUMENT PATIENT file (#601.2). The patient ien,
the test code, and administration date is required along with the responses.
All responses are checked for validity. No scoring is returned but successful
addition to the PSYCH INSTRUMENT PATIENT file (#601.2) is indicated.
STATUS Active
DURATION Till Otherwise Agreed
ID YTAPI1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
SAVEIT
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient internal identifier
CODE Input
Test code from MH INSTRUMENT file (#601) or "ASI"
(e.g. "CAGE", "BDI")
ADATE Input
Inclusive administration date in %DT acceptable
format (11/11/2011)
STAFF Input
DUZ of professional ordering the test
R1 Input
String of patient responses 1-200
R2 Input
String of patient responses 201-400 [as needed]
R3 Input
String of patient responses 401-600 [as needed]
YSDATA Output
Array(1)=[DATA] indicates successful call

Example: Input
-----
YS("DFN")=6 YS("ADATE")="T" YS("CODE")="ZUNG" YS("STAFF")=67
YS("R1")="12121212121212121212"

Output
------
YSDATA(1)=[DATA] YSDATA(2)=saved