Skip to content

Commit

Permalink
Merge pull request #9 from IntelliSOFT-Consulting/newRegistration
Browse files Browse the repository at this point in the history
newRegistration files
  • Loading branch information
Ekirapapaul authored Jul 10, 2019
2 parents 1d39096 + a25ab6e commit 51468a6
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions openmrs/apps/registration/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,16 @@
"registerNewPatient1": {
"title": "Register a New Patient",
"attributes": [
"UniqueArtID",
"HIVExposedInfant(HEI)No"
"TypeofPatient"
],
"expand": true,
"order": 2
},
"registerNewPatient2": {
"title": "not shown",
"title": "Not shown",
"attributes": [
"OrderOfBirth",
"KeyPopulationType"
"UniqueArtNo",
"HIVExposedInfant(HEI)No"
],
"expand": true,
"order": 3
Expand All @@ -54,18 +53,6 @@
],
"expand": true,
"order": 4
},
"treatmentSupporterInformation": {
"title": "Treatment Supporter",
"attributes": [
"TreatmentSupporterFirstName",
"TreatmentSupporterLastName",
"TreatmentSupporterTelephoneNumber",
"TreatmentSupporterAddress",
"HomeCareProvidedBy"
],
"expand": true,
"order": 5
},
"defaults": {
"MobileCountryCode": "South Sudan"
Expand All @@ -79,11 +66,8 @@
"Doctor":"provider",
"Parent":"patient"
},
"forwardUrlsForVisitTypes": [{
"forwardUrl": "/bahmni/clinical/index.html#/default/patient/{{patientUuid}}/dashboard",
"visitType": "OPD"
}],

"disablePhotoCapture": true,
"showEnterID": false,
"dobMandatory": true,
"autoCompleteFields":["familyName", "givenName"],
Expand All @@ -92,7 +76,7 @@
"showMiddleName": false,
"showLastName": true,
"isLastNameMandatory": true,
"showSaveConfirmDialog": true,
"showSaveConfirmDialog": false,
"showBirthTime": false,
"showCasteSameAsLastNameCheckbox": false,
"printOptions": [
Expand Down Expand Up @@ -136,6 +120,13 @@
"givenName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"middleName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"address1" : {"pattern" : "[a-zA-Z0-9\\s]{2,}", "errorMessage" : "Should contain at least 2 characters"}
},
"patientSearch": {
"customAttributes": {
"label": "Unique Art No.",
"placeholder": "Enter Unique Art No",
"fields": ["UniqueArtNo"]
}
}
}
}

0 comments on commit 51468a6

Please sign in to comment.