Skip to content

Commit

Permalink
OHRI-1723 remove spaces from path
Browse files Browse the repository at this point in the history
  • Loading branch information
pirupius committed Jul 27, 2023
1 parent 3e7a986 commit aeae9af
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 45 deletions.
4 changes: 2 additions & 2 deletions packages/esm-cervical-cancer-app/src/dashboard.meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export const caCxSummaryDashboardMeta = {
slot: 'cacx-summary-slot',
columns: 1,
title: 'CaCx Summary',
path: 'CaCx Summary',
path: 'cacx-summary',
};

export const caCxVisitsDashboardMeta = {
slot: 'cacx-visits-slot',
columns: 1,
title: 'CaCx Visits',
path: 'CaCx Visits',
path: 'cacx-visits',
};
19 changes: 2 additions & 17 deletions packages/esm-cervical-cancer-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"slot": "cervical-cancer-slot",
"component": "cacxSummaryDashboardLink",
"meta": {
"path": "CaCx Summary",
"path": "cacx-summary",
"slot": "cacx-summary-slot",
"columns": 1
}
Expand All @@ -37,7 +37,7 @@
"slot": "cervical-cancer-slot",
"component": "cacxVisitsDashboardLink",
"meta": {
"path": "CaCx Visits",
"path": "cacx-visits",
"slot": "cacx-visits-slot",
"columns": 1
}
Expand All @@ -46,21 +46,6 @@
"name": "cacx-visits-ext",
"slot": "cacx-visits-slot",
"component": "cacxVisitsDashboard"
},
{
"name": "cacx-appointments-dashboard",
"slot": "cervical-cancer-slot",
"component": "cacxAppointmentsDashboardLink",
"meta": {
"path": "CaCx Appointments",
"slot": "cacx-appointments-slot",
"columns": 1
}
},
{
"name": "cacx-appointments-ext",
"slot": "cacx-appointments-slot",
"component": "cacxAppointmentsDashboard"
}
]
}
6 changes: 3 additions & 3 deletions packages/esm-covid-app/src/dashboard.meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ export const covidAssessmentsDashboardMeta = {
slot: 'covid-assessments-dashboard-slot',
columns: 1,
title: 'Covid Assessments',
path: 'Covid Assessments',
path: 'covid-assessments',
};

export const covidLabTestsDashboardMeta = {
slot: 'covid-lab-dashboard-slot',
columns: 1,
title: 'Lab Test',
path: 'Lab Test',
path: 'lab-test',
};

export const covidVaccinationsDashboardMeta = {
slot: 'covid-vaccinations-dashboard-slot',
columns: 1,
title: 'Covid Vaccinations',
path: 'Covid Vaccinations',
path: 'covid-vaccinations',
};

