Skip to content

Commit

Permalink
Changing Laboratory on the patient chart to Invesitgative Results (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daphne210 authored Sep 29, 2023
1 parent 6703172 commit 1701553
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 51 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const laboratoryComponent = getAsyncLifecycle(
export const laboratoryOrderDashboardLink = getSyncLifecycle(
createDashboardLink({
path: "laboratory-orders",
title: "Laboratory",
title: "Investigative Results",
moduleName,
}),
options
Expand Down
97 changes: 47 additions & 50 deletions src/routes.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,49 @@
{
"$schema": "https://json.openmrs.org/routes.schema.json",
"backendDependencies": {
"fhir2": "^1.2.0",
"webservices.rest": "^2.24.0"
},
"pages": [
{
"component": "root",
"route": "laboratory"
}
],
"extensions": [
{
"name": "laboratory-dashboard",
"slot": "laboratory-dashboard-slot",
"component": "root"
"$schema": "https://json.openmrs.org/routes.schema.json",
"backendDependencies": {
"fhir2": "^1.2.0",
"webservices.rest": "^2.24.0"
},
{
"name": "laboratory-dashboard-link",
"slot": "homepage-dashboard-slot",
"component": "laboratoryDashboardLink",
"meta": {
"name": "laboratory",
"slot": "laboratory-dashboard-slot",
"title": "Laboratory"
}
},
{
"name": "laboratory-patient-chart-link",
"slot": "patient-chart-dashboard-slot",
"component": "laboratoryOrderDashboardLink",
"order": 13,
"meta": {
"path": "laboratory-orders",
"slot": "laboratory-orders-dashboard-slot",
"title": "Laboratory",
"columns": 1,
"layoutMode": "anchored"
}
},
{
"name": "laboratory-orders-summary",
"slot": "laboratory-orders-dashboard-slot",
"component": "laboratoryOrderComponent"
},
{
"name": "add-to-worklist-dialog",
"component": "addToWorklistDialog"
}
]
}
"pages": [{
"component": "root",
"route": "laboratory"
}],
"extensions": [{
"name": "laboratory-dashboard",
"slot": "laboratory-dashboard-slot",
"component": "root"
},
{
"name": "laboratory-dashboard-link",
"slot": "homepage-dashboard-slot",
"component": "laboratoryDashboardLink",
"meta": {
"name": "laboratory",
"slot": "laboratory-dashboard-slot",
"title": "Laboratory"
}
},
{
"name": "laboratory-patient-chart-link",
"slot": "patient-chart-dashboard-slot",
"component": "laboratoryOrderDashboardLink",
"order": 13,
"meta": {
"path": "laboratory-orders",
"slot": "laboratory-orders-dashboard-slot",
"title": "Investigative Results",
"columns": 1,
"layoutMode": "anchored"
}
},
{
"name": "laboratory-orders-summary",
"slot": "laboratory-orders-dashboard-slot",
"component": "laboratoryOrderComponent"
},
{
"name": "add-to-worklist-dialog",
"component": "addToWorklistDialog"
}
]
}

0 comments on commit 1701553

Please sign in to comment.