Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion offline/openmrs/apps/clinical/visit.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"displayOrder": 0,
"config": {
"title": "PatientInformation",
"patientAttributes": ["caste", "class", "education", "occupation", "debt", "distanceFromCenter", "isUrban", "cluster","RationCard", "familyIncome"],
"patientAttributes": ["education", "occupation", "debt", "distanceFromCenter", "isUrban","RationCard", "familyIncome"],
"addressFields": ["address1", "address2", "cityVillage", "countyDistrict"]
}
},
Expand Down
24 changes: 12 additions & 12 deletions offline/openmrs/apps/registration/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,22 @@
"additionalPatientInformation": {
"title": "Additional Patient Information",
"attributes": [
"distanceFromCenter",
"isUrban",
"cluster",
"RationCard",
"familyIncome",
"debt",
"cluster"
"distanceFromCenter",
"isUrban",
"RationCard",
"familyIncome",
"debt",
"landHolding"
]
},
"hidden": {
"attributes": [
"primaryContact"

]
},
"defaults": {
"class": "General",
"landHolding": 2
"landHolding": 0
}
},
"addressHierarchy": {
Expand All @@ -59,6 +58,7 @@
"showMiddleName": true,
"showBirthTime": true,
"showCasteSameAsLastNameCheckbox": false,
"mandatoryPersonAttributes": ["primaryContact", "emergencyContPhone", "emergencyContName"],
"printOptions": [
{
"translationKey": "REGISTRATION_PRINT_REG_CARD_LOCAL_KEY",
Expand Down Expand Up @@ -95,7 +95,7 @@
},
"fieldValidation" : {
"primaryContact" : {"pattern" : "[0-9]{8,10}", "errorMessage" : "Should be 12 characters starting with 91 (country code)"},
"landHolding" : {"pattern" : "[0-9]{0,3}", "errorMessage" : "Should be between 1 to 999 acres"},
"landHolding" : {"pattern" : "[0-9]{0,3}", "errorMessage" : "Should be between 0 to 999 Hectares"},
"familyName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"givenName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"middleName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
Expand All @@ -108,8 +108,8 @@
"field": "address2"
},
"customAttributes": {
"label": "रुग्णाचे नाव",
"placeholder": "रुग्णाचे नाव",
"placeholder": "የታካሚ ስም",
"label": "የታካሚ ስም"
"fields": ["givenNameLocal", "middleNameLocal", "familyNameLocal"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion openmrs/apps/adt/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"translationKey": "DASHBOARD_TITLE_PATIENT_INFORMATION_KEY",
"type": "patientInformation",
"displayOrder": 3,
"patientAttributes": ["caste", "class", "education", "occupation", "debt", "distanceFromCenter", "isUrban", "cluster","RationCard", "familyIncome"],
"patientAttributes": ["education", "occupation", "debt", "distanceFromCenter", "RationCard", "familyIncome","isUrban"],
"addressFields": ["address1", "address2", "cityVillage", "countyDistrict"]
},
"admissionDetails":{
Expand Down
4 changes: 1 addition & 3 deletions openmrs/apps/clinical/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,7 @@
"patientInformation":{
"translationKey":"DASHBOARD_TITLE_PATIENT_INFORMATION_KEY",
"type":"patientInformation",
"patientAttributes":[
"caste",
"class",
"patientAttributes":[
"education",
"occupation",
"debt",
Expand Down
2 changes: 1 addition & 1 deletion openmrs/apps/clinical/visit.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"displayOrder": 0,
"config": {
"title": "PatientInformation",
"patientAttributes": ["caste", "class", "education", "occupation", "debt", "distanceFromCenter", "isUrban", "cluster","RationCard", "familyIncome"],
"patientAttributes": ["education", "occupation", "debt", "distanceFromCenter", "isUrban","RationCard", "familyIncome"],
"addressFields": ["address1", "address2", "cityVillage", "countyDistrict"]
}
},
Expand Down
1 change: 1 addition & 0 deletions openmrs/apps/home/locale_languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
{"code": "es", "nativeName": "Español"},
{"code": "fr", "nativeName": "Français"},
{"code": "it", "nativeName": "Italiano"},
{"code": "am", "nativeName": "Amharic"},
{"code": "pt_BR", "nativeName": "Português"}]
}
2 changes: 0 additions & 2 deletions openmrs/apps/ipd/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
"type": "patientInformation",
"displayOrder": 0,
"patientAttributes": [
"caste",
"class",
"education",
"occupation",
"debt",
Expand Down
24 changes: 14 additions & 10 deletions openmrs/apps/registration/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,23 @@
"attributes": [
"distanceFromCenter",
"isUrban",
"cluster",
"RationCard",
"familyIncome",
"debt",
"cluster"
]
"landHolding"
],
"canShow":false
},
"hidden": {
"attributes": [
"primaryContact"
"caste",
"class",
"cluster"
]
},
"defaults": {
"class": "General",
"landHolding": 2
"landHolding": 0
}
},
"addressHierarchy": {
Expand All @@ -58,7 +60,7 @@
},

"autoCompleteFields":["familyName", "caste"],
"defaultIdentifierPrefix": "GAN",
"defaultIdentifierPrefix": "SPH",
"defaultVisitType": "OPD",
"searchByIdForwardUrl": "/patient/{{patientUuid}}",
"showMiddleName": true,
Expand All @@ -67,6 +69,7 @@
"showSaveConfirmDialog": false,
"showBirthTime": true,
"showCasteSameAsLastNameCheckbox": false,
"mandatoryPersonAttributes": ["primaryContact", "emergencyContPhone", "emergencyContName"],
"printOptions": [
{
"translationKey": "REGISTRATION_PRINT_REG_CARD_LOCAL_KEY",
Expand Down Expand Up @@ -102,8 +105,9 @@
}
},
"fieldValidation" : {
"primaryContact" : {"pattern" : "[0-9]{8,10}", "errorMessage" : "Should be 12 characters starting with 91 (country code)"},
"landHolding" : {"pattern" : "[0-9]{0,3}", "errorMessage" : "Should be between 1 to 999 acres"},
"primaryContact" : {"pattern" : "[0-9]{8,10}", "errorMessage" : "Should be 12 characters starting with area code like 0911 (country code)"},
"emergencyContPhone" : {"pattern" : "[0-9]{8,10}", "errorMessage" : "Should be 12 characters starting with area code like 0911 (country code)"},
"landHolding" : {"pattern" : "[0-9]{0,3}", "errorMessage" : "Should be between 0 to 999 acres"},
"familyName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"givenName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
"middleName" : {"pattern" : "[a-zA-Z]{0,}", "errorMessage" : "Should contain characters"},
Expand All @@ -116,8 +120,8 @@
"field": "address2"
},
"customAttributes": {
"label": "रुग्णाचे नाव",
"placeholder": "रुग्णाचे नाव",
"label": "የታካሚው ስም",
"placeholder": "የታካሚው ስም",
"fields": ["givenNameLocal", "middleNameLocal", "familyNameLocal"]
}
}
Expand Down
4 changes: 2 additions & 2 deletions openmrs/apps/registration/appTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"configOptions": {
"autoCompleteFields":{
"name": "autoCompleteFields",
"description": "auto complete fields in patient create page. eg. givenName, familyName, caste, primaryContact, secondaryContact, primaryRelative, secondaryIdentifier",
"defaultValue": ["givenName", "familyName", "caste", "primaryContact", "secondaryContact", "primaryRelative", "secondaryIdentifier"]
"description": "auto complete fields in patient create page. eg. givenName, familyName, primaryContact, emergencyContPhone, primaryRelative, emergencyConName",
"defaultValue": ["givenName", "familyName", "primaryContact", "emergencyContPhone", "primaryRelative", "emergencyConName"]
},
"defaultIdentifierPrefix":{
"name": "defaultIdentifierPrefix",
Expand Down
2 changes: 1 addition & 1 deletion openmrs/apps/reports/reports.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
"patientAttributes": [
"education",
"primaryContact",
"secondaryContact",
"emergencyContPhone",
"class",
"cluster"
],
Expand Down