use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsDefault method getSocialSection.
public Section getSocialSection() {
Section s = new Section();
s.setId("social");
s.setLabel("zl.registration.patient.social.label");
s.addQuestion(getBirthplaceQuestion());
s.addQuestion(getCivilStatusQuestion());
s.addQuestion(getOccupationQuestion());
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-pihcore by PIH.
the class SectionsPeru method getSocialSection.
@Override
public Section getSocialSection() {
Section s = new Section();
s.setId("social");
s.setLabel("zl.registration.patient.social.label");
s.addQuestion(getCivilStatusQuestion());
s.addQuestion(getLevelOfStudyQuestion());
s.addQuestion(getIdentityGender());
s.addQuestion(getOccupationQuestion());
s.addQuestion(getBirthplaceQuestion());
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-mirebalais by PIH.
the class PatientRegistrationApp method getIdCardPrintSection.
public Section getIdCardPrintSection() {
Section s = new Section();
s.setId("idcardSection");
s.setLabel("zl.registration.patient.idcard.label");
s.addQuestion(getIdCardPrintQuestion());
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-mirebalais by PIH.
the class PatientRegistrationApp method getContactsSection.
public Section getContactsSection(Config config) {
Section s = new Section();
s.setId("contacts");
s.setLabel("zl.registration.patient.contactPerson.label");
// TODO: Replace with property in RegistrationConfig
boolean required = config.getCountry() == ConfigDescriptor.Country.HAITI;
s.addQuestion(getContactNameAndRelationship(config, required));
s.addQuestion(getContactAddress(config, required));
s.addQuestion(getContactPhoneNumber(config, required));
return s;
}
use of org.openmrs.module.registrationapp.model.Section in project openmrs-module-mirebalais by PIH.
the class PatientRegistrationApp method getBiometricsSection.
public Section getBiometricsSection(Config config) {
Section s = new Section();
s.setId("patient-biometrics-section");
s.setLabel("zl.registration.patient.biometrics.label");
s.setSkipConfirmation(true);
s.addQuestion(getBiometricsFingerprintsQuestion(config));
return s;
}
Aggregations