@openmrs/esm-appointments-app 9.2.1-pre.7296 → 9.2.1-pre.7315
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 +8 -8
- package/dist/1431.js +1 -1
- package/dist/1431.js.map +1 -1
- package/dist/1559.js +1 -1
- package/dist/1559.js.map +1 -1
- package/dist/2265.js +1 -0
- package/dist/2265.js.map +1 -0
- package/dist/{5160.js → 4036.js} +1 -1
- package/dist/{5160.js.map → 4036.js.map} +1 -1
- package/dist/449.js +1 -1
- package/dist/449.js.map +1 -1
- package/dist/4515.js +1 -0
- package/dist/4515.js.map +1 -0
- package/dist/4745.js +1 -1
- package/dist/4745.js.map +1 -1
- package/dist/4889.js +1 -1
- package/dist/4889.js.map +1 -1
- package/dist/525.js +1 -1
- package/dist/525.js.map +1 -1
- package/dist/5666.js +1 -1
- package/dist/5666.js.map +1 -1
- package/dist/5755.js +1 -1
- package/dist/5755.js.map +1 -1
- package/dist/592.js +1 -1
- package/dist/592.js.map +1 -1
- package/dist/6467.js +1 -1
- package/dist/6467.js.map +1 -1
- package/dist/6886.js +1 -1
- package/dist/6886.js.map +1 -1
- package/dist/{7565.js → 7294.js} +1 -1
- package/dist/7294.js.map +1 -0
- package/dist/9712.js +1 -1
- package/dist/9712.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +121 -120
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/appointments/common-components/appointments-table.component.tsx +3 -5
- package/src/constants.ts +1 -0
- package/src/form/appointments-form.resource.ts +1 -0
- package/src/form/appointments-form.test.tsx +136 -117
- package/src/form/appointments-form.workspace.tsx +43 -50
- package/src/form/exported-appointments-form.workspace.tsx +24 -0
- package/src/helpers/functions.ts +72 -25
- package/src/index.ts +5 -3
- package/src/metrics/metrics-cards/highest-volume-service.extension.tsx +1 -1
- package/src/metrics/metrics-cards/metrics-card.component.tsx +1 -1
- package/src/metrics/metrics-header.component.tsx +9 -24
- package/src/patient-appointments/patient-appointments-action-menu.component.tsx +1 -5
- package/src/patient-appointments/patient-appointments-detailed-summary.extension.tsx +176 -15
- package/src/patient-appointments/{patient-appointments-base.test.tsx → patient-appointments-detailed-summary.test.tsx} +14 -22
- package/src/patient-appointments/patient-appointments-overview.component.tsx +15 -18
- package/src/routes.json +18 -14
- package/dist/3092.js +0 -1
- package/dist/3092.js.map +0 -1
- package/dist/7026.js +0 -1
- package/dist/7026.js.map +0 -1
- package/dist/7565.js.map +0 -1
- package/src/hooks/patient-appointment-context.ts +0 -18
- package/src/patient-appointments/patient-appointments-base.component.tsx +0 -178
- package/src/patient-search/patient-search.component.tsx +0 -33
- package/src/patient-search/patient-search.scss +0 -24
- /package/src/patient-appointments/{patient-appointments-base.scss → patient-appointments-detailed-summary.scss} +0 -0
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
"initial": false,
|
|
79
79
|
"entry": false,
|
|
80
80
|
"recorded": false,
|
|
81
|
-
"size":
|
|
81
|
+
"size": 34002,
|
|
82
82
|
"sizes": {
|
|
83
|
-
"javascript":
|
|
83
|
+
"javascript": 34002
|
|
84
84
|
},
|
|
85
85
|
"names": [],
|
|
86
86
|
"idHints": [],
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"auxiliaryFiles": [
|
|
95
95
|
"449.js.map"
|
|
96
96
|
],
|
|
97
|
-
"hash": "
|
|
97
|
+
"hash": "5fe3dc2fc0b0115c",
|
|
98
98
|
"childrenByOrder": {}
|
|
99
99
|
},
|
|
100
100
|
{
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
"entry": false,
|
|
104
104
|
"recorded": false,
|
|
105
105
|
"reason": "split chunk (cache group: default)",
|
|
106
|
-
"size":
|
|
106
|
+
"size": 139388,
|
|
107
107
|
"sizes": {
|
|
108
|
-
"javascript":
|
|
108
|
+
"javascript": 139388
|
|
109
109
|
},
|
|
110
110
|
"names": [],
|
|
111
111
|
"idHints": [],
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"auxiliaryFiles": [
|
|
120
120
|
"525.js.map"
|
|
121
121
|
],
|
|
122
|
-
"hash": "
|
|
122
|
+
"hash": "80cae7c3ffd1220e",
|
|
123
123
|
"childrenByOrder": {}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
@@ -127,9 +127,9 @@
|
|
|
127
127
|
"initial": false,
|
|
128
128
|
"entry": false,
|
|
129
129
|
"recorded": false,
|
|
130
|
-
"size":
|
|
130
|
+
"size": 221336,
|
|
131
131
|
"sizes": {
|
|
132
|
-
"javascript":
|
|
132
|
+
"javascript": 221336
|
|
133
133
|
},
|
|
134
134
|
"names": [],
|
|
135
135
|
"idHints": [],
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"auxiliaryFiles": [
|
|
144
144
|
"592.js.map"
|
|
145
145
|
],
|
|
146
|
-
"hash": "
|
|
146
|
+
"hash": "58a53032c805f0df",
|
|
147
147
|
"childrenByOrder": {}
|
|
148
148
|
},
|
|
149
149
|
{
|
|
@@ -329,9 +329,9 @@
|
|
|
329
329
|
"entry": false,
|
|
330
330
|
"recorded": false,
|
|
331
331
|
"reason": "reused as split chunk (cache group: default)",
|
|
332
|
-
"size":
|
|
332
|
+
"size": 71188,
|
|
333
333
|
"sizes": {
|
|
334
|
-
"javascript":
|
|
334
|
+
"javascript": 71188
|
|
335
335
|
},
|
|
336
336
|
"names": [],
|
|
337
337
|
"idHints": [],
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"auxiliaryFiles": [
|
|
346
346
|
"1431.js.map"
|
|
347
347
|
],
|
|
348
|
-
"hash": "
|
|
348
|
+
"hash": "92112eea02a07660",
|
|
349
349
|
"childrenByOrder": {}
|
|
350
350
|
},
|
|
351
351
|
{
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"auxiliaryFiles": [
|
|
373
373
|
"1559.js.map"
|
|
374
374
|
],
|
|
375
|
-
"hash": "
|
|
375
|
+
"hash": "e96e92b0fd4d109c",
|
|
376
376
|
"childrenByOrder": {}
|
|
377
377
|
},
|
|
378
378
|
{
|
|
@@ -397,6 +397,30 @@
|
|
|
397
397
|
"hash": "43a67a283d85b19b",
|
|
398
398
|
"childrenByOrder": {}
|
|
399
399
|
},
|
|
400
|
+
{
|
|
401
|
+
"rendered": true,
|
|
402
|
+
"initial": false,
|
|
403
|
+
"entry": false,
|
|
404
|
+
"recorded": false,
|
|
405
|
+
"size": 2732,
|
|
406
|
+
"sizes": {
|
|
407
|
+
"javascript": 2732
|
|
408
|
+
},
|
|
409
|
+
"names": [],
|
|
410
|
+
"idHints": [],
|
|
411
|
+
"runtime": [
|
|
412
|
+
"@openmrs/esm-appointments-app",
|
|
413
|
+
"main"
|
|
414
|
+
],
|
|
415
|
+
"files": [
|
|
416
|
+
"2265.js"
|
|
417
|
+
],
|
|
418
|
+
"auxiliaryFiles": [
|
|
419
|
+
"2265.js.map"
|
|
420
|
+
],
|
|
421
|
+
"hash": "e2c08bdc66384064",
|
|
422
|
+
"childrenByOrder": {}
|
|
423
|
+
},
|
|
400
424
|
{
|
|
401
425
|
"rendered": false,
|
|
402
426
|
"initial": false,
|
|
@@ -545,31 +569,6 @@
|
|
|
545
569
|
"hash": "c8ed3c6f7264277e",
|
|
546
570
|
"childrenByOrder": {}
|
|
547
571
|
},
|
|
548
|
-
{
|
|
549
|
-
"rendered": true,
|
|
550
|
-
"initial": false,
|
|
551
|
-
"entry": false,
|
|
552
|
-
"recorded": false,
|
|
553
|
-
"reason": "split chunk (cache group: default)",
|
|
554
|
-
"size": 90978,
|
|
555
|
-
"sizes": {
|
|
556
|
-
"javascript": 90978
|
|
557
|
-
},
|
|
558
|
-
"names": [],
|
|
559
|
-
"idHints": [],
|
|
560
|
-
"runtime": [
|
|
561
|
-
"@openmrs/esm-appointments-app",
|
|
562
|
-
"main"
|
|
563
|
-
],
|
|
564
|
-
"files": [
|
|
565
|
-
"3092.js"
|
|
566
|
-
],
|
|
567
|
-
"auxiliaryFiles": [
|
|
568
|
-
"3092.js.map"
|
|
569
|
-
],
|
|
570
|
-
"hash": "8900073c8dc08b13",
|
|
571
|
-
"childrenByOrder": {}
|
|
572
|
-
},
|
|
573
572
|
{
|
|
574
573
|
"rendered": true,
|
|
575
574
|
"initial": false,
|
|
@@ -718,7 +717,7 @@
|
|
|
718
717
|
"auxiliaryFiles": [
|
|
719
718
|
"openmrs-esm-appointments-app.js.map"
|
|
720
719
|
],
|
|
721
|
-
"hash": "
|
|
720
|
+
"hash": "8ac88a7deb641eaf",
|
|
722
721
|
"childrenByOrder": {}
|
|
723
722
|
},
|
|
724
723
|
{
|
|
@@ -770,6 +769,31 @@
|
|
|
770
769
|
"hash": "2e46cf69bba98ab9",
|
|
771
770
|
"childrenByOrder": {}
|
|
772
771
|
},
|
|
772
|
+
{
|
|
773
|
+
"rendered": true,
|
|
774
|
+
"initial": false,
|
|
775
|
+
"entry": false,
|
|
776
|
+
"recorded": false,
|
|
777
|
+
"reason": "split chunk (cache group: default)",
|
|
778
|
+
"size": 65388,
|
|
779
|
+
"sizes": {
|
|
780
|
+
"javascript": 65388
|
|
781
|
+
},
|
|
782
|
+
"names": [],
|
|
783
|
+
"idHints": [],
|
|
784
|
+
"runtime": [
|
|
785
|
+
"@openmrs/esm-appointments-app",
|
|
786
|
+
"main"
|
|
787
|
+
],
|
|
788
|
+
"files": [
|
|
789
|
+
"4036.js"
|
|
790
|
+
],
|
|
791
|
+
"auxiliaryFiles": [
|
|
792
|
+
"4036.js.map"
|
|
793
|
+
],
|
|
794
|
+
"hash": "3e2874a818d31268",
|
|
795
|
+
"childrenByOrder": {}
|
|
796
|
+
},
|
|
773
797
|
{
|
|
774
798
|
"rendered": true,
|
|
775
799
|
"initial": false,
|
|
@@ -903,6 +927,31 @@
|
|
|
903
927
|
"hash": "e096454144dd4bc6",
|
|
904
928
|
"childrenByOrder": {}
|
|
905
929
|
},
|
|
930
|
+
{
|
|
931
|
+
"rendered": true,
|
|
932
|
+
"initial": false,
|
|
933
|
+
"entry": false,
|
|
934
|
+
"recorded": false,
|
|
935
|
+
"reason": "split chunk (cache group: default)",
|
|
936
|
+
"size": 90442,
|
|
937
|
+
"sizes": {
|
|
938
|
+
"javascript": 90442
|
|
939
|
+
},
|
|
940
|
+
"names": [],
|
|
941
|
+
"idHints": [],
|
|
942
|
+
"runtime": [
|
|
943
|
+
"@openmrs/esm-appointments-app",
|
|
944
|
+
"main"
|
|
945
|
+
],
|
|
946
|
+
"files": [
|
|
947
|
+
"4515.js"
|
|
948
|
+
],
|
|
949
|
+
"auxiliaryFiles": [
|
|
950
|
+
"4515.js.map"
|
|
951
|
+
],
|
|
952
|
+
"hash": "82c2e98d0feb7e83",
|
|
953
|
+
"childrenByOrder": {}
|
|
954
|
+
},
|
|
906
955
|
{
|
|
907
956
|
"rendered": false,
|
|
908
957
|
"initial": false,
|
|
@@ -997,9 +1046,9 @@
|
|
|
997
1046
|
"initial": false,
|
|
998
1047
|
"entry": false,
|
|
999
1048
|
"recorded": false,
|
|
1000
|
-
"size":
|
|
1049
|
+
"size": 76373,
|
|
1001
1050
|
"sizes": {
|
|
1002
|
-
"javascript":
|
|
1051
|
+
"javascript": 76373
|
|
1003
1052
|
},
|
|
1004
1053
|
"names": [],
|
|
1005
1054
|
"idHints": [],
|
|
@@ -1013,7 +1062,7 @@
|
|
|
1013
1062
|
"auxiliaryFiles": [
|
|
1014
1063
|
"4745.js.map"
|
|
1015
1064
|
],
|
|
1016
|
-
"hash": "
|
|
1065
|
+
"hash": "ea9cc51e48eb5c9e",
|
|
1017
1066
|
"childrenByOrder": {}
|
|
1018
1067
|
},
|
|
1019
1068
|
{
|
|
@@ -1021,9 +1070,10 @@
|
|
|
1021
1070
|
"initial": false,
|
|
1022
1071
|
"entry": false,
|
|
1023
1072
|
"recorded": false,
|
|
1024
|
-
"
|
|
1073
|
+
"reason": "reused as split chunk (cache group: default)",
|
|
1074
|
+
"size": 288316,
|
|
1025
1075
|
"sizes": {
|
|
1026
|
-
"javascript":
|
|
1076
|
+
"javascript": 288316
|
|
1027
1077
|
},
|
|
1028
1078
|
"names": [],
|
|
1029
1079
|
"idHints": [],
|
|
@@ -1037,7 +1087,7 @@
|
|
|
1037
1087
|
"auxiliaryFiles": [
|
|
1038
1088
|
"4889.js.map"
|
|
1039
1089
|
],
|
|
1040
|
-
"hash": "
|
|
1090
|
+
"hash": "a24feb93b670bd05",
|
|
1041
1091
|
"childrenByOrder": {}
|
|
1042
1092
|
},
|
|
1043
1093
|
{
|
|
@@ -1062,31 +1112,6 @@
|
|
|
1062
1112
|
"hash": "1bc9d6bbcb5c4e8a",
|
|
1063
1113
|
"childrenByOrder": {}
|
|
1064
1114
|
},
|
|
1065
|
-
{
|
|
1066
|
-
"rendered": true,
|
|
1067
|
-
"initial": false,
|
|
1068
|
-
"entry": false,
|
|
1069
|
-
"recorded": false,
|
|
1070
|
-
"reason": "split chunk (cache group: default)",
|
|
1071
|
-
"size": 58867,
|
|
1072
|
-
"sizes": {
|
|
1073
|
-
"javascript": 58867
|
|
1074
|
-
},
|
|
1075
|
-
"names": [],
|
|
1076
|
-
"idHints": [],
|
|
1077
|
-
"runtime": [
|
|
1078
|
-
"@openmrs/esm-appointments-app",
|
|
1079
|
-
"main"
|
|
1080
|
-
],
|
|
1081
|
-
"files": [
|
|
1082
|
-
"5160.js"
|
|
1083
|
-
],
|
|
1084
|
-
"auxiliaryFiles": [
|
|
1085
|
-
"5160.js.map"
|
|
1086
|
-
],
|
|
1087
|
-
"hash": "ee27bd0d42a040aa",
|
|
1088
|
-
"childrenByOrder": {}
|
|
1089
|
-
},
|
|
1090
1115
|
{
|
|
1091
1116
|
"rendered": true,
|
|
1092
1117
|
"initial": false,
|
|
@@ -1247,7 +1272,7 @@
|
|
|
1247
1272
|
"auxiliaryFiles": [
|
|
1248
1273
|
"5666.js.map"
|
|
1249
1274
|
],
|
|
1250
|
-
"hash": "
|
|
1275
|
+
"hash": "de869446b44f018b",
|
|
1251
1276
|
"childrenByOrder": {}
|
|
1252
1277
|
},
|
|
1253
1278
|
{
|
|
@@ -1283,9 +1308,9 @@
|
|
|
1283
1308
|
"entry": false,
|
|
1284
1309
|
"recorded": false,
|
|
1285
1310
|
"reason": "split chunk (cache group: default)",
|
|
1286
|
-
"size":
|
|
1311
|
+
"size": 79693,
|
|
1287
1312
|
"sizes": {
|
|
1288
|
-
"javascript":
|
|
1313
|
+
"javascript": 79693
|
|
1289
1314
|
},
|
|
1290
1315
|
"names": [],
|
|
1291
1316
|
"idHints": [],
|
|
@@ -1299,7 +1324,7 @@
|
|
|
1299
1324
|
"auxiliaryFiles": [
|
|
1300
1325
|
"5755.js.map"
|
|
1301
1326
|
],
|
|
1302
|
-
"hash": "
|
|
1327
|
+
"hash": "5a50cfe9d803475a",
|
|
1303
1328
|
"childrenByOrder": {}
|
|
1304
1329
|
},
|
|
1305
1330
|
{
|
|
@@ -1380,9 +1405,9 @@
|
|
|
1380
1405
|
"initial": false,
|
|
1381
1406
|
"entry": false,
|
|
1382
1407
|
"recorded": false,
|
|
1383
|
-
"size":
|
|
1408
|
+
"size": 35908,
|
|
1384
1409
|
"sizes": {
|
|
1385
|
-
"javascript":
|
|
1410
|
+
"javascript": 35908
|
|
1386
1411
|
},
|
|
1387
1412
|
"names": [],
|
|
1388
1413
|
"idHints": [],
|
|
@@ -1396,7 +1421,7 @@
|
|
|
1396
1421
|
"auxiliaryFiles": [
|
|
1397
1422
|
"6467.js.map"
|
|
1398
1423
|
],
|
|
1399
|
-
"hash": "
|
|
1424
|
+
"hash": "d3b28947b0b2af81",
|
|
1400
1425
|
"childrenByOrder": {}
|
|
1401
1426
|
},
|
|
1402
1427
|
{
|
|
@@ -1514,9 +1539,9 @@
|
|
|
1514
1539
|
"initial": false,
|
|
1515
1540
|
"entry": false,
|
|
1516
1541
|
"recorded": false,
|
|
1517
|
-
"size":
|
|
1542
|
+
"size": 26017,
|
|
1518
1543
|
"sizes": {
|
|
1519
|
-
"javascript":
|
|
1544
|
+
"javascript": 26017
|
|
1520
1545
|
},
|
|
1521
1546
|
"names": [],
|
|
1522
1547
|
"idHints": [],
|
|
@@ -1529,7 +1554,7 @@
|
|
|
1529
1554
|
"auxiliaryFiles": [
|
|
1530
1555
|
"6886.js.map"
|
|
1531
1556
|
],
|
|
1532
|
-
"hash": "
|
|
1557
|
+
"hash": "f2deca6f9b3e9b84",
|
|
1533
1558
|
"childrenByOrder": {}
|
|
1534
1559
|
},
|
|
1535
1560
|
{
|
|
@@ -1556,30 +1581,6 @@
|
|
|
1556
1581
|
"hash": "ad2eea374c0b94fa",
|
|
1557
1582
|
"childrenByOrder": {}
|
|
1558
1583
|
},
|
|
1559
|
-
{
|
|
1560
|
-
"rendered": true,
|
|
1561
|
-
"initial": false,
|
|
1562
|
-
"entry": false,
|
|
1563
|
-
"recorded": false,
|
|
1564
|
-
"size": 19737,
|
|
1565
|
-
"sizes": {
|
|
1566
|
-
"javascript": 19737
|
|
1567
|
-
},
|
|
1568
|
-
"names": [],
|
|
1569
|
-
"idHints": [],
|
|
1570
|
-
"runtime": [
|
|
1571
|
-
"@openmrs/esm-appointments-app",
|
|
1572
|
-
"main"
|
|
1573
|
-
],
|
|
1574
|
-
"files": [
|
|
1575
|
-
"7026.js"
|
|
1576
|
-
],
|
|
1577
|
-
"auxiliaryFiles": [
|
|
1578
|
-
"7026.js.map"
|
|
1579
|
-
],
|
|
1580
|
-
"hash": "a027520102377b6e",
|
|
1581
|
-
"childrenByOrder": {}
|
|
1582
|
-
},
|
|
1583
1584
|
{
|
|
1584
1585
|
"rendered": true,
|
|
1585
1586
|
"initial": false,
|
|
@@ -1629,9 +1630,9 @@
|
|
|
1629
1630
|
"initial": false,
|
|
1630
1631
|
"entry": false,
|
|
1631
1632
|
"recorded": false,
|
|
1632
|
-
"size":
|
|
1633
|
+
"size": 10274,
|
|
1633
1634
|
"sizes": {
|
|
1634
|
-
"javascript":
|
|
1635
|
+
"javascript": 10274
|
|
1635
1636
|
},
|
|
1636
1637
|
"names": [],
|
|
1637
1638
|
"idHints": [],
|
|
@@ -1640,12 +1641,12 @@
|
|
|
1640
1641
|
"main"
|
|
1641
1642
|
],
|
|
1642
1643
|
"files": [
|
|
1643
|
-
"
|
|
1644
|
+
"7294.js"
|
|
1644
1645
|
],
|
|
1645
1646
|
"auxiliaryFiles": [
|
|
1646
|
-
"
|
|
1647
|
+
"7294.js.map"
|
|
1647
1648
|
],
|
|
1648
|
-
"hash": "
|
|
1649
|
+
"hash": "de0fae9237f4cb05",
|
|
1649
1650
|
"childrenByOrder": {}
|
|
1650
1651
|
},
|
|
1651
1652
|
{
|
|
@@ -1653,9 +1654,9 @@
|
|
|
1653
1654
|
"initial": false,
|
|
1654
1655
|
"entry": false,
|
|
1655
1656
|
"recorded": false,
|
|
1656
|
-
"size":
|
|
1657
|
+
"size": 26475,
|
|
1657
1658
|
"sizes": {
|
|
1658
|
-
"javascript":
|
|
1659
|
+
"javascript": 26475
|
|
1659
1660
|
},
|
|
1660
1661
|
"names": [],
|
|
1661
1662
|
"idHints": [],
|
|
@@ -1664,12 +1665,12 @@
|
|
|
1664
1665
|
"main"
|
|
1665
1666
|
],
|
|
1666
1667
|
"files": [
|
|
1667
|
-
"
|
|
1668
|
+
"7495.js"
|
|
1668
1669
|
],
|
|
1669
1670
|
"auxiliaryFiles": [
|
|
1670
|
-
"
|
|
1671
|
+
"7495.js.map"
|
|
1671
1672
|
],
|
|
1672
|
-
"hash": "
|
|
1673
|
+
"hash": "8b006eeaa2b314b6",
|
|
1673
1674
|
"childrenByOrder": {}
|
|
1674
1675
|
},
|
|
1675
1676
|
{
|
|
@@ -1907,10 +1908,10 @@
|
|
|
1907
1908
|
"initial": true,
|
|
1908
1909
|
"entry": true,
|
|
1909
1910
|
"recorded": false,
|
|
1910
|
-
"size":
|
|
1911
|
+
"size": 49562,
|
|
1911
1912
|
"sizes": {
|
|
1912
1913
|
"consume-shared": 126,
|
|
1913
|
-
"javascript":
|
|
1914
|
+
"javascript": 26017,
|
|
1914
1915
|
"share-init": 378,
|
|
1915
1916
|
"runtime": 23041
|
|
1916
1917
|
},
|
|
@@ -1927,7 +1928,7 @@
|
|
|
1927
1928
|
"auxiliaryFiles": [
|
|
1928
1929
|
"main.js.map"
|
|
1929
1930
|
],
|
|
1930
|
-
"hash": "
|
|
1931
|
+
"hash": "9e8e62fdfa51964e",
|
|
1931
1932
|
"childrenByOrder": {}
|
|
1932
1933
|
},
|
|
1933
1934
|
{
|
|
@@ -2001,9 +2002,9 @@
|
|
|
2001
2002
|
"initial": false,
|
|
2002
2003
|
"entry": false,
|
|
2003
2004
|
"recorded": false,
|
|
2004
|
-
"size":
|
|
2005
|
+
"size": 26776,
|
|
2005
2006
|
"sizes": {
|
|
2006
|
-
"javascript":
|
|
2007
|
+
"javascript": 26776
|
|
2007
2008
|
},
|
|
2008
2009
|
"names": [],
|
|
2009
2010
|
"idHints": [],
|
|
@@ -2017,7 +2018,7 @@
|
|
|
2017
2018
|
"auxiliaryFiles": [
|
|
2018
2019
|
"9712.js.map"
|
|
2019
2020
|
],
|
|
2020
|
-
"hash": "
|
|
2021
|
+
"hash": "e873e500da70e859",
|
|
2021
2022
|
"childrenByOrder": {}
|
|
2022
2023
|
},
|
|
2023
2024
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"},"order":2},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-dashboard","slot":"appointments-dashboard-slot","component":"appointmentsDashboard"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"Appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"},"order":2},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-dashboard","slot":"appointments-dashboard-slot","component":"appointmentsDashboard"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"Appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"},{"name":"metrics-card-scheduled-appointments","component":"metricsCardScheduledAppointments","slot":"appointments-metrics-slot","order":1},{"name":"metrics-card-highest-volume-service","component":"metricsCardHighestVolumeService","slot":"appointments-metrics-slot","order":2},{"name":"metrics-card-providers-booked","component":"metricsCardProvidersBooked","slot":"appointments-metrics-slot","order":3}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"}],"workspaceGroups2":[{"name":"appointments-group"}],"workspaceWindows2":[{"name":"appointments-window","group":"appointments-group"}],"workspaces2":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","window":"appointments-window"},{"name":"appointments-patient-search-workspace","component":"@openmrs/esm-patient-search-app#patientSearchWorkspace2","window":"appointments-window"},{"name":"appointments-patient-search-start-visit-workspace","component":"@openmrs/esm-patient-chart-app#exportedVisitForm","window":"appointments-window"}],"version":"9.2.1-pre.7315"}
|
package/package.json
CHANGED
|
@@ -30,11 +30,10 @@ import {
|
|
|
30
30
|
formatDate,
|
|
31
31
|
formatDatetime,
|
|
32
32
|
isDesktop,
|
|
33
|
-
launchWorkspace,
|
|
34
|
-
launchWorkspace2,
|
|
35
33
|
parseDate,
|
|
36
34
|
useConfig,
|
|
37
35
|
useLayoutType,
|
|
36
|
+
launchWorkspace2,
|
|
38
37
|
usePagination,
|
|
39
38
|
} from '@openmrs/esm-framework';
|
|
40
39
|
import { EmptyState } from '../../empty-state/empty-state.component';
|
|
@@ -46,6 +45,7 @@ import { getPageSizes, useAppointmentSearchResults } from '../utils';
|
|
|
46
45
|
import AppointmentActions from './appointments-actions.component';
|
|
47
46
|
import AppointmentDetails from '../details/appointment-details.component';
|
|
48
47
|
import styles from './appointments-table.scss';
|
|
48
|
+
import { launchCreateAppointmentForm } from '../../helpers';
|
|
49
49
|
|
|
50
50
|
dayjs.extend(utc);
|
|
51
51
|
dayjs.extend(isToday);
|
|
@@ -129,8 +129,7 @@ const AppointmentsTable: React.FC<AppointmentsTableProps> = ({
|
|
|
129
129
|
? t('appointmentsScheduledForToday', 'appointments scheduled for today')
|
|
130
130
|
: `${t(tableHeading)} ${t('appointments_lower', 'appointments')}`
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
launchForm={() => launchWorkspace('search-patient')}
|
|
132
|
+
launchForm={() => launchCreateAppointmentForm(t)}
|
|
134
133
|
/>
|
|
135
134
|
);
|
|
136
135
|
}
|
|
@@ -227,7 +226,6 @@ const AppointmentsTable: React.FC<AppointmentsTableProps> = ({
|
|
|
227
226
|
launchWorkspace2('appointments-form-workspace', {
|
|
228
227
|
patientUuid: matchingAppointment.patient.uuid,
|
|
229
228
|
appointment: matchingAppointment,
|
|
230
|
-
context: 'editing',
|
|
231
229
|
})
|
|
232
230
|
}
|
|
233
231
|
/>
|
package/src/constants.ts
CHANGED
|
@@ -5,6 +5,7 @@ export const omrsDateFormat = 'YYYY-MM-DDTHH:mm:ss.SSSZZ';
|
|
|
5
5
|
export const appointmentLocationTagName = 'Appointment Location';
|
|
6
6
|
|
|
7
7
|
export const moduleName = '@openmrs/esm-appointments-app';
|
|
8
|
+
export const appointmentsFormWorkspace = 'appointments-form-workspace';
|
|
8
9
|
|
|
9
10
|
export const datePickerPlaceHolder = 'dd/mm/yyyy';
|
|
10
11
|
export const dateFormat = 'DD/MM/YYYY';
|
|
@@ -159,6 +159,7 @@ export const checkAppointmentConflict = async (appointmentPayload: AppointmentPa
|
|
|
159
159
|
providers: [],
|
|
160
160
|
locationUuid: appointmentPayload.locationUuid,
|
|
161
161
|
appointmentKind: appointmentPayload.appointmentKind,
|
|
162
|
+
...(appointmentPayload.uuid && { uuid: appointmentPayload.uuid }),
|
|
162
163
|
},
|
|
163
164
|
headers: { 'Content-Type': 'application/json' },
|
|
164
165
|
});
|