- Timestamp:
- 07/02/08 19:40:36 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/complex-obs/src/api/org/openmrs/api/ObsService.java
r4462 r4785 303 303 /** 304 304 * @see {@link org.openmrs.Person#getObservations()} 305 * @deprecated use the method on the org.openmrs.Person for getObservations305 * @deprecated use {@link #getObservationsByPerson(Person)} 306 306 */ 307 307 @Transactional(readOnly = true) … … 310 310 311 311 /** 312 * Get all Observations for the given personperson 312 * Get all Observations for the given person. 313 * 314 * Does not return voided observations 313 315 * 314 316 * @param who the user to match on … … 375 377 376 378 /** 377 * @deprecated use {@link #getObservations (List, List, List, org.openmrs.api.ObsService.PERSON_TYPE, Location, String, Integer, Integer, Date, Date, boolean)}379 * @deprecated use {@link #getObservationsByPersonAndConcept(Person, Concept)} 378 380 */ 379 381 @Transactional(readOnly = true) 380 382 @Authorized(OpenmrsConstants.PRIV_VIEW_OBS) 381 383 public Set<Obs> getObservations(Person who, Concept question, boolean includeVoided); 384 385 /** 386 * Get all nonvoided observations for the given patient with the given 387 * concept as the question concept (conceptId) 388 * 389 * @param who person to match on 390 * @param question conceptId to match on 391 * @return list of all nonvoided observations matching these criteria 392 * @throws APIException 393 * @see {@link #getObservations(List, List, List, List, List, List, List, Integer, Integer, Date, Date, boolean)} 394 */ 395 public List<Obs> getObservationsByPersonAndConcept(Person who, Concept question) throws APIException; 382 396 383 397 /**