Print Page as PDF
YTQ SET ANSWER ALL ICR (5735)

YTQ SET ANSWER ALL    ICR (5735)

Name Value
NUMBER 5735
IA # 5735
DATE CREATED 2011/10/17
CUSTODIAL PACKAGE MENTAL HEALTH
USAGE Private
TYPE Remote Procedure
DBIC APPROVAL STATUS APPROVED
NAME YTQ SET ANSWER ALL
REMOTE PROCEDURE YTQ SET ANSWER ALL
GENERAL DESCRIPTION
This RPC saves all answers for an administration to the
MH ANSWERS (#601.85) file.

Input: YS("AD")=internal entry number of the MH ADMINISTRATION (#601.84)
entry
YS(n)=File 601.72 IEN^File 601.75 IEN
YS(n,n1)=text
where n and n1 are integers starting at 1.

The YS(n) array identifies the questions and responses for the administration.
The first piece of every YS(n) should be a pointer to an entry in the MH
QUESTIONS (#601.72) file. In most cases, the second piece will be a pointer to
an entry in the MH CHOICES (#601.75) file. If the response to the question is
not in FILE 601.75, the second piece is null and the YS(n,n1) value should be
defined with the text of the response.

Output: YSDATA(1)=[DATA]
YSDATA(2)=number of answers^OK
or
YSDATA(1)=[ERROR]
YSDATA(2)=error message

The release of patch YS*5.01.123 changes the routine name called by the RPC.
The routine before patch YS*5.01*123 is  YTQAPI17, and the routine after the
patch isYTQAPI21.  Input, output and tag name are not changed with this patch.
The above changes are dependent upon the release of CPRS v31A.
STATUS Active
KEYWORDS
  • BHL
  • BEHAVIORAL HEALTH LAB
  • CAPITAL SOLUTION DESIGN
DURATION Till Otherwise Agreed
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
MENTAL HEALTH
The Mental Health Program Office contracted with
Capital Solution Design Corporation to provide the Behavioral Health Lab (BHL)
software. BHL is a vendor product that calls this VistA RPC which explains why
the Mental Health package is both the custodian and as well as the subscriber
to this ICR.
MOBILE MHPRO
DATE ACTIVATED 2013/05/16