@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.
- package/.turbo/turbo-build.log +26 -23
- package/dist/1119.js +1 -1
- package/dist/1197.js +1 -1
- package/dist/1253.js +1 -0
- package/dist/1253.js.map +1 -0
- package/dist/1268.js +2 -0
- package/dist/1268.js.map +1 -0
- package/dist/2146.js +1 -1
- package/dist/2690.js +1 -1
- package/dist/3099.js +1 -1
- package/dist/3584.js +1 -1
- package/dist/3685.js +1 -1
- package/dist/375.js +1 -0
- package/dist/375.js.map +1 -0
- package/dist/4055.js +1 -1
- package/dist/4132.js +1 -1
- package/dist/4300.js +1 -1
- package/dist/4335.js +1 -1
- package/dist/4341.js +1 -0
- package/dist/4341.js.map +1 -0
- package/dist/4618.js +1 -1
- package/dist/4652.js +1 -1
- package/dist/4687.js +1 -0
- package/dist/4687.js.map +1 -0
- package/dist/4937.js +1 -1
- package/dist/4937.js.map +1 -1
- package/dist/4944.js +1 -1
- package/dist/5173.js +1 -1
- package/dist/5241.js +1 -1
- package/dist/5442.js +1 -1
- package/dist/5661.js +1 -1
- package/dist/5670.js +1 -0
- package/dist/5670.js.map +1 -0
- package/dist/6022.js +1 -1
- package/dist/6336.js +1 -0
- package/dist/6336.js.map +1 -0
- package/dist/6364.js +1 -0
- package/dist/6364.js.map +1 -0
- package/dist/6411.js +1 -1
- package/dist/6468.js +1 -1
- package/dist/6473.js +1 -0
- package/dist/6473.js.map +1 -0
- package/dist/6542.js +1 -1
- package/dist/6679.js +1 -1
- package/dist/6840.js +1 -1
- package/dist/6859.js +1 -1
- package/dist/7097.js +1 -1
- package/dist/7159.js +1 -1
- package/dist/723.js +1 -1
- package/dist/7617.js +1 -1
- package/dist/7657.js +2 -0
- package/dist/7657.js.map +1 -0
- package/dist/795.js +1 -1
- package/dist/8154.js +1 -1
- package/dist/8154.js.map +1 -1
- package/dist/8163.js +1 -1
- package/dist/8349.js +1 -1
- package/dist/8416.js +1 -0
- package/dist/8416.js.map +1 -0
- package/dist/8618.js +1 -1
- package/dist/890.js +1 -1
- package/dist/9214.js +1 -1
- package/dist/9538.js +1 -1
- package/dist/9569.js +1 -1
- package/dist/986.js +1 -1
- package/dist/9879.js +1 -1
- package/dist/9895.js +1 -1
- package/dist/9900.js +1 -1
- package/dist/9913.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-orders-app.js +1 -1
- package/dist/openmrs-esm-patient-orders-app.js.buildmanifest.json +307 -330
- package/dist/openmrs-esm-patient-orders-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +5 -4
- package/src/api/api.ts +16 -30
- package/src/components/general-order-table.scss +4 -1
- package/src/components/order-details-table.component.tsx +88 -54
- package/src/components/test-order.scss +4 -2
- package/src/dashboard.meta.ts +3 -1
- package/src/index.ts +12 -9
- package/src/lab-results/{lab-results-form.component.tsx → exported-lab-results-form.workspace.tsx} +68 -67
- package/src/lab-results/lab-results-form-field.component.tsx +8 -5
- package/src/lab-results/lab-results-form.test.tsx +23 -21
- package/src/lab-results/lab-results-form.workspace.tsx +25 -0
- package/src/lab-results/print-results/print-modal/print-results-modal.tsx +5 -1
- package/src/order-basket/exported-order-basket.workspace.tsx +54 -0
- 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
- package/src/order-basket/general-order-type/add-general-order/add-general-order.workspace.tsx +35 -0
- package/src/order-basket/general-order-type/add-general-order/exported-add-general-order.workspace.tsx +32 -0
- package/src/order-basket/general-order-type/{orderable-concept-search → add-general-order}/search-results.component.tsx +21 -15
- package/src/order-basket/general-order-type/general-order-form/general-order-form.component.tsx +70 -23
- package/src/order-basket/general-order-type/{general-order-type.component.tsx → general-order-panel.component.tsx} +35 -52
- package/src/order-basket/general-order-type/resources.ts +4 -3
- package/src/order-basket/order-basket.component.tsx +213 -0
- package/src/order-basket/order-basket.workspace.tsx +35 -235
- package/src/order-basket-action-button/order-basket-action-button.component.tsx +35 -0
- package/src/order-basket-action-button/order-basket-action-button.test.tsx +28 -61
- package/src/order-cancellation-form/cancel-order-form.component.tsx +82 -85
- package/src/routes.json +19 -27
- package/src/utils/index.ts +15 -3
- package/translations/am.json +2 -0
- package/translations/ar.json +2 -0
- package/translations/ar_SY.json +2 -0
- package/translations/bn.json +2 -0
- package/translations/de.json +2 -0
- package/translations/en.json +5 -9
- package/translations/en_US.json +2 -0
- package/translations/es.json +2 -0
- package/translations/es_MX.json +2 -0
- package/translations/fr.json +5 -3
- package/translations/he.json +2 -0
- package/translations/hi.json +2 -0
- package/translations/hi_IN.json +2 -0
- package/translations/id.json +2 -0
- package/translations/it.json +8 -6
- package/translations/ka.json +2 -0
- package/translations/km.json +2 -0
- package/translations/ku.json +2 -0
- package/translations/ky.json +2 -0
- package/translations/lg.json +2 -0
- package/translations/ne.json +2 -0
- package/translations/pl.json +2 -0
- package/translations/pt.json +2 -0
- package/translations/pt_BR.json +2 -0
- package/translations/qu.json +2 -0
- package/translations/ro_RO.json +2 -0
- package/translations/ru_RU.json +2 -0
- package/translations/si.json +2 -0
- package/translations/sw.json +2 -0
- package/translations/sw_KE.json +2 -0
- package/translations/tr.json +2 -0
- package/translations/tr_TR.json +2 -0
- package/translations/uk.json +2 -0
- package/translations/uz.json +2 -0
- package/translations/uz@Latn.json +2 -0
- package/translations/uz_UZ.json +2 -0
- package/translations/vi.json +2 -0
- package/translations/zh.json +2 -0
- package/translations/zh_CN.json +2 -0
- package/dist/1571.js +0 -1
- package/dist/1571.js.map +0 -1
- package/dist/2537.js +0 -1
- package/dist/2537.js.map +0 -1
- package/dist/4051.js +0 -1
- package/dist/4051.js.map +0 -1
- package/dist/4918.js +0 -1
- package/dist/4918.js.map +0 -1
- package/dist/5048.js +0 -1
- package/dist/5048.js.map +0 -1
- package/dist/6432.js +0 -1
- package/dist/6432.js.map +0 -1
- package/dist/717.js +0 -1
- package/dist/717.js.map +0 -1
- package/dist/7202.js +0 -1
- package/dist/7202.js.map +0 -1
- package/dist/7337.js +0 -2
- package/dist/7337.js.map +0 -1
- package/dist/7817.js +0 -2
- package/dist/7817.js.map +0 -1
- package/dist/8625.js +0 -1
- package/dist/8625.js.map +0 -1
- package/dist/8960.js +0 -1
- package/dist/8960.js.map +0 -1
- package/src/order-basket-action-button/order-basket-action-button.extension.tsx +0 -23
- /package/dist/{7817.js.LICENSE.txt → 1268.js.LICENSE.txt} +0 -0
- /package/dist/{7337.js.LICENSE.txt → 7657.js.LICENSE.txt} +0 -0
- /package/src/order-basket/general-order-type/{orderable-concept-search → add-general-order}/orderable-concept-search.scss +0 -0
- /package/src/order-basket/general-order-type/{orderable-concept-search → add-general-order}/search-results.scss +0 -0
package/translations/it.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "Menu azioni",
|
|
3
3
|
"add": "Aggiungi",
|
|
4
4
|
"additionalInstructions": "Istruzioni aggiuntive",
|
|
5
|
+
"addMedication": "Add medication",
|
|
5
6
|
"addOrderableForOrderType": "Aggiungi {{orderTypeDisplay}}",
|
|
6
7
|
"addResults": "Aggiungi risultati",
|
|
7
8
|
"allOrders": "Tutti gli ordini",
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"discontinued": "Interrotto",
|
|
22
23
|
"dosage": "Dosaggio",
|
|
23
24
|
"dose": "Dose",
|
|
24
|
-
"drugOrders": "
|
|
25
|
+
"drugOrders": "ordini farmaci",
|
|
25
26
|
"editResults": "Modifica risultati",
|
|
26
27
|
"endDate": "Data di fine",
|
|
27
28
|
"enterTestResults": "Inserisci risultati test",
|
|
@@ -33,8 +34,8 @@
|
|
|
33
34
|
"indication": "Indicazione",
|
|
34
35
|
"inStock": "Disponibile",
|
|
35
36
|
"instructions": "Istruzioni",
|
|
36
|
-
"invalidLabTestConfiguration": "
|
|
37
|
-
"invalidLabTestConfigurationSubtitle": "
|
|
37
|
+
"invalidLabTestConfiguration": "Configurazione dell'analisi di laboratorio non valida",
|
|
38
|
+
"invalidLabTestConfigurationSubtitle": "Quest'analisi deve essere configurata con un tipo specifico (come un numero, testo o un elenco a scelta) per registrare i risultati correttamente. Contatta l'amministratore di sistema per correggere questo errore.",
|
|
38
39
|
"labResultError": "Errore nel caricamento dei risultati di laboratorio",
|
|
39
40
|
"launchOrderBasket": "Apri carrello ordini",
|
|
40
41
|
"loading": "Caricamento in corso",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"noResultsForTestTypeSearch": "Nessun risultato da visualizzare per \"{{searchTerm}}\"",
|
|
51
52
|
"normalRange": "Intervallo normale",
|
|
52
53
|
"notApplicable": "N/A",
|
|
53
|
-
"noTestData": "
|
|
54
|
+
"noTestData": "Dati del test non disponibili",
|
|
54
55
|
"onDate": "il",
|
|
55
56
|
"or": "o",
|
|
56
57
|
"order": "Ordine",
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
"orderNumber": "Numero ordine",
|
|
73
74
|
"orders": "Ordini",
|
|
74
75
|
"Orders": "Ordini",
|
|
75
|
-
"ordersLower": "
|
|
76
|
+
"ordersLower": "ordini",
|
|
76
77
|
"orderType": "Tipo di ordine",
|
|
77
78
|
"outOfStock": "Esaurito",
|
|
78
79
|
"pleaseFillField": "Compila almeno un campo",
|
|
@@ -115,12 +116,13 @@
|
|
|
115
116
|
"successfullyCancelledOrder": "Ordine {{orderNumber}} annullato con successo",
|
|
116
117
|
"successfullySavedLabResults": "Risultati di laboratorio per {{orderNumber}} aggiornati con successo",
|
|
117
118
|
"test": "Test",
|
|
118
|
-
"testOrders": "test
|
|
119
|
+
"testOrders": "ordini di test",
|
|
119
120
|
"testType": "Tipo di test",
|
|
120
121
|
"tryReopeningTheWorkspaceAgain": "Prova a riaprire l'area di lavoro",
|
|
121
122
|
"trySearchingAgain": "Prova a cercare di nuovo",
|
|
122
123
|
"tryTo": "Prova a",
|
|
123
124
|
"updated": "Aggiornato",
|
|
124
125
|
"usingADifferentTerm": "utilizzando un termine diverso",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "È richiesta una visita per poter fare ordini"
|
|
126
128
|
}
|
package/translations/ka.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "ქმედებების მენიუ",
|
|
3
3
|
"add": "დამატება",
|
|
4
4
|
"additionalInstructions": "დამატებითი ინსტრუქციები",
|
|
5
|
+
"addMedication": "Add medication",
|
|
5
6
|
"addOrderableForOrderType": "{{orderTypeDisplay}}-ის დამატება",
|
|
6
7
|
"addResults": "შედეგების დამატება",
|
|
7
8
|
"allOrders": "ყველა შეკვეთა",
|
|
@@ -122,5 +123,6 @@
|
|
|
122
123
|
"tryTo": "სცადეთ",
|
|
123
124
|
"updated": "განახლებულია",
|
|
124
125
|
"usingADifferentTerm": " სხვა პირობის გამოყენებით",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "A visit is required to make orders"
|
|
126
128
|
}
|
package/translations/km.json
CHANGED
|
@@ -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
|
}
|
package/translations/ku.json
CHANGED
|
@@ -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
|
}
|
package/translations/ky.json
CHANGED
|
@@ -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
|
}
|
package/translations/lg.json
CHANGED
|
@@ -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
|
}
|
package/translations/ne.json
CHANGED
|
@@ -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
|
}
|
package/translations/pl.json
CHANGED
|
@@ -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
|
}
|
package/translations/pt.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "Menu de acções",
|
|
3
3
|
"add": "Adicionar",
|
|
4
4
|
"additionalInstructions": "Additional instructions",
|
|
5
|
+
"addMedication": "Add medication",
|
|
5
6
|
"addOrderableForOrderType": "Add {{orderTypeDisplay}}",
|
|
6
7
|
"addResults": "Adicionar resultados",
|
|
7
8
|
"allOrders": "Todos pedidos",
|
|
@@ -122,5 +123,6 @@
|
|
|
122
123
|
"tryTo": "Try to",
|
|
123
124
|
"updated": "Actualizada",
|
|
124
125
|
"usingADifferentTerm": "using a different term",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "A visit is required to make orders"
|
|
126
128
|
}
|
package/translations/pt_BR.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "Menu de ações",
|
|
3
3
|
"add": "Adicionar",
|
|
4
4
|
"additionalInstructions": "Instruções adicionais",
|
|
5
|
+
"addMedication": "Add medication",
|
|
5
6
|
"addOrderableForOrderType": "Add {{orderTypeDisplay}}",
|
|
6
7
|
"addResults": "Adicionar resultados",
|
|
7
8
|
"allOrders": "Todos os pedidos",
|
|
@@ -122,5 +123,6 @@
|
|
|
122
123
|
"tryTo": "Tente",
|
|
123
124
|
"updated": "Atualizado",
|
|
124
125
|
"usingADifferentTerm": "usando um termo diferente",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "A visit is required to make orders"
|
|
126
128
|
}
|
package/translations/qu.json
CHANGED
|
@@ -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
|
}
|
package/translations/ro_RO.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "Meniu acțiuni",
|
|
3
3
|
"add": "Adaugă",
|
|
4
4
|
"additionalInstructions": "Instrucțiuni suplimentare",
|
|
5
|
+
"addMedication": "Add medication",
|
|
5
6
|
"addOrderableForOrderType": "Adaugă {{orderTypeDisplay}}",
|
|
6
7
|
"addResults": "Adaugă rezultate",
|
|
7
8
|
"allOrders": "Toate comenzile",
|
|
@@ -122,5 +123,6 @@
|
|
|
122
123
|
"tryTo": "Încearcă să",
|
|
123
124
|
"updated": "Actualizat",
|
|
124
125
|
"usingADifferentTerm": "folosind un alt termen",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "Este necesară o vizită pentru a crea comenzi"
|
|
126
128
|
}
|
package/translations/ru_RU.json
CHANGED
|
@@ -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
|
}
|
package/translations/si.json
CHANGED
|
@@ -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
|
}
|
package/translations/sw.json
CHANGED
|
@@ -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
|
}
|
package/translations/sw_KE.json
CHANGED
|
@@ -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
|
}
|
package/translations/tr.json
CHANGED
|
@@ -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
|
}
|
package/translations/tr_TR.json
CHANGED
|
@@ -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
|
}
|
package/translations/uk.json
CHANGED
|
@@ -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
|
}
|
package/translations/uz.json
CHANGED
|
@@ -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
|
}
|
package/translations/uz_UZ.json
CHANGED
|
@@ -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
|
}
|
package/translations/vi.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "Actions menu",
|
|
3
3
|
"add": "Thêm",
|
|
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": "Đã cập nhật",
|
|
124
125
|
"usingADifferentTerm": "using a different term",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "A visit is required to make orders"
|
|
126
128
|
}
|
package/translations/zh.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "Actions menu",
|
|
3
3
|
"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": "已更新",
|
|
124
125
|
"usingADifferentTerm": "using a different term",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "A visit is required to make orders"
|
|
126
128
|
}
|
package/translations/zh_CN.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"actionsMenu": "动作菜单",
|
|
3
3
|
"add": "添加",
|
|
4
4
|
"additionalInstructions": "附加说明",
|
|
5
|
+
"addMedication": "Add medication",
|
|
5
6
|
"addOrderableForOrderType": "添加{{orderTypeDisplay}}",
|
|
6
7
|
"addResults": "添加结果",
|
|
7
8
|
"allOrders": "所有医嘱",
|
|
@@ -122,5 +123,6 @@
|
|
|
122
123
|
"tryTo": "尝试",
|
|
123
124
|
"updated": "已更新",
|
|
124
125
|
"usingADifferentTerm": "使用不同的术语",
|
|
126
|
+
"view": "View",
|
|
125
127
|
"visitRequired": "必须有一次就诊才能下达医嘱"
|
|
126
128
|
}
|
package/dist/1571.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_patient_orders_app=globalThis.webpackChunk_openmrs_esm_patient_orders_app||[]).push([[1571],{16174:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(30977),i=t.n(a),r=t(95924),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-orders__lab-results-form__heading___fTKub{margin-bottom:1rem}.-esm-patient-orders__lab-results-form__label___s6dJc{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px)}.-esm-patient-orders__lab-results-form__loaderContainer___U\\+oN\\+{display:flex;justify-content:center;align-items:center;height:100%}.-esm-patient-orders__lab-results-form__loader___4SdWS{height:100%;justify-content:center;align-items:center}.-esm-patient-orders__lab-results-form__sectionTitle___Yxa21{margin-bottom:.75rem}.-esm-patient-orders__lab-results-form__modalBody___-xpgg{padding-bottom:1rem}.-esm-patient-orders__lab-results-form__formField___OF2zM{margin:.25rem 0 1rem}.-esm-patient-orders__lab-results-form__errorDiv___cihR1{color:#da1e28}.-esm-patient-orders__lab-results-form__button___95KrO{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-patient-orders__lab-results-form__button___95KrO .cds--inline-loading{min-height:1rem !important}.-esm-patient-orders__lab-results-form__button___95KrO .cds--inline-loading__text{font-size:unset !important}.-esm-patient-orders__lab-results-form__tablet___LLfFY{padding:1.5rem 1rem}.-esm-patient-orders__lab-results-form__desktop___pvHvx{padding:0}.-esm-patient-orders__lab-results-form__form___6Ln0z{display:flex;flex-direction:column;justify-content:space-between;height:100%}.-esm-patient-orders__lab-results-form__form___6Ln0z .cds--accordion__content{padding-inline-end:0}.-esm-patient-orders__lab-results-form__grid___OK2fB{margin:1rem;flex:1}.-esm-patient-orders__lab-results-form__row___jNFFF{margin:.5rem 0 0;display:flex;flex-flow:row wrap;gap:1rem}.-esm-patient-orders__lab-results-form__spacer___oWMw9{margin-top:1rem}.-esm-patient-orders__lab-results-form__emptyFormError___zemKE{margin:.625rem 0}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/lab-results/lab-results-form.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,wDACE,kBC0BW,CDvBb,sDE01BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFt1BJ,kEACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,WAAA,CAGF,uDACE,WAAA,CACA,sBAAA,CACA,kBAAA,CAGF,6DACE,oBAAA,CAGF,0DACE,mBCCW,CDEb,0DACE,oBAAA,CAGF,yDACE,aDhBO,CCmBT,uDACE,WCcW,CDbX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAEA,4EACE,0BAAA,CAGF,kFACE,0BAAA,CAIJ,uDACE,mBAAA,CAGF,wDACE,SAAA,CAGF,qDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,WAAA,CAGF,8EACE,oBAAA,CAGF,qDACE,WC9CW,CD+CX,MAAA,CAGF,oDACE,gBAAA,CACA,YAAA,CACA,kBAAA,CACA,QCtDW,CDyDb,uDACE,eC1DW,CD6Db,+DACE,gBAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.heading {\n margin-bottom: layout.$spacing-05;\n}\n\n.label {\n @include type.type-style('label-01');\n}\n\n.loaderContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n}\n\n.loader {\n height: 100%;\n justify-content: center;\n align-items: center;\n}\n\n.sectionTitle {\n margin-bottom: layout.$spacing-04;\n}\n\n.modalBody {\n padding-bottom: layout.$spacing-05;\n}\n\n.formField {\n margin: layout.$spacing-02 0 layout.$spacing-05;\n}\n\n.errorDiv {\n color: $danger;\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n min-width: 50%;\n\n :global(.cds--inline-loading) {\n min-height: layout.$spacing-05 !important;\n }\n\n :global(.cds--inline-loading__text) {\n font-size: unset !important;\n }\n}\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n}\n\n.desktop {\n padding: 0;\n}\n\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n}\n\n.form :global(.cds--accordion__content) {\n padding-inline-end: 0;\n}\n\n.grid {\n margin: layout.$spacing-05;\n flex: 1;\n}\n\n.row {\n margin: layout.$spacing-03 0 0;\n display: flex;\n flex-flow: row wrap;\n gap: layout.$spacing-05;\n}\n\n.spacer {\n margin-top: layout.$spacing-05;\n}\n\n.emptyFormError {\n margin: 0.625rem 0;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),o.locals={heading:"-esm-patient-orders__lab-results-form__heading___fTKub",label:"-esm-patient-orders__lab-results-form__label___s6dJc",loaderContainer:"-esm-patient-orders__lab-results-form__loaderContainer___U+oN+",loader:"-esm-patient-orders__lab-results-form__loader___4SdWS",sectionTitle:"-esm-patient-orders__lab-results-form__sectionTitle___Yxa21",modalBody:"-esm-patient-orders__lab-results-form__modalBody___-xpgg",formField:"-esm-patient-orders__lab-results-form__formField___OF2zM",errorDiv:"-esm-patient-orders__lab-results-form__errorDiv___cihR1",button:"-esm-patient-orders__lab-results-form__button___95KrO",tablet:"-esm-patient-orders__lab-results-form__tablet___LLfFY",desktop:"-esm-patient-orders__lab-results-form__desktop___pvHvx",form:"-esm-patient-orders__lab-results-form__form___6Ln0z",grid:"-esm-patient-orders__lab-results-form__grid___OK2fB",row:"-esm-patient-orders__lab-results-form__row___jNFFF",spacer:"-esm-patient-orders__lab-results-form__spacer___oWMw9",emptyFormError:"-esm-patient-orders__lab-results-form__emptyFormError___zemKE"};const l=o},51571:(e,n,t)=>{t.r(n),t.d(n,{default:()=>H});var a=t(1343),i=t.n(a),r=t(26817),o=t(53373),l=t.n(o),s=t(80824),p=t(93150),c=t(71123),u=t(81160),d=t(54440),f=t(1347),g=t(46195);function b(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){b(e,n,t[n])}))}return e}function h(e){var n={},t=$(e);t&&(n[e.uuid]=t);var a=(null==e?void 0:e.setMembers)?e.setMembers.reduce((function(e,n){return y({},e,h(n))}),{}):{};return y({},n,a)}var m=function(e){if(!e)return g.z.object({});var n=h(e);return g.z.object(n)},$=function(e){var n=e.hiAbsolute,t=e.lowAbsolute;switch(e.datatype.hl7Abbreviation){case"ST":return g.z.string().optional();case"NM":return v(e,n,t);case"CWE":var a,i,r=null!==(i=null===(a=e.answers)||void 0===a?void 0:a.map((function(e){return e.uuid})))&&void 0!==i?i:[];return r.length>0?g.z.enum(r).optional():g.z.string().optional();default:return null}},v=function(e,n,t){var a=e.allowDecimal,i=e.display,r=g.z.preprocess((function(e){if(""!==e&&null!=e){var n=Number(e);if(!isNaN(n))return n}}),g.z.number().optional()).refine((function(e){return void 0===e||!isNaN(e)}),{message:"".concat(i," must be a valid number")}).refine((function(e){return void 0===e||!!a||Number.isInteger(e)}),{message:"".concat(i,a?" must be a valid number":" must be a whole number")}),o=null!=t,l=null!=n;return o||l?o&&l?r.refine((function(e){return void 0===e||e>=t&&e<=n}),{message:"".concat(i," must be between ").concat(t," and ").concat(n)}):o?r.refine((function(e){return void 0===e||e>=t}),{message:"".concat(i," must be greater than or equal to ").concat(t)}):l?r.refine((function(e){return void 0===e||e<=n}),{message:"".concat(i," must be less than or equal to ").concat(n)}):r:r},_=t(72591),A=t.n(_),w=t(1740),k=t.n(w),x=t(88128),C=t.n(x),z=t(30855),M=t.n(z),E=t(93051),O=t.n(E),S=t(73656),D=t.n(S),N=t(16174),T={};T.styleTagTransform=D(),T.setAttributes=M(),T.insert=C().bind(null,"head"),T.domAPI=k(),T.insertStyleElement=O(),A()(N.A,T);const F=N.A&&N.A.locals?N.A.locals:void 0;function j(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){j(e,n,t[n])}))}return e}function L(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}var P=function(e){var n=e.concept,t=e.control,o=e.defaultValue,l=(0,p.useTranslation)().t,c="tablet"===(0,d.useLayoutType)()?"lg":"sm",u=(0,a.useCallback)((function(e,n){var t,a,i,r=null==o||null===(a=o.groupMembers)||void 0===a||null===(t=a.find((function(n){return n.concept.uuid===e})))||void 0===t?void 0:t.value;return"CWE"===n&&r&&"object"==(void 0===r?"undefined":(i=r)&&"undefined"!=typeof Symbol&&i.constructor===Symbol?"symbol":typeof i)&&"uuid"in r?r.uuid:r}),[o]),g=(0,a.useCallback)((function(e){var n;return null==o||null===(n=o.groupMembers)||void 0===n?void 0:n.find((function(n){return n.concept.uuid===e}))}),[o]),b=(0,a.useMemo)((function(){return"".concat(n.display," ").concat(function(e){var n;if("NM"!==(null==e||null===(n=e.datatype)||void 0===n?void 0:n.hl7Abbreviation))return"";var t=e.hiAbsolute,a=e.lowAbsolute,i=e.units,r=i?" ".concat(i):"",o=null!=a,l=null!=t;return o&&l?" (".concat(a," - ").concat(t," ").concat(r,")"):l?" (<= ".concat(t," ").concat(r,")"):o?" (>= ".concat(a," ").concat(r,")"):i?" (".concat(r,")"):""}(n))}),[n]),y=(0,a.useMemo)((function(){return{isTextField:(0,f.KH)(n),isNumericField:(0,f.kf)(n),isCodedField:(0,f.eY)(n),isPanelField:(0,f.rf)(n)}}),[n]),h=y.isTextField,m=y.isNumericField,$=y.isCodedField,v=y.isPanelField;return h||m||$||v?i().createElement("div",{className:F.formField},i().createElement(s.xI,{control:t,name:n.uuid,render:function(e){var t,a,o=e.field,s=e.fieldState.error;return h?i().createElement(r.ksK,L(B({},o),{id:n.uuid,key:n.uuid,labelText:b,type:"text",invalidText:null==s?void 0:s.message,invalid:Boolean(null==s?void 0:s.message),size:c,value:"string"==typeof o.value||"number"==typeof o.value?o.value:""})):m?i().createElement(r.Q7x,L(B({},o),{allowEmpty:!0,disableWheel:!0,id:n.uuid,key:n.uuid,label:b,onChange:function(e,n){var t=n.value;return o.onChange(""!==t?t:void 0)},step:n.allowDecimal?.01:1,value:"string"==typeof o.value||"number"==typeof o.value?o.value:"",invalidText:null==s?void 0:s.message,invalid:Boolean(null==s?void 0:s.message),size:c})):$?i().createElement(r.l6P,L(B({},o),{defaultValue:u(n.uuid,n.datatype.hl7Abbreviation),id:"select-".concat(n.uuid),key:n.uuid,labelText:b,invalidText:null==s?void 0:s.message,invalid:Boolean(null==s?void 0:s.message),size:c,value:"string"==typeof o.value||"number"==typeof o.value?o.value:""}),i().createElement(r.ebT,{text:l("chooseAnOption","Choose an option"),value:""}),(null==n||null===(t=n.answers)||void 0===t?void 0:t.length)&&(null==n||null===(a=n.answers)||void 0===a?void 0:a.map((function(e){return i().createElement(r.ebT,{key:e.uuid,text:e.display,value:e.uuid},e.display)})))):null}}),v?i().createElement(r.nD3,null,i().createElement(r.AsP,{title:n.display,open:!0},n.setMembers.map((function(e){return i().createElement(P,{key:e.uuid,concept:e,control:t,defaultValue:g(e.uuid)})})))):null):i().createElement("div",{className:F.formField},i().createElement("label",{className:F.label},b),i().createElement(r.jeF,{kind:"error",hideCloseButton:!0,title:l("invalidLabTestConfiguration","Invalid lab test configuration"),subtitle:l("invalidLabTestConfigurationSubtitle","This test needs to be configured with a specific type (like number, text, or choice list) to record results properly. Please contact your system administrator to fix this.")}))};const I=P;function W(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function q(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function G(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function K(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(e,n)||V(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function V(e,n){if(e){if("string"==typeof e)return W(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?W(e,n):void 0}}const H=function(e){var n,t=e.closeWorkspace,o=e.closeWorkspaceWithSavedChanges,g=e.order,b=e.promptBeforeClosing,y=e.invalidateLabOrders,h=(0,p.useTranslation)().t,$=(0,d.useAbortController)(),v="tablet"===(0,d.useLayoutType)(),_=(0,f.oi)(g.concept.uuid),A=_.concept,w=_.isLoading,k=K((0,a.useState)(!1),2),x=k[0],C=k[1],z=(0,a.useMemo)((function(){return m(A)}),[A]),M=(0,f.mV)(g),E=M.completeLabResult,O=M.isLoading,S=M.mutate,D=(0,c.iX)().mutate,N=(0,a.useCallback)((function(){D((function(e){return"string"==typeof e&&e.startsWith("".concat(d.restBaseUrl,"/order?patient=").concat(g.patient.uuid))}),void 0,{revalidate:!0})}),[D,g.patient.uuid]),T=(0,s.mN)({defaultValues:{},resolver:(0,u.u)(z),mode:"all"}),j=T.control,B=T.formState,L=B.errors,P=B.isDirty,H=B.isSubmitting,R=T.setValue,U=T.handleSubmit;return(0,a.useEffect)((function(){var e;A&&E&&"COMPLETED"===(null==g?void 0:g.fulfillerStatus)&&((0,f.eY)(A)&&"object"===Y(null==E?void 0:E.value)&&(null==E||null===(e=E.value)||void 0===e?void 0:e.uuid)?R(A.uuid,E.value.uuid):(0,f.kf)(A)&&(null==E?void 0:E.value)?R(A.uuid,parseFloat(E.value)):(0,f.KH)(A)&&(null==E?void 0:E.value)?R(A.uuid,null==E?void 0:E.value):(0,f.rf)(A)&&A.setMembers.forEach((function(e){var n,t=E.groupMembers.find((function(n){return n.concept.uuid===e.uuid}));(0,f.eY)(e)?n="object"===Y(null==t?void 0:t.value)?t.value.uuid:null==t?void 0:t.value:(0,f.kf)(e)?n=(null==t?void 0:t.value)?parseFloat(t.value):void 0:(0,f.KH)(e)&&(n=null==t?void 0:t.value),n&&R(e.uuid,n)})))}),[A,E,g,R]),(0,a.useEffect)((function(){b((function(){return P}))}),[P,b]),w?i().createElement("div",{className:F.loaderContainer},i().createElement(r.OuH,{className:F.loader,description:h("loadingTestDetails","Loading test details")+"...",iconDescription:h("loading","Loading"),status:"active"})):i().createElement(r.lVW,{className:F.form,onSubmit:U((function(e){return(n=function(){var n,t,a,i,r,l,s,p;return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&l[0]?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){r=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(6===l[0]&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(c){switch(c.label){case 0:return Object.values(e).every((function(e){return""===e||null==e}))?(C(!0),[2]):(n=function(e,n){(0,d.showSnackbar)({title:"success"===e?h("saveLabResults","Save lab results"):h("errorSavingLabResults","Error saving lab results"),kind:e,subtitle:n})},"COMPLETED"!==g.fulfillerStatus?[3,2]:(t=Object.entries(e).map((function(e){var n,t,a=K(e,2),i=a[0],r=a[1],o=null!==(t=null==E||null===(n=E.groupMembers)||void 0===n?void 0:n.find((function(e){return e.concept.uuid===i})))&&void 0!==t?t:E;return(0,f.OF)(null==o?void 0:o.uuid,{value:r})})),[4,Promise.allSettled(t)]));case 1:return a=c.sent(),(i=a.reduce((function(n,t,a){return"rejected"===t.status?(i=n,function(e){if(Array.isArray(e))return W(e)}(i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||V(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([Object.keys(e).at(a)]):n;var i}),[])).length?n("error","Could not save obs with concept uuids "+i.join(", ")):(o(),n("success",h("successfullySavedLabResults","Lab results for {{orderNumber}} have been successfully updated",{orderNumber:null==g?void 0:g.orderNumber}))),S(),[2,C(!1)];case 2:r=(0,f.Dd)(A,g,e,"FINAL"),l={previousOrder:g.uuid,type:"testorder",action:"DISCONTINUE",careSetting:g.careSetting.uuid,encounter:g.encounter.uuid,patient:g.patient.uuid,concept:g.concept.uuid,orderer:g.orderer},s={fulfillerStatus:"COMPLETED",fulfillerComment:"Test Results Entered"},c.label=3;case 3:return c.trys.push([3,5,6,7]),[4,(0,f.X1)(g.uuid,g.encounter.uuid,r,s,l,$)];case 4:return c.sent(),o(),N(),S(),null==y||y(),n("success",h("successfullySavedLabResults","Lab results for {{orderNumber}} have been successfully updated",{orderNumber:null==g?void 0:g.orderNumber})),[3,7];case 5:return p=c.sent(),n("error",null==p?void 0:p.message),[3,7];case 6:return C(!1),[7];case 7:return[2]}}))},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){q(r,a,i,o,l,"next",e)}function l(e){q(r,a,i,o,l,"throw",e)}o(void 0)}))})();var n}))},i().createElement(r.Wdr,{level:v?1:0},i().createElement("div",{className:F.grid},A&&i().createElement(r.BJc,{gap:5},O?i().createElement(r.OuH,{description:h("loadingInitialValues","Loading initial values")+"..."}):i().createElement(I,{defaultValue:E,concept:A,control:j})),x&&i().createElement(r.jeF,{className:F.emptyFormError,lowContrast:!0,title:h("error","Error"),subtitle:h("pleaseFillField","Please fill at least one field")+"."}))),i().createElement(r.Te$,{className:l()((n={},G(n,F.tablet,v),G(n,F.desktop,!v),n))},i().createElement(r.$nd,{className:F.button,kind:"secondary",disabled:H,onClick:function(){return t()}},h("discard","Discard")),i().createElement(r.$nd,{className:F.button,kind:"primary",disabled:H||Object.keys(L).length>0,type:"submit"},H?i().createElement(r.OuH,{description:h("saving","Saving")+"..."}):h("saveAndClose","Save and close"))))}}}]);
|
package/dist/1571.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"1571.js","mappings":"mNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,2uEAA4uE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,oDAAoD,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,ymBAAymB,eAAiB,CAAC,g/DAAg/D,29CAA29C,05DAA05D,w8uBAAw8uB,WAAa,MAErggCH,EAAwBI,OAAS,CAChC,QAAW,yDACX,MAAS,uDACT,gBAAmB,iEACnB,OAAU,wDACV,aAAgB,8DAChB,UAAa,2DACb,UAAa,2DACb,SAAY,0DACZ,OAAU,wDACV,OAAU,wDACV,QAAW,yDACX,KAAQ,sDACR,KAAQ,sDACR,IAAO,qDACP,OAAU,wDACV,eAAkB,iEAEnB,S,knBCpBA,SAASC,EAAuBC,GAC9B,IAAMC,EAAS,CAAC,EACVC,EAAgBC,EAAaH,GAC/BE,IACFD,E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BAACmJ,EAAAA,IAASA,CACR3H,UAAW4H,KAAW,KACpB,EADoB,EACnB3H,EAAO4H,OAASpF,GACjB,EAFoB,EAEnBxC,EAAO6H,SAAWrF,GAFC,KAKtB,kBAACsF,EAAAA,IAAMA,CAAC/H,UAAWC,EAAO+H,OAAQjG,KAAK,YAAYkG,SAAUjE,EAAckE,QAAS,W,OAAMhG,G,GACvF1D,EAAE,UAAW,YAEhB,kBAACuJ,EAAAA,IAAMA,CACL/H,UAAWC,EAAO+H,OAClBjG,KAAK,UACLkG,SAAUjE,GAAgB4B,OAAOW,KAAKzC,GAAQlH,OAAS,EACvD+D,KAAK,UAEJqD,EACC,kBAACW,EAAAA,IAAaA,CAACE,YAAarG,EAAE,SAAU,UAAY,QAEpDA,EAAE,eAAgB,oBAM9B,C","sources":["webpack://@openmrs/esm-patient-orders-app/./src/lab-results/lab-results-form.scss","webpack://@openmrs/esm-patient-orders-app/./src/lab-results/lab-results-schema.resource.tsx","webpack://@openmrs/esm-patient-orders-app/./src/lab-results/lab-results-form.scss?56b2","webpack://@openmrs/esm-patient-orders-app/./src/lab-results/lab-results-form-field.component.tsx","webpack://@openmrs/esm-patient-orders-app/./src/lab-results/lab-results-form.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","createSchemaForConcept","labOrderConcept","schema","conceptSchema","createSchema","uuid","setMembersSchema","setMembers","reduce","acc","member","createLabResultsFormSchema","labOrderConcepts","z","object","hiAbsolute","lowAbsolute","datatype","hl7Abbreviation","string","optional","createNumericSchema","upperLimit","lowerLimit","answers","map","answer","length","enum","allowDecimal","display","baseSchema","preprocess","val","parsed","Number","isNaN","number","refine","undefined","message","isInteger","hasLowerLimit","hasUpperLimit","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","ResultFormField","concept","control","defaultValue","useTranslation","t","responsiveFieldSize","useLayoutType","getSavedMemberValue","useCallback","conceptUuid","value","groupMembers","find","getSavedMemberDefaultObservation","labelText","useMemo","formatLabRange","units","displayUnit","isTextField","isText","isNumericField","isNumeric","isCodedField","isCoded","isPanelField","isPanel","div","className","styles","formField","Controller","name","render","field","fieldState","error","TextInput","key","type","invalidText","invalid","Boolean","size","NumberInput","allowEmpty","disableWheel","label","onChange","_","step","Select","SelectItem","text","Accordion","AccordionItem","title","open","InlineNotification","kind","hideCloseButton","subtitle","closeWorkspace","closeWorkspaceWithSavedChanges","order","promptBeforeClosing","invalidateLabOrders","abortController","useAbortController","isTablet","useOrderConceptByUuid","isLoading","useState","showEmptyFormErrorNotification","setShowEmptyFormErrorNotification","useCompletedLabResults","completeLabResult","mutate","useSWRConfig","mutateOrderData","startsWith","restBaseUrl","patient","revalidate","useForm","defaultValues","resolver","zodResolver","mode","formState","errors","isDirty","isSubmitting","setValue","handleSubmit","useEffect","fulfillerStatus","parseFloat","forEach","obs","v","isLoadingConcepts","loaderContainer","InlineLoading","loader","description","iconDescription","status","Form","form","onSubmit","formValues","showNotification","updateTasks","updateResults","failedObsconceptUuids","obsPayload","orderDiscontinuationPayload","resultsStatusPayload","err","Object","values","every","showSnackbar","entries","updateObservation","Promise","allSettled","prev","curr","index","keys","at","join","orderNumber","mutateResults","createObservationPayload","previousOrder","action","careSetting","encounter","orderer","fulfillerComment","updateOrderResult","Layer","level","grid","Stack","gap","emptyFormError","lowContrast","ButtonSet","classNames","tablet","desktop","Button","button","disabled","onClick"],"sourceRoot":""}
|