YTAPI SAVE TEST COMMENT (1243)    REMOTE PROCEDURE (8994)

Name Value
NAME YTAPI SAVE TEST COMMENT
TAG ADDCOMM
ROUTINE YTRPEXT
RETURN VALUE TYPE ARRAY
INACTIVE INACTIVE
DESCRIPTION
This API is used to add comments to completed tests and interviews.
INPUT PARAMETER
  • YSDATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The YSDATA catains the following information:
      
    YSDATA=DFN^DUZ^DATE/TIME TEST ENTERED^NAME OF TEST^AUTHOR^TOTAL LINES OF
    COMMENT
     
    DFN: Pointer to the Patient file
    DATE/TIME TEST ENTERED: FileMan date/time format
    NAME OF TEST : Test name in the MH Intrument file #601
    DUZ and AUTHOR: Pointer to the New Person file #200
    
  • YSCOMMT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    YSCOMMT array contains comment lines to be filed.
    
RETURN PARAMETER DESCRIPTION
RESULT(1)="[ERROR]",RESULT(2)=" No test found"
 
RESULT(1)="[DATA]",RESULT(2)="Save ok"
 
RESULT(1)="[ERROR]",RESULT(2)="Comment line not created"
 
RESULT(1)="[ERROR]",RESULT(2)="No comment entered"