| 77 | | * @see org.openmrs.api.ObsService#getObservations(org.openmrs.Person,org.openmrs.Concept) |
|---|
| | 70 | * Assumes that <code>whom</code>, <code>encounters</code>, |
|---|
| | 71 | * <code>locations</code>, <code>personTypes</code>, |
|---|
| | 72 | * <code>questions</code>, and <code>answers</code> are non-null lists |
|---|
| | 73 | * |
|---|
| | 74 | * @see org.openmrs.api.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) |
|---|
| 79 | | public Set<Obs> getObservations(Person who, Concept question, boolean includeVoided) |
|---|
| 80 | | throws DAOException; |
|---|
| | 76 | public List<Obs> getObservations(List<Person> whom, List<Encounter> encounters, |
|---|
| | 77 | List<Concept> questions, List<Concept> answers, |
|---|
| | 78 | List<PERSON_TYPE> personTypes, List<Location> locations, List<String> sort, |
|---|
| | 79 | Integer mostRecentN, Integer obsGroupId, Date fromDate, |
|---|
| | 80 | Date toDate, boolean includeVoidedObs) throws DAOException; |
|---|
| 94 | | /** |
|---|
| 95 | | * @see org.openmrs.api.ObsService#getObservations(org.openmrs.Concept,java.lang.String,java.lang.Integer) |
|---|
| 96 | | */ |
|---|
| 97 | | public List<Obs> getObservations(Concept question, String sort, Integer personType) |
|---|
| 98 | | throws DAOException; |
|---|
| 99 | | |
|---|
| 100 | | /** |
|---|
| 101 | | * @see org.openmrs.api.ObsService#getObservationsAnsweredByConcept(org.openmrs.Concept,java.lang.Integer) |
|---|
| 102 | | */ |
|---|
| 103 | | public List<Obs> getObservationsAnsweredByConcept(Concept answer, Integer personType); |
|---|
| 104 | | |
|---|
| 105 | | /** |
|---|
| 106 | | * @see org.openmrs.api.ObsService#getNumericAnswersForConcept(org.openmrs.Concept,java.lang.Boolean,java.lang.Integer) |
|---|
| 107 | | */ |
|---|
| 108 | | public List<Object[]> getNumericAnswersForConcept(Concept answer, Boolean sortByValue, Integer personType); |
|---|
| 109 | | |
|---|
| 110 | | /** |
|---|
| 111 | | * @see org.openmrs.api.ObsService#getObservations(org.openmrs.Encounter) |
|---|
| 112 | | */ |
|---|
| 113 | | public Set<Obs> getObservations(Encounter whichEncounter) |
|---|
| 114 | | throws DAOException; |
|---|
| 115 | | |
|---|
| 116 | | /** |
|---|
| 117 | | * @see org.openmrs.api.ObsService#getVoidedObservations() |
|---|
| 118 | | */ |
|---|
| 119 | | public List<Obs> getVoidedObservations() throws DAOException; |
|---|
| 120 | | |
|---|
| 121 | | /** |
|---|
| 122 | | * @see org.openmrs.api.ObsService#findObservations(java.lang.Integer,boolean,java.lang.Integer) |
|---|
| 123 | | */ |
|---|
| 124 | | public List<Obs> findObservations(Integer id, boolean includeVoided, Integer personType) |
|---|
| 125 | | throws DAOException; |
|---|
| 126 | | |
|---|
| 127 | | /** |
|---|
| 128 | | * @see org.openmrs.api.ObsService#findObsByGroupId(java.lang.Integer) |
|---|
| 129 | | */ |
|---|
| 130 | | public List<Obs> findObsByGroupId(Integer obsGroupId) throws DAOException; |
|---|
| 131 | | |
|---|
| 132 | | /** |
|---|
| 133 | | * @see org.openmrs.api.ObsService#getObservations(java.util.List<org.openmrs.Concept>, java.util.Date, java.util.Data, boolean) |
|---|
| 134 | | */ |
|---|
| 135 | | public List<Obs> getObservations(List<Concept> concepts, Date fromDate, Date toDate, boolean includeVoided) throws DAOException; |
|---|
| 136 | | |
|---|
| 137 | | /** |
|---|
| 138 | | * @see org.openmrs.api.ObsService#getObservations(Cohort patients, List<Concept> concepts, Date fromDate, Date toDate) |
|---|
| 139 | | */ |
|---|
| 140 | | public List<Obs> getObservations(Cohort patients, List<Concept> concepts, Date fromDate, Date toDate); |
|---|