Search in sources :

Example 1 with GroupMemberObsDataDefinition

use of org.openmrs.module.reporting.data.obs.definition.GroupMemberObsDataDefinition in project openmrs-module-pihcore by PIH.

the class DispensingDataSetManager method constructGroupMemberObsDataDefinition.

private GroupMemberObsDataDefinition constructGroupMemberObsDataDefinition(Concept concept) {
    GroupMemberObsDataDefinition groupMemberObsDataDefinition = new GroupMemberObsDataDefinition();
    groupMemberObsDataDefinition.setQuestion(concept);
    return groupMemberObsDataDefinition;
}
Also used : GroupMemberObsDataDefinition(org.openmrs.module.reporting.data.obs.definition.GroupMemberObsDataDefinition)

Example 2 with GroupMemberObsDataDefinition

use of org.openmrs.module.reporting.data.obs.definition.GroupMemberObsDataDefinition in project openmrs-module-pihcore by PIH.

the class PihObsDataLibrary method getSingleObsInGroup.

@DocumentedDefinition
public ObsDataDefinition getSingleObsInGroup(Concept question) {
    GroupMemberObsDataDefinition d = new GroupMemberObsDataDefinition();
    d.setQuestion(question);
    d.setSingleObs(true);
    return d;
}
Also used : GroupMemberObsDataDefinition(org.openmrs.module.reporting.data.obs.definition.GroupMemberObsDataDefinition) DocumentedDefinition(org.openmrs.module.reporting.definition.library.DocumentedDefinition)

Aggregations

GroupMemberObsDataDefinition (org.openmrs.module.reporting.data.obs.definition.GroupMemberObsDataDefinition)2 DocumentedDefinition (org.openmrs.module.reporting.definition.library.DocumentedDefinition)1