public interface ComplexObsHandler
Obs complexObs = Context.getObsService().getComplexObs(123, OpenmrsConstants.RAW_VIEW); ComplexData complexData = complexObs.getComplexData(); Object largeStoredObject = complexData.getData();
Modifier and Type | Method and Description |
---|---|
Obs |
getObs(Obs obs,
String view)
Fetches the ComplexData from the location indicated from Obs.value_complex, attaches
ComplexData onto the Obs and returns the Obs.
|
boolean |
purgeComplexData(Obs obs)
Completely removes the ComplexData Object from its storage location.
|
Obs |
saveObs(Obs obs)
Save a complex obs.
|
Obs saveObs(Obs obs) throws APIException
obs
- APIException
Obs getObs(Obs obs, String view)
obs
- an obs without complex data filled inview
- nullable view type. This is defined by the ui and view/handlerOpenmrsConstants
boolean purgeComplexData(Obs obs)
obs
- Copyright © 2018 OpenMRS LLC.. All Rights Reserved.