|NAME||ROR LIST HOSPITAL LOCATIONS|
|RETURN VALUE TYPE||GLOBAL ARRAY|
|WORD WRAP ON||TRUE|
The ROR LIST HOSPITAL LOCATIONS remote procedure returns a list of hospital locations (defined in the HOSPITAL LOCATION file), which conform the criteria.
|RETURN PARAMETER DESCRIPTION||
A negative value of the first "^"-piece of the Results indicates that Results[i] Error Descriptor ^01: Error code ^02: Message ^03: Place of the error Otherwise, number of hospital locations and the value of the FROM parameter for the next procedure call are returned in the Results and the subsequent nodes of the global array contain the locations. Results Result Descriptor an error occurred during the execution of the remote procedure. In this ^01: Number of locations ^02: FromName ^03: FromIEN Results[i] Hospital Location ^01: IEN ^02: Name ^03: Location Type (internal) ^04: Institution IEN ^05: Division IEN case, the second piece of the Results will contain number of the error ^06: Active (0/1) NOTE: The 6th "^"-piece of the location record (Active) is populated only if both "A" and "I" flags are used. descriptors returned in the subsequent nodes of the Results array: Results Result Descriptor ^01: The last error code ^02: Number of the error descriptors