VistA Analysis » VistA Reference » RPCs » DSIROI GETCMTS GET COMMENTS

DSIROI GETCMTS GET COMMENTS

This routine can return a set of comments including patient comments from the 5345, internal comments, and alerts.

Properties

Property Value
Label GETCMTS
MUMPS Implementation DSIROI
Return Type GLOBAL ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
IEN LITERAL 60 true IEN = Request internal number or If SEL = "R" This is the patient DFN
SEL LITERAL 5 true SEL = COMMENT SELECTION (required) 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 the order it is requested.


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