DSIROI GETCMTS GET COMMENTS (2927)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIROI GETCMTS GET COMMENTS
TAG GETCMTS
ROUTINE DSIROI
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
This routine can return a set of comments including patient comments 
from the 5345, internal comments, and alerts. 
INPUT PARAMETER
  • IEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    IEN = Request internal number
          or 
          If SEL = "R" This is the patient DFN
    
  • SEL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
     SEL = COMMENT SELECTION (required)
         the order it is requested.
         This is a string that will select what type of comments to return 
           I = INTERNAL COMMENTS (.32 FIELD)
           P = PATIENT COMMENTS (.31 FIELD)
           A = ALERTS FROM 19620.98
           R = PATIENT RECORD - In this case the IEN is the patient DFN.
               If R is selected, it must be the only selection. 
         If more than one type of comment is desired, send the selection in a
         carrot delimited string (ie. 'A^P^I'). The data will be returned in
    
RETURN PARAMETER DESCRIPTION
  RETURN VALUES
  $$PATIENTCOMMENTS$$   (INDICATES THAT PATIENT COMMENTS FOLLOW)
  patient comment line 1 ---- ----------- ---------- ------- ----------
  patient comment line 2 --------- --------- ---- ----------- ---------
  .....
  patient comment line n --- ----------- ---------- ------ ------------
 
  NOTE: IF THERE ARE NO COMMENTS, THE ROUTINE RETURNS HEADERS ONLY
 
 THE COMMENTS ARE PRECEDED BY A HEADER RECORD AS FOLLOWS:
 
  $$INTERNALCOMMENTS$$  (INDICATES THAT INTERNAL COMMENTS FOLLOW)
  internal comment line 1 ---- ----------- ---------- ------- ----------
  internal comment line 2 --------- --------- ---- ----------- ---------
  .....
  internal comment line n --- ----------- ---------- ------ ------------