VistA Analysis » VistA Reference » RPCs » VPS GET ALL CLINICS
VPS GET ALL CLINICS
This RPC returns a list of hospital locations (defined in the HOSPITAL LOCATION file), which conform the criteria.
|Maximum Data Length
|List of location types separated by commas (internal values of the TYPE field of the HOSPITAL LOCATION file): C Clinic F File Area I Imaging M Module N Non-Clinic Stop OR Operating Room W Ward Z Other Location Only locations of the types defined by this parameter are selected by the remote procedure. By default ($G(HLTYPES)=""), all locations are selected.
|Division IEN. If this parameter is defined and greated than zero then only the locations associated with this division are selected.
|The partial match restriction.
|Flags that control the execution (can be combined): A Include active locations (default) B Backwards. Traverses the index in the opposite direction of normal traversal. I Include inactive locations
|Maximum number of entries to return. A value of "*" or no value in this parameter designates all entries
|The index entry(s) from which to begin the list ^01: From Name ^02: From IEN For example, a FROM value of "VA" would list entries following VA. You can use the 2nd and 3rd "^"- pieces of the @RESULT@(0) node to continue the listing in the subsequent procedure calls. NOTE: The FROM value itself is not included in the resulting listSee description of the LIST^DIC for more details about the PART, NUMBER, and FROM parameters.
Document generated on August 31st 2022, 2:55:43 pm