Print Page as PDF
DBIA2891 ICR (2891)

DBIA2891    ICR (2891)

Name Value
NUMBER 2891
IA # 2891
DATE CREATED 1999/08/19
CUSTODIAL PACKAGE MENTAL HEALTH
CUSTODIAL ISC Dallas
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE YTAPI2
NAME DBIA2891
GENERAL DESCRIPTION
This API returns all scoring information for a
specified patient given a specified administration date for a specified test
or instrument.  User must have adequate privileges to receive this information
(i.e. often the YSP KEY).
STATUS Active
DURATION Till Otherwise Agreed
ID YTAPI2
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
SCOREIT
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)
YSDATA Output
Array(2)= Patient Name^Test Code^Test Title^Internal
Admin date^External Admin Date ^Ordered by Array(3)=R1^Responses 1-200
undelimited Array(4)=R2^ Responses 201-400 undelimited (even if less than 200)
Array(5)=R3^ Responses 401-600 undelimited Array(6)=S1^Scale Name^Raw
Score^Transformed Score Array(7)=S2^ Scale Name^Raw Score^Transformed Score
And onward as needed

Example: Input
-----
YS("DFN")=83 YS("CODE")=MMPI2 YS("ADATE")=05/09/1994

Output
------
YSDATA(1)=[DATA] YSDATA(2)=CAPP,ANDY W^MMPI2^--- Minnesota Multiphasic
Personality Inventory-2 -- -^2940509^05/09/1994^CAULFIELD,MARY A
YSDATA(3)=R1^TTTFTTFTTTFTTFFFFFFTTFFFFFFFTFFFFFFFFFFFFFFFFFFFFFFTFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTTTTTTFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTTTTFFFTTFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
YSDATA(4)=R2^FFFFFFFFFFFFFFFFFFFFFFFFFTTTTTTTTTTTTTTTTFFFFFFFFFFFFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTTT
YSDATA(5)=R3^TTTTTTTTTTTTTTTTTTTTTTTFFFFFFFFFFFFFFFFFFFFTTFFFTFTFTFTFTFTFTFTFTF
F
FTFTFTFTFTFTFTFTFTFTFTFTTFTFTFTFFFFTFFTFTFTFTFTFTFFTFTFTFTFTFFFFFFFFFFFFFFFFFFF
F
FFFFFFFFFFFFFFFFFFFF YSDATA(6)=S1^L Lie^12^87 YSDATA(7)=S2^F Infrequency^19^95
.
.
.
YSDATA(89)=S84^Ma-S Hypomania, Subtle^10^50
YS Input