VistA Analysis » VistA Reference » RPCs » YTAPI PREVIEW


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. 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 testR1: 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 byArray(3)=R1^Responses 1-200 undelimitedArray(4)=R2^ Responses 201-400 undelimited (even if less than 200)Array(5)=R3^ Responses 401-600 undelimitedArray(6)=S1^Scale Name^Raw Score^Transformed ScoreArray(7)=S2^ Scale Name^Raw Score^Transformed Score And onward as needed


Property Value
MUMPS Implementation YTAPI4
Return Type ARRAY

Document generated on August 31st 2022, 2:55:43 pm