-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OHRI-2253 Implement pmtct homepage dashboard workflows (#1881)
- Loading branch information
1 parent
6fb96c6
commit 908d905
Showing
29 changed files
with
264 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 0 additions & 77 deletions
77
packages/esm-ohri-pmtct-app/src/pmtct/child-health/child-health-config.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
packages/esm-ohri-pmtct-app/src/pmtct/home-dashboard/ohri-patient-tabs.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@use '@carbon/styles/scss/spacing'; | ||
@import '../../root.scss'; | ||
|
||
.widgetContainer { | ||
background-color: $ui-background; | ||
} | ||
|
||
.widgetHeaderContainer { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: spacing.$spacing-04 0 spacing.$spacing-04 spacing.$spacing-05; | ||
} | ||
|
||
.widgetHeaderContainer > h4:after { | ||
content: ''; | ||
display: block; | ||
width: 2rem; | ||
padding-top: 0.188rem; | ||
border-bottom: 0.375rem solid var(--brand-01); | ||
} | ||
|
||
.toggleButtons { | ||
width: fit-content; | ||
margin: 0 spacing.$spacing-03; | ||
} | ||
|
||
.searchField { | ||
width: 100%; | ||
max-width: 250px; | ||
border: 0px !important; | ||
} | ||
|
||
.searchBox { | ||
width: 100%; | ||
display: flex; | ||
justify-content: right; | ||
} | ||
|
||
.container { | ||
margin-top: 16px; | ||
margin-left: inherit; | ||
width: 100%; | ||
overflow-y: hidden; | ||
} | ||
|
||
.tabContainer{ | ||
margin-top: 16px; | ||
padding-left: 1rem; | ||
background-color: #ffffff; | ||
|
||
} | ||
|
||
.tabContainer li button{ | ||
width: 100% !important; | ||
} |
81 changes: 0 additions & 81 deletions
81
packages/esm-ohri-pmtct-app/src/pmtct/mch-summary/tabs/mother-previous-visit.json
This file was deleted.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
packages/esm-ohri-pmtct-app/src/pmtct/patient-chart/child-health/child-health-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"menuId": "childHealth", | ||
"tabDefinitions": [ | ||
{ | ||
"tabName": "Infant Postnatal Visit", | ||
"headerTitle": "Infant Postnatal Visit", | ||
"displayText": "Infant Postnatal Visit", | ||
"encounterType": "infantPostnatalEncounterType", | ||
"columns": [ | ||
{ | ||
"id": "pTrackerId", | ||
"title": "PTracker Id", | ||
"concept": "pTrackerIdConcept" | ||
}, | ||
{ | ||
"id": "mothersName", | ||
"title": "Mothers Name", | ||
"type": "mothersName" | ||
}, | ||
{ | ||
"id": "artProphylaxisStatus", | ||
"title": "ART Prophylaxis Status", | ||
"concept": "artProphylaxisStatus" | ||
}, | ||
{ | ||
"id": "linkedToArt", | ||
"title": "Linked to ART", | ||
"concept": "linkedToArt" | ||
}, | ||
{ | ||
"id": "breastfeedingStatus", | ||
"title": "Breastfeeding status", | ||
"concept": "breastfeedingStatus" | ||
}, | ||
{ | ||
"id": "outcomeStatus", | ||
"title": "Outcome Status", | ||
"concept": "outcomeStatus" | ||
}, | ||
{ | ||
"id": "nextVisitDate", | ||
"isDate": true, | ||
"title": "Next visit date", | ||
"concept": "nextVisitDateConcept" | ||
}, | ||
{ | ||
"id": "actions", | ||
"title": "Actions", | ||
"actionOptions": [ | ||
{ | ||
"formName": "infantPostnatalFormName", | ||
"package": "pmtct", | ||
"label": "View Details", | ||
"mode": "view" | ||
}, | ||
{ | ||
"formName": "infantPostnatalFormName", | ||
"package": "pmtct", | ||
"label": "Edit Form", | ||
"mode": "edit" | ||
} | ||
] | ||
} | ||
], | ||
"launchOptions": { | ||
"displayText": "Add", | ||
"moduleName": "@ohri/openmrs-esm-ohri-pmtct-app" | ||
}, | ||
"formList": [ | ||
{ | ||
"name": "infantPostnatalFormName", | ||
"uuid": "infantPostnatalFormUuid" | ||
} | ||
] | ||
} | ||
] | ||
} |
File renamed without changes.
39 changes: 39 additions & 0 deletions
39
packages/esm-ohri-pmtct-app/src/pmtct/patient-chart/common.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@use '@carbon/styles/scss/spacing'; | ||
@import '../../root.scss'; | ||
|
||
.widgetContainer { | ||
background-color: $ui-background; | ||
} | ||
|
||
.widgetHeaderContainer { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: spacing.$spacing-04 0 spacing.$spacing-04 spacing.$spacing-05; | ||
} | ||
|
||
.widgetHeaderContainer > h4:after { | ||
content: ''; | ||
display: block; | ||
width: 2rem; | ||
padding-top: 0.188rem; | ||
border-bottom: 0.375rem solid var(--brand-01); | ||
} | ||
|
||
.toggleButtons { | ||
width: fit-content; | ||
margin: 0 spacing.$spacing-03; | ||
} | ||
|
||
.tabContainer div[role='tabpanel'] { | ||
padding: 0 !important; | ||
} | ||
|
||
.tabContainer li button { | ||
width: 100% !important; | ||
} | ||
|
||
|
||
.hivStatusTag { | ||
min-width: 80px; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.