Skip to content

Commit

Permalink
Prettified all the JSON files (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasharma05 authored Jan 24, 2024
1 parent dac7aac commit cd26175
Show file tree
Hide file tree
Showing 17 changed files with 5,128 additions and 5,184 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '8'
distribution: "temurin"
java-version: "8"

- name: Set settings.xml
uses: s4u/[email protected]
Expand Down
277 changes: 143 additions & 134 deletions README.md

Large diffs are not rendered by default.

140 changes: 34 additions & 106 deletions configs/openmrs/frontend_config/ozone-frontend-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"@openmrs/esm-patient-registration-app": {
"sections": [
"demographics",
"contact",
"additionalInformation"
],
"sections": ["demographics", "contact", "additionalInformation"],
"fieldConfigurations": {
"address": {
"useAddressHierarchy": {
Expand Down Expand Up @@ -77,20 +73,12 @@
{
"id": "demographics",
"name": "Basic Info",
"fields": [
"name",
"gender",
"dob",
"id"
]
"fields": ["name", "gender", "dob", "id"]
},
{
"id": "contact",
"name": "Contact Details",
"fields": [
"address",
"telephoneField"
]
"fields": ["address", "telephoneField"]
},
{
"id": "additionalInformation",
Expand Down Expand Up @@ -168,9 +156,7 @@
"alt": "emr-logo"
},
"Display conditions": {
"privileges": [
"View Patient Summary"
]
"privileges": ["View Patient Summary"]
},
"visitAttributeTypes": [
{
Expand All @@ -192,23 +178,15 @@
],
"extensionSlots": {
"patient-chart-summary-dashboard-slot": {
"add": [
"obs-by-encounter-widget#referral"
],
"order": [
"obs-by-encounter-widget#referral"
],
"add": ["obs-by-encounter-widget#referral"],
"order": ["obs-by-encounter-widget#referral"],
"configure": {
"obs-by-encounter-widget#referral": {
"title": "Referral (បញ្ជូន)",
"showGraphByDefault": true,
"encounterTypes": [
"b870b6bb-9441-4664-9087-3d3477174213"
],
"encounterTypes": ["b870b6bb-9441-4664-9087-3d3477174213"],
"Display conditions": {
"privileges": [
"Add Users"
]
"privileges": ["Add Users"]
},
"data": [
{
Expand All @@ -233,93 +211,67 @@
},
"@openmrs/esm-patient-biometrics-app": {
"Display conditions": {
"privileges": [
"Add Vitals and Biometrics"
]
"privileges": ["Add Vitals and Biometrics"]
}
},
"@openmrs/esm-patient-appointments-app": {
"Display conditions": {
"privileges": [
"Manage Appointments"
]
"privileges": ["Manage Appointments"]
}
},
"@openmrs/esm-patient-immunizations-app": {
"Display conditions": {
"privileges": [
"Add Immunizations"
]
"privileges": ["Add Immunizations"]
}
},
"@openmrs/esm-patient-allergies-app": {
"Display conditions": {
"privileges": [
"Add Allergies"
]
"privileges": ["Add Allergies"]
}
},
"@openmrs/esm-patient-attachments-app": {
"Display conditions": {
"privileges": [
"Add Attachments"
]
"privileges": ["Add Attachments"]
}
},
"@openmrs/esm-patient-conditions-app": {
"Display conditions": {
"privileges": [
"Add Conditions"
]
"privileges": ["Add Conditions"]
}
},
"@openmrs/esm-patient-forms-app": {
"Display conditions": {
"privileges": [
"Get Forms"
]
"privileges": ["Get Forms"]
}
},
"@openmrs/esm-patient-medications-app": {
"Display conditions": {
"privileges": [
"Add Orders"
]
"privileges": ["Add Orders"]
}
},
"@openmrs/esm-patient-notes-app": {
"Display conditions": {
"privileges": [
"Get Notes"
]
"privileges": ["Get Notes"]
}
},
"@openmrs/esm-patient-programs-app": {
"Display conditions": {
"privileges": [
"Add Patient Programs"
]
"privileges": ["Add Patient Programs"]
}
},
"@openmrs/esm-patient-test-results-app": {
"Display conditions": {
"privileges": [
"View Test Results"
]
"privileges": ["View Test Results"]
}
},
"@openmrs/esm-patient-vitals-app": {
"Display conditions": {
"privileges": [
"Add Vitals and Biometrics"
]
"privileges": ["Add Vitals and Biometrics"]
}
},
"@openmrs/esm-offline-tools-app": {
"Display conditions": {
"privileges": [
"Access Offline Tools"
]
"privileges": ["Access Offline Tools"]
}
},
"@openmrs/esm-patient-banner-app": {
Expand Down Expand Up @@ -351,23 +303,17 @@
"configure": {
"patient-lists-dashboard-link": {
"Display conditions": {
"privileges": [
"Manage Patient Lists"
]
"privileges": ["Manage Patient Lists"]
}
},
"service-queues-dashboard-link": {
"Display conditions": {
"privileges": [
"Manage Service Queues"
]
"privileges": ["Manage Service Queues"]
}
},
"clinical-appointments-dashboard-link": {
"Display conditions": {
"privileges": [
"Manage Appointments"
]
"privileges": ["Manage Appointments"]
}
}
}
Expand All @@ -390,69 +336,51 @@
"configure": {
"appointments-link": {
"Display conditions": {
"privileges": [
"Manage Appointments"
]
"privileges": ["Manage Appointments"]
}
},
"form-builder-app-menu-link": {
"Display conditions": {
"privileges": [
"Build Forms"
]
"privileges": ["Build Forms"]
}
},
"dispensing-link": {
"Display conditions": {
"privileges": [
"Manage Dispensing"
]
"privileges": ["Manage Dispensing"]
}
},
"forms-app-link": {
"Display conditions": {
"privileges": [
"Access Fast Data Entry"
]
"privileges": ["Access Fast Data Entry"]
}
},
"patient-list-linkq": {
"Display conditions": {
"privileges": [
"Manage Patient Lists"
]
"privileges": ["Manage Patient Lists"]
}
},
"offline-tools-link": {
"Display conditions": {
"privileges": [
"Access Offline Tools"
]
"privileges": ["Access Offline Tools"]
}
},
"cohort-builder-app-link": {
"Display conditions": {
"privileges": [
"Manage Cohorts"
]
"privileges": ["Manage Cohorts"]
}
},
"system-administration-link": {
"Display conditions": {
"privileges": [
"View Administration Functions"
]
"privileges": ["View Administration Functions"]
}
},
"outpatient-link": {
"Display conditions": {
"privileges": [
"Access Outpatient App"
]
"privileges": ["Access Outpatient App"]
}
}
}
}
}
}
}
}
Loading

0 comments on commit cd26175

Please sign in to comment.