Skip to content

Commit

Permalink
Use patient chart generic dasboard
Browse files Browse the repository at this point in the history
  • Loading branch information
hadijahkyampeire committed Sep 3, 2024
1 parent 141e01f commit 0d84399
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 13 deletions.
2 changes: 1 addition & 1 deletion configs/frontend_config/clinical-visits.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@openmrs/esm-patient-chart-app": {
"extensionSlots": {
"clinical-visits-dashboard": {
"hct-clinical-visits-dashboard-slot": {
"add": [
"encounter-list-table-tabs"
],
Expand Down
55 changes: 49 additions & 6 deletions configs/frontend_config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,55 @@
},
"hiv-care-and-treatment-group-slot": {
"add": [
"hiv-patient-summary-dashboard",
"program-management-dashboard",
"clinical-visits-dashboard",
"general-counselling-dashboard",
"partner-notification-dashboard"
]
"dashboard#hct-patient-summary",
"dashboard#hct-program-management",
"dashboard#hct-clinical-visits",
"dashboard#hct-general-counselling",
"dashboard#hct-partner-notification"
],
"configure": {
"dashboard#hct-patient-summary": {
"title": "patientSummary",
"path": "hct-patient-summary",
"slot": "hct-patient-summary-dashboard-slot"
},
"dashboard#hct-program-management": {
"title": "programManagement",
"path": "hct-program-management",
"slot": "hct-program-management-dashboard-slot"
},
"dashboard#hct-clinical-visits": {
"title": "clinicalVisits",
"path": "hct-clinical-visits",
"slot": "hct-clinical-visits-dashboard-slot"
},
"dashboard#hct-general-counselling": {
"title": "generalCounselling",
"path": "hct-general-counselling",
"slot": "hct-general-counselling-dashboard-slot"
},
"dashboard#hct-partner-notification": {
"title": "partnerNotification",
"path": "hct-partner-notification",
"slot": "hct-partner-notification-dashboard-slot"
}
},
"Translation overrides": {
"en": {
"patientSummary": "Patient Summary",
"programManagement": "Program Management",
"clinicalVisits": "Clinical Visists",
"partnerNotification": "Partner Notification",
"generalCounselling": "General Counselling"
},
"fr": {
"patientSummary": "Résumé du patient",
"programManagement": "Gestion du programme",
"clinicalVisits": "Visites cliniques",
"partnerNotification": "Notification des partenaires",
"generalCounselling": "Conseil général"
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion configs/frontend_config/general-counselling.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@openmrs/esm-patient-chart-app": {
"extensionSlots": {
"general-counselling-dashboard": {
"hct-general-counselling-dashboard-slot": {
"add": [
"encounter-list-table-tabs"
],
Expand Down
2 changes: 1 addition & 1 deletion configs/frontend_config/partner-notification.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@openmrs/esm-patient-chart-app": {
"extensionSlots": {
"partner-notification-dashboard": {
"hct-partner-notification-dashboard-slot": {
"add": [
"encounter-list-table-tabs"
],
Expand Down
6 changes: 3 additions & 3 deletions configs/frontend_config/patient-summary.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"@openmrs/esm-patient-chart-app": {
"extensionSlots": {
"hiv-patient-summary-dashboard": {
"hct-patient-summary-dashboard-slot": {
"add": [
"encounter-tiles-group"
"program-summary"
],
"configure": {
"encounter-tiles-group": {
"program-summary": {
"tilesDefinitions": [
{
"tileHeader": "characteristicsTitle",
Expand Down
2 changes: 1 addition & 1 deletion configs/frontend_config/program-management.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@openmrs/esm-patient-chart-app": {
"extensionSlots": {
"program-management-dashboard": {
"hct-program-management-dashboard-slot": {
"add": [
"encounter-list-table-tabs"
],
Expand Down

0 comments on commit 0d84399

Please sign in to comment.