diff --git a/micro-frontends/src/next-ui/Components/ViewAllergiesAndReactions/ViewAllergiesAndReactions.jsx b/micro-frontends/src/next-ui/Components/ViewAllergiesAndReactions/ViewAllergiesAndReactions.jsx index 19b2b6de0e..655a8c6fe0 100644 --- a/micro-frontends/src/next-ui/Components/ViewAllergiesAndReactions/ViewAllergiesAndReactions.jsx +++ b/micro-frontends/src/next-ui/Components/ViewAllergiesAndReactions/ViewAllergiesAndReactions.jsx @@ -16,7 +16,8 @@ export const ViewAllergiesAndReactions = (props) => {
{{patient}}
-Est Time: {{surgicalAppointment.derivedAttributes.expectedStartDatetime | bahmniTime}} - {{surgicalAppointment.derivedAttributes.expectedEndDatetime | bahmniTime}}
-Procedure - {{attributes.procedure}}
-Anaesthetist - {{attributes.anaesthetist}}
-Notes - {{attributes.notes}}
-
Actual Time: {{surgicalAppointment.actualStartDatetime | bahmniTime}} - {{surgicalAppointment.actualEndDatetime | bahmniTime}}
{{patient}}
+{{'OT_SURGICAL_APPOINTMENT_PATIENT_WEIGHT' | translate}} - {{attributes.patientWeight}}
+{{ 'OT_SURGICAL_APPOINTMENT_ESTIMATED_TIME'| translate}} - {{attributes.estTimeHours || 0 }} hrs(s): {{attributes.estTimeMinutes || 0}} min(s)
+{{ 'OT_SURGICAL_APPOINTMENT_PRIMARY_DIAGNOSIS' | translate}} - {{surgicalAppointment.primaryDiagnosis}}
+{{ 'OT_SURGICAL_APPOINTMENT_PROCEDURE' | translate}} - {{attributes.procedure}}
+{{ 'OT_SURGICAL_APPOINTMENT_ANAESTHETIST'| translate}} - {{attributes.anaesthetist}}
+{{ 'OT_SURGICAL_APPOINTMENT_NOTES'| translate}} - {{attributes.notes}}
+
{{'OT_SURGICAL_APPOINTMENT_ACTUAL_TIME' | translate}} - {{surgicalAppointment.actualStartDatetime | bahmniTime}} - {{surgicalAppointment.actualEndDatetime | bahmniTime}}
{{patient}}
{{operationTheatre}}
diff --git a/ui/app/ot/views/home.html b/ui/app/ot/views/home.html index 1f34629d52..4bceff9432 100644 --- a/ui/app/ot/views/home.html +++ b/ui/app/ot/views/home.html @@ -71,7 +71,7 @@+
diff --git a/ui/app/ot/views/otCalendar.html b/ui/app/ot/views/otCalendar.html index 9e7e6fc418..c5e9fb7e01 100644 --- a/ui/app/ot/views/otCalendar.html +++ b/ui/app/ot/views/otCalendar.html @@ -11,8 +11,7 @@
{{location.name}}
@@ -24,13 +23,13 @@+ + +
++ + +
diff --git a/ui/app/styles/ot/_ot.scss b/ui/app/styles/ot/_ot.scss
index 73252a57d7..1fa8b2e3d1 100644
--- a/ui/app/styles/ot/_ot.scss
+++ b/ui/app/styles/ot/_ot.scss
@@ -150,6 +150,7 @@ div[ng-app="ot"] {
padding: 10px;
border-radius: 3px;
position: relative;
+ margin-bottom: 2px;
}
> i {
right: 85px;
@@ -160,6 +161,7 @@ div[ng-app="ot"] {
select {
height: 35px;
width: 273px;
+ margin-bottom: 2px;
}
}
@@ -182,6 +184,7 @@ div[ng-app="ot"] {
padding: 10px;
box-sizing: border-box;
min-height: 80px;
+ margin-bottom: 2px;
.text-section {
overflow: auto !important;
}
diff --git a/ui/app/styles/ot/_otCalendar.scss b/ui/app/styles/ot/_otCalendar.scss
index 5d31a6c031..ffb53d54ea 100644
--- a/ui/app/styles/ot/_otCalendar.scss
+++ b/ui/app/styles/ot/_otCalendar.scss
@@ -25,9 +25,13 @@
box-sizing: border-box;
text-align: center;
float: left;
- padding: 10px 0;
+ padding: 12px 0;
border-bottom: 1px solid #ddd;
- font-family: OpenSansSemiBold;
+ border-top: 1px solid #ddd;
+ font-family: OpenSansSemiBold, serif;
+ }
+ hr{
+ margin-bottom: 0;
}
}
.day-heading{
@@ -58,6 +62,13 @@
background-color: #EDF5FF;
}
}
+ .provider-location-name{
+ display: grid;
+ grid-auto-flow: column;
+ grid-auto-columns: max-content;
+ margin-top: 15px;
+ overflow-x: scroll;
+ }
.notes-text{
background-color: #FCF4D6;
width: calc(100% - 10px);
@@ -101,7 +112,8 @@
position: absolute;
display: flex;
left: 80px;
- overflow: auto;
+ overflow-x: scroll;
+ overflow-y: auto;
padding-bottom: 5px;
top: 95px;
width: calc(100% - 90px);
@@ -120,7 +132,6 @@
float: left;
position: relative;
padding-bottom: 20px;
- overflow: hidden;
border-right: 0.5px solid lightgrey;
.surgical-block {
width: calc(100% - 10px);
@@ -289,14 +300,17 @@
}
.surgicalblock-patientname {
font-weight: 600;
- color: #000;
+ color: #5394fc;
font-size: 14px;
padding: 0 10px 3px 1px;
+ cursor: pointer;
}
- p {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
+ .ot-day-text{
+ p {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ padding: 2px 0;
+ }
}
}
.surgicalblock-surgeon-name {
diff --git a/ui/app/styles/ot/_otSurgical.scss b/ui/app/styles/ot/_otSurgical.scss
index 73a9288a4a..d2d4d295ab 100644
--- a/ui/app/styles/ot/_otSurgical.scss
+++ b/ui/app/styles/ot/_otSurgical.scss
@@ -64,7 +64,7 @@
height: 35px;
display: inline-block;
border-color: #929699;
-
+ margin-bottom: 2px;
}
.start-time {
display: block;
diff --git a/ui/app/styles/ot/_otWeeklyCalendar.scss b/ui/app/styles/ot/_otWeeklyCalendar.scss
index 52a216d21e..8333c38150 100644
--- a/ui/app/styles/ot/_otWeeklyCalendar.scss
+++ b/ui/app/styles/ot/_otWeeklyCalendar.scss
@@ -177,6 +177,11 @@
padding-right: 20px;
margin: 2% 0;
}
+ .ot-text {
+ p{
+ white-space: nowrap;
+ }
+ }
}
.surgicalblock-surgeon-name {
word-break: break-word;
diff --git a/ui/test/unit/ot/directives/otCalendarSurgicalAppointment.spec.js b/ui/test/unit/ot/directives/otCalendarSurgicalAppointment.spec.js
index 654c69cf8c..bd8f5a46dc 100644
--- a/ui/test/unit/ot/directives/otCalendarSurgicalAppointment.spec.js
+++ b/ui/test/unit/ot/directives/otCalendarSurgicalAppointment.spec.js
@@ -3,15 +3,29 @@
describe("otCalendarSurgicalAppointment", function () {
var simpleHtml = '