-
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
- Loading branch information
1 parent
ad6e23f
commit 54f0eec
Showing
28 changed files
with
198 additions
and
41 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...es/esm-ohri-pmtct-app/src/api.resource.ts → ...sm-ohri-pmtct-app/src/api/api.resource.ts
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
...s/mother-child-summary-tabs.component.tsx → ...d/mother-child-summary-tabs.component.tsx
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; | ||
} |
File renamed without changes.
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.
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
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions
13
packages/esm-ohri-pmtct-app/src/pmtct/summary-tabs/ohri-patient-tabs.scss
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/esm-ohri-pmtct-app/src/post-submission-actions/art-linkage-action.ts
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
4 changes: 2 additions & 2 deletions
4
packages/esm-ohri-pmtct-app/src/post-submission-actions/current-ptracker-action.ts
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
6 changes: 3 additions & 3 deletions
6
packages/esm-ohri-pmtct-app/src/post-submission-actions/mother-child-linkage-action.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
export interface Location { | ||
uuid: string; | ||
display: string; | ||
name: string; | ||
description?: string; | ||
address1?: string; | ||
address2?: string; | ||
cityVillage?: string; | ||
stateProvince?: string; | ||
country?: string; | ||
postalCode?: string; | ||
latitude?: string; | ||
longitude?: string; | ||
countryDistrict?: string; | ||
address3?: string; | ||
address4?: string; | ||
address5?: string; | ||
address6?: string; | ||
} | ||
|
||
export interface Concept { | ||
uuid: string; | ||
display: string; | ||
answers?: Concept[]; | ||
} | ||
|
||
export type Relationship = { | ||
relationshipType: string; | ||
personA: string; | ||
personB: string; | ||
}; | ||
|
||
export interface PatientIdentifier { | ||
uuid?: string; | ||
identifier: string; | ||
identifierType?: string; | ||
location?: string; | ||
preferred?: boolean; | ||
} | ||
|
||
interface NameValue { | ||
uuid?: string; | ||
preferred: boolean; | ||
givenName: string; | ||
middleName: string; | ||
familyName: string; | ||
} | ||
export interface AttributeValue { | ||
attributeType: string; | ||
value: string; | ||
} | ||
|
||
export type Patient = { | ||
uuid?: string; | ||
identifiers: Array<PatientIdentifier>; | ||
person: { | ||
uuid?: string; | ||
names: Array<NameValue>; | ||
gender: string; | ||
birthdate: string; | ||
birthdateEstimated: boolean; | ||
dead: boolean; | ||
deathDate?: string; | ||
causeOfDeath?: string; | ||
}; | ||
}; | ||
|
||
export interface RelationshipValue { | ||
relatedPersonName?: string; | ||
relatedPersonUuid: string; | ||
relation?: string; | ||
relationshipType: string; | ||
action?: 'ADD' | 'UPDATE' | 'DELETE'; | ||
initialrelationshipTypeValue?: string; | ||
uuid?: string; | ||
} | ||
|
||
export interface AncVisitsReport { | ||
uuid: string; | ||
rows: Array<{ total: number }>; | ||
definition: { | ||
uuid?: string; | ||
name?: string; | ||
description?: string; | ||
}; | ||
} |