public class DWRObsService extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
DWRObsService() |
Modifier and Type | Method and Description |
---|---|
void |
createNewObs(Integer personId,
Integer encounterId,
Integer locationId,
Integer conceptId,
String valueText,
String obsDateStr)
Auto generated method comment
|
void |
createObs(Integer personId,
Integer encounterId,
Integer conceptId,
String valueText,
String obsDateStr)
Auto generated method comment
|
ObsListItem |
getObs(Integer obsId) |
Vector<ObsListItem> |
getObsByPatientConceptEncounter(String personId,
String conceptId,
String encounterId) |
Vector<Object> |
getObservations(Integer encounterId)
Get all observations for the given encounter TODO: rename to getObservationsByEncounter
|
void |
voidObservation(Integer obsId,
String reason)
Void the given observation
|
public void voidObservation(Integer obsId, String reason)
obsId
- reason
- public Vector<Object> getObservations(Integer encounterId)
encounterId
- public void createObs(Integer personId, Integer encounterId, Integer conceptId, String valueText, String obsDateStr) throws Exception
personId
- encounterId
- conceptId
- valueText
- obsDateStr
- Exception
public void createNewObs(Integer personId, Integer encounterId, Integer locationId, Integer conceptId, String valueText, String obsDateStr) throws Exception
personId
- encounterId
- locationId
- conceptId
- valueText
- obsDateStr
- Exception
public Vector<ObsListItem> getObsByPatientConceptEncounter(String personId, String conceptId, String encounterId)
personId
- conceptId
- encounterId
- public ObsListItem getObs(Integer obsId)
obsId
- Copyright © 2015 OpenMRS Inc.. All rights reserved.