diff --git a/openmrs/apps/registration/v2/app.json b/openmrs/apps/registration/v2/app.json index d112030a4..b7f9f7a62 100644 --- a/openmrs/apps/registration/v2/app.json +++ b/openmrs/apps/registration/v2/app.json @@ -114,8 +114,48 @@ "translationKey": "REGISTRATION_ALTERNATE_PHONE_NUMBER" } ] - }, - "showExtraPatientIdentifiersSection": true + } + }, + "registrationForm": { + "sections": [ + { + "name": "Address Information", + "translationKey": "REGISTRATION_SECTION_ADDRESS_DETAILS", + "controls": [ + { + "type": "address" + } + ] + }, + { + "name": "Contact Information", + "translationKey": "REGISTRATION_SECTION_CONTACT_DETAILS", + "controls": [ + { + "type": "contactInfo" + } + ] + }, + { + "name": "Additional Information", + "translationKey": "REGISTRATION_SECTION_ADDITIONAL_INFO", + "controls": [ + { + "type": "additionalInfo" + } + ] + }, + { + "name": "Identifiers", + "translationKey": "REGISTRATION_SECTION_IDENTIFIERS", + "controls": [{ "type": "additionalIdentifiers" }] + }, + { + "name": "Relationships", + "translationKey": "REGISTRATION_SECTION_RELATIONSHIPS", + "controls": [{ "type": "relationships" }] + } + ] }, "fieldValidation": { "firstName": { diff --git a/openmrs/i18n/registration/locale_en.json b/openmrs/i18n/registration/locale_en.json index 379673477..a6eb6640e 100644 --- a/openmrs/i18n/registration/locale_en.json +++ b/openmrs/i18n/registration/locale_en.json @@ -55,5 +55,10 @@ "REGISTRATION_LAST_NAME_VALIDATION": "Last name should contain only alphabets without space", "REGISTRATION_EMAIL_VALIDATION": "Should be a valid email address", "REGISTRATION_PHONE_NUMBER_VALIDATION": "Phone number should be numbers between 6 to 15 digits", - "REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "Alternate phone number should be numbers between 6 to 15 digits" + "REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "Alternate phone number should be numbers between 6 to 15 digits", + "REGISTRATION_SECTION_ADDRESS_DETAILS": "Address information", + "REGISTRATION_SECTION_CONTACT_DETAILS": "Contact information", + "REGISTRATION_SECTION_ADDITIONAL_INFO": "Additional information", + "REGISTRATION_SECTION_IDENTIFIERS": "Additional identifiers", + "REGISTRATION_SECTION_RELATIONSHIPS": "Relationship information" } diff --git a/openmrs/i18n/registration/locale_es.json b/openmrs/i18n/registration/locale_es.json index 331f37073..f5a55a48c 100644 --- a/openmrs/i18n/registration/locale_es.json +++ b/openmrs/i18n/registration/locale_es.json @@ -55,5 +55,10 @@ "REGISTRATION_LAST_NAME_VALIDATION": "El apellido debe contener solo letras sin espacios", "REGISTRATION_EMAIL_VALIDATION": "Debe ser una dirección de correo electrónico válida", "REGISTRATION_PHONE_NUMBER_VALIDATION": "El número de teléfono debe tener entre 6 y 15 dígitos", - "REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "El número de teléfono alternativo debe tener entre 6 y 15 dígitos" + "REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "El número de teléfono alternativo debe tener entre 6 y 15 dígitos", + "REGISTRATION_SECTION_ADDRESS_DETAILS": "Información de dirección", + "REGISTRATION_SECTION_CONTACT_DETAILS": "Información de contacto", + "REGISTRATION_SECTION_ADDITIONAL_INFO": "Información adicional", + "REGISTRATION_SECTION_IDENTIFIERS": "Identificadores adicionales", + "REGISTRATION_SECTION_RELATIONSHIPS": "Información de relación" }