gov.lanl.ObsDataTools
Interface ObsDataServiceInterface

All Known Implementing Classes:
ObsDataAllTextDisplay, ObsDataTextDisplay, ObsDataXMLDisplay

public interface ObsDataServiceInterface

The interface describing all of the required functions for a service for Observation Data via its access object. This is intended for viewers, editors, and analyzers of the data.

 

Method Summary
 void addObsDataFromService()
          Adds a new Observation Data from the service.
 void performService()
          Performs the service supported.
 void setObsDataListener(gov.lanl.ObsDataTools.ObsDataListenerInterface inListener)
          Sets the listener who wants to be notified if the observation data has changed.
 void setObservationComponent(gov.lanl.ObservationManager.ObservationComponent inObservationComponent)
          Sets the observation component should the object need to get any associated object, like QueryAccess or ObservationMgr.
 void setObservationDataAccess(gov.lanl.ObsDataTools.ObsDataAccessInterface inObsDataAccess)
          Set the observation data access object to be the recipient of the service.
 void setProfile(java.lang.String[] inNameValPairs)
          Set the profile for the observation data profile.
 void updateObsDataFromService()
          Updates the Observation Data from the service.
 

Method Detail

setProfile

public void setProfile(java.lang.String[] inNameValPairs)
Set the profile for the observation data profile.

Parameters:
inNameValPairs - will have pairs of attribute names and values, (eg "Name" "Charles Brown", "Street" "123 Main"). For COAS this supports the patient demographics, which are separate from the clinical data. Naturally, a specific service may ignore the data.

setObservationDataAccess

public void setObservationDataAccess(gov.lanl.ObsDataTools.ObsDataAccessInterface inObsDataAccess)
Set the observation data access object to be the recipient of the service.

Parameters:
inObsDataAccess - is the observation to service

updateObsDataFromService

public void updateObsDataFromService()
Updates the Observation Data from the service. For a displaying/editing service, this would update the data base from the edited data in the display.


addObsDataFromService

public void addObsDataFromService()
Adds a new Observation Data from the service. For a displaying/editing service, this would update the data base from the edited data in the display.


performService

public void performService()
Performs the service supported. For a display service, creates and shows the display of the Observation Data.


setObsDataListener

public void setObsDataListener(gov.lanl.ObsDataTools.ObsDataListenerInterface inListener)
Sets the listener who wants to be notified if the observation data has changed.

Parameters:
inListener - is the listener to notify if the observation data has changed.

setObservationComponent

public void setObservationComponent(gov.lanl.ObservationManager.ObservationComponent inObservationComponent)
Sets the observation component should the object need to get any associated object, like QueryAccess or ObservationMgr.

Parameters:
inObservationComponent - used to get the ObservationData