Print Page as PDF
YTQPXRM3 ICR (5042)

YTQPXRM3    ICR (5042)

Name Value
NUMBER 5042
IA # 5042
DATE CREATED 2007/11/08
CUSTODIAL PACKAGE MENTAL HEALTH
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE YTQPXRM3
NAME YTQPXRM3
STATUS Active
KEYWORDS
  • SHOW ALL
  • TEST DESCRIPTION
ID YTQPXRM3
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
QUESTALL(YSDATA,YS)

Retuns Item text, Intro, Choicetypes and Display information for all
Questions in a Specified Instrument.

Input: YS("CODE"):As test name

Output: YSDATA(1)=[DATA] or [ERROR]
YSDATA(2)="NUMBER OF QUESTIONS="_N3
YSDATA(3)=QUESTION NUMBER1=ien for MH Question^QUESTION
SEQUENCE^DESIGNATOR
YSDATA(4)=QUESTION TEXT1=fIRST line of text
YSDATA(5)=additional text lines as needed
YSDATA(6)=INTRO TEXT1=IEN FOR MH INTRO^First intro line
YSDATA(7)=additional intro lines as needed
YSDATA(8)=DESC1=Respone Type^CHOICETYPE^MIN^MAX^IS REQUIRED
^HINT^CHOICEIDENTIFIER
YSDATA(9)=QDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^ Fontsize^FontColor ^Alignment
^left^Mask^Colums^Component (for question text)
YSDATA(10)=IDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for intro text)
YSDATA(11)=CDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for choice)
:
Repeat for each item in test
VARIABLES TYPE VARIABLES DESCRIPTION
CODE Input
Name of Instrumnet IN 601.71
YSDATA Output

Output: YSDATA(1)=[DATA] or [ERROR]
YSDATA(2)="NUMBER OF QUESTIONS="_N3
YSDATA(3)=QUESTION NUMBER1=ien for MH Question^QUESTION
SEQUENCE^DESIGNATOR
YSDATA(4)=QUESTION TEXT1=fIRST line of text
YSDATA(5)=additional text lines as needed
YSDATA(6)=INTRO TEXT1=IEN FOR MH INTRO^First intro line
YSDATA(7)=additional intro lines as needed
YSDATA(8)=DESC1=Respone Type^CHOICETYPE^MIN^MAX^IS REQUIRED
^HINT^CHOICEIDENTIFIER
YSDATA(9)=QDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^ Fontsize^FontColor ^Alignment
^left^Mask^Colums^Component (for question text)
YSDATA(10)=IDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for intro text)
YSDATA(11)=CDISPLAY1=DisplayId^FontName^FontBold^FontItalic
^FontUnderlined ^Fontsize^FontColor^Alignment
^left^Mask^Colums^Component (for choice)
:
Repeat for each item in test
OLDNEW(YSCODEN,YSOLDNUM)
returns new scale ien for older intruments

input YSCODEN ien OF 601.71
YSOLDNUM as ien of "S" MULT of 601 (1= DEFAULT)
output ien OF 601.87, 0=ERROR
VARIABLES TYPE VARIABLES DESCRIPTION
YCODEN Input

input YSCODEN ien OF 601.71
YSOLDNUM Input

YSOLDNUM as ien of "S" MULT of 601 (1= DEFAULT)
RL(YSCODEN)
RL(YSCODEN) ;requires license
;input YSCODEN ien OF 601.71
;output  Y/N/0
VARIABLES TYPE VARIABLES DESCRIPTION
YSCODEN Input

input YSCODEN as ien OF 601.71
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
CLINICAL REMINDERS
VIRTUAL PATIENT RECORD
Added 9/19/23, to use the QUESTALL^YTQPXRM3 and
RL^YTQPXRM3 calls to retrieve information about a specific test.
DATE ACTIVATED 2007/12/18