@openmrs/esm-patient-orders-app 11.3.0 → 11.3.1-patch.9310

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.
Files changed (170) hide show
  1. package/.turbo/turbo-build.log +26 -23
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/1253.js +1 -0
  5. package/dist/1253.js.map +1 -0
  6. package/dist/1268.js +2 -0
  7. package/dist/1268.js.map +1 -0
  8. package/dist/2146.js +1 -1
  9. package/dist/2690.js +1 -1
  10. package/dist/3099.js +1 -1
  11. package/dist/3584.js +1 -1
  12. package/dist/3685.js +1 -1
  13. package/dist/375.js +1 -0
  14. package/dist/375.js.map +1 -0
  15. package/dist/4055.js +1 -1
  16. package/dist/4132.js +1 -1
  17. package/dist/4300.js +1 -1
  18. package/dist/4335.js +1 -1
  19. package/dist/4341.js +1 -0
  20. package/dist/4341.js.map +1 -0
  21. package/dist/4618.js +1 -1
  22. package/dist/4652.js +1 -1
  23. package/dist/4687.js +1 -0
  24. package/dist/4687.js.map +1 -0
  25. package/dist/4937.js +1 -1
  26. package/dist/4937.js.map +1 -1
  27. package/dist/4944.js +1 -1
  28. package/dist/5173.js +1 -1
  29. package/dist/5241.js +1 -1
  30. package/dist/5442.js +1 -1
  31. package/dist/5661.js +1 -1
  32. package/dist/5670.js +1 -0
  33. package/dist/5670.js.map +1 -0
  34. package/dist/6022.js +1 -1
  35. package/dist/6336.js +1 -0
  36. package/dist/6336.js.map +1 -0
  37. package/dist/6364.js +1 -0
  38. package/dist/6364.js.map +1 -0
  39. package/dist/6411.js +1 -1
  40. package/dist/6468.js +1 -1
  41. package/dist/6473.js +1 -0
  42. package/dist/6473.js.map +1 -0
  43. package/dist/6542.js +1 -1
  44. package/dist/6679.js +1 -1
  45. package/dist/6840.js +1 -1
  46. package/dist/6859.js +1 -1
  47. package/dist/7097.js +1 -1
  48. package/dist/7159.js +1 -1
  49. package/dist/723.js +1 -1
  50. package/dist/7617.js +1 -1
  51. package/dist/7657.js +2 -0
  52. package/dist/7657.js.map +1 -0
  53. package/dist/795.js +1 -1
  54. package/dist/8154.js +1 -1
  55. package/dist/8154.js.map +1 -1
  56. package/dist/8163.js +1 -1
  57. package/dist/8349.js +1 -1
  58. package/dist/8416.js +1 -0
  59. package/dist/8416.js.map +1 -0
  60. package/dist/8618.js +1 -1
  61. package/dist/890.js +1 -1
  62. package/dist/9214.js +1 -1
  63. package/dist/9538.js +1 -1
  64. package/dist/9569.js +1 -1
  65. package/dist/986.js +1 -1
  66. package/dist/9879.js +1 -1
  67. package/dist/9895.js +1 -1
  68. package/dist/9900.js +1 -1
  69. package/dist/9913.js +1 -1
  70. package/dist/main.js +1 -1
  71. package/dist/main.js.map +1 -1
  72. package/dist/openmrs-esm-patient-orders-app.js +1 -1
  73. package/dist/openmrs-esm-patient-orders-app.js.buildmanifest.json +307 -330
  74. package/dist/openmrs-esm-patient-orders-app.js.map +1 -1
  75. package/dist/routes.json +1 -1
  76. package/package.json +5 -4
  77. package/src/api/api.ts +16 -30
  78. package/src/components/general-order-table.scss +4 -1
  79. package/src/components/order-details-table.component.tsx +88 -54
  80. package/src/components/test-order.scss +4 -2
  81. package/src/dashboard.meta.ts +3 -1
  82. package/src/index.ts +12 -9
  83. package/src/lab-results/{lab-results-form.component.tsx → exported-lab-results-form.workspace.tsx} +68 -67
  84. package/src/lab-results/lab-results-form-field.component.tsx +8 -5
  85. package/src/lab-results/lab-results-form.test.tsx +23 -21
  86. package/src/lab-results/lab-results-form.workspace.tsx +25 -0
  87. package/src/lab-results/print-results/print-modal/print-results-modal.tsx +5 -1
  88. package/src/order-basket/exported-order-basket.workspace.tsx +54 -0
  89. package/src/order-basket/general-order-type/{orderable-concept-search/orderable-concept-search.workspace.tsx → add-general-order/add-general-order.component.tsx} +89 -80
  90. package/src/order-basket/general-order-type/add-general-order/add-general-order.workspace.tsx +35 -0
  91. package/src/order-basket/general-order-type/add-general-order/exported-add-general-order.workspace.tsx +32 -0
  92. package/src/order-basket/general-order-type/{orderable-concept-search → add-general-order}/search-results.component.tsx +21 -15
  93. package/src/order-basket/general-order-type/general-order-form/general-order-form.component.tsx +70 -23
  94. package/src/order-basket/general-order-type/{general-order-type.component.tsx → general-order-panel.component.tsx} +35 -52
  95. package/src/order-basket/general-order-type/resources.ts +4 -3
  96. package/src/order-basket/order-basket.component.tsx +213 -0
  97. package/src/order-basket/order-basket.workspace.tsx +35 -235
  98. package/src/order-basket-action-button/order-basket-action-button.component.tsx +35 -0
  99. package/src/order-basket-action-button/order-basket-action-button.test.tsx +28 -61
  100. package/src/order-cancellation-form/cancel-order-form.component.tsx +82 -85
  101. package/src/routes.json +19 -27
  102. package/src/utils/index.ts +15 -3
  103. package/translations/am.json +2 -0
  104. package/translations/ar.json +2 -0
  105. package/translations/ar_SY.json +2 -0
  106. package/translations/bn.json +2 -0
  107. package/translations/de.json +2 -0
  108. package/translations/en.json +5 -9
  109. package/translations/en_US.json +2 -0
  110. package/translations/es.json +2 -0
  111. package/translations/es_MX.json +2 -0
  112. package/translations/fr.json +5 -3
  113. package/translations/he.json +2 -0
  114. package/translations/hi.json +2 -0
  115. package/translations/hi_IN.json +2 -0
  116. package/translations/id.json +2 -0
  117. package/translations/it.json +8 -6
  118. package/translations/ka.json +2 -0
  119. package/translations/km.json +2 -0
  120. package/translations/ku.json +2 -0
  121. package/translations/ky.json +2 -0
  122. package/translations/lg.json +2 -0
  123. package/translations/ne.json +2 -0
  124. package/translations/pl.json +2 -0
  125. package/translations/pt.json +2 -0
  126. package/translations/pt_BR.json +2 -0
  127. package/translations/qu.json +2 -0
  128. package/translations/ro_RO.json +2 -0
  129. package/translations/ru_RU.json +2 -0
  130. package/translations/si.json +2 -0
  131. package/translations/sw.json +2 -0
  132. package/translations/sw_KE.json +2 -0
  133. package/translations/tr.json +2 -0
  134. package/translations/tr_TR.json +2 -0
  135. package/translations/uk.json +2 -0
  136. package/translations/uz.json +2 -0
  137. package/translations/uz@Latn.json +2 -0
  138. package/translations/uz_UZ.json +2 -0
  139. package/translations/vi.json +2 -0
  140. package/translations/zh.json +2 -0
  141. package/translations/zh_CN.json +2 -0
  142. package/dist/1571.js +0 -1
  143. package/dist/1571.js.map +0 -1
  144. package/dist/2537.js +0 -1
  145. package/dist/2537.js.map +0 -1
  146. package/dist/4051.js +0 -1
  147. package/dist/4051.js.map +0 -1
  148. package/dist/4918.js +0 -1
  149. package/dist/4918.js.map +0 -1
  150. package/dist/5048.js +0 -1
  151. package/dist/5048.js.map +0 -1
  152. package/dist/6432.js +0 -1
  153. package/dist/6432.js.map +0 -1
  154. package/dist/717.js +0 -1
  155. package/dist/717.js.map +0 -1
  156. package/dist/7202.js +0 -1
  157. package/dist/7202.js.map +0 -1
  158. package/dist/7337.js +0 -2
  159. package/dist/7337.js.map +0 -1
  160. package/dist/7817.js +0 -2
  161. package/dist/7817.js.map +0 -1
  162. package/dist/8625.js +0 -1
  163. package/dist/8625.js.map +0 -1
  164. package/dist/8960.js +0 -1
  165. package/dist/8960.js.map +0 -1
  166. package/src/order-basket-action-button/order-basket-action-button.extension.tsx +0 -23
  167. /package/dist/{7817.js.LICENSE.txt → 1268.js.LICENSE.txt} +0 -0
  168. /package/dist/{7337.js.LICENSE.txt → 7657.js.LICENSE.txt} +0 -0
  169. /package/src/order-basket/general-order-type/{orderable-concept-search → add-general-order}/orderable-concept-search.scss +0 -0
  170. /package/src/order-basket/general-order-type/{orderable-concept-search → add-general-order}/search-results.scss +0 -0
@@ -5,20 +5,19 @@ import { useTranslation } from 'react-i18next';
5
5
  import { z } from 'zod';
6
6
  import { zodResolver } from '@hookform/resolvers/zod';
7
7
  import { Button, TextArea, ButtonSet, Column, Form, InlineNotification, Stack, InlineLoading } from '@carbon/react';
8
- import { OpenmrsDatePicker, showSnackbar, useLayoutType } from '@openmrs/esm-framework';
9
- import { type DefaultPatientWorkspaceProps, usePatientOrders, type Order } from '@openmrs/esm-patient-common-lib';
8
+ import { OpenmrsDatePicker, showSnackbar, useLayoutType, Workspace2 } from '@openmrs/esm-framework';
9
+ import { type Order, type PatientWorkspace2DefinitionProps, usePatientOrders } from '@openmrs/esm-patient-common-lib';
10
10
  import { cancelOrder } from './cancel-order.resource';
11
11
  import styles from './cancel-order-form.scss';
12
12
 
13
- interface OrderCancellationFormProps extends DefaultPatientWorkspaceProps {
13
+ interface OrderCancellationFormProps {
14
14
  order: Order;
15
15
  }
16
16
 
17
- const OrderCancellationForm: React.FC<OrderCancellationFormProps> = ({
18
- order,
19
- patientUuid,
17
+ const OrderCancellationForm: React.FC<PatientWorkspace2DefinitionProps<OrderCancellationFormProps, {}>> = ({
18
+ workspaceProps: { order },
19
+ groupProps: { patientUuid },
20
20
  closeWorkspace,
21
- promptBeforeClosing,
22
21
  }) => {
23
22
  const { t } = useTranslation();
24
23
  const isTablet = useLayoutType() === 'tablet';
@@ -57,10 +56,6 @@ const OrderCancellationForm: React.FC<OrderCancellationFormProps> = ({
57
56
  }
58
57
  }
59
58
 
60
- useEffect(() => {
61
- promptBeforeClosing(() => isDirty);
62
- }, [isDirty, promptBeforeClosing]);
63
-
64
59
  const cancelOrderRequest = useCallback(
65
60
  (data: CancelOrderFormData) => {
66
61
  const formData = data;
@@ -98,82 +93,84 @@ const OrderCancellationForm: React.FC<OrderCancellationFormProps> = ({
98
93
  );
99
94
 
100
95
  return (
101
- <Form className={styles.form}>
102
- <div className={styles.grid}>
103
- <Stack>
104
- <section>
105
- <h4 className={styles.orderDisplay}>{order?.display}</h4>
106
- </section>
107
- <section>
108
- <Controller
109
- name="cancellationDate"
110
- control={control}
111
- render={({ field, fieldState }) => (
112
- <div className={styles.row}>
113
- <OpenmrsDatePicker
114
- {...field}
115
- id="cancellationDate"
116
- minDate={dayjs().startOf('day')}
117
- labelText={t('cancellationDate', 'Cancellation date')}
118
- invalid={Boolean(fieldState?.error?.message)}
119
- invalidText={fieldState?.error?.message}
120
- />
121
- </div>
122
- )}
123
- />
124
- </section>
125
- <section>
126
- <Controller
127
- name="reasonForCancellation"
128
- control={control}
129
- render={({ field: { onChange, value } }) => (
130
- <div className={styles.row}>
131
- <TextArea
132
- type="text"
133
- id="reasonForCancellation"
134
- labelText={t('reasonForCancellation', 'Reason for cancellation')}
135
- value={value}
136
- onChange={(evt) => onChange(evt.target.value)}
137
- invalid={!!errors['reasonForCancellation']}
138
- invalidText={!!errors['reasonForCancellation'] && errors['reasonForCancellation'].message}
139
- />
140
- </div>
141
- )}
142
- />
143
- </section>
144
- </Stack>
145
- </div>
96
+ <Workspace2 title={t('orderCancellation', 'Order cancellation')} hasUnsavedChanges={isDirty}>
97
+ <Form className={styles.form}>
98
+ <div className={styles.grid}>
99
+ <Stack>
100
+ <section>
101
+ <h4 className={styles.orderDisplay}>{order?.display}</h4>
102
+ </section>
103
+ <section>
104
+ <Controller
105
+ name="cancellationDate"
106
+ control={control}
107
+ render={({ field, fieldState }) => (
108
+ <div className={styles.row}>
109
+ <OpenmrsDatePicker
110
+ {...field}
111
+ id="cancellationDate"
112
+ minDate={dayjs().startOf('day')}
113
+ labelText={t('cancellationDate', 'Cancellation date')}
114
+ invalid={Boolean(fieldState?.error?.message)}
115
+ invalidText={fieldState?.error?.message}
116
+ />
117
+ </div>
118
+ )}
119
+ />
120
+ </section>
121
+ <section>
122
+ <Controller
123
+ name="reasonForCancellation"
124
+ control={control}
125
+ render={({ field: { onChange, value } }) => (
126
+ <div className={styles.row}>
127
+ <TextArea
128
+ type="text"
129
+ id="reasonForCancellation"
130
+ labelText={t('reasonForCancellation', 'Reason for cancellation')}
131
+ value={value}
132
+ onChange={(evt) => onChange(evt.target.value)}
133
+ invalid={!!errors['reasonForCancellation']}
134
+ invalidText={!!errors['reasonForCancellation'] && errors['reasonForCancellation'].message}
135
+ />
136
+ </div>
137
+ )}
138
+ />
139
+ </section>
140
+ </Stack>
141
+ </div>
146
142
 
147
- {showErrorNotification && (
148
- <Column className={styles.errorContainer}>
149
- <InlineNotification
150
- lowContrast
151
- title={t('error', 'Error')}
152
- subtitle={t('pleaseFillRequiredFields', 'Please fill all the required fields') + '.'}
153
- onClose={() => setShowErrorNotification(false)}
154
- />
155
- </Column>
156
- )}
143
+ {showErrorNotification && (
144
+ <Column className={styles.errorContainer}>
145
+ <InlineNotification
146
+ lowContrast
147
+ title={t('error', 'Error')}
148
+ subtitle={t('pleaseFillRequiredFields', 'Please fill all the required fields') + '.'}
149
+ onClose={() => setShowErrorNotification(false)}
150
+ />
151
+ </Column>
152
+ )}
157
153
 
158
- <ButtonSet className={isTablet ? styles.tablet : styles.desktop}>
159
- <Button className={styles.button} kind="secondary" onClick={() => closeWorkspace()}>
160
- {t('discard', 'Discard')}
161
- </Button>
162
- <Button
163
- className={styles.button}
164
- kind="primary"
165
- onClick={handleSubmit(cancelOrderRequest, onError)}
166
- disabled={isSubmitting}
167
- type="submit"
168
- >
169
- {isSubmitting ? (
170
- <InlineLoading description={t('saving', 'Saving') + '...'} />
171
- ) : (
172
- t('saveAndClose', 'Save and close')
173
- )}
174
- </Button>
175
- </ButtonSet>
176
- </Form>
154
+ <ButtonSet className={isTablet ? styles.tablet : styles.desktop}>
155
+ <Button className={styles.button} kind="secondary" onClick={() => closeWorkspace()}>
156
+ {t('discard', 'Discard')}
157
+ </Button>
158
+ <Button
159
+ className={styles.button}
160
+ kind="primary"
161
+ onClick={handleSubmit(cancelOrderRequest, onError)}
162
+ disabled={isSubmitting}
163
+ type="submit"
164
+ >
165
+ {isSubmitting ? (
166
+ <InlineLoading description={t('saving', 'Saving') + '...'} />
167
+ ) : (
168
+ t('saveAndClose', 'Save and close')
169
+ )}
170
+ </Button>
171
+ </ButtonSet>
172
+ </Form>
173
+ </Workspace2>
177
174
  );
178
175
  };
179
176
 
package/src/routes.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json.openmrs.org/routes.schema.json",
3
3
  "backendDependencies": {
4
- "webservices.rest": "^2.2.0"
4
+ "webservices.rest": ">=2.2.0"
5
5
  },
6
6
  "optionalBackendDependencies": {
7
7
  "fhirproxy": "^1.0.0-SNAPSHOT",
8
- "stockmanagement": "^1.4.0 || ^2.0.0",
8
+ "stockmanagement": "^1.4.0 || ^2.0.0 || >=3.0.0-0",
9
9
  "billing": "^1.2.0-SNAPSHOT"
10
10
  },
11
11
  "extensions": [
@@ -21,14 +21,6 @@
21
21
  "slot": "order-item-additional-info-slot",
22
22
  "order": 1
23
23
  },
24
- {
25
- "name": "order-basket-action-menu",
26
- "component": "orderBasketActionMenu",
27
- "slots": [
28
- "action-menu-patient-chart-items-slot",
29
- "action-menu-ward-patient-items-slot"
30
- ]
31
- },
32
24
  {
33
25
  "name": "lab-result",
34
26
  "component": "labResult",
@@ -63,33 +55,33 @@
63
55
  }
64
56
  }
65
57
  ],
66
- "workspaces": [
58
+ "workspaces2": [
67
59
  {
68
60
  "name": "order-basket",
69
- "title": "orderBasketWorkspaceTitle",
70
61
  "component": "orderBasketWorkspace",
71
- "type": "order",
72
- "canHide": true
73
- },
74
- {
75
- "name": "patient-orders-form-workspace",
76
- "title": "orderCancellation",
77
- "component": "patientOrdersFormWorkspace",
78
- "type": "order",
79
- "canHide": false
62
+ "window": "patient-chart-order-basket"
80
63
  },
81
64
  {
82
65
  "name": "test-results-form-workspace",
83
- "title": "enterTestResults",
84
66
  "component": "testResultsFormWorkspace",
85
- "type": "lab-results",
86
- "canHide": false
67
+ "window": "lab-results"
87
68
  },
88
69
  {
89
70
  "name": "orderable-concept-workspace",
90
- "title": "searchOrderables",
91
- "component": "orderableConceptSearch",
92
- "type": "order"
71
+ "component": "addGeneralOrderWorkspace",
72
+ "window": "patient-chart-order-basket"
73
+ }
74
+ ],
75
+ "workspaceWindows2": [
76
+ {
77
+ "name": "patient-chart-order-basket",
78
+ "icon": "ShoppingCartIcon",
79
+ "group": "patient-chart",
80
+ "order": 1
81
+ },
82
+ {
83
+ "name": "lab-results",
84
+ "group": "patient-chart"
93
85
  }
94
86
  ],
95
87
  "modals": [
@@ -1,4 +1,10 @@
1
- import { type Order, type OrderAction, type OrderBasketItem } from '@openmrs/esm-patient-common-lib';
1
+ import {
2
+ type DrugOrderBasketItem,
3
+ type TestOrderBasketItem,
4
+ type Order,
5
+ type OrderAction,
6
+ type OrderBasketItem,
7
+ } from '@openmrs/esm-patient-common-lib';
2
8
  import { type ObservationValue } from '../types/encounter';
3
9
 
4
10
  /**
@@ -24,7 +30,7 @@ export function compare<T>(x?: T, y?: T) {
24
30
  /**
25
31
  * Builds medication order object from the given order object
26
32
  */
27
- export function buildMedicationOrder(order: Order, action?: OrderAction) {
33
+ export function buildMedicationOrder(order: Order, action?: OrderAction): DrugOrderBasketItem {
28
34
  return {
29
35
  display: order.drug?.display,
30
36
  previousOrder: action !== 'NEW' ? order.uuid : null,
@@ -64,13 +70,15 @@ export function buildMedicationOrder(order: Order, action?: OrderAction) {
64
70
  value: order.quantityUnits?.display,
65
71
  valueCoded: order.quantityUnits?.uuid,
66
72
  },
73
+ encounterUuid: order.encounter?.uuid,
74
+ visit: order.encounter.visit,
67
75
  };
68
76
  }
69
77
 
70
78
  /**
71
79
  * Builds lab order object from the given order object
72
80
  */
73
- export function buildLabOrder(order: Order, action?: OrderAction) {
81
+ export function buildLabOrder(order: Order, action?: OrderAction): TestOrderBasketItem {
74
82
  return {
75
83
  action: action,
76
84
  display: order.display,
@@ -89,6 +97,8 @@ export function buildLabOrder(order: Order, action?: OrderAction) {
89
97
  orderType: order.orderType.uuid,
90
98
  specimenSource: null,
91
99
  scheduledDate: order.scheduledDate ? new Date(order.scheduledDate) : null,
100
+ encounterUuid: order.encounter?.uuid,
101
+ visit: order.encounter.visit,
92
102
  };
93
103
  }
94
104
 
@@ -109,6 +119,8 @@ export function buildGeneralOrder(order: Order, action?: OrderAction): OrderBask
109
119
  orderNumber: order.orderNumber,
110
120
  orderType: order.orderType.uuid,
111
121
  scheduledDate: order.scheduledDate ? new Date(order.scheduledDate) : null,
122
+ encounterUuid: order.encounter?.uuid,
123
+ visit: order.encounter.visit,
112
124
  };
113
125
  }
114
126
 
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "إضافة النتائج",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -18,16 +19,17 @@
18
19
  "dateRange": "Date range",
19
20
  "directlyAddToBasket": "Add to basket",
20
21
  "discard": "Discard",
21
- "discontinued": "Discontinued",
22
22
  "dosage": "Dosage",
23
23
  "dose": "Dose",
24
24
  "drugOrders": "drug orders",
25
+ "editOrderableForOrderType": "Edit {{orderTypeDisplay}}",
25
26
  "editResults": "Edit results",
26
27
  "endDate": "End date",
27
28
  "enterTestResults": "Enter test results",
28
29
  "error": "Error",
29
30
  "errorCancellingOrder": "Error cancelling order",
30
31
  "errorFetchingTestTypes": "Error fetching results for \"{{searchTerm}}\"",
32
+ "errorSavingDrugOrder": "Error saving order",
31
33
  "errorSavingLabResults": "Error saving lab results",
32
34
  "goToDrugOrderForm": "Order form",
33
35
  "indication": "Indication",
@@ -43,7 +45,6 @@
43
45
  "loadingTestDetails": "Loading test details",
44
46
  "medicationDurationAndUnit": "for {{duration}} {{durationUnit}}",
45
47
  "medicationIndefiniteDuration": "Indefinite duration",
46
- "medications": "Medications",
47
48
  "modifyOrder": "Modify order",
48
49
  "noIndicationProvided": "No indication provided",
49
50
  "noMatchingOrdersToDisplay": "No matching orders to display",
@@ -64,9 +65,7 @@
64
65
  "orderBasketWorkspaceTitle": "Order basket",
65
66
  "orderCancellation": "Order cancellation",
66
67
  "orderCancelled": "Order cancelled",
67
- "orderCompleted": "Placed orders",
68
68
  "orderDetails": "Order details",
69
- "ordered": "Placed order for",
70
69
  "orderedBy": "Ordered by",
71
70
  "ordererInformation": "Orderer information",
72
71
  "orderNumber": "Order number",
@@ -103,24 +102,21 @@
103
102
  "scheduledDateRequired": "Scheduled date is required",
104
103
  "searchAgain": "search again",
105
104
  "searchFieldOrder": "Search for {{orderType}} order",
106
- "searchOrderables": "Search orderables",
107
105
  "searchResultsMatchesForTerm_one": "{{count}} results for \"{{searchTerm}}\"",
108
106
  "searchResultsMatchesForTerm_other": "{{count}} results for \"{{searchTerm}}\"",
109
107
  "searchTable": "Search table",
110
108
  "selectOrderType": "Select order type",
111
109
  "signAndClose": "Sign and close",
112
- "startAVisitToRecordOrders": "Start a visit to order",
113
- "startVisit": "Start visit",
114
110
  "status": "Status",
115
111
  "successfullyCancelledOrder": "Order {{orderNumber}} has been cancelled successfully",
116
112
  "successfullySavedLabResults": "Lab results for {{orderNumber}} have been successfully updated",
113
+ "successSavingDrugOrder": "Order saved",
117
114
  "test": "Test",
118
115
  "testOrders": "test orders",
119
116
  "testType": "Test type",
120
117
  "tryReopeningTheWorkspaceAgain": "Please try launching the workspace again",
121
118
  "trySearchingAgain": "Please try searching again",
122
119
  "tryTo": "Try to",
123
- "updated": "Updated",
124
120
  "usingADifferentTerm": "using a different term",
125
- "visitRequired": "A visit is required to make orders"
121
+ "view": "View"
126
122
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Menú de acciones",
3
3
  "add": "Agregar",
4
4
  "additionalInstructions": "Instrucciones adicionales",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Agregar {{orderTypeDisplay}}",
6
7
  "addResults": "Agregar resultados",
7
8
  "allOrders": "Todas las órdenes",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Intente",
123
124
  "updated": "Actualizado",
124
125
  "usingADifferentTerm": "utilizando un término diferente",
126
+ "view": "View",
125
127
  "visitRequired": "Se requiere una consulta para realizar órdenes"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions",
3
3
  "add": "Ajouter",
4
4
  "additionalInstructions": "Instructions supplémentaires",
5
+ "addMedication": "Ajouter un traitement",
5
6
  "addOrderableForOrderType": "{{orderTypeDisplay}}",
6
7
  "addResults": "Entrer des résultats",
7
8
  "allOrders": "Toutes les prescriptions",
@@ -21,7 +22,7 @@
21
22
  "discontinued": "Arrêté",
22
23
  "dosage": "Posologie",
23
24
  "dose": "Dose",
24
- "drugOrders": "drug orders",
25
+ "drugOrders": "Prescriptions",
25
26
  "editResults": "Modifier les résultats",
26
27
  "endDate": "Date de fin",
27
28
  "enterTestResults": "Saisir des résultats d'examens",
@@ -49,7 +50,7 @@
49
50
  "noMatchingOrdersToDisplay": "Aucune prescription à afficher",
50
51
  "noResultsForTestTypeSearch": "Aucun résultat pour \"{{searchTerm}}\"",
51
52
  "normalRange": "Plage normale",
52
- "notApplicable": "N/A",
53
+ "notApplicable": "Non disponible",
53
54
  "noTestData": "Aucune donnée d’analyse disponible.",
54
55
  "onDate": "on",
55
56
  "or": "ou",
@@ -72,7 +73,7 @@
72
73
  "orderNumber": "Numéro de référence",
73
74
  "orders": "Ordonnances",
74
75
  "Orders": "Ordonnances",
75
- "ordersLower": "orders",
76
+ "ordersLower": "ordonnances",
76
77
  "orderType": "Type d'ordre",
77
78
  "outOfStock": "En rupture de stock",
78
79
  "pleaseFillField": "Veuillez remplir au moins un champ",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Essayez de",
123
124
  "updated": "Modifié",
124
125
  "usingADifferentTerm": "en utilisant un terme différent",
126
+ "view": "Afficher",
125
127
  "visitRequired": "Une visite est requise pour passer des prescriptions"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Actions menu",
3
3
  "add": "Add",
4
4
  "additionalInstructions": "Additional instructions",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Add {{orderTypeDisplay}}",
6
7
  "addResults": "Add results",
7
8
  "allOrders": "All orders",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Try to",
123
124
  "updated": "Updated",
124
125
  "usingADifferentTerm": "using a different term",
126
+ "view": "View",
125
127
  "visitRequired": "A visit is required to make orders"
126
128
  }
@@ -2,6 +2,7 @@
2
2
  "actionsMenu": "Menu tindakan",
3
3
  "add": "Tambah",
4
4
  "additionalInstructions": "Instruksi tambahan",
5
+ "addMedication": "Add medication",
5
6
  "addOrderableForOrderType": "Tambahkan {{orderTypeDisplay}}",
6
7
  "addResults": "Tambahkan hasil",
7
8
  "allOrders": "Semua pesanan",
@@ -122,5 +123,6 @@
122
123
  "tryTo": "Coba",
123
124
  "updated": "Diperbarui",
124
125
  "usingADifferentTerm": "menggunakan istilah yang berbeda",
126
+ "view": "View",
125
127
  "visitRequired": "Kunjungan diperlukan untuk membuat pesanan"
126
128
  }