getPrimaryStationLookupString |
java.lang.String
getPrimaryStationLookupString(java.lang.String division) throws
gov.va.med.vistalink.institution.InstitutionMappingBadStationNumberExcepti on:
Implement a method that, given a particular 'division' string (i.e., primary
station plus optional division suffix), returns the primary Station derived
from that division string.
The primary station is used for looking up connectors, and would be the
'computing facility' for the division in question.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
division |
Input |
java.lang.String division: division (in station #
format) to derive primary station from.
|
return |
Output |
returns java.lang.String: the primaryStation value
derived from the division parameter, to use for connector lookups.
|
throws |
Output |
Throws: gov.va.med.vistalink.institution.
InstitutionMappingBadStationNumberException: thrown if the division passed in
is considered invalid.
|
|
validatePrimaryStation |
void validatePrimaryStation(java.lang.String
primaryStation) throws
gov.va.med.vistalink.institution.InstitutionMappingBadStationNumberExcepti on:
Implement a method that validates a particular 'primary station' identifier
string as valid. Primary stations are used in VistALink to look up a
connector. Therefore, the format of a valid 'primary station' identifier
should be such that the entity or system it identifies would have one and only
one connector associated with it.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
primaryStation |
Input |
java.lang.String primaryStation: identifier for a
'primary station', i.e., 'computing facility'
|
throws |
Output |
throws gov.va.med.vistalink.institution.
InstitutionMappingBadStationNumberException: thrown if primaryStation param is
considered an invalid identifier.
|
|