org.openmrs.api.db
Interface ObsDAO

All Known Implementing Classes:
HibernateObsDAO

public interface ObsDAO

Observation-related database functions

See Also:
ObsService

Method Summary
 void deleteMimeType(MimeType mimeType)
          Deprecated.  
 void deleteObs(Obs obs)
           
 java.util.List<MimeType> getAllMimeTypes(boolean includeRetired)
          Deprecated.  
 MimeType getMimeType(java.lang.Integer mimeTypeId)
          Deprecated.  
 Obs getObs(java.lang.Integer obsId)
           
 Obs getObsByUuid(java.lang.String uuid)
          Auto generated method comment
 java.lang.Integer getObservationCount(java.util.List<Person> whom, java.util.List<Encounter> encounters, java.util.List<Concept> questions, java.util.List<Concept> answers, java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes, java.util.List<Location> locations, java.lang.Integer obsGroupId, java.util.Date fromDate, java.util.Date toDate, java.util.List<ConceptName> valueCodedNameAnswers, boolean includeVoidedObs)
           
 java.util.List<Obs> getObservations(java.util.List<Person> whom, java.util.List<Encounter> encounters, java.util.List<Concept> questions, java.util.List<Concept> answers, java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes, java.util.List<Location> locations, java.util.List<java.lang.String> sort, java.lang.Integer mostRecentN, java.lang.Integer obsGroupId, java.util.Date fromDate, java.util.Date toDate, boolean includeVoidedObs)
           
 MimeType saveMimeType(MimeType mimeType)
          Deprecated.  
 Obs saveObs(Obs obs)
           
 

Method Detail

saveObs

Obs saveObs(Obs obs)
            throws DAOException
Throws:
DAOException
See Also:
ObsService.saveObs(org.openmrs.Obs, String)

getObs

Obs getObs(java.lang.Integer obsId)
           throws DAOException
Throws:
DAOException
See Also:
ObsService.getObs(java.lang.Integer)

deleteObs

void deleteObs(Obs obs)
               throws DAOException
Throws:
DAOException
See Also:
ObsService.purgeObs(Obs)

getAllMimeTypes

@Deprecated
java.util.List<MimeType> getAllMimeTypes(boolean includeRetired)
                                         throws DAOException
Deprecated. 

Throws:
DAOException
See Also:
ObsService.getAllMimeTypes(boolean)

getMimeType

@Deprecated
MimeType getMimeType(java.lang.Integer mimeTypeId)
                     throws DAOException
Deprecated. 

Throws:
DAOException
See Also:
ObsService.getMimeType(java.lang.Integer)

saveMimeType

@Deprecated
MimeType saveMimeType(MimeType mimeType)
                      throws DAOException
Deprecated. 

Throws:
DAOException
See Also:
ObsService.saveMimeType(MimeType)

deleteMimeType

@Deprecated
void deleteMimeType(MimeType mimeType)
                    throws DAOException
Deprecated. 

Throws:
DAOException
See Also:
ObsService.purgeMimeType(MimeType)

getObservations

java.util.List<Obs> getObservations(java.util.List<Person> whom,
                                    java.util.List<Encounter> encounters,
                                    java.util.List<Concept> questions,
                                    java.util.List<Concept> answers,
                                    java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
                                    java.util.List<Location> locations,
                                    java.util.List<java.lang.String> sort,
                                    java.lang.Integer mostRecentN,
                                    java.lang.Integer obsGroupId,
                                    java.util.Date fromDate,
                                    java.util.Date toDate,
                                    boolean includeVoidedObs)
                                    throws DAOException
Throws:
DAOException
See Also:
ObsService.getObservations(java.util.List, java.util.List, java.util.List, java.util.List, java.util.List, java.util.List, java.util.List, java.lang.Integer, java.lang.Integer, java.util.Date, java.util.Date, boolean)

getObservationCount

java.lang.Integer getObservationCount(java.util.List<Person> whom,
                                      java.util.List<Encounter> encounters,
                                      java.util.List<Concept> questions,
                                      java.util.List<Concept> answers,
                                      java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
                                      java.util.List<Location> locations,
                                      java.lang.Integer obsGroupId,
                                      java.util.Date fromDate,
                                      java.util.Date toDate,
                                      java.util.List<ConceptName> valueCodedNameAnswers,
                                      boolean includeVoidedObs)
                                      throws DAOException
Throws:
DAOException
See Also:
ObsService.getObservationCount(java.util.List, java.util.List, java.util.List, java.util.List, java.util.List, java.util.List, java.lang.Integer, java.util.Date, java.util.Date, boolean), ObsService#getObservationCount(org.openmrs.ConceptName, boolean)

getObsByUuid

Obs getObsByUuid(java.lang.String uuid)
Auto generated method comment

Parameters:
uuid -
Returns:

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change