MBAA LIST CANCELLATION REASONS (3646)    REMOTE PROCEDURE (8994)

Name Value
NAME MBAA LIST CANCELLATION REASONS
TAG LSTCRSNS
ROUTINE MBAAMRP1
RETURN VALUE TYPE ARRAY
AVAILABILITY SUBSCRIPTION
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
Returns the list of cancellation reasons from the CANCELLATION REASONS 
file ($409.2).
INPUT PARAMETER
  • SEARCH
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Partial match restriction. For example, a Search value of "AB" would 
    restrict the list to just those entries that start with the letters "AB".
     
    This parameter is required UNLESS the NUMBER parameter is provided. If 
    the NUMBER parameter is > 0, this parameter is not required. 
     
    If the user wants to list all Cancellation Reasons, let the Search 
    parameter null and set the Number parameter to high value.
    
  • START
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The entry point to start searching from. If this value is set to "M", the 
    search would start with any entries starting with the letter "M".
    
  • NUMBER
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The maximum number of records to return. If this parameter is null, then 
    the SEARCH parameter must be defined. 
    
RETURN PARAMETER DESCRIPTION
Returns an array where each node of the array has the IEN of the 
cancellation reason in CANCELLATION REASON file (#409.2) and the free 
text name for the cancellation reason separated by the carat "^".
 
Example:
ARRAY(1)=1^WEATHER
ARRAY(2)=2^INPATIENT STATUS
ARRAY(3)=3^PATIENT DEATH