public class DWRObsService
extends java.lang.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(java.lang.Integer personId,
java.lang.Integer encounterId,
java.lang.Integer locationId,
java.lang.Integer conceptId,
java.lang.String valueText,
java.lang.String obsDateStr)
Auto generated method comment
|
void |
createObs(java.lang.Integer personId,
java.lang.Integer encounterId,
java.lang.Integer conceptId,
java.lang.String valueText,
java.lang.String obsDateStr)
Auto generated method comment
|
ObsListItem |
getObs(java.lang.Integer obsId)
Auto generated method comment
|
java.util.Vector<ObsListItem> |
getObsByPatientConceptEncounter(java.lang.String personId,
java.lang.String conceptId,
java.lang.String encounterId)
Auto generated method comment
|
java.util.Vector<java.lang.Object> |
getObservations(java.lang.Integer encounterId)
Get all observations for the given encounter TODO: rename to getObservationsByEncounter
|
void |
voidObservation(java.lang.Integer obsId,
java.lang.String reason)
Void the given observation
|
public void voidObservation(java.lang.Integer obsId, java.lang.String reason)
obsId
- reason
- public java.util.Vector<java.lang.Object> getObservations(java.lang.Integer encounterId)
encounterId
- public void createObs(java.lang.Integer personId, java.lang.Integer encounterId, java.lang.Integer conceptId, java.lang.String valueText, java.lang.String obsDateStr) throws java.lang.Exception
personId
- encounterId
- conceptId
- valueText
- obsDateStr
- java.lang.Exception
public void createNewObs(java.lang.Integer personId, java.lang.Integer encounterId, java.lang.Integer locationId, java.lang.Integer conceptId, java.lang.String valueText, java.lang.String obsDateStr) throws java.lang.Exception
personId
- encounterId
- locationId
- conceptId
- valueText
- obsDateStr
- java.lang.Exception
public java.util.Vector<ObsListItem> getObsByPatientConceptEncounter(java.lang.String personId, java.lang.String conceptId, java.lang.String encounterId)
personId
- conceptId
- encounterId
- public ObsListItem getObs(java.lang.Integer obsId)
obsId
- Copyright © 2018 OpenMRS Inc.. All Rights Reserved.