Print Page as PDF
OR CALL TO YTAPI4 ICR (3980)

OR CALL TO YTAPI4    ICR (3980)

Name Value
NUMBER 3980
IA # 3980
DATE CREATED 2003/02/19
CUSTODIAL PACKAGE MENTAL HEALTH
CUSTODIAL ISC Dallas
USAGE Private
TYPE Routine
ROUTINE YTAPI4
NAME OR CALL TO YTAPI4
GENERAL DESCRIPTION
This API allows scoring of patient responses to a test
or interview without making changes in the M database. The patient ien, the
test code, and administration date is required along with the responses. All
responses are checked for validity. Scoring is returned in the output
documented in the SCOREIT API.
STATUS Withdrawn
DURATION Till Otherwise Agreed
ID YTAPI4
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
PREVIEW(YSDATA,YS)
VARIABLES TYPE VARIABLES DESCRIPTION
YS Input

DFN: patient internal identifier

CODE: Test code from file 601 or "ASI" e.g. "CAGE", "BDI"

ADATE: inclusive administration date in %DT acceptable format (11/11/2011)

Staff: DUZ of professional ordering the test

R1: string of patient responses 1-200

R2: string of patient responses 201-400 [as needed]

R3: string of patient responses 401-600 [as needed]

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")=6
YS("ADATE")="T"
YS("CODE")="ZUNG"
YS("STAFF")=67
YS("R1")="12121212121212121212"

Output
------
YSDATA(1)=[DATA]
YSDATA(2)=CAPP,ANDY W^MMPI2^---ZUNG ---^2940509^05/09/1994^CAULFIELD,MARY A
YSDATA(3)="12121212121212121212"
YSDATA(4)=R2^
YSDATA(5)=R3^
YSDATA(6)=S1^Total^12^
YSDATA("ON")= A mood disorder screening test (ZUNG) was in the low range
(score = 12).
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
ORDER ENTRY/RESULTS REPORTING Salt Lake City