TITLE | VALUE | |
---|---|---|
NAME | SDEC PREFGET | |
DESCRIPTION | Get values from SDEC PREFERENCES AND SPECIAL NEEDS file for a given patient. | |
TAG | PREFGET | |
ROUTINE | SDEC | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | DFN | |
DESCRIPTION | (integer) Patient ID - Pointer to the PATIENT file 2 (lookup by name is not accurate if duplicates) | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | INAC | |
DESCRIPTION | Inactive entries have been deprecated and does not have an effect. however the parameter can be passed, but ignored. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | ||
RETURN VALUE TYPE | GLOBAL ARRAY | |
RETURN PARAMETER DESCRIPTION | Successful Return: Global array containing a list of preferences in which each array entry contains preference data separated by ^: The ^ pieces are as follows: 1. (integer) Patient ID - pointer to PATIENT file 2. (text) Preference text 3. (date/time) Date/Time preference added in external format - defaults to NOW 4. (integer) Added by User - Pointer to NEW PERSON file - defaults to Current User 5. (text) Added by User Name 6. deprecated No longer used 7. deprecated No longer used 8. deprecated No longer used 9. (text) Remarks are returned as a single string of text that may be delimited by carriage return/line feed $c(13,10). 1 2 3 4 "T00020DFN^T00030PREF_TEXT^T00020DATE_ADDED^T00030ADDED_BY_USER_IEN^" 5 6 7 "T00030ADDED_BY_USER_NAME^T00020DATE_INACTIVATED^" 7 8 "T00030INACTIVATED_BY_USER_IEN^T00030INACTIVATED_BY_USER_NAME^" 9 "T00100REMARKS"_$C(30) Caught Exception Return: A single entry in the Global Array in the format "-1^ "T00020RETURNCODE^T00100TEXT" Unexpected Exception Return: Handled by the RPC Broker. M errors are trapped by the use of M and Kernel error handling. The RPC execution stops and the RPC Broker sends the error generated text back to the client. | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ACTIVE | |
CLIENT MANAGER | ||
WORD WRAP ON | FALSE | |
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |