@kenyaemr/esm-patient-clinical-view-app 5.4.2-pre.2716 → 5.4.2-pre.2722
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -4
- package/dist/805.js +1 -0
- package/dist/805.js.map +1 -0
- package/dist/kenyaemr-esm-patient-clinical-view-app.js +2 -2
- package/dist/kenyaemr-esm-patient-clinical-view-app.js.buildmanifest.json +27 -27
- package/dist/main.js +27 -27
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/config-schema.ts +97 -0
- package/src/contact-list/contact-tracing-history.component.tsx +18 -15
- package/src/maternal-and-child-health/partography/components/pulse-bp-graph.component.tsx +1 -0
- package/src/maternal-and-child-health/partography/components/temperature-graph.component.tsx +218 -0
- package/src/maternal-and-child-health/partography/components/uterine-contractions-graph.component.tsx +209 -0
- package/src/maternal-and-child-health/partography/forms/cervical-contractions-form.component.tsx +211 -0
- package/src/maternal-and-child-health/partography/forms/cervix-form.component.tsx +354 -0
- package/src/maternal-and-child-health/partography/forms/drugs-iv-fluids-form.component.tsx +321 -0
- package/src/maternal-and-child-health/partography/forms/fetal-heart-rate-form.component.tsx +275 -0
- package/src/maternal-and-child-health/partography/forms/index.ts +9 -0
- package/src/maternal-and-child-health/partography/forms/membrane-amniotic-fluid-form.component.tsx +330 -0
- package/src/maternal-and-child-health/partography/forms/oxytocin-form.component.tsx +207 -0
- package/src/maternal-and-child-health/partography/forms/pulse-bp-form.component.tsx +174 -0
- package/src/maternal-and-child-health/partography/forms/temperature-form.component.tsx +210 -0
- package/src/maternal-and-child-health/partography/forms/time-picker-dropdown.component.tsx +218 -0
- package/src/maternal-and-child-health/partography/forms/time-picker-dropdown.scss +107 -0
- package/src/maternal-and-child-health/partography/forms/time-picker-with-clock.component.tsx +174 -0
- package/src/maternal-and-child-health/partography/forms/time-picker-with-clock.scss +178 -0
- package/src/maternal-and-child-health/partography/forms/urine-test-form.component.tsx +255 -0
- package/src/maternal-and-child-health/partography/forms/useCervixData.ts +16 -0
- package/src/maternal-and-child-health/partography/graphs/cervical-contractions-graph.component.tsx +266 -0
- package/src/maternal-and-child-health/partography/graphs/cervix-graph.component.tsx +429 -0
- package/src/maternal-and-child-health/partography/graphs/drugs-iv-fluids-graph-wrapper.component.tsx +163 -0
- package/src/maternal-and-child-health/partography/graphs/drugs-iv-fluids-graph.component.tsx +82 -0
- package/src/maternal-and-child-health/partography/graphs/fetal-heart-rate-graph.component.tsx +359 -0
- package/src/maternal-and-child-health/partography/graphs/index.ts +10 -0
- package/src/maternal-and-child-health/partography/graphs/membrane-amniotic-fluid-graph.component.tsx +266 -0
- package/src/maternal-and-child-health/partography/graphs/oxytocin-graph-wrapper.component.tsx +190 -0
- package/src/maternal-and-child-health/partography/graphs/oxytocin-graph.component.tsx +126 -0
- package/src/maternal-and-child-health/partography/graphs/partograph-graph.component.tsx +266 -0
- package/src/maternal-and-child-health/partography/graphs/pulse-bp-graph-wrapper.component.tsx +298 -0
- package/src/maternal-and-child-health/partography/graphs/pulse-bp-graph.component.tsx +267 -0
- package/src/maternal-and-child-health/partography/graphs/temperature-graph.component.tsx +242 -0
- package/src/maternal-and-child-health/partography/graphs/urine-test-graph.component.tsx +246 -0
- package/src/maternal-and-child-health/partography/partograph.component.tsx +2141 -118
- package/src/maternal-and-child-health/partography/partography-dashboard.meta.ts +8 -0
- package/src/maternal-and-child-health/partography/partography-data-form.scss +163 -0
- package/src/maternal-and-child-health/partography/partography.resource.ts +233 -326
- package/src/maternal-and-child-health/partography/partography.scss +1341 -3
- package/src/maternal-and-child-health/partography/resources/blood-pressure.resource.ts +96 -0
- package/src/maternal-and-child-health/partography/resources/cervical-dilation.resource.ts +109 -0
- package/src/maternal-and-child-health/partography/resources/cervix.resource.ts +362 -0
- package/src/maternal-and-child-health/partography/resources/descent-of-head.resource.ts +101 -0
- package/src/maternal-and-child-health/partography/resources/drugs-fluids.resource.ts +88 -0
- package/src/maternal-and-child-health/partography/resources/fetal-heart-rate.resource.ts +122 -0
- package/src/maternal-and-child-health/partography/resources/maternal-pulse.resource.ts +77 -0
- package/src/maternal-and-child-health/partography/resources/membrane-amniotic-fluid.resource.ts +108 -0
- package/src/maternal-and-child-health/partography/resources/oxytocin.resource.ts +159 -0
- package/src/maternal-and-child-health/partography/resources/progress-events.resource.ts +6 -0
- package/src/maternal-and-child-health/partography/resources/pulse-bp-combined.resource.ts +53 -0
- package/src/maternal-and-child-health/partography/resources/temperature.resource.ts +84 -0
- package/src/maternal-and-child-health/partography/resources/uterine-contractions.resource.ts +173 -0
- package/src/maternal-and-child-health/partography/table/temperature-table.component.tsx +99 -0
- package/src/maternal-and-child-health/partography/table/uterine-contractions-table.component.tsx +86 -0
- package/src/maternal-and-child-health/partography/types/index.ts +319 -101
- package/dist/397.js +0 -1
- package/dist/397.js.map +0 -1
|
@@ -48,3 +48,166 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
+
|
|
52
|
+
/* ===== Merged from cervix-form.scss ===== */
|
|
53
|
+
|
|
54
|
+
.formGrid {
|
|
55
|
+
gap: 1rem;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.fieldRow {
|
|
59
|
+
margin-bottom: 1rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.formField {
|
|
63
|
+
margin-bottom: 1rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.fieldLabel {
|
|
67
|
+
@include type.type-style('label-01');
|
|
68
|
+
color: colors.$gray-100;
|
|
69
|
+
margin-bottom: layout.$spacing-02;
|
|
70
|
+
display: block;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Ensure number inputs have proper styling */
|
|
74
|
+
.cds--number input {
|
|
75
|
+
text-align: left;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Modal specific styling */
|
|
79
|
+
.modal {
|
|
80
|
+
.cds--modal-content {
|
|
81
|
+
padding: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.cds--modal-container {
|
|
85
|
+
max-width: 600px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.cervixModal {
|
|
90
|
+
.cds--modal-content {
|
|
91
|
+
padding: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cds--modal-container {
|
|
95
|
+
max-width: 600px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Form field spacing */
|
|
100
|
+
.cds--form-item {
|
|
101
|
+
margin-bottom: 1rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Number input stepper buttons */
|
|
105
|
+
.cds--number__controls {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.cds--number__control-btn {
|
|
111
|
+
height: 1.5rem;
|
|
112
|
+
width: 2rem;
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Validation hints */
|
|
119
|
+
.validationHint {
|
|
120
|
+
font-size: 0.75rem;
|
|
121
|
+
color: #6f6f6f;
|
|
122
|
+
margin-top: 0.25rem;
|
|
123
|
+
font-style: italic;
|
|
124
|
+
background-color: #f4f4f4;
|
|
125
|
+
padding: 0.25rem 0.5rem;
|
|
126
|
+
border-radius: 4px;
|
|
127
|
+
border-left: 3px solid #0f62fe;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Required fields note */
|
|
131
|
+
.requiredFieldsNote {
|
|
132
|
+
margin-bottom: 1rem;
|
|
133
|
+
padding: 0.5rem;
|
|
134
|
+
background-color: #e8f4fd;
|
|
135
|
+
border-left: 4px solid #0f62fe;
|
|
136
|
+
border-radius: 4px;
|
|
137
|
+
|
|
138
|
+
p {
|
|
139
|
+
margin: 0;
|
|
140
|
+
font-size: 0.875rem;
|
|
141
|
+
color: #161616;
|
|
142
|
+
font-weight: 500;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* Drug Order Workspace Launcher Styles */
|
|
147
|
+
.workspaceLauncherSection {
|
|
148
|
+
margin-bottom: layout.$spacing-06;
|
|
149
|
+
padding: layout.$spacing-05;
|
|
150
|
+
background-color: colors.$blue-10;
|
|
151
|
+
border-radius: layout.$spacing-03;
|
|
152
|
+
border: 1px solid colors.$blue-20;
|
|
153
|
+
|
|
154
|
+
h4 {
|
|
155
|
+
@include type.type-style('heading-03');
|
|
156
|
+
color: colors.$gray-100;
|
|
157
|
+
margin-bottom: layout.$spacing-03;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.helperText {
|
|
161
|
+
@include type.type-style('body-01');
|
|
162
|
+
color: colors.$gray-70;
|
|
163
|
+
margin-bottom: layout.$spacing-04;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.workspaceLauncherButton {
|
|
167
|
+
min-height: layout.$spacing-09;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Manual Entry Section Styles */
|
|
172
|
+
.manualEntrySection {
|
|
173
|
+
background-color: var(--cds-layer-01);
|
|
174
|
+
border: 1px solid var(--cds-border-subtle-01);
|
|
175
|
+
border-radius: 4px;
|
|
176
|
+
padding: 1rem;
|
|
177
|
+
margin-bottom: 1rem;
|
|
178
|
+
|
|
179
|
+
h4 {
|
|
180
|
+
margin-bottom: 0.5rem;
|
|
181
|
+
color: var(--cds-text-primary);
|
|
182
|
+
font-size: 1rem;
|
|
183
|
+
font-weight: 600;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.helperText {
|
|
187
|
+
color: var(--cds-text-secondary);
|
|
188
|
+
font-size: 0.875rem;
|
|
189
|
+
margin-bottom: 0.75rem;
|
|
190
|
+
line-height: 1.4;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Source indicators for drug orders vs manual entries
|
|
195
|
+
.orderSource {
|
|
196
|
+
background-color: var(--cds-support-success);
|
|
197
|
+
color: var(--cds-text-on-color);
|
|
198
|
+
padding: 0.125rem 0.5rem;
|
|
199
|
+
border-radius: 12px;
|
|
200
|
+
font-size: 0.75rem;
|
|
201
|
+
font-weight: 500;
|
|
202
|
+
text-transform: uppercase;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.manualSource {
|
|
206
|
+
background-color: var(--cds-support-info);
|
|
207
|
+
color: var(--cds-text-on-color);
|
|
208
|
+
padding: 0.125rem 0.5rem;
|
|
209
|
+
border-radius: 12px;
|
|
210
|
+
font-size: 0.75rem;
|
|
211
|
+
font-weight: 500;
|
|
212
|
+
text-transform: uppercase;
|
|
213
|
+
}
|