Search in sources :

Example 1 with ConceptCodeFromConceptConverter

use of org.openmrs.module.reporting.data.converter.ConceptCodeFromConceptConverter in project openmrs-module-pihcore by PIH.

the class DataConverterLibrary method getObsValueCodedConceptCode.

public DataConverter getObsValueCodedConceptCode(String conceptSourceName) {
    ChainedConverter ret = new ChainedConverter();
    ret.addConverter(getObsValueCodedConverter());
    ret.addConverter(new ConceptCodeFromConceptConverter(conceptSourceName));
    return ret;
}
Also used : ChainedConverter(org.openmrs.module.reporting.data.converter.ChainedConverter) ConceptCodeFromConceptConverter(org.openmrs.module.reporting.data.converter.ConceptCodeFromConceptConverter)

Aggregations

ChainedConverter (org.openmrs.module.reporting.data.converter.ChainedConverter)1 ConceptCodeFromConceptConverter (org.openmrs.module.reporting.data.converter.ConceptCodeFromConceptConverter)1