use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsDefault method getBiometricsSection.
public Section getBiometricsSection() {
Section s = new Section();
s.setId("patient-biometrics-section");
s.setLabel("zl.registration.patient.biometrics.label");
s.setSkipConfirmation(true);
s.addQuestion(getBiometricsFingerprintsQuestion());
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 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;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsPeru method getContactInfoSection.
public Section getContactInfoSection() {
Section s = new Section();
s.setId("contactInfo");
s.setLabel("registrationapp.patient.contactInfo.label");
s.addQuestion(getAddressQuestion());
s.addQuestion(getTelephoneNumberQuestion());
s.addQuestion(getCellphoneNumberQuestion());
s.addQuestion(getEmailQuestion());
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsPeru method getIdentifierSection.
@Override
public Section getIdentifierSection() {
Section s = new Section();
s.setId("patient-identification-section");
s.setLabel("registrationapp.patient.identifiers.label");
s.addQuestion(getDNIdocument());
s.addQuestion(getPassportdocument());
s.addQuestion(getInmigrationCard());
return s;
}
Aggregations