use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-mirebalais by PIH.
the class PatientRegistrationApp method getInsuranceSection.
public Section getInsuranceSection(Config config) {
Section s = new Section();
s.setId("insurance");
s.setLabel("zl.registration.patient.insurance.label");
s.addQuestion(getInsuranceNameAndNumber(config));
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-mirebalais by PIH.
the class PatientRegistrationApp method getContactInfoSection.
public Section getContactInfoSection(Config config) {
Section s = new Section();
s.setId("contactInfo");
s.setLabel("registrationapp.patient.contactInfo.label");
s.addQuestion(getAddressQuestion(config));
s.addQuestion(getTelephoneNumberQuestion());
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-mirebalais by PIH.
the class PatientRegistrationApp method getDemographicsSection.
public Section getDemographicsSection(Config config) {
Section s = new Section();
s.setId("demographics");
s.setLabel("");
if (config.getRegistrationConfig().getDemographics().getMothersName() != null) {
s.addQuestion(getMothersNameQuestion(config));
}
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsHaiti method getContactsSection.
public Section getContactsSection() {
Section s = super.getContactsSection();
// we use a simplified registration in "tablet entry" locations
s.setRequire(RequireUtil.sessionLocationDoesNotHaveTag("Tablet Entry Location"));
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsHaiti method getSocialSection.
@Override
public Section getSocialSection() {
Section s = new Section();
s.setId("social");
s.setLabel("zl.registration.patient.social.label");
// we use a simplified registration in "tablet entry" locations
s.setRequire(RequireUtil.sessionLocationDoesNotHaveTag("Tablet Entry Location"));
s.addQuestion(getBirthplaceQuestion());
s.addQuestion(getCivilStatusQuestion());
s.addQuestion(getOccupationQuestion());
s.addQuestion(getReligionQuestion());
return s;
}
Aggregations