// Clinical Dashboards
Expand Down
6 changes: 3 additions & 3 deletions packages/esm-covid-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"meta": {
"slot": "covid-assessments-dashboard-slot",
"columns": 1,
"path": "Covid Assessments"
"path": "covid-assessments"
}
},
{
Expand All @@ -88,7 +88,7 @@
"meta": {
"slot": "covid-lab-dashboard-slot",
"columns": 1,
"path": "Lab Test"
"path": "lab-test"
}
},
{
Expand All @@ -103,7 +103,7 @@
"meta": {
"slot": "covid-vaccinations-dashboard-slot",
"columns": 1,
"path": "Covid Vaccinations"
"path": "covid-vaccinations"
}
},
{
Expand Down
14 changes: 7 additions & 7 deletions packages/esm-hiv-app/src/dashboard.meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export const htsSummaryDashboardMeta = {
name: 'hts-summary',
slot: 'hts-summary-dashboard-slot',
columns: 1,
path: 'HIV Testing Services',
title: 'HIV Testing Services',
path: 'hiv-testing-services',
};

export const hivCareAndTreatmentDashboardDMeta = {
Expand All @@ -25,35 +25,35 @@ export const hivPatientSummaryDashboardMeta = {
slot: 'hiv-patient-summary-dashboard-slot',
columns: 1,
title: 'HIV Patient Summary',
path: 'HIV Patient Summary',
path: 'hiv-patient-summary',
};

export const programManagementDashboardMeta = {
slot: 'program-management-summary-slot',
columns: 1,
title: 'Program Management',
path: 'Program Management',
path: 'program-management',
};

export const clinicalVisitsDashboardMeta = {
slot: 'clinical-visits-summary-slot',
columns: 1,
title: 'Clinical Visits',
path: 'Clinical Visits',
path: 'clinical-visits',
};

export const generalCounsellingDashboardMeta = {
slot: 'general-counselling-summary-slot',
columns: 1,
title: 'General Counselling',
path: 'General Counselling',
path: 'general-counselling',
};

export const partnerNotificationServicesDashboardMeta = {
slot: 'partner-notification-services-slot',
columns: 1,
title: 'Partner Notification',
path: 'Partner Notification Services',
path: 'partner-notification-services',
};

export const medicationsDashboardMeta = {
Expand All @@ -67,7 +67,7 @@ export const appointmentsDashboardMeta = {
slot: 'appointments-summary-slot',
columns: 1,
title: 'Appointments Summary',
path: 'Appointments Summary',
path: 'appointments-summary',
};

// Clinical Dashboards
Expand Down
14 changes: 7 additions & 7 deletions packages/esm-hiv-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"meta": {
"slot": "hiv-patient-summary-dashboard-slot",
"columns": 1,
"path": "HIV Patient Summary"
"path": "hiv-patient-summary"
}
},
{
Expand All @@ -170,7 +170,7 @@
"meta": {
"slot": "program-management-summary-slot",
"columns": 1,
"path": "Program Management"
"path": "program-management"
}
},
{
Expand All @@ -185,7 +185,7 @@
"meta": {
"slot": "clinical-visits-summary-slot",
"columns": 1,
"path": "Clinical Visits"
"path": "clinical-visits"
}
},
{
Expand All @@ -200,7 +200,7 @@
"meta": {
"slot": "general-counselling-summary-slot",
"columns": 1,
"path": "General Counselling"
"path": "general-counselling"
}
},
{
Expand All @@ -215,7 +215,7 @@
"meta": {
"slot": "adherence-counselling-summary-slot",
"columns": 1,
"path": "Adherence Counselling"
"path": "adherence-counselling"
}
},
{
Expand All @@ -230,7 +230,7 @@
"meta": {
"slot": "partner-notification-services-slot",
"columns": 1,
"path": "Partner Notification Services"
"path": "partner-notification-services"
}
},
{
Expand All @@ -251,7 +251,7 @@
"meta": {
"slot": "hts-summary-dashboard-slot",
"columns": 1,
"path": "HIV Testing Services"
"path": "hiv-testing-services"
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions packages/esm-ohri-pmtct-app/src/dashboard.meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ export const mchSummaryDashboardMeta = {
slot: 'mch-summary-slot',
columns: 1,
title: 'Client Summary',
path: 'MNCH Summary',
path: 'mnch-summary',
linkText: 'MNCH Summary',
};

export const maternalVisitsDashboardMeta = {
slot: 'maternal-visits-summary-slot',
columns: 1,
title: 'Maternal Visits',
path: 'Maternal Visits',
path: 'maternal-visits',
patientExpression: 'calculateAge(patient.birthDate) > 10',
};

export const childVisitsDashboardMeta = {
slot: 'child-visits-summary-slot',
columns: 1,
title: 'Child Visits',
path: 'Child Visits',
path: 'child-visits',
patientExpression: 'calculateAge(patient.birthDate) <= 10',
};

Expand Down
6 changes: 3 additions & 3 deletions packages/esm-ohri-pmtct-app/src/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"slot": "mch-slot",
"component": "mchSummaryDashboardLink",
"meta": {
"path": "MNCH Summary",
"path": "mnch-summary",
"slot": "mch-summary-slot",
"columns": 1
}
Expand All @@ -32,7 +32,7 @@
"slot": "mch-slot",
"component": "maternalVisitsDashboardLink",
"meta": {
"path": "Maternal Visits",
"path": "maternal-visits",
"slot": "maternal-visits-summary-slot",
"columns": 1
}
Expand All @@ -47,7 +47,7 @@
"slot": "mch-slot",
"component": "childVisitsDashboardLink",
"meta": {
"path": "Child Visits",
"path": "child-visits",
"slot": "child-visits-summary-slot",
"columns": 1
}
Expand Down

0 comments on commit aeae9af

Please sign in to comment.