use of org.openmrs.module.pihcore.config.registration.DemographicsConfigDescriptor in project openmrs-module-pihcore by PIH.
the class SectionsDefault method getDemographicsSection.
public Section getDemographicsSection() {
Section s = new Section();
s.setId("demographics");
s.setLabel("");
DemographicsConfigDescriptor demsConfig = config.getRegistrationConfig().getDemographics();
if (demsConfig != null) {
if (demsConfig.getMothersName() != null) {
s.addQuestion(getMothersNameQuestion());
}
}
return s;
}
Aggregations