![]() ![]() |
Reference Type: Supported, Category: Toolkit—Parameter Tools, ICR#: 2263
The GETWP^XPAR API returns word-processing text in the returnedtext parameter. The returnedtext parameter itself contains the value field, which is free text that may contain a title, description, etc. The word-processing text is returned in returnedtext(#,0).
REF: For descriptive information about the elements and how they are used in the callable entry points into XPAR, see the “Definitions” section in the "Toolkit—Parameter Tools" section in the Kernel 8.0 & Kernel Toolkit 7.3 Developer's Guide.
GETWP^XPAR(returnedtext,entity,parameter[,instance][,.error])
.returnedtext: |
(required) This parameter is defined as the name of an array in which you want the text returned. The .returnedtext parameter is set to the title, description, etc. The actual word-processing text is returned in returnedtext(#,0). For example: >returnedtext=“Select Notes Help” >returnedtext(1,0)=“To select a progress note from the list, “ >returnedtext(2,0)=“click on the date/title of the note.” |
entity: |
(required) Entity can be set to the following:
This works for the following entities:
|
parameter: |
(required) Can be passed in external or internal format. Identifies the name or internal entry number (IEN) of the parameter as defined in the PARAMETER DEFINITION (#8989.51) file. |
instance: |
(optional) Defaults to 1 if not passed. Can be passed in external or internal format. Internal format requires that the value be preceded by the grave accent (`) character. |
.error: |
(optional) If used, must be passed in by reference. It returns any error condition that may occur:
|
>D GETWP^XPAR(.X,”PKG”,”ORW HELP”,”lstNotes”,.ERROR) |