gov.lanl.ObsDataTools
Interface ObsDataAccessInterface

All Known Implementing Classes:
CoasDataAccess

public interface ObsDataAccessInterface

The interface describing all of the required functions for an agent for observation data. For a single high level observation data (eg History or Summary from Telemed), it provides the support for the data needed to place and icon on the graphic patient record, and when desired to display the contents in a separate window and to update the contents from the separate display

 

Method Summary
 gov.lanl.Utility.DateTime getBeginTime()
          Returns the begin time or null for the hight level Observation Data
 org.omg.DsObservationAccess.ObservationDataStruct getCompositeByName(java.lang.String inName)
          Finds the composite in the main level composites by name and returns it.
 java.lang.String getCompositeValueByName(java.lang.String inName)
          Finds the composite content in the main level composits by name and returns the associated value as a string
 gov.lanl.Utility.DateTime getEndTime()
          Returns the end time or null for the high level Observation Data
 org.omg.DsObservationAccess.ObservationDataStruct getObsData()
          Returns the complete single high level Observation Data
 java.lang.String getObsDataType()
          Returns the type of the high level Observation Data.
 org.omg.DsObservationAccess.ObservationId getObservationId()
          Finds the observation id from the qualifiers
 java.lang.String getObsIdCodeString()
          gets the string used to find the ObjectId.
 org.omg.DsObservationAccess.ObservationDataStruct getQualifierByName(java.lang.String inName)
          Finds the qualifier in the main level qualifiers by name and returns it.
 java.lang.String getQualifierValueByName(java.lang.String inName)
          Finds the qualifier content in the main level qualifiers by name and returns the associated value as a string
 boolean isPointInTime()
          Returns true if the high level Observation Data is a point in time event
 boolean isTimeSpan()
          Returns true if the high level Observation Data is a time span event
 void setObsData(org.omg.DsObservationAccess.ObservationDataStruct inObsData)
          Sets the complete single high level Observation Data
 void setObsIdCodeString(java.lang.String inObsIdCodeString)
          Sets the string to be used to find the ObjectId.
 

Method Detail

getObsData

public org.omg.DsObservationAccess.ObservationDataStruct getObsData()
Returns the complete single high level Observation Data


setObsData

public void setObsData(org.omg.DsObservationAccess.ObservationDataStruct inObsData)
Sets the complete single high level Observation Data


getObsDataType

public java.lang.String getObsDataType()
Returns the type of the high level Observation Data. It will be like the defined string in XML.java. eg "DNS:telemed.lanl.gov/TraitCode/History" which corresponds to the static const XML.History in XML.java


getBeginTime

public gov.lanl.Utility.DateTime getBeginTime()
Returns the begin time or null for the hight level Observation Data


getEndTime

public gov.lanl.Utility.DateTime getEndTime()
Returns the end time or null for the high level Observation Data


isPointInTime

public boolean isPointInTime()
Returns true if the high level Observation Data is a point in time event


isTimeSpan

public boolean isTimeSpan()
Returns true if the high level Observation Data is a time span event


getQualifierByName

public org.omg.DsObservationAccess.ObservationDataStruct getQualifierByName(java.lang.String inName)
                                                                     throws ObsDataAccessException
Finds the qualifier in the main level qualifiers by name and returns it.

ObsDataAccessException
Parameters:
inName - is the name to look for
Returns:
the ObservationDataStruct corresponding to the name

getCompositeByName

public org.omg.DsObservationAccess.ObservationDataStruct getCompositeByName(java.lang.String inName)
                                                                     throws ObsDataAccessException
Finds the composite in the main level composites by name and returns it.

ObsDataAccessException
Parameters:
inName - is the name to look for
Returns:
the ObservationDataStruct corresponding to the name

getQualifierValueByName

public java.lang.String getQualifierValueByName(java.lang.String inName)
                                         throws ObsDataAccessException
Finds the qualifier content in the main level qualifiers by name and returns the associated value as a string

ObsDataAccessException

getCompositeValueByName

public java.lang.String getCompositeValueByName(java.lang.String inName)
                                         throws ObsDataAccessException
Finds the composite content in the main level composits by name and returns the associated value as a string

ObsDataAccessException

getObservationId

public org.omg.DsObservationAccess.ObservationId getObservationId()
                                                           throws ObsDataAccessException
Finds the observation id from the qualifiers

ObsDataAccessException

setObsIdCodeString

public void setObsIdCodeString(java.lang.String inObsIdCodeString)
Sets the string to be used to find the ObjectId.

Parameters:
inObsIdCodeString - is the string by which the ObjectId is known

getObsIdCodeString

public java.lang.String getObsIdCodeString()
gets the string used to find the ObjectId.