@almadar/std 14.9.0 → 14.10.0
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/behaviors/registry/app/organisms/std-api-gateway.orb +419 -171
- package/behaviors/registry/app/organisms/std-booking-system.orb +760 -620
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +477 -229
- package/behaviors/registry/app/organisms/std-cms.orb +433 -298
- package/behaviors/registry/app/organisms/std-crm.orb +355 -215
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +504 -369
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +271 -189
- package/behaviors/registry/app/organisms/std-healthcare.orb +676 -468
- package/behaviors/registry/app/organisms/std-helpdesk.orb +246 -166
- package/behaviors/registry/app/organisms/std-hr-portal.orb +534 -399
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +420 -340
- package/behaviors/registry/app/organisms/std-lms.orb +462 -378
- package/behaviors/registry/app/organisms/std-project-manager.orb +282 -200
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +317 -235
- package/behaviors/registry/app/organisms/std-social-feed.orb +256 -137
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +342 -218
- package/behaviors/registry/core/molecules/std-app-layout.orb +90 -21
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +419 -171
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +760 -620
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +477 -229
- package/dist/behaviors/registry/app/organisms/std-cms.orb +433 -298
- package/dist/behaviors/registry/app/organisms/std-crm.orb +355 -215
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +504 -369
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +271 -189
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +676 -468
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +246 -166
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +534 -399
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +420 -340
- package/dist/behaviors/registry/app/organisms/std-lms.orb +462 -378
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +282 -200
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +317 -235
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +256 -137
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +342 -218
- package/dist/behaviors/registry/core/molecules/std-app-layout.orb +90 -21
- package/package.json +1 -1
|
@@ -102,42 +102,42 @@
|
|
|
102
102
|
"ref": "AppShell.traits.AppLayout",
|
|
103
103
|
"name": "PatientAppLayout",
|
|
104
104
|
"config": {
|
|
105
|
+
"searchEvent": "PATIENT_SEARCH",
|
|
105
106
|
"appName": "HealthcareApp",
|
|
106
|
-
"notifications": [],
|
|
107
107
|
"navItems": [
|
|
108
108
|
{
|
|
109
|
+
"href": "/patients",
|
|
109
110
|
"icon": "user-plus",
|
|
110
|
-
"label": "Patients"
|
|
111
|
-
"href": "/patients"
|
|
111
|
+
"label": "Patients"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"
|
|
114
|
+
"icon": "calendar",
|
|
115
115
|
"href": "/appointments",
|
|
116
|
-
"
|
|
116
|
+
"label": "Appointments"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
+
"label": "Intake",
|
|
119
120
|
"href": "/intake",
|
|
120
|
-
"icon": "layout-list"
|
|
121
|
-
"label": "Intake"
|
|
121
|
+
"icon": "layout-list"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"label": "Prescriptions",
|
|
125
|
-
"
|
|
126
|
-
"
|
|
125
|
+
"icon": "pill",
|
|
126
|
+
"href": "/prescriptions"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"label": "Dashboard",
|
|
130
|
-
"
|
|
131
|
-
"
|
|
130
|
+
"href": "/dashboard",
|
|
131
|
+
"icon": "layout-dashboard"
|
|
132
132
|
}
|
|
133
133
|
],
|
|
134
|
-
"searchEvent": "PATIENT_SEARCH",
|
|
135
134
|
"notificationClickEvent": "PATIENT_NOTIFICATIONS_OPEN",
|
|
136
|
-
"contentTrait": "@trait.PatientCatalog"
|
|
135
|
+
"contentTrait": "@trait.PatientCatalog",
|
|
136
|
+
"notifications": []
|
|
137
137
|
},
|
|
138
138
|
"events": {
|
|
139
|
-
"
|
|
140
|
-
"
|
|
139
|
+
"SEARCH": "PATIENT_SEARCH",
|
|
140
|
+
"NOTIFY_CLICK": "PATIENT_NOTIFICATIONS_OPEN"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
{
|
|
@@ -220,23 +220,21 @@
|
|
|
220
220
|
"render-ui",
|
|
221
221
|
"main",
|
|
222
222
|
{
|
|
223
|
-
"
|
|
223
|
+
"direction": "vertical",
|
|
224
224
|
"gap": "lg",
|
|
225
225
|
"children": [
|
|
226
226
|
{
|
|
227
|
-
"align": "center",
|
|
228
227
|
"gap": "md",
|
|
229
|
-
"direction": "horizontal",
|
|
230
228
|
"children": [
|
|
231
229
|
{
|
|
232
|
-
"type": "stack",
|
|
233
|
-
"align": "center",
|
|
234
230
|
"direction": "horizontal",
|
|
231
|
+
"type": "stack",
|
|
235
232
|
"gap": "sm",
|
|
233
|
+
"align": "center",
|
|
236
234
|
"children": [
|
|
237
235
|
{
|
|
238
|
-
"
|
|
239
|
-
"
|
|
236
|
+
"name": "user-plus",
|
|
237
|
+
"type": "icon"
|
|
240
238
|
},
|
|
241
239
|
{
|
|
242
240
|
"variant": "h2",
|
|
@@ -246,34 +244,36 @@
|
|
|
246
244
|
]
|
|
247
245
|
},
|
|
248
246
|
{
|
|
249
|
-
"direction": "horizontal",
|
|
250
247
|
"gap": "sm",
|
|
248
|
+
"type": "stack",
|
|
251
249
|
"children": [
|
|
252
250
|
{
|
|
253
|
-
"icon": "plus",
|
|
254
251
|
"label": "New Patient",
|
|
252
|
+
"action": "CREATE",
|
|
255
253
|
"type": "button",
|
|
256
254
|
"variant": "primary",
|
|
257
|
-
"
|
|
255
|
+
"icon": "plus"
|
|
258
256
|
}
|
|
259
257
|
],
|
|
260
|
-
"
|
|
258
|
+
"direction": "horizontal"
|
|
261
259
|
}
|
|
262
260
|
],
|
|
263
261
|
"type": "stack",
|
|
264
|
-
"
|
|
262
|
+
"direction": "horizontal",
|
|
263
|
+
"justify": "between",
|
|
264
|
+
"align": "center"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"type": "divider"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
"type": "stack",
|
|
271
270
|
"children": [
|
|
272
271
|
"@trait.PatientSearch",
|
|
273
272
|
"@trait.PatientFilter"
|
|
274
273
|
],
|
|
275
|
-
"
|
|
276
|
-
"direction": "horizontal"
|
|
274
|
+
"type": "stack",
|
|
275
|
+
"direction": "horizontal",
|
|
276
|
+
"gap": "sm"
|
|
277
277
|
},
|
|
278
278
|
"@trait.PatientStats",
|
|
279
279
|
"@trait.PatientGraphs",
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
},
|
|
283
283
|
"@trait.PatientBrowseList"
|
|
284
284
|
],
|
|
285
|
-
"
|
|
285
|
+
"type": "stack"
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
]
|
|
@@ -301,34 +301,34 @@
|
|
|
301
301
|
"render-ui",
|
|
302
302
|
"main",
|
|
303
303
|
{
|
|
304
|
+
"align": "center",
|
|
304
305
|
"direction": "vertical",
|
|
306
|
+
"type": "stack",
|
|
307
|
+
"gap": "md",
|
|
308
|
+
"className": "py-8",
|
|
305
309
|
"children": [
|
|
306
310
|
{
|
|
307
|
-
"
|
|
308
|
-
"
|
|
311
|
+
"type": "icon",
|
|
312
|
+
"name": "bell"
|
|
309
313
|
},
|
|
310
314
|
{
|
|
311
315
|
"variant": "h3",
|
|
312
|
-
"
|
|
313
|
-
"
|
|
316
|
+
"type": "typography",
|
|
317
|
+
"content": "No notifications"
|
|
314
318
|
},
|
|
315
319
|
{
|
|
316
|
-
"
|
|
320
|
+
"content": "You're all caught up.",
|
|
317
321
|
"type": "typography",
|
|
318
|
-
"
|
|
319
|
-
"
|
|
322
|
+
"variant": "caption",
|
|
323
|
+
"color": "muted"
|
|
320
324
|
},
|
|
321
325
|
{
|
|
322
|
-
"label": "Back to patients",
|
|
323
326
|
"action": "INIT",
|
|
324
327
|
"type": "button",
|
|
328
|
+
"label": "Back to patients",
|
|
325
329
|
"variant": "ghost"
|
|
326
330
|
}
|
|
327
|
-
]
|
|
328
|
-
"type": "stack",
|
|
329
|
-
"align": "center",
|
|
330
|
-
"gap": "md",
|
|
331
|
-
"className": "py-8"
|
|
331
|
+
]
|
|
332
332
|
}
|
|
333
333
|
]
|
|
334
334
|
]
|
|
@@ -353,23 +353,23 @@
|
|
|
353
353
|
{
|
|
354
354
|
"field": "status",
|
|
355
355
|
"label": "Status",
|
|
356
|
-
"filterType": "select",
|
|
357
356
|
"options": [
|
|
358
357
|
"active",
|
|
359
358
|
"inactive",
|
|
360
359
|
"discharged"
|
|
361
|
-
]
|
|
360
|
+
],
|
|
361
|
+
"filterType": "select"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
"label": "Insurance",
|
|
365
365
|
"field": "insuranceId",
|
|
366
|
-
"filterType": "select",
|
|
367
366
|
"options": [
|
|
368
367
|
"aetna",
|
|
369
368
|
"bcbs",
|
|
370
369
|
"cigna",
|
|
371
370
|
"uhc"
|
|
372
|
-
]
|
|
371
|
+
],
|
|
372
|
+
"filterType": "select"
|
|
373
373
|
}
|
|
374
374
|
],
|
|
375
375
|
"event": "FILTER"
|
|
@@ -379,20 +379,21 @@
|
|
|
379
379
|
"ref": "Stats.traits.StatsItemStats",
|
|
380
380
|
"name": "PatientStats",
|
|
381
381
|
"config": {
|
|
382
|
+
"title": "Patient Overview",
|
|
382
383
|
"metrics": [
|
|
383
384
|
{
|
|
384
|
-
"variant": "primary",
|
|
385
|
-
"format": "number",
|
|
386
385
|
"aggregation": "count",
|
|
387
|
-
"
|
|
388
|
-
"
|
|
386
|
+
"icon": "users",
|
|
387
|
+
"format": "number",
|
|
388
|
+
"variant": "primary",
|
|
389
|
+
"label": "Total Patients"
|
|
389
390
|
},
|
|
390
391
|
{
|
|
392
|
+
"label": "Active",
|
|
391
393
|
"aggregation": "count",
|
|
392
|
-
"variant": "success",
|
|
393
394
|
"icon": "check-circle",
|
|
394
|
-
"label": "Active",
|
|
395
395
|
"format": "number",
|
|
396
|
+
"variant": "success",
|
|
396
397
|
"filter": [
|
|
397
398
|
"fn",
|
|
398
399
|
"row",
|
|
@@ -404,21 +405,20 @@
|
|
|
404
405
|
]
|
|
405
406
|
},
|
|
406
407
|
{
|
|
408
|
+
"format": "number",
|
|
407
409
|
"aggregation": "count",
|
|
408
410
|
"label": "New This Month",
|
|
409
411
|
"icon": "user-plus",
|
|
410
|
-
"format": "number",
|
|
411
412
|
"variant": "info"
|
|
412
413
|
},
|
|
413
414
|
{
|
|
414
415
|
"aggregation": "count",
|
|
415
|
-
"format": "number",
|
|
416
416
|
"variant": "default",
|
|
417
|
-
"
|
|
418
|
-
"icon": "shield"
|
|
417
|
+
"format": "number",
|
|
418
|
+
"icon": "shield",
|
|
419
|
+
"label": "By Insurance"
|
|
419
420
|
}
|
|
420
|
-
]
|
|
421
|
-
"title": "Patient Overview"
|
|
421
|
+
]
|
|
422
422
|
},
|
|
423
423
|
"listens": [
|
|
424
424
|
{
|
|
@@ -435,13 +435,13 @@
|
|
|
435
435
|
"ref": "Graphs.traits.GraphItemGraph",
|
|
436
436
|
"name": "PatientGraphs",
|
|
437
437
|
"config": {
|
|
438
|
-
"
|
|
438
|
+
"categoryField": "insuranceId",
|
|
439
|
+
"title": "Patients by Insurance",
|
|
439
440
|
"subtitle": "Distribution across providers",
|
|
440
441
|
"chartType": "pie",
|
|
441
|
-
"
|
|
442
|
+
"height": 280.0,
|
|
442
443
|
"aggregation": "count",
|
|
443
|
-
"
|
|
444
|
-
"height": 280.0
|
|
444
|
+
"showLegend": true
|
|
445
445
|
},
|
|
446
446
|
"listens": [
|
|
447
447
|
{
|
|
@@ -461,25 +461,25 @@
|
|
|
461
461
|
"config": {
|
|
462
462
|
"fields": [
|
|
463
463
|
{
|
|
464
|
+
"icon": "user",
|
|
464
465
|
"label": "Name",
|
|
465
|
-
"variant": "h3",
|
|
466
466
|
"name": "firstName",
|
|
467
|
-
"
|
|
467
|
+
"variant": "h3"
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
470
|
"name": "lastName",
|
|
471
471
|
"variant": "body"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
|
-
"variant": "caption",
|
|
475
|
-
"label": "DOB",
|
|
476
474
|
"format": "date",
|
|
477
|
-
"name": "dateOfBirth"
|
|
475
|
+
"name": "dateOfBirth",
|
|
476
|
+
"variant": "caption",
|
|
477
|
+
"label": "DOB"
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
|
+
"name": "insuranceId",
|
|
480
481
|
"label": "Insurance",
|
|
481
|
-
"variant": "badge"
|
|
482
|
-
"name": "insuranceId"
|
|
482
|
+
"variant": "badge"
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
485
|
"name": "status",
|
|
@@ -490,7 +490,6 @@
|
|
|
490
490
|
"variant": "caption"
|
|
491
491
|
}
|
|
492
492
|
],
|
|
493
|
-
"gap": "sm",
|
|
494
493
|
"itemActions": [
|
|
495
494
|
{
|
|
496
495
|
"label": "View",
|
|
@@ -498,16 +497,17 @@
|
|
|
498
497
|
"variant": "ghost"
|
|
499
498
|
},
|
|
500
499
|
{
|
|
500
|
+
"variant": "ghost",
|
|
501
501
|
"label": "Edit",
|
|
502
|
-
"event": "EDIT"
|
|
503
|
-
"variant": "ghost"
|
|
502
|
+
"event": "EDIT"
|
|
504
503
|
},
|
|
505
504
|
{
|
|
506
|
-
"variant": "danger",
|
|
507
505
|
"event": "DELETE",
|
|
506
|
+
"variant": "danger",
|
|
508
507
|
"label": "Delete"
|
|
509
508
|
}
|
|
510
|
-
]
|
|
509
|
+
],
|
|
510
|
+
"gap": "sm"
|
|
511
511
|
},
|
|
512
512
|
"listens": [
|
|
513
513
|
{
|
|
@@ -566,7 +566,6 @@
|
|
|
566
566
|
"name": "PatientCreate",
|
|
567
567
|
"linkedEntity": "Patient",
|
|
568
568
|
"config": {
|
|
569
|
-
"icon": "plus-circle",
|
|
570
569
|
"fields": [
|
|
571
570
|
"firstName",
|
|
572
571
|
"lastName",
|
|
@@ -576,12 +575,13 @@
|
|
|
576
575
|
"insuranceId",
|
|
577
576
|
"status"
|
|
578
577
|
],
|
|
579
|
-
"
|
|
580
|
-
"mode": "create"
|
|
578
|
+
"icon": "plus-circle",
|
|
579
|
+
"mode": "create",
|
|
580
|
+
"title": "Create Patient"
|
|
581
581
|
},
|
|
582
582
|
"events": {
|
|
583
|
-
"
|
|
584
|
-
"
|
|
583
|
+
"SAVE": "PATIENT_CREATED",
|
|
584
|
+
"OPEN": "CREATE"
|
|
585
585
|
},
|
|
586
586
|
"listens": [
|
|
587
587
|
{
|
|
@@ -599,6 +599,8 @@
|
|
|
599
599
|
"name": "PatientEdit",
|
|
600
600
|
"linkedEntity": "Patient",
|
|
601
601
|
"config": {
|
|
602
|
+
"title": "Edit Patient",
|
|
603
|
+
"mode": "edit",
|
|
602
604
|
"fields": [
|
|
603
605
|
"firstName",
|
|
604
606
|
"lastName",
|
|
@@ -608,9 +610,7 @@
|
|
|
608
610
|
"insuranceId",
|
|
609
611
|
"status"
|
|
610
612
|
],
|
|
611
|
-
"
|
|
612
|
-
"icon": "edit",
|
|
613
|
-
"title": "Edit Patient"
|
|
613
|
+
"icon": "edit"
|
|
614
614
|
},
|
|
615
615
|
"events": {
|
|
616
616
|
"SAVE": "PATIENT_UPDATED",
|
|
@@ -632,6 +632,7 @@
|
|
|
632
632
|
"name": "PatientView",
|
|
633
633
|
"linkedEntity": "Patient",
|
|
634
634
|
"config": {
|
|
635
|
+
"icon": "eye",
|
|
635
636
|
"fields": [
|
|
636
637
|
"firstName",
|
|
637
638
|
"lastName",
|
|
@@ -642,8 +643,7 @@
|
|
|
642
643
|
"status"
|
|
643
644
|
],
|
|
644
645
|
"mode": "edit",
|
|
645
|
-
"title": "Patient Details"
|
|
646
|
-
"icon": "eye"
|
|
646
|
+
"title": "Patient Details"
|
|
647
647
|
},
|
|
648
648
|
"events": {
|
|
649
649
|
"OPEN": "VIEW"
|
|
@@ -664,10 +664,10 @@
|
|
|
664
664
|
"name": "PatientDelete",
|
|
665
665
|
"linkedEntity": "Patient",
|
|
666
666
|
"config": {
|
|
667
|
-
"confirmLabel": "Delete",
|
|
668
|
-
"title": "Delete Patient",
|
|
669
667
|
"icon": "alert-triangle",
|
|
670
|
-
"
|
|
668
|
+
"title": "Delete Patient",
|
|
669
|
+
"alertMessage": "This action cannot be undone.",
|
|
670
|
+
"confirmLabel": "Delete"
|
|
671
671
|
},
|
|
672
672
|
"events": {
|
|
673
673
|
"REQUEST": "DELETE",
|
|
@@ -953,40 +953,40 @@
|
|
|
953
953
|
"render-ui",
|
|
954
954
|
"main",
|
|
955
955
|
{
|
|
956
|
-
"type": "stack",
|
|
957
|
-
"direction": "vertical",
|
|
958
|
-
"gap": "md",
|
|
959
956
|
"children": [
|
|
960
957
|
{
|
|
958
|
+
"gap": "sm",
|
|
961
959
|
"children": [
|
|
962
960
|
{
|
|
963
|
-
"
|
|
964
|
-
"
|
|
961
|
+
"type": "icon",
|
|
962
|
+
"name": "paperclip"
|
|
965
963
|
},
|
|
966
964
|
{
|
|
967
|
-
"type": "typography",
|
|
968
965
|
"content": "Upload Medical Record",
|
|
966
|
+
"type": "typography",
|
|
969
967
|
"variant": "h3"
|
|
970
968
|
}
|
|
971
969
|
],
|
|
972
|
-
"direction": "horizontal",
|
|
973
|
-
"gap": "sm",
|
|
974
970
|
"type": "stack",
|
|
971
|
+
"direction": "horizontal",
|
|
975
972
|
"align": "center"
|
|
976
973
|
},
|
|
977
974
|
{
|
|
975
|
+
"inputType": "text",
|
|
978
976
|
"placeholder": "Choose file path…",
|
|
979
|
-
"type": "input"
|
|
980
|
-
"inputType": "text"
|
|
977
|
+
"type": "input"
|
|
981
978
|
},
|
|
982
979
|
{
|
|
980
|
+
"label": "Upload",
|
|
981
|
+
"variant": "primary",
|
|
983
982
|
"icon": "upload",
|
|
984
983
|
"type": "button",
|
|
985
|
-
"action": "UPLOAD"
|
|
986
|
-
"label": "Upload",
|
|
987
|
-
"variant": "primary"
|
|
984
|
+
"action": "UPLOAD"
|
|
988
985
|
}
|
|
989
|
-
]
|
|
986
|
+
],
|
|
987
|
+
"gap": "md",
|
|
988
|
+
"type": "stack",
|
|
989
|
+
"direction": "vertical"
|
|
990
990
|
}
|
|
991
991
|
]
|
|
992
992
|
]
|
|
@@ -1001,10 +1001,10 @@
|
|
|
1001
1001
|
"storage",
|
|
1002
1002
|
"upload",
|
|
1003
1003
|
{
|
|
1004
|
-
"acl": "private",
|
|
1005
|
-
"maxSize": 10485760.0,
|
|
1006
1004
|
"file": "@payload.file",
|
|
1007
|
-
"bucket": "patient-records"
|
|
1005
|
+
"bucket": "patient-records",
|
|
1006
|
+
"acl": "private",
|
|
1007
|
+
"maxSize": 10485760.0
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
"emit": {
|
|
@@ -1017,21 +1017,21 @@
|
|
|
1017
1017
|
"render-ui",
|
|
1018
1018
|
"main",
|
|
1019
1019
|
{
|
|
1020
|
-
"type": "stack",
|
|
1021
|
-
"gap": "md",
|
|
1022
1020
|
"align": "center",
|
|
1021
|
+
"gap": "md",
|
|
1022
|
+
"type": "stack",
|
|
1023
|
+
"direction": "vertical",
|
|
1023
1024
|
"children": [
|
|
1024
1025
|
{
|
|
1025
1026
|
"type": "spinner"
|
|
1026
1027
|
},
|
|
1027
1028
|
{
|
|
1028
|
-
"variant": "caption",
|
|
1029
1029
|
"type": "typography",
|
|
1030
|
+
"content": "Uploading…",
|
|
1030
1031
|
"color": "muted",
|
|
1031
|
-
"
|
|
1032
|
+
"variant": "caption"
|
|
1032
1033
|
}
|
|
1033
|
-
]
|
|
1034
|
-
"direction": "vertical"
|
|
1034
|
+
]
|
|
1035
1035
|
}
|
|
1036
1036
|
]
|
|
1037
1037
|
]
|
|
@@ -1125,6 +1125,10 @@
|
|
|
1125
1125
|
{
|
|
1126
1126
|
"name": "AppointmentOrbital",
|
|
1127
1127
|
"uses": [
|
|
1128
|
+
{
|
|
1129
|
+
"from": "std/behaviors/std-app-layout",
|
|
1130
|
+
"as": "AppShell"
|
|
1131
|
+
},
|
|
1128
1132
|
{
|
|
1129
1133
|
"from": "std/behaviors/std-browse",
|
|
1130
1134
|
"as": "Browse"
|
|
@@ -1211,6 +1215,50 @@
|
|
|
1211
1215
|
]
|
|
1212
1216
|
},
|
|
1213
1217
|
"traits": [
|
|
1218
|
+
{
|
|
1219
|
+
"ref": "AppShell.traits.AppLayout",
|
|
1220
|
+
"name": "AppointmentAppLayout",
|
|
1221
|
+
"linkedEntity": "Appointment",
|
|
1222
|
+
"config": {
|
|
1223
|
+
"topBarActions": [],
|
|
1224
|
+
"searchEvent": "APPOINTMENT_SEARCH",
|
|
1225
|
+
"notificationClickEvent": "APPOINTMENT_NOTIFICATIONS_OPEN",
|
|
1226
|
+
"notifications": [],
|
|
1227
|
+
"appName": "HealthcareApp",
|
|
1228
|
+
"navItems": [
|
|
1229
|
+
{
|
|
1230
|
+
"icon": "user-plus",
|
|
1231
|
+
"href": "/patients",
|
|
1232
|
+
"label": "Patients"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"label": "Appointments",
|
|
1236
|
+
"icon": "calendar",
|
|
1237
|
+
"href": "/appointments"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"label": "Intake",
|
|
1241
|
+
"href": "/intake",
|
|
1242
|
+
"icon": "layout-list"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"label": "Prescriptions",
|
|
1246
|
+
"href": "/prescriptions",
|
|
1247
|
+
"icon": "pill"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"icon": "layout-dashboard",
|
|
1251
|
+
"label": "Dashboard",
|
|
1252
|
+
"href": "/dashboard"
|
|
1253
|
+
}
|
|
1254
|
+
],
|
|
1255
|
+
"contentTrait": "@trait.AppointmentCatalog"
|
|
1256
|
+
},
|
|
1257
|
+
"events": {
|
|
1258
|
+
"SEARCH": "APPOINTMENT_SEARCH",
|
|
1259
|
+
"NOTIFY_CLICK": "APPOINTMENT_NOTIFICATIONS_OPEN"
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1214
1262
|
{
|
|
1215
1263
|
"name": "AppointmentCatalog",
|
|
1216
1264
|
"category": "interaction",
|
|
@@ -1253,46 +1301,46 @@
|
|
|
1253
1301
|
"render-ui",
|
|
1254
1302
|
"main",
|
|
1255
1303
|
{
|
|
1256
|
-
"
|
|
1304
|
+
"gap": "lg",
|
|
1257
1305
|
"type": "stack",
|
|
1258
1306
|
"children": [
|
|
1259
1307
|
{
|
|
1308
|
+
"type": "stack",
|
|
1309
|
+
"direction": "horizontal",
|
|
1310
|
+
"gap": "md",
|
|
1260
1311
|
"children": [
|
|
1261
1312
|
{
|
|
1262
|
-
"
|
|
1313
|
+
"gap": "sm",
|
|
1314
|
+
"direction": "horizontal",
|
|
1263
1315
|
"align": "center",
|
|
1316
|
+
"type": "stack",
|
|
1264
1317
|
"children": [
|
|
1265
1318
|
{
|
|
1266
1319
|
"type": "icon",
|
|
1267
1320
|
"name": "calendar"
|
|
1268
1321
|
},
|
|
1269
1322
|
{
|
|
1270
|
-
"variant": "h2",
|
|
1271
1323
|
"content": "Appointments",
|
|
1324
|
+
"variant": "h2",
|
|
1272
1325
|
"type": "typography"
|
|
1273
1326
|
}
|
|
1274
|
-
]
|
|
1275
|
-
"gap": "sm",
|
|
1276
|
-
"direction": "horizontal"
|
|
1327
|
+
]
|
|
1277
1328
|
},
|
|
1278
1329
|
{
|
|
1279
1330
|
"direction": "horizontal",
|
|
1280
1331
|
"children": [
|
|
1281
1332
|
{
|
|
1282
|
-
"icon": "plus",
|
|
1283
|
-
"label": "New Appointment",
|
|
1284
1333
|
"variant": "primary",
|
|
1334
|
+
"action": "CREATE",
|
|
1285
1335
|
"type": "button",
|
|
1286
|
-
"
|
|
1336
|
+
"label": "New Appointment",
|
|
1337
|
+
"icon": "plus"
|
|
1287
1338
|
}
|
|
1288
1339
|
],
|
|
1289
1340
|
"gap": "sm",
|
|
1290
1341
|
"type": "stack"
|
|
1291
1342
|
}
|
|
1292
1343
|
],
|
|
1293
|
-
"direction": "horizontal",
|
|
1294
|
-
"type": "stack",
|
|
1295
|
-
"gap": "md",
|
|
1296
1344
|
"justify": "between",
|
|
1297
1345
|
"align": "center"
|
|
1298
1346
|
},
|
|
@@ -1305,7 +1353,7 @@
|
|
|
1305
1353
|
},
|
|
1306
1354
|
"@trait.AppointmentBrowseList"
|
|
1307
1355
|
],
|
|
1308
|
-
"
|
|
1356
|
+
"direction": "vertical"
|
|
1309
1357
|
}
|
|
1310
1358
|
]
|
|
1311
1359
|
]
|
|
@@ -1319,8 +1367,8 @@
|
|
|
1319
1367
|
"name": "AppointmentCalendar",
|
|
1320
1368
|
"linkedEntity": "Appointment",
|
|
1321
1369
|
"config": {
|
|
1322
|
-
"dateField": "scheduledAt",
|
|
1323
1370
|
"colorField": "status",
|
|
1371
|
+
"dateField": "scheduledAt",
|
|
1324
1372
|
"titleField": "summary"
|
|
1325
1373
|
},
|
|
1326
1374
|
"listens": [
|
|
@@ -1355,50 +1403,50 @@
|
|
|
1355
1403
|
"name": "AppointmentBrowseList",
|
|
1356
1404
|
"linkedEntity": "Appointment",
|
|
1357
1405
|
"config": {
|
|
1406
|
+
"itemActions": [
|
|
1407
|
+
{
|
|
1408
|
+
"label": "View",
|
|
1409
|
+
"event": "VIEW",
|
|
1410
|
+
"variant": "ghost"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"event": "EDIT",
|
|
1414
|
+
"variant": "ghost",
|
|
1415
|
+
"label": "Edit"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"label": "Delete",
|
|
1419
|
+
"event": "DELETE",
|
|
1420
|
+
"variant": "danger"
|
|
1421
|
+
}
|
|
1422
|
+
],
|
|
1358
1423
|
"fields": [
|
|
1359
1424
|
{
|
|
1360
|
-
"icon": "user",
|
|
1361
|
-
"name": "patientName",
|
|
1362
1425
|
"label": "Patient",
|
|
1363
|
-
"variant": "h4"
|
|
1426
|
+
"variant": "h4",
|
|
1427
|
+
"name": "patientName",
|
|
1428
|
+
"icon": "user"
|
|
1364
1429
|
},
|
|
1365
1430
|
{
|
|
1431
|
+
"label": "Doctor",
|
|
1366
1432
|
"variant": "body",
|
|
1367
|
-
"name": "doctorName"
|
|
1368
|
-
"label": "Doctor"
|
|
1433
|
+
"name": "doctorName"
|
|
1369
1434
|
},
|
|
1370
1435
|
{
|
|
1371
|
-
"
|
|
1372
|
-
"format": "date",
|
|
1436
|
+
"variant": "caption",
|
|
1373
1437
|
"label": "When",
|
|
1374
|
-
"
|
|
1438
|
+
"format": "date",
|
|
1439
|
+
"name": "scheduledAt"
|
|
1375
1440
|
},
|
|
1376
1441
|
{
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1442
|
+
"variant": "badge",
|
|
1443
|
+
"name": "status"
|
|
1379
1444
|
},
|
|
1380
1445
|
{
|
|
1381
1446
|
"variant": "caption",
|
|
1382
1447
|
"name": "reason"
|
|
1383
1448
|
}
|
|
1384
1449
|
],
|
|
1385
|
-
"itemActions": [
|
|
1386
|
-
{
|
|
1387
|
-
"event": "VIEW",
|
|
1388
|
-
"variant": "ghost",
|
|
1389
|
-
"label": "View"
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"label": "Edit",
|
|
1393
|
-
"event": "EDIT",
|
|
1394
|
-
"variant": "ghost"
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
"event": "DELETE",
|
|
1398
|
-
"label": "Delete",
|
|
1399
|
-
"variant": "danger"
|
|
1400
|
-
}
|
|
1401
|
-
],
|
|
1402
1450
|
"gap": "sm"
|
|
1403
1451
|
},
|
|
1404
1452
|
"listens": [
|
|
@@ -1433,6 +1481,8 @@
|
|
|
1433
1481
|
"name": "AppointmentCreate",
|
|
1434
1482
|
"linkedEntity": "Appointment",
|
|
1435
1483
|
"config": {
|
|
1484
|
+
"title": "Create Appointment",
|
|
1485
|
+
"icon": "plus-circle",
|
|
1436
1486
|
"fields": [
|
|
1437
1487
|
"patientName",
|
|
1438
1488
|
"patientEmail",
|
|
@@ -1443,13 +1493,11 @@
|
|
|
1443
1493
|
"reason",
|
|
1444
1494
|
"status"
|
|
1445
1495
|
],
|
|
1446
|
-
"
|
|
1447
|
-
"mode": "create",
|
|
1448
|
-
"title": "Create Appointment"
|
|
1496
|
+
"mode": "create"
|
|
1449
1497
|
},
|
|
1450
1498
|
"events": {
|
|
1451
|
-
"
|
|
1452
|
-
"
|
|
1499
|
+
"OPEN": "CREATE",
|
|
1500
|
+
"SAVE": "APPOINTMENT_CREATED"
|
|
1453
1501
|
},
|
|
1454
1502
|
"listens": [
|
|
1455
1503
|
{
|
|
@@ -1467,8 +1515,8 @@
|
|
|
1467
1515
|
"name": "AppointmentEdit",
|
|
1468
1516
|
"linkedEntity": "Appointment",
|
|
1469
1517
|
"config": {
|
|
1470
|
-
"mode": "edit",
|
|
1471
1518
|
"title": "Edit Appointment",
|
|
1519
|
+
"icon": "edit",
|
|
1472
1520
|
"fields": [
|
|
1473
1521
|
"patientName",
|
|
1474
1522
|
"patientEmail",
|
|
@@ -1479,7 +1527,7 @@
|
|
|
1479
1527
|
"reason",
|
|
1480
1528
|
"status"
|
|
1481
1529
|
],
|
|
1482
|
-
"
|
|
1530
|
+
"mode": "edit"
|
|
1483
1531
|
},
|
|
1484
1532
|
"events": {
|
|
1485
1533
|
"OPEN": "EDIT",
|
|
@@ -1509,9 +1557,9 @@
|
|
|
1509
1557
|
"reason",
|
|
1510
1558
|
"status"
|
|
1511
1559
|
],
|
|
1512
|
-
"icon": "eye",
|
|
1513
1560
|
"mode": "edit",
|
|
1514
|
-
"title": "Appointment Details"
|
|
1561
|
+
"title": "Appointment Details",
|
|
1562
|
+
"icon": "eye"
|
|
1515
1563
|
},
|
|
1516
1564
|
"events": {
|
|
1517
1565
|
"OPEN": "VIEW"
|
|
@@ -1532,14 +1580,14 @@
|
|
|
1532
1580
|
"name": "AppointmentDelete",
|
|
1533
1581
|
"linkedEntity": "Appointment",
|
|
1534
1582
|
"config": {
|
|
1535
|
-
"
|
|
1583
|
+
"confirmLabel": "Delete",
|
|
1536
1584
|
"title": "Delete Appointment",
|
|
1537
1585
|
"alertMessage": "This action cannot be undone.",
|
|
1538
|
-
"
|
|
1586
|
+
"icon": "alert-triangle"
|
|
1539
1587
|
},
|
|
1540
1588
|
"events": {
|
|
1541
|
-
"
|
|
1542
|
-
"
|
|
1589
|
+
"REQUEST": "DELETE",
|
|
1590
|
+
"CONFIRM": "APPOINTMENT_DELETED"
|
|
1543
1591
|
},
|
|
1544
1592
|
"listens": [
|
|
1545
1593
|
{
|
|
@@ -1748,10 +1796,10 @@
|
|
|
1748
1796
|
"email",
|
|
1749
1797
|
"send",
|
|
1750
1798
|
{
|
|
1751
|
-
"
|
|
1799
|
+
"body": "Your appointment is scheduled.",
|
|
1752
1800
|
"sender": "noreply@clinic.example",
|
|
1753
1801
|
"recipient": "@payload.data.patientEmail",
|
|
1754
|
-
"
|
|
1802
|
+
"subject": "Appointment Confirmed"
|
|
1755
1803
|
},
|
|
1756
1804
|
{
|
|
1757
1805
|
"emit": {
|
|
@@ -1909,34 +1957,34 @@
|
|
|
1909
1957
|
"main",
|
|
1910
1958
|
{
|
|
1911
1959
|
"type": "stack",
|
|
1960
|
+
"gap": "md",
|
|
1961
|
+
"direction": "vertical",
|
|
1912
1962
|
"children": [
|
|
1913
1963
|
{
|
|
1914
|
-
"align": "center",
|
|
1915
|
-
"direction": "horizontal",
|
|
1916
1964
|
"gap": "sm",
|
|
1965
|
+
"direction": "horizontal",
|
|
1917
1966
|
"type": "stack",
|
|
1967
|
+
"align": "center",
|
|
1918
1968
|
"children": [
|
|
1919
1969
|
{
|
|
1920
|
-
"
|
|
1921
|
-
"
|
|
1970
|
+
"type": "icon",
|
|
1971
|
+
"name": "bell"
|
|
1922
1972
|
},
|
|
1923
1973
|
{
|
|
1924
|
-
"type": "typography",
|
|
1925
1974
|
"content": "Send Appointment Reminder",
|
|
1926
|
-
"variant": "h3"
|
|
1975
|
+
"variant": "h3",
|
|
1976
|
+
"type": "typography"
|
|
1927
1977
|
}
|
|
1928
1978
|
]
|
|
1929
1979
|
},
|
|
1930
1980
|
{
|
|
1931
|
-
"type": "button",
|
|
1932
|
-
"icon": "send",
|
|
1933
|
-
"variant": "primary",
|
|
1934
1981
|
"label": "Send SMS Reminder",
|
|
1935
|
-
"
|
|
1982
|
+
"variant": "primary",
|
|
1983
|
+
"action": "SEND_REMINDER",
|
|
1984
|
+
"type": "button",
|
|
1985
|
+
"icon": "send"
|
|
1936
1986
|
}
|
|
1937
|
-
]
|
|
1938
|
-
"direction": "vertical",
|
|
1939
|
-
"gap": "md"
|
|
1987
|
+
]
|
|
1940
1988
|
}
|
|
1941
1989
|
]
|
|
1942
1990
|
]
|
|
@@ -1951,14 +1999,14 @@
|
|
|
1951
1999
|
"twilio",
|
|
1952
2000
|
"sendSMS",
|
|
1953
2001
|
{
|
|
1954
|
-
"recipient": "@payload.data.patientPhone",
|
|
1955
2002
|
"sender": "+15551234567",
|
|
2003
|
+
"recipient": "@payload.data.patientPhone",
|
|
1956
2004
|
"body": "Reminder: appointment tomorrow."
|
|
1957
2005
|
},
|
|
1958
2006
|
{
|
|
1959
2007
|
"emit": {
|
|
1960
|
-
"
|
|
1961
|
-
"
|
|
2008
|
+
"success": "ReminderSent",
|
|
2009
|
+
"failure": "ReminderFailed"
|
|
1962
2010
|
}
|
|
1963
2011
|
}
|
|
1964
2012
|
],
|
|
@@ -1966,21 +2014,21 @@
|
|
|
1966
2014
|
"render-ui",
|
|
1967
2015
|
"main",
|
|
1968
2016
|
{
|
|
1969
|
-
"direction": "vertical",
|
|
1970
|
-
"type": "stack",
|
|
1971
2017
|
"gap": "md",
|
|
1972
|
-
"
|
|
2018
|
+
"type": "stack",
|
|
1973
2019
|
"children": [
|
|
1974
2020
|
{
|
|
1975
2021
|
"type": "spinner"
|
|
1976
2022
|
},
|
|
1977
2023
|
{
|
|
1978
2024
|
"variant": "caption",
|
|
1979
|
-
"content": "Sending reminder…",
|
|
1980
2025
|
"color": "muted",
|
|
1981
|
-
"type": "typography"
|
|
2026
|
+
"type": "typography",
|
|
2027
|
+
"content": "Sending reminder…"
|
|
1982
2028
|
}
|
|
1983
|
-
]
|
|
2029
|
+
],
|
|
2030
|
+
"direction": "vertical",
|
|
2031
|
+
"align": "center"
|
|
1984
2032
|
}
|
|
1985
2033
|
]
|
|
1986
2034
|
]
|
|
@@ -2019,6 +2067,9 @@
|
|
|
2019
2067
|
"name": "AppointmentsPage",
|
|
2020
2068
|
"path": "/appointments",
|
|
2021
2069
|
"traits": [
|
|
2070
|
+
{
|
|
2071
|
+
"ref": "AppointmentAppLayout"
|
|
2072
|
+
},
|
|
2022
2073
|
{
|
|
2023
2074
|
"ref": "AppointmentCatalog"
|
|
2024
2075
|
},
|
|
@@ -2058,6 +2109,12 @@
|
|
|
2058
2109
|
},
|
|
2059
2110
|
{
|
|
2060
2111
|
"name": "IntakeFormOrbital",
|
|
2112
|
+
"uses": [
|
|
2113
|
+
{
|
|
2114
|
+
"from": "std/behaviors/std-app-layout",
|
|
2115
|
+
"as": "AppShell"
|
|
2116
|
+
}
|
|
2117
|
+
],
|
|
2061
2118
|
"entity": {
|
|
2062
2119
|
"name": "IntakeForm",
|
|
2063
2120
|
"collection": "intakeforms",
|
|
@@ -2111,6 +2168,50 @@
|
|
|
2111
2168
|
]
|
|
2112
2169
|
},
|
|
2113
2170
|
"traits": [
|
|
2171
|
+
{
|
|
2172
|
+
"ref": "AppShell.traits.AppLayout",
|
|
2173
|
+
"name": "IntakeFormAppLayout",
|
|
2174
|
+
"linkedEntity": "IntakeForm",
|
|
2175
|
+
"config": {
|
|
2176
|
+
"navItems": [
|
|
2177
|
+
{
|
|
2178
|
+
"icon": "user-plus",
|
|
2179
|
+
"label": "Patients",
|
|
2180
|
+
"href": "/patients"
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"label": "Appointments",
|
|
2184
|
+
"icon": "calendar",
|
|
2185
|
+
"href": "/appointments"
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"icon": "layout-list",
|
|
2189
|
+
"label": "Intake",
|
|
2190
|
+
"href": "/intake"
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"icon": "pill",
|
|
2194
|
+
"href": "/prescriptions",
|
|
2195
|
+
"label": "Prescriptions"
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"icon": "layout-dashboard",
|
|
2199
|
+
"label": "Dashboard",
|
|
2200
|
+
"href": "/dashboard"
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
2203
|
+
"contentTrait": "@trait.IntakeFormWizard",
|
|
2204
|
+
"notificationClickEvent": "INTAKE_NOTIFICATIONS_OPEN",
|
|
2205
|
+
"searchEvent": "INTAKE_SEARCH",
|
|
2206
|
+
"topBarActions": [],
|
|
2207
|
+
"notifications": [],
|
|
2208
|
+
"appName": "HealthcareApp"
|
|
2209
|
+
},
|
|
2210
|
+
"events": {
|
|
2211
|
+
"SEARCH": "INTAKE_SEARCH",
|
|
2212
|
+
"NOTIFY_CLICK": "INTAKE_NOTIFICATIONS_OPEN"
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2114
2215
|
{
|
|
2115
2216
|
"name": "IntakeFormWizard",
|
|
2116
2217
|
"category": "interaction",
|
|
@@ -2326,8 +2427,8 @@
|
|
|
2326
2427
|
"IntakeForm",
|
|
2327
2428
|
{
|
|
2328
2429
|
"emit": {
|
|
2329
|
-
"
|
|
2330
|
-
"
|
|
2430
|
+
"success": "IntakeFormLoaded",
|
|
2431
|
+
"failure": "IntakeFormLoadFailed"
|
|
2331
2432
|
}
|
|
2332
2433
|
}
|
|
2333
2434
|
],
|
|
@@ -2335,34 +2436,35 @@
|
|
|
2335
2436
|
"render-ui",
|
|
2336
2437
|
"main",
|
|
2337
2438
|
{
|
|
2439
|
+
"type": "stack",
|
|
2338
2440
|
"gap": "lg",
|
|
2339
2441
|
"children": [
|
|
2340
2442
|
{
|
|
2443
|
+
"gap": "sm",
|
|
2444
|
+
"type": "stack",
|
|
2445
|
+
"align": "center",
|
|
2341
2446
|
"children": [
|
|
2342
2447
|
{
|
|
2343
|
-
"
|
|
2344
|
-
"
|
|
2448
|
+
"type": "icon",
|
|
2449
|
+
"name": "clipboard"
|
|
2345
2450
|
},
|
|
2346
2451
|
{
|
|
2347
|
-
"type": "typography",
|
|
2348
2452
|
"variant": "h2",
|
|
2453
|
+
"type": "typography",
|
|
2349
2454
|
"content": "Patient Intake"
|
|
2350
2455
|
}
|
|
2351
2456
|
],
|
|
2352
|
-
"
|
|
2353
|
-
"direction": "horizontal",
|
|
2354
|
-
"type": "stack",
|
|
2355
|
-
"align": "center"
|
|
2457
|
+
"direction": "horizontal"
|
|
2356
2458
|
},
|
|
2357
2459
|
{
|
|
2460
|
+
"currentStep": 0.0,
|
|
2358
2461
|
"type": "wizard-progress",
|
|
2359
2462
|
"steps": [
|
|
2360
2463
|
"Personal Info",
|
|
2361
2464
|
"Medical History",
|
|
2362
2465
|
"Insurance",
|
|
2363
2466
|
"Review"
|
|
2364
|
-
]
|
|
2365
|
-
"currentStep": 0.0
|
|
2467
|
+
]
|
|
2366
2468
|
},
|
|
2367
2469
|
{
|
|
2368
2470
|
"type": "divider"
|
|
@@ -2373,30 +2475,29 @@
|
|
|
2373
2475
|
"type": "typography"
|
|
2374
2476
|
},
|
|
2375
2477
|
{
|
|
2478
|
+
"submitEvent": "NEXT",
|
|
2479
|
+
"showCancel": false,
|
|
2480
|
+
"submitLabel": "Continue",
|
|
2481
|
+
"type": "form-section",
|
|
2482
|
+
"mode": "create",
|
|
2376
2483
|
"fields": [
|
|
2377
2484
|
{
|
|
2378
2485
|
"required": true,
|
|
2379
2486
|
"name": "firstName"
|
|
2380
2487
|
},
|
|
2381
2488
|
{
|
|
2382
|
-
"
|
|
2383
|
-
"
|
|
2489
|
+
"name": "lastName",
|
|
2490
|
+
"required": true
|
|
2384
2491
|
},
|
|
2385
2492
|
{
|
|
2386
2493
|
"name": "dateOfBirth",
|
|
2387
2494
|
"required": true
|
|
2388
2495
|
}
|
|
2389
|
-
]
|
|
2390
|
-
"submitEvent": "NEXT",
|
|
2391
|
-
"showCancel": false,
|
|
2392
|
-
"type": "form-section",
|
|
2393
|
-
"mode": "create",
|
|
2394
|
-
"submitLabel": "Continue"
|
|
2496
|
+
]
|
|
2395
2497
|
}
|
|
2396
2498
|
],
|
|
2397
|
-
"
|
|
2398
|
-
"className": "max-w-xl mx-auto w-full"
|
|
2399
|
-
"direction": "vertical"
|
|
2499
|
+
"direction": "vertical",
|
|
2500
|
+
"className": "max-w-xl mx-auto w-full"
|
|
2400
2501
|
}
|
|
2401
2502
|
]
|
|
2402
2503
|
]
|
|
@@ -2431,48 +2532,48 @@
|
|
|
2431
2532
|
"render-ui",
|
|
2432
2533
|
"main",
|
|
2433
2534
|
{
|
|
2434
|
-
"type": "stack",
|
|
2435
2535
|
"className": "max-w-xl mx-auto w-full",
|
|
2536
|
+
"type": "stack",
|
|
2436
2537
|
"gap": "lg",
|
|
2437
|
-
"direction": "vertical",
|
|
2438
2538
|
"children": [
|
|
2439
2539
|
{
|
|
2440
|
-
"content": "Patient Intake",
|
|
2441
2540
|
"type": "typography",
|
|
2442
|
-
"variant": "h2"
|
|
2541
|
+
"variant": "h2",
|
|
2542
|
+
"content": "Patient Intake"
|
|
2443
2543
|
},
|
|
2444
2544
|
{
|
|
2445
2545
|
"type": "wizard-progress",
|
|
2546
|
+
"currentStep": 1.0,
|
|
2446
2547
|
"steps": [
|
|
2447
2548
|
"Personal Info",
|
|
2448
2549
|
"Medical History",
|
|
2449
2550
|
"Insurance",
|
|
2450
2551
|
"Review"
|
|
2451
|
-
]
|
|
2452
|
-
"currentStep": 1.0
|
|
2552
|
+
]
|
|
2453
2553
|
},
|
|
2454
2554
|
{
|
|
2455
2555
|
"type": "divider"
|
|
2456
2556
|
},
|
|
2457
2557
|
{
|
|
2458
|
-
"variant": "h3",
|
|
2459
2558
|
"type": "typography",
|
|
2460
|
-
"content": "Medical History"
|
|
2559
|
+
"content": "Medical History",
|
|
2560
|
+
"variant": "h3"
|
|
2461
2561
|
},
|
|
2462
2562
|
{
|
|
2463
|
-
"entity": "@entity",
|
|
2464
|
-
"mode": "edit",
|
|
2465
|
-
"cancelLabel": "Back",
|
|
2466
2563
|
"fields": [
|
|
2467
2564
|
"allergies",
|
|
2468
2565
|
"medications"
|
|
2469
2566
|
],
|
|
2470
2567
|
"cancelEvent": "PREV",
|
|
2471
|
-
"
|
|
2568
|
+
"entity": "@entity",
|
|
2569
|
+
"mode": "edit",
|
|
2472
2570
|
"type": "form-section",
|
|
2473
|
-
"submitLabel": "Continue"
|
|
2571
|
+
"submitLabel": "Continue",
|
|
2572
|
+
"cancelLabel": "Back",
|
|
2573
|
+
"submitEvent": "NEXT"
|
|
2474
2574
|
}
|
|
2475
|
-
]
|
|
2575
|
+
],
|
|
2576
|
+
"direction": "vertical"
|
|
2476
2577
|
}
|
|
2477
2578
|
]
|
|
2478
2579
|
]
|
|
@@ -2502,8 +2603,9 @@
|
|
|
2502
2603
|
"render-ui",
|
|
2503
2604
|
"main",
|
|
2504
2605
|
{
|
|
2505
|
-
"type": "stack",
|
|
2506
2606
|
"gap": "lg",
|
|
2607
|
+
"direction": "vertical",
|
|
2608
|
+
"type": "stack",
|
|
2507
2609
|
"className": "max-w-xl mx-auto w-full",
|
|
2508
2610
|
"children": [
|
|
2509
2611
|
{
|
|
@@ -2512,14 +2614,14 @@
|
|
|
2512
2614
|
"content": "Patient Intake"
|
|
2513
2615
|
},
|
|
2514
2616
|
{
|
|
2617
|
+
"currentStep": 2.0,
|
|
2515
2618
|
"steps": [
|
|
2516
2619
|
"Personal Info",
|
|
2517
2620
|
"Medical History",
|
|
2518
2621
|
"Insurance",
|
|
2519
2622
|
"Review"
|
|
2520
2623
|
],
|
|
2521
|
-
"type": "wizard-progress"
|
|
2522
|
-
"currentStep": 2.0
|
|
2624
|
+
"type": "wizard-progress"
|
|
2523
2625
|
},
|
|
2524
2626
|
{
|
|
2525
2627
|
"type": "divider"
|
|
@@ -2530,11 +2632,8 @@
|
|
|
2530
2632
|
"content": "Insurance"
|
|
2531
2633
|
},
|
|
2532
2634
|
{
|
|
2533
|
-
"mode": "edit",
|
|
2534
2635
|
"type": "form-section",
|
|
2535
|
-
"submitLabel": "Continue",
|
|
2536
2636
|
"entity": "@entity",
|
|
2537
|
-
"submitEvent": "NEXT",
|
|
2538
2637
|
"fields": [
|
|
2539
2638
|
{
|
|
2540
2639
|
"required": true,
|
|
@@ -2549,11 +2648,13 @@
|
|
|
2549
2648
|
"required": true
|
|
2550
2649
|
}
|
|
2551
2650
|
],
|
|
2552
|
-
"
|
|
2553
|
-
"
|
|
2651
|
+
"submitEvent": "NEXT",
|
|
2652
|
+
"mode": "edit",
|
|
2653
|
+
"submitLabel": "Continue",
|
|
2654
|
+
"cancelLabel": "Back",
|
|
2655
|
+
"cancelEvent": "PREV"
|
|
2554
2656
|
}
|
|
2555
|
-
]
|
|
2556
|
-
"direction": "vertical"
|
|
2657
|
+
]
|
|
2557
2658
|
}
|
|
2558
2659
|
]
|
|
2559
2660
|
]
|
|
@@ -2567,48 +2668,47 @@
|
|
|
2567
2668
|
"render-ui",
|
|
2568
2669
|
"main",
|
|
2569
2670
|
{
|
|
2570
|
-
"direction": "vertical",
|
|
2571
2671
|
"className": "max-w-xl mx-auto w-full",
|
|
2572
2672
|
"type": "stack",
|
|
2573
2673
|
"children": [
|
|
2574
2674
|
{
|
|
2575
|
-
"
|
|
2675
|
+
"type": "typography",
|
|
2576
2676
|
"content": "Patient Intake",
|
|
2577
|
-
"
|
|
2677
|
+
"variant": "h2"
|
|
2578
2678
|
},
|
|
2579
2679
|
{
|
|
2580
|
-
"type": "wizard-progress",
|
|
2581
2680
|
"steps": [
|
|
2582
2681
|
"Personal Info",
|
|
2583
2682
|
"Medical History",
|
|
2584
2683
|
"Insurance",
|
|
2585
2684
|
"Review"
|
|
2586
2685
|
],
|
|
2587
|
-
"currentStep": 0.0
|
|
2686
|
+
"currentStep": 0.0,
|
|
2687
|
+
"type": "wizard-progress"
|
|
2588
2688
|
},
|
|
2589
2689
|
{
|
|
2590
2690
|
"type": "divider"
|
|
2591
2691
|
},
|
|
2592
2692
|
{
|
|
2593
|
-
"variant": "h3",
|
|
2594
2693
|
"type": "typography",
|
|
2694
|
+
"variant": "h3",
|
|
2595
2695
|
"content": "Personal Info"
|
|
2596
2696
|
},
|
|
2597
2697
|
{
|
|
2598
2698
|
"entity": "@entity",
|
|
2599
2699
|
"submitEvent": "NEXT",
|
|
2600
|
-
"submitLabel": "Continue",
|
|
2601
|
-
"type": "form-section",
|
|
2602
2700
|
"mode": "edit",
|
|
2603
2701
|
"showCancel": false,
|
|
2702
|
+
"type": "form-section",
|
|
2703
|
+
"submitLabel": "Continue",
|
|
2604
2704
|
"fields": [
|
|
2605
2705
|
{
|
|
2606
2706
|
"required": true,
|
|
2607
2707
|
"name": "firstName"
|
|
2608
2708
|
},
|
|
2609
2709
|
{
|
|
2610
|
-
"
|
|
2611
|
-
"
|
|
2710
|
+
"name": "lastName",
|
|
2711
|
+
"required": true
|
|
2612
2712
|
},
|
|
2613
2713
|
{
|
|
2614
2714
|
"name": "dateOfBirth",
|
|
@@ -2617,6 +2717,7 @@
|
|
|
2617
2717
|
]
|
|
2618
2718
|
}
|
|
2619
2719
|
],
|
|
2720
|
+
"direction": "vertical",
|
|
2620
2721
|
"gap": "lg"
|
|
2621
2722
|
}
|
|
2622
2723
|
]
|
|
@@ -2655,48 +2756,48 @@
|
|
|
2655
2756
|
"render-ui",
|
|
2656
2757
|
"main",
|
|
2657
2758
|
{
|
|
2658
|
-
"gap": "lg",
|
|
2659
|
-
"type": "stack",
|
|
2660
2759
|
"direction": "vertical",
|
|
2661
|
-
"
|
|
2760
|
+
"type": "stack",
|
|
2662
2761
|
"children": [
|
|
2663
2762
|
{
|
|
2664
|
-
"content": "Review intake",
|
|
2665
2763
|
"type": "typography",
|
|
2764
|
+
"content": "Review intake",
|
|
2666
2765
|
"variant": "h2"
|
|
2667
2766
|
},
|
|
2668
2767
|
{
|
|
2768
|
+
"currentStep": 3.0,
|
|
2769
|
+
"type": "wizard-progress",
|
|
2669
2770
|
"steps": [
|
|
2670
2771
|
"Personal Info",
|
|
2671
2772
|
"Medical History",
|
|
2672
2773
|
"Insurance",
|
|
2673
2774
|
"Review"
|
|
2674
|
-
]
|
|
2675
|
-
"type": "wizard-progress",
|
|
2676
|
-
"currentStep": 3.0
|
|
2775
|
+
]
|
|
2677
2776
|
},
|
|
2678
2777
|
{
|
|
2679
2778
|
"type": "divider"
|
|
2680
2779
|
},
|
|
2681
2780
|
{
|
|
2781
|
+
"type": "stack",
|
|
2782
|
+
"gap": "sm",
|
|
2682
2783
|
"children": [
|
|
2683
2784
|
{
|
|
2684
|
-
"type": "stack",
|
|
2685
2785
|
"children": [
|
|
2686
2786
|
{
|
|
2787
|
+
"type": "typography",
|
|
2687
2788
|
"variant": "caption",
|
|
2688
|
-
"content": "First Name"
|
|
2689
|
-
"type": "typography"
|
|
2789
|
+
"content": "First Name"
|
|
2690
2790
|
},
|
|
2691
2791
|
{
|
|
2692
|
-
"content": "@entity.firstName",
|
|
2693
2792
|
"type": "typography",
|
|
2793
|
+
"content": "@entity.firstName",
|
|
2694
2794
|
"variant": "body"
|
|
2695
2795
|
}
|
|
2696
2796
|
],
|
|
2797
|
+
"direction": "horizontal",
|
|
2798
|
+
"type": "stack",
|
|
2697
2799
|
"gap": "md",
|
|
2698
|
-
"justify": "between"
|
|
2699
|
-
"direction": "horizontal"
|
|
2800
|
+
"justify": "between"
|
|
2700
2801
|
},
|
|
2701
2802
|
{
|
|
2702
2803
|
"type": "stack",
|
|
@@ -2705,55 +2806,54 @@
|
|
|
2705
2806
|
"direction": "horizontal",
|
|
2706
2807
|
"children": [
|
|
2707
2808
|
{
|
|
2708
|
-
"content": "Last Name",
|
|
2709
2809
|
"type": "typography",
|
|
2710
|
-
"variant": "caption"
|
|
2810
|
+
"variant": "caption",
|
|
2811
|
+
"content": "Last Name"
|
|
2711
2812
|
},
|
|
2712
2813
|
{
|
|
2713
|
-
"type": "typography",
|
|
2714
2814
|
"variant": "body",
|
|
2715
|
-
"content": "@entity.lastName"
|
|
2815
|
+
"content": "@entity.lastName",
|
|
2816
|
+
"type": "typography"
|
|
2716
2817
|
}
|
|
2717
2818
|
]
|
|
2718
2819
|
},
|
|
2719
2820
|
{
|
|
2720
2821
|
"type": "stack",
|
|
2721
|
-
"gap": "md",
|
|
2722
2822
|
"justify": "between",
|
|
2823
|
+
"gap": "md",
|
|
2723
2824
|
"direction": "horizontal",
|
|
2724
2825
|
"children": [
|
|
2725
2826
|
{
|
|
2827
|
+
"type": "typography",
|
|
2726
2828
|
"variant": "caption",
|
|
2727
|
-
"content": "Date of Birth"
|
|
2728
|
-
"type": "typography"
|
|
2829
|
+
"content": "Date of Birth"
|
|
2729
2830
|
},
|
|
2730
2831
|
{
|
|
2731
|
-
"variant": "body",
|
|
2732
2832
|
"content": "@entity.dateOfBirth",
|
|
2733
|
-
"type": "typography"
|
|
2833
|
+
"type": "typography",
|
|
2834
|
+
"variant": "body"
|
|
2734
2835
|
}
|
|
2735
2836
|
]
|
|
2736
2837
|
},
|
|
2737
2838
|
{
|
|
2738
|
-
"
|
|
2839
|
+
"direction": "horizontal",
|
|
2739
2840
|
"children": [
|
|
2740
2841
|
{
|
|
2741
2842
|
"variant": "caption",
|
|
2742
|
-
"
|
|
2743
|
-
"
|
|
2843
|
+
"content": "Allergies",
|
|
2844
|
+
"type": "typography"
|
|
2744
2845
|
},
|
|
2745
2846
|
{
|
|
2746
|
-
"variant": "body",
|
|
2747
2847
|
"type": "typography",
|
|
2848
|
+
"variant": "body",
|
|
2748
2849
|
"content": "@entity.allergies"
|
|
2749
2850
|
}
|
|
2750
2851
|
],
|
|
2751
|
-
"justify": "between",
|
|
2752
2852
|
"type": "stack",
|
|
2753
|
-
"
|
|
2853
|
+
"gap": "md",
|
|
2854
|
+
"justify": "between"
|
|
2754
2855
|
},
|
|
2755
2856
|
{
|
|
2756
|
-
"type": "stack",
|
|
2757
2857
|
"children": [
|
|
2758
2858
|
{
|
|
2759
2859
|
"content": "Medications",
|
|
@@ -2761,39 +2861,43 @@
|
|
|
2761
2861
|
"variant": "caption"
|
|
2762
2862
|
},
|
|
2763
2863
|
{
|
|
2764
|
-
"
|
|
2864
|
+
"content": "@entity.medications",
|
|
2765
2865
|
"variant": "body",
|
|
2766
|
-
"
|
|
2866
|
+
"type": "typography"
|
|
2767
2867
|
}
|
|
2768
2868
|
],
|
|
2769
|
-
"
|
|
2869
|
+
"type": "stack",
|
|
2770
2870
|
"gap": "md",
|
|
2871
|
+
"justify": "between",
|
|
2771
2872
|
"direction": "horizontal"
|
|
2772
2873
|
},
|
|
2773
2874
|
{
|
|
2774
2875
|
"children": [
|
|
2775
2876
|
{
|
|
2776
|
-
"
|
|
2877
|
+
"variant": "caption",
|
|
2777
2878
|
"content": "Emergency Contact",
|
|
2778
|
-
"
|
|
2879
|
+
"type": "typography"
|
|
2779
2880
|
},
|
|
2780
2881
|
{
|
|
2882
|
+
"type": "typography",
|
|
2781
2883
|
"content": "@entity.emergencyContact",
|
|
2782
|
-
"variant": "body"
|
|
2783
|
-
"type": "typography"
|
|
2884
|
+
"variant": "body"
|
|
2784
2885
|
}
|
|
2785
2886
|
],
|
|
2786
|
-
"gap": "md",
|
|
2787
2887
|
"type": "stack",
|
|
2788
|
-
"
|
|
2789
|
-
"
|
|
2888
|
+
"direction": "horizontal",
|
|
2889
|
+
"gap": "md",
|
|
2890
|
+
"justify": "between"
|
|
2790
2891
|
},
|
|
2791
2892
|
{
|
|
2893
|
+
"type": "stack",
|
|
2894
|
+
"gap": "md",
|
|
2895
|
+
"justify": "between",
|
|
2792
2896
|
"children": [
|
|
2793
2897
|
{
|
|
2794
2898
|
"type": "typography",
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2899
|
+
"variant": "caption",
|
|
2900
|
+
"content": "Insurance Provider"
|
|
2797
2901
|
},
|
|
2798
2902
|
{
|
|
2799
2903
|
"type": "typography",
|
|
@@ -2801,60 +2905,57 @@
|
|
|
2801
2905
|
"content": "@entity.insuranceProvider"
|
|
2802
2906
|
}
|
|
2803
2907
|
],
|
|
2804
|
-
"direction": "horizontal"
|
|
2805
|
-
"type": "stack",
|
|
2806
|
-
"justify": "between",
|
|
2807
|
-
"gap": "md"
|
|
2908
|
+
"direction": "horizontal"
|
|
2808
2909
|
},
|
|
2809
2910
|
{
|
|
2810
|
-
"direction": "horizontal",
|
|
2811
|
-
"justify": "between",
|
|
2812
|
-
"type": "stack",
|
|
2813
2911
|
"children": [
|
|
2814
2912
|
{
|
|
2815
2913
|
"content": "Insurance ID",
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2914
|
+
"variant": "caption",
|
|
2915
|
+
"type": "typography"
|
|
2818
2916
|
},
|
|
2819
2917
|
{
|
|
2820
|
-
"
|
|
2918
|
+
"content": "@entity.insuranceId",
|
|
2821
2919
|
"variant": "body",
|
|
2822
|
-
"
|
|
2920
|
+
"type": "typography"
|
|
2823
2921
|
}
|
|
2824
2922
|
],
|
|
2825
|
-
"
|
|
2923
|
+
"justify": "between",
|
|
2924
|
+
"gap": "md",
|
|
2925
|
+
"direction": "horizontal",
|
|
2926
|
+
"type": "stack"
|
|
2826
2927
|
}
|
|
2827
2928
|
],
|
|
2828
|
-
"
|
|
2829
|
-
"direction": "vertical",
|
|
2830
|
-
"gap": "sm"
|
|
2929
|
+
"direction": "vertical"
|
|
2831
2930
|
},
|
|
2832
2931
|
{
|
|
2833
2932
|
"type": "divider"
|
|
2834
2933
|
},
|
|
2835
2934
|
{
|
|
2836
|
-
"gap": "sm",
|
|
2837
|
-
"type": "stack",
|
|
2838
2935
|
"direction": "horizontal",
|
|
2839
|
-
"
|
|
2936
|
+
"gap": "sm",
|
|
2840
2937
|
"children": [
|
|
2841
2938
|
{
|
|
2842
2939
|
"label": "Back",
|
|
2940
|
+
"icon": "arrow-left",
|
|
2843
2941
|
"type": "button",
|
|
2844
|
-
"action": "PREV",
|
|
2845
2942
|
"variant": "ghost",
|
|
2846
|
-
"
|
|
2943
|
+
"action": "PREV"
|
|
2847
2944
|
},
|
|
2848
2945
|
{
|
|
2946
|
+
"label": "Submit Intake",
|
|
2849
2947
|
"type": "button",
|
|
2850
2948
|
"action": "COMPLETE",
|
|
2851
2949
|
"variant": "primary",
|
|
2852
|
-
"icon": "check"
|
|
2853
|
-
"label": "Submit Intake"
|
|
2950
|
+
"icon": "check"
|
|
2854
2951
|
}
|
|
2855
|
-
]
|
|
2856
|
-
|
|
2857
|
-
|
|
2952
|
+
],
|
|
2953
|
+
"type": "stack",
|
|
2954
|
+
"justify": "between"
|
|
2955
|
+
}
|
|
2956
|
+
],
|
|
2957
|
+
"gap": "lg",
|
|
2958
|
+
"className": "max-w-xl mx-auto w-full"
|
|
2858
2959
|
}
|
|
2859
2960
|
]
|
|
2860
2961
|
]
|
|
@@ -2868,22 +2969,23 @@
|
|
|
2868
2969
|
"render-ui",
|
|
2869
2970
|
"main",
|
|
2870
2971
|
{
|
|
2972
|
+
"gap": "lg",
|
|
2871
2973
|
"className": "max-w-xl mx-auto w-full",
|
|
2872
2974
|
"children": [
|
|
2873
2975
|
{
|
|
2874
|
-
"variant": "h2",
|
|
2875
2976
|
"content": "Patient Intake",
|
|
2876
|
-
"type": "typography"
|
|
2977
|
+
"type": "typography",
|
|
2978
|
+
"variant": "h2"
|
|
2877
2979
|
},
|
|
2878
2980
|
{
|
|
2879
|
-
"type": "wizard-progress",
|
|
2880
|
-
"currentStep": 1.0,
|
|
2881
2981
|
"steps": [
|
|
2882
2982
|
"Personal Info",
|
|
2883
2983
|
"Medical History",
|
|
2884
2984
|
"Insurance",
|
|
2885
2985
|
"Review"
|
|
2886
|
-
]
|
|
2986
|
+
],
|
|
2987
|
+
"type": "wizard-progress",
|
|
2988
|
+
"currentStep": 1.0
|
|
2887
2989
|
},
|
|
2888
2990
|
{
|
|
2889
2991
|
"type": "divider"
|
|
@@ -2894,22 +2996,21 @@
|
|
|
2894
2996
|
"content": "Medical History"
|
|
2895
2997
|
},
|
|
2896
2998
|
{
|
|
2897
|
-
"cancelLabel": "Back",
|
|
2898
2999
|
"fields": [
|
|
2899
3000
|
"allergies",
|
|
2900
3001
|
"medications"
|
|
2901
3002
|
],
|
|
2902
|
-
"
|
|
3003
|
+
"entity": "@entity",
|
|
2903
3004
|
"submitEvent": "NEXT",
|
|
2904
|
-
"
|
|
3005
|
+
"cancelLabel": "Back",
|
|
2905
3006
|
"mode": "edit",
|
|
2906
|
-
"
|
|
3007
|
+
"cancelEvent": "PREV",
|
|
3008
|
+
"submitLabel": "Continue",
|
|
2907
3009
|
"type": "form-section"
|
|
2908
3010
|
}
|
|
2909
3011
|
],
|
|
2910
|
-
"direction": "vertical",
|
|
2911
3012
|
"type": "stack",
|
|
2912
|
-
"
|
|
3013
|
+
"direction": "vertical"
|
|
2913
3014
|
}
|
|
2914
3015
|
]
|
|
2915
3016
|
]
|
|
@@ -2935,8 +3036,8 @@
|
|
|
2935
3036
|
"@entity",
|
|
2936
3037
|
{
|
|
2937
3038
|
"emit": {
|
|
2938
|
-
"
|
|
2939
|
-
"
|
|
3039
|
+
"failure": "IntakeFormSaveFailed",
|
|
3040
|
+
"success": "IntakeFormSaved"
|
|
2940
3041
|
}
|
|
2941
3042
|
}
|
|
2942
3043
|
],
|
|
@@ -2956,9 +3057,6 @@
|
|
|
2956
3057
|
"render-ui",
|
|
2957
3058
|
"main",
|
|
2958
3059
|
{
|
|
2959
|
-
"gap": "lg",
|
|
2960
|
-
"align": "center",
|
|
2961
|
-
"className": "max-w-xl mx-auto w-full py-12",
|
|
2962
3060
|
"children": [
|
|
2963
3061
|
{
|
|
2964
3062
|
"type": "icon",
|
|
@@ -2970,21 +3068,24 @@
|
|
|
2970
3068
|
"content": "Intake Complete"
|
|
2971
3069
|
},
|
|
2972
3070
|
{
|
|
2973
|
-
"content": "Patient intake has been submitted.",
|
|
2974
3071
|
"color": "muted",
|
|
2975
3072
|
"variant": "body",
|
|
3073
|
+
"content": "Patient intake has been submitted.",
|
|
2976
3074
|
"type": "typography"
|
|
2977
3075
|
},
|
|
2978
3076
|
{
|
|
2979
3077
|
"type": "button",
|
|
2980
|
-
"variant": "ghost",
|
|
2981
3078
|
"label": "Start new intake",
|
|
3079
|
+
"variant": "ghost",
|
|
2982
3080
|
"icon": "rotate-ccw",
|
|
2983
3081
|
"action": "RESTART"
|
|
2984
3082
|
}
|
|
2985
3083
|
],
|
|
2986
3084
|
"type": "stack",
|
|
2987
|
-
"
|
|
3085
|
+
"className": "max-w-xl mx-auto w-full py-12",
|
|
3086
|
+
"gap": "lg",
|
|
3087
|
+
"direction": "vertical",
|
|
3088
|
+
"align": "center"
|
|
2988
3089
|
}
|
|
2989
3090
|
]
|
|
2990
3091
|
]
|
|
@@ -2998,40 +3099,35 @@
|
|
|
2998
3099
|
"render-ui",
|
|
2999
3100
|
"main",
|
|
3000
3101
|
{
|
|
3001
|
-
"
|
|
3102
|
+
"direction": "vertical",
|
|
3002
3103
|
"className": "max-w-xl mx-auto w-full",
|
|
3003
|
-
"gap": "lg",
|
|
3004
3104
|
"children": [
|
|
3005
3105
|
{
|
|
3106
|
+
"content": "Patient Intake",
|
|
3006
3107
|
"type": "typography",
|
|
3007
|
-
"variant": "h2"
|
|
3008
|
-
"content": "Patient Intake"
|
|
3108
|
+
"variant": "h2"
|
|
3009
3109
|
},
|
|
3010
3110
|
{
|
|
3011
3111
|
"type": "wizard-progress",
|
|
3112
|
+
"currentStep": 2.0,
|
|
3012
3113
|
"steps": [
|
|
3013
3114
|
"Personal Info",
|
|
3014
3115
|
"Medical History",
|
|
3015
3116
|
"Insurance",
|
|
3016
3117
|
"Review"
|
|
3017
|
-
]
|
|
3018
|
-
"currentStep": 2.0
|
|
3118
|
+
]
|
|
3019
3119
|
},
|
|
3020
3120
|
{
|
|
3021
3121
|
"type": "divider"
|
|
3022
3122
|
},
|
|
3023
3123
|
{
|
|
3124
|
+
"type": "typography",
|
|
3024
3125
|
"variant": "h3",
|
|
3025
|
-
"content": "Insurance"
|
|
3026
|
-
"type": "typography"
|
|
3126
|
+
"content": "Insurance"
|
|
3027
3127
|
},
|
|
3028
3128
|
{
|
|
3029
|
-
"type": "form-section",
|
|
3030
3129
|
"submitLabel": "Continue",
|
|
3031
|
-
"mode": "edit",
|
|
3032
3130
|
"cancelEvent": "PREV",
|
|
3033
|
-
"entity": "@entity",
|
|
3034
|
-
"submitEvent": "NEXT",
|
|
3035
3131
|
"fields": [
|
|
3036
3132
|
{
|
|
3037
3133
|
"name": "emergencyContact",
|
|
@@ -3042,14 +3138,19 @@
|
|
|
3042
3138
|
"required": true
|
|
3043
3139
|
},
|
|
3044
3140
|
{
|
|
3045
|
-
"
|
|
3046
|
-
"
|
|
3141
|
+
"name": "insuranceId",
|
|
3142
|
+
"required": true
|
|
3047
3143
|
}
|
|
3048
3144
|
],
|
|
3145
|
+
"type": "form-section",
|
|
3146
|
+
"entity": "@entity",
|
|
3147
|
+
"mode": "edit",
|
|
3148
|
+
"submitEvent": "NEXT",
|
|
3049
3149
|
"cancelLabel": "Back"
|
|
3050
3150
|
}
|
|
3051
3151
|
],
|
|
3052
|
-
"
|
|
3152
|
+
"gap": "lg",
|
|
3153
|
+
"type": "stack"
|
|
3053
3154
|
}
|
|
3054
3155
|
]
|
|
3055
3156
|
]
|
|
@@ -3103,56 +3204,56 @@
|
|
|
3103
3204
|
"render-ui",
|
|
3104
3205
|
"main",
|
|
3105
3206
|
{
|
|
3207
|
+
"type": "stack",
|
|
3208
|
+
"gap": "lg",
|
|
3209
|
+
"className": "max-w-xl mx-auto w-full",
|
|
3106
3210
|
"direction": "vertical",
|
|
3107
3211
|
"children": [
|
|
3108
3212
|
{
|
|
3109
3213
|
"type": "typography",
|
|
3110
|
-
"
|
|
3111
|
-
"
|
|
3214
|
+
"variant": "h2",
|
|
3215
|
+
"content": "Patient Intake"
|
|
3112
3216
|
},
|
|
3113
3217
|
{
|
|
3218
|
+
"type": "wizard-progress",
|
|
3219
|
+
"currentStep": 0.0,
|
|
3114
3220
|
"steps": [
|
|
3115
3221
|
"Personal Info",
|
|
3116
3222
|
"Medical History",
|
|
3117
3223
|
"Insurance",
|
|
3118
3224
|
"Review"
|
|
3119
|
-
]
|
|
3120
|
-
"type": "wizard-progress",
|
|
3121
|
-
"currentStep": 0.0
|
|
3225
|
+
]
|
|
3122
3226
|
},
|
|
3123
3227
|
{
|
|
3124
3228
|
"type": "divider"
|
|
3125
3229
|
},
|
|
3126
3230
|
{
|
|
3127
|
-
"
|
|
3231
|
+
"type": "typography",
|
|
3128
3232
|
"content": "Personal Info",
|
|
3129
|
-
"
|
|
3233
|
+
"variant": "h3"
|
|
3130
3234
|
},
|
|
3131
3235
|
{
|
|
3132
3236
|
"showCancel": false,
|
|
3133
|
-
"submitLabel": "Continue",
|
|
3134
3237
|
"fields": [
|
|
3135
3238
|
{
|
|
3136
|
-
"
|
|
3137
|
-
"
|
|
3239
|
+
"name": "firstName",
|
|
3240
|
+
"required": true
|
|
3138
3241
|
},
|
|
3139
3242
|
{
|
|
3140
3243
|
"name": "lastName",
|
|
3141
3244
|
"required": true
|
|
3142
3245
|
},
|
|
3143
3246
|
{
|
|
3144
|
-
"
|
|
3145
|
-
"
|
|
3247
|
+
"required": true,
|
|
3248
|
+
"name": "dateOfBirth"
|
|
3146
3249
|
}
|
|
3147
3250
|
],
|
|
3148
|
-
"
|
|
3251
|
+
"type": "form-section",
|
|
3149
3252
|
"submitEvent": "NEXT",
|
|
3150
|
-
"
|
|
3253
|
+
"mode": "create",
|
|
3254
|
+
"submitLabel": "Continue"
|
|
3151
3255
|
}
|
|
3152
|
-
]
|
|
3153
|
-
"className": "max-w-xl mx-auto w-full",
|
|
3154
|
-
"type": "stack",
|
|
3155
|
-
"gap": "lg"
|
|
3256
|
+
]
|
|
3156
3257
|
}
|
|
3157
3258
|
]
|
|
3158
3259
|
]
|
|
@@ -3167,6 +3268,9 @@
|
|
|
3167
3268
|
"name": "IntakePage",
|
|
3168
3269
|
"path": "/intake",
|
|
3169
3270
|
"traits": [
|
|
3271
|
+
{
|
|
3272
|
+
"ref": "IntakeFormAppLayout"
|
|
3273
|
+
},
|
|
3170
3274
|
{
|
|
3171
3275
|
"ref": "IntakeFormWizard"
|
|
3172
3276
|
}
|
|
@@ -3177,6 +3281,10 @@
|
|
|
3177
3281
|
{
|
|
3178
3282
|
"name": "PrescriptionOrbital",
|
|
3179
3283
|
"uses": [
|
|
3284
|
+
{
|
|
3285
|
+
"from": "std/behaviors/std-app-layout",
|
|
3286
|
+
"as": "AppShell"
|
|
3287
|
+
},
|
|
3180
3288
|
{
|
|
3181
3289
|
"from": "std/behaviors/std-browse",
|
|
3182
3290
|
"as": "Browse"
|
|
@@ -3250,6 +3358,50 @@
|
|
|
3250
3358
|
]
|
|
3251
3359
|
},
|
|
3252
3360
|
"traits": [
|
|
3361
|
+
{
|
|
3362
|
+
"ref": "AppShell.traits.AppLayout",
|
|
3363
|
+
"name": "PrescriptionAppLayout",
|
|
3364
|
+
"linkedEntity": "Prescription",
|
|
3365
|
+
"config": {
|
|
3366
|
+
"notifications": [],
|
|
3367
|
+
"appName": "HealthcareApp",
|
|
3368
|
+
"searchEvent": "PRESCRIPTION_SEARCH",
|
|
3369
|
+
"notificationClickEvent": "PRESCRIPTION_NOTIFICATIONS_OPEN",
|
|
3370
|
+
"navItems": [
|
|
3371
|
+
{
|
|
3372
|
+
"label": "Patients",
|
|
3373
|
+
"icon": "user-plus",
|
|
3374
|
+
"href": "/patients"
|
|
3375
|
+
},
|
|
3376
|
+
{
|
|
3377
|
+
"label": "Appointments",
|
|
3378
|
+
"href": "/appointments",
|
|
3379
|
+
"icon": "calendar"
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
"icon": "layout-list",
|
|
3383
|
+
"label": "Intake",
|
|
3384
|
+
"href": "/intake"
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"label": "Prescriptions",
|
|
3388
|
+
"href": "/prescriptions",
|
|
3389
|
+
"icon": "pill"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"icon": "layout-dashboard",
|
|
3393
|
+
"label": "Dashboard",
|
|
3394
|
+
"href": "/dashboard"
|
|
3395
|
+
}
|
|
3396
|
+
],
|
|
3397
|
+
"contentTrait": "@trait.PrescriptionCatalog",
|
|
3398
|
+
"topBarActions": []
|
|
3399
|
+
},
|
|
3400
|
+
"events": {
|
|
3401
|
+
"SEARCH": "PRESCRIPTION_SEARCH",
|
|
3402
|
+
"NOTIFY_CLICK": "PRESCRIPTION_NOTIFICATIONS_OPEN"
|
|
3403
|
+
}
|
|
3404
|
+
},
|
|
3253
3405
|
{
|
|
3254
3406
|
"name": "PrescriptionCatalog",
|
|
3255
3407
|
"category": "interaction",
|
|
@@ -3292,45 +3444,47 @@
|
|
|
3292
3444
|
"render-ui",
|
|
3293
3445
|
"main",
|
|
3294
3446
|
{
|
|
3447
|
+
"gap": "lg",
|
|
3448
|
+
"direction": "vertical",
|
|
3295
3449
|
"children": [
|
|
3296
3450
|
{
|
|
3297
|
-
"gap": "md",
|
|
3298
|
-
"type": "stack",
|
|
3299
3451
|
"align": "center",
|
|
3300
3452
|
"direction": "horizontal",
|
|
3301
3453
|
"children": [
|
|
3302
3454
|
{
|
|
3303
|
-
"gap": "sm",
|
|
3304
|
-
"direction": "horizontal",
|
|
3305
|
-
"type": "stack",
|
|
3306
|
-
"align": "center",
|
|
3307
3455
|
"children": [
|
|
3308
3456
|
{
|
|
3309
3457
|
"type": "icon",
|
|
3310
3458
|
"name": "pill"
|
|
3311
3459
|
},
|
|
3312
3460
|
{
|
|
3461
|
+
"type": "typography",
|
|
3313
3462
|
"content": "Prescriptions",
|
|
3314
|
-
"variant": "h2"
|
|
3315
|
-
"type": "typography"
|
|
3463
|
+
"variant": "h2"
|
|
3316
3464
|
}
|
|
3317
|
-
]
|
|
3465
|
+
],
|
|
3466
|
+
"type": "stack",
|
|
3467
|
+
"direction": "horizontal",
|
|
3468
|
+
"gap": "sm",
|
|
3469
|
+
"align": "center"
|
|
3318
3470
|
},
|
|
3319
3471
|
{
|
|
3320
|
-
"gap": "sm",
|
|
3321
|
-
"type": "stack",
|
|
3322
3472
|
"direction": "horizontal",
|
|
3323
3473
|
"children": [
|
|
3324
3474
|
{
|
|
3325
|
-
"type": "button",
|
|
3326
3475
|
"label": "New Prescription",
|
|
3327
3476
|
"action": "CREATE",
|
|
3477
|
+
"type": "button",
|
|
3328
3478
|
"variant": "primary",
|
|
3329
3479
|
"icon": "plus"
|
|
3330
3480
|
}
|
|
3331
|
-
]
|
|
3481
|
+
],
|
|
3482
|
+
"type": "stack",
|
|
3483
|
+
"gap": "sm"
|
|
3332
3484
|
}
|
|
3333
3485
|
],
|
|
3486
|
+
"type": "stack",
|
|
3487
|
+
"gap": "md",
|
|
3334
3488
|
"justify": "between"
|
|
3335
3489
|
},
|
|
3336
3490
|
{
|
|
@@ -3338,9 +3492,7 @@
|
|
|
3338
3492
|
},
|
|
3339
3493
|
"@trait.PrescriptionBrowseList"
|
|
3340
3494
|
],
|
|
3341
|
-
"
|
|
3342
|
-
"type": "stack",
|
|
3343
|
-
"direction": "vertical"
|
|
3495
|
+
"type": "stack"
|
|
3344
3496
|
}
|
|
3345
3497
|
]
|
|
3346
3498
|
]
|
|
@@ -3356,45 +3508,45 @@
|
|
|
3356
3508
|
"config": {
|
|
3357
3509
|
"itemActions": [
|
|
3358
3510
|
{
|
|
3359
|
-
"
|
|
3511
|
+
"label": "View",
|
|
3360
3512
|
"variant": "ghost",
|
|
3361
|
-
"
|
|
3513
|
+
"event": "VIEW"
|
|
3362
3514
|
},
|
|
3363
3515
|
{
|
|
3364
|
-
"label": "Edit",
|
|
3365
3516
|
"event": "EDIT",
|
|
3366
|
-
"variant": "ghost"
|
|
3517
|
+
"variant": "ghost",
|
|
3518
|
+
"label": "Edit"
|
|
3367
3519
|
},
|
|
3368
3520
|
{
|
|
3369
|
-
"event": "DELETE",
|
|
3370
3521
|
"variant": "danger",
|
|
3371
|
-
"label": "Delete"
|
|
3522
|
+
"label": "Delete",
|
|
3523
|
+
"event": "DELETE"
|
|
3372
3524
|
}
|
|
3373
3525
|
],
|
|
3374
3526
|
"gap": "sm",
|
|
3375
3527
|
"fields": [
|
|
3376
3528
|
{
|
|
3377
3529
|
"variant": "h3",
|
|
3378
|
-
"
|
|
3379
|
-
"
|
|
3530
|
+
"name": "medication",
|
|
3531
|
+
"icon": "pill"
|
|
3380
3532
|
},
|
|
3381
3533
|
{
|
|
3382
3534
|
"name": "dosage",
|
|
3383
3535
|
"variant": "badge"
|
|
3384
3536
|
},
|
|
3385
3537
|
{
|
|
3386
|
-
"
|
|
3387
|
-
"
|
|
3538
|
+
"variant": "body",
|
|
3539
|
+
"name": "frequency"
|
|
3388
3540
|
},
|
|
3389
3541
|
{
|
|
3390
|
-
"label": "Patient",
|
|
3391
3542
|
"variant": "body",
|
|
3543
|
+
"label": "Patient",
|
|
3392
3544
|
"name": "patientName"
|
|
3393
3545
|
},
|
|
3394
3546
|
{
|
|
3395
|
-
"variant": "caption",
|
|
3396
3547
|
"name": "prescribedBy",
|
|
3397
|
-
"label": "Prescribed By"
|
|
3548
|
+
"label": "Prescribed By",
|
|
3549
|
+
"variant": "caption"
|
|
3398
3550
|
},
|
|
3399
3551
|
{
|
|
3400
3552
|
"label": "Start",
|
|
@@ -3441,6 +3593,8 @@
|
|
|
3441
3593
|
"linkedEntity": "Prescription",
|
|
3442
3594
|
"config": {
|
|
3443
3595
|
"title": "New Prescription",
|
|
3596
|
+
"icon": "plus-circle",
|
|
3597
|
+
"mode": "create",
|
|
3444
3598
|
"fields": [
|
|
3445
3599
|
"medication",
|
|
3446
3600
|
"dosage",
|
|
@@ -3450,9 +3604,7 @@
|
|
|
3450
3604
|
"startDate",
|
|
3451
3605
|
"endDate",
|
|
3452
3606
|
"status"
|
|
3453
|
-
]
|
|
3454
|
-
"mode": "create",
|
|
3455
|
-
"icon": "plus-circle"
|
|
3607
|
+
]
|
|
3456
3608
|
},
|
|
3457
3609
|
"events": {
|
|
3458
3610
|
"OPEN": "CREATE",
|
|
@@ -3474,8 +3626,8 @@
|
|
|
3474
3626
|
"name": "PrescriptionEdit",
|
|
3475
3627
|
"linkedEntity": "Prescription",
|
|
3476
3628
|
"config": {
|
|
3477
|
-
"mode": "edit",
|
|
3478
3629
|
"title": "Edit Prescription",
|
|
3630
|
+
"mode": "edit",
|
|
3479
3631
|
"icon": "edit",
|
|
3480
3632
|
"fields": [
|
|
3481
3633
|
"medication",
|
|
@@ -3489,8 +3641,8 @@
|
|
|
3489
3641
|
]
|
|
3490
3642
|
},
|
|
3491
3643
|
"events": {
|
|
3492
|
-
"
|
|
3493
|
-
"
|
|
3644
|
+
"SAVE": "PRESCRIPTION_UPDATED",
|
|
3645
|
+
"OPEN": "EDIT"
|
|
3494
3646
|
},
|
|
3495
3647
|
"listens": [
|
|
3496
3648
|
{
|
|
@@ -3705,34 +3857,34 @@
|
|
|
3705
3857
|
"type": "stack",
|
|
3706
3858
|
"children": [
|
|
3707
3859
|
{
|
|
3860
|
+
"type": "stack",
|
|
3861
|
+
"align": "center",
|
|
3862
|
+
"direction": "horizontal",
|
|
3863
|
+
"gap": "sm",
|
|
3708
3864
|
"children": [
|
|
3709
3865
|
{
|
|
3710
|
-
"
|
|
3711
|
-
"
|
|
3866
|
+
"type": "icon",
|
|
3867
|
+
"name": "pill"
|
|
3712
3868
|
},
|
|
3713
3869
|
{
|
|
3714
3870
|
"content": "@entity.medication",
|
|
3715
3871
|
"type": "typography",
|
|
3716
3872
|
"variant": "h3"
|
|
3717
3873
|
}
|
|
3718
|
-
]
|
|
3719
|
-
"gap": "sm",
|
|
3720
|
-
"direction": "horizontal",
|
|
3721
|
-
"type": "stack",
|
|
3722
|
-
"align": "center"
|
|
3874
|
+
]
|
|
3723
3875
|
},
|
|
3724
3876
|
{
|
|
3725
3877
|
"type": "divider"
|
|
3726
3878
|
},
|
|
3727
3879
|
{
|
|
3728
|
-
"gap": "md",
|
|
3729
3880
|
"type": "simple-grid",
|
|
3881
|
+
"gap": "md",
|
|
3730
3882
|
"cols": 3.0,
|
|
3731
3883
|
"children": [
|
|
3732
3884
|
{
|
|
3733
3885
|
"gap": "xs",
|
|
3734
|
-
"direction": "vertical",
|
|
3735
3886
|
"type": "stack",
|
|
3887
|
+
"direction": "vertical",
|
|
3736
3888
|
"children": [
|
|
3737
3889
|
{
|
|
3738
3890
|
"content": "Drug",
|
|
@@ -3750,35 +3902,35 @@
|
|
|
3750
3902
|
"children": [
|
|
3751
3903
|
{
|
|
3752
3904
|
"type": "typography",
|
|
3753
|
-
"
|
|
3754
|
-
"
|
|
3905
|
+
"content": "Dose",
|
|
3906
|
+
"variant": "caption"
|
|
3755
3907
|
},
|
|
3756
3908
|
{
|
|
3909
|
+
"type": "typography",
|
|
3757
3910
|
"variant": "h4",
|
|
3758
|
-
"content": "@entity.dosage"
|
|
3759
|
-
"type": "typography"
|
|
3911
|
+
"content": "@entity.dosage"
|
|
3760
3912
|
}
|
|
3761
3913
|
],
|
|
3762
|
-
"gap": "xs",
|
|
3763
3914
|
"direction": "vertical",
|
|
3764
|
-
"type": "stack"
|
|
3915
|
+
"type": "stack",
|
|
3916
|
+
"gap": "xs"
|
|
3765
3917
|
},
|
|
3766
3918
|
{
|
|
3767
|
-
"
|
|
3919
|
+
"direction": "vertical",
|
|
3768
3920
|
"children": [
|
|
3769
3921
|
{
|
|
3770
|
-
"variant": "caption",
|
|
3771
3922
|
"content": "Frequency",
|
|
3923
|
+
"variant": "caption",
|
|
3772
3924
|
"type": "typography"
|
|
3773
3925
|
},
|
|
3774
3926
|
{
|
|
3927
|
+
"content": "@entity.frequency",
|
|
3775
3928
|
"type": "typography",
|
|
3776
|
-
"variant": "h4"
|
|
3777
|
-
"content": "@entity.frequency"
|
|
3929
|
+
"variant": "h4"
|
|
3778
3930
|
}
|
|
3779
3931
|
],
|
|
3780
3932
|
"type": "stack",
|
|
3781
|
-
"
|
|
3933
|
+
"gap": "xs"
|
|
3782
3934
|
}
|
|
3783
3935
|
]
|
|
3784
3936
|
},
|
|
@@ -3787,37 +3939,37 @@
|
|
|
3787
3939
|
},
|
|
3788
3940
|
{
|
|
3789
3941
|
"direction": "horizontal",
|
|
3790
|
-
"gap": "md",
|
|
3791
|
-
"type": "stack",
|
|
3792
3942
|
"children": [
|
|
3793
3943
|
{
|
|
3794
|
-
"
|
|
3944
|
+
"variant": "caption",
|
|
3795
3945
|
"type": "typography",
|
|
3796
|
-
"
|
|
3946
|
+
"content": "Patient"
|
|
3797
3947
|
},
|
|
3798
3948
|
{
|
|
3799
|
-
"type": "typography",
|
|
3800
3949
|
"content": "@entity.patientName",
|
|
3950
|
+
"type": "typography",
|
|
3801
3951
|
"variant": "body"
|
|
3802
3952
|
}
|
|
3803
|
-
]
|
|
3953
|
+
],
|
|
3954
|
+
"gap": "md",
|
|
3955
|
+
"type": "stack"
|
|
3804
3956
|
},
|
|
3805
3957
|
{
|
|
3958
|
+
"type": "stack",
|
|
3959
|
+
"direction": "horizontal",
|
|
3806
3960
|
"gap": "md",
|
|
3807
3961
|
"children": [
|
|
3808
3962
|
{
|
|
3809
|
-
"type": "typography",
|
|
3810
3963
|
"content": "Prescribed By",
|
|
3964
|
+
"type": "typography",
|
|
3811
3965
|
"variant": "caption"
|
|
3812
3966
|
},
|
|
3813
3967
|
{
|
|
3814
|
-
"
|
|
3968
|
+
"content": "@entity.prescribedBy",
|
|
3815
3969
|
"variant": "body",
|
|
3816
|
-
"
|
|
3970
|
+
"type": "typography"
|
|
3817
3971
|
}
|
|
3818
|
-
]
|
|
3819
|
-
"type": "stack",
|
|
3820
|
-
"direction": "horizontal"
|
|
3972
|
+
]
|
|
3821
3973
|
},
|
|
3822
3974
|
{
|
|
3823
3975
|
"type": "stack",
|
|
@@ -3825,54 +3977,54 @@
|
|
|
3825
3977
|
"gap": "md",
|
|
3826
3978
|
"children": [
|
|
3827
3979
|
{
|
|
3828
|
-
"content": "Start",
|
|
3829
3980
|
"type": "typography",
|
|
3830
|
-
"variant": "caption"
|
|
3981
|
+
"variant": "caption",
|
|
3982
|
+
"content": "Start"
|
|
3831
3983
|
},
|
|
3832
3984
|
{
|
|
3833
|
-
"
|
|
3985
|
+
"type": "typography",
|
|
3834
3986
|
"variant": "body",
|
|
3835
|
-
"
|
|
3987
|
+
"content": "@entity.startDate"
|
|
3836
3988
|
}
|
|
3837
3989
|
]
|
|
3838
3990
|
},
|
|
3839
3991
|
{
|
|
3840
|
-
"direction": "horizontal",
|
|
3841
|
-
"type": "stack",
|
|
3842
|
-
"gap": "md",
|
|
3843
3992
|
"children": [
|
|
3844
3993
|
{
|
|
3994
|
+
"type": "typography",
|
|
3845
3995
|
"variant": "caption",
|
|
3846
|
-
"content": "End"
|
|
3847
|
-
"type": "typography"
|
|
3996
|
+
"content": "End"
|
|
3848
3997
|
},
|
|
3849
3998
|
{
|
|
3850
3999
|
"content": "@entity.endDate",
|
|
3851
4000
|
"type": "typography",
|
|
3852
4001
|
"variant": "body"
|
|
3853
4002
|
}
|
|
3854
|
-
]
|
|
4003
|
+
],
|
|
4004
|
+
"gap": "md",
|
|
4005
|
+
"type": "stack",
|
|
4006
|
+
"direction": "horizontal"
|
|
3855
4007
|
},
|
|
3856
4008
|
{
|
|
3857
4009
|
"type": "divider"
|
|
3858
4010
|
},
|
|
3859
4011
|
{
|
|
3860
|
-
"gap": "sm",
|
|
3861
4012
|
"justify": "end",
|
|
3862
|
-
"direction": "horizontal",
|
|
3863
4013
|
"children": [
|
|
3864
4014
|
{
|
|
3865
4015
|
"type": "button",
|
|
3866
4016
|
"variant": "ghost",
|
|
3867
|
-
"
|
|
3868
|
-
"
|
|
4017
|
+
"action": "CLOSE",
|
|
4018
|
+
"label": "Close"
|
|
3869
4019
|
}
|
|
3870
4020
|
],
|
|
4021
|
+
"direction": "horizontal",
|
|
4022
|
+
"gap": "sm",
|
|
3871
4023
|
"type": "stack"
|
|
3872
4024
|
}
|
|
3873
4025
|
],
|
|
3874
|
-
"
|
|
3875
|
-
"
|
|
4026
|
+
"gap": "md",
|
|
4027
|
+
"direction": "vertical"
|
|
3876
4028
|
}
|
|
3877
4029
|
]
|
|
3878
4030
|
]
|
|
@@ -3898,10 +4050,10 @@
|
|
|
3898
4050
|
"name": "PrescriptionDelete",
|
|
3899
4051
|
"linkedEntity": "Prescription",
|
|
3900
4052
|
"config": {
|
|
3901
|
-
"
|
|
3902
|
-
"alertMessage": "This action cannot be undone.",
|
|
4053
|
+
"confirmLabel": "Delete",
|
|
3903
4054
|
"title": "Delete Prescription",
|
|
3904
|
-
"
|
|
4055
|
+
"alertMessage": "This action cannot be undone.",
|
|
4056
|
+
"icon": "alert-triangle"
|
|
3905
4057
|
},
|
|
3906
4058
|
"events": {
|
|
3907
4059
|
"REQUEST": "DELETE",
|
|
@@ -4111,6 +4263,9 @@
|
|
|
4111
4263
|
"name": "PrescriptionsPage",
|
|
4112
4264
|
"path": "/prescriptions",
|
|
4113
4265
|
"traits": [
|
|
4266
|
+
{
|
|
4267
|
+
"ref": "PrescriptionAppLayout"
|
|
4268
|
+
},
|
|
4114
4269
|
{
|
|
4115
4270
|
"ref": "PrescriptionCatalog"
|
|
4116
4271
|
},
|
|
@@ -4138,6 +4293,12 @@
|
|
|
4138
4293
|
},
|
|
4139
4294
|
{
|
|
4140
4295
|
"name": "DashboardOrbital",
|
|
4296
|
+
"uses": [
|
|
4297
|
+
{
|
|
4298
|
+
"from": "std/behaviors/std-app-layout",
|
|
4299
|
+
"as": "AppShell"
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
4141
4302
|
"entity": {
|
|
4142
4303
|
"name": "DashboardSummary",
|
|
4143
4304
|
"persistence": "runtime",
|
|
@@ -4150,6 +4311,50 @@
|
|
|
4150
4311
|
]
|
|
4151
4312
|
},
|
|
4152
4313
|
"traits": [
|
|
4314
|
+
{
|
|
4315
|
+
"ref": "AppShell.traits.AppLayout",
|
|
4316
|
+
"name": "DashboardAppLayout",
|
|
4317
|
+
"linkedEntity": "DashboardSummary",
|
|
4318
|
+
"config": {
|
|
4319
|
+
"searchEvent": "DASHBOARD_SEARCH",
|
|
4320
|
+
"topBarActions": [],
|
|
4321
|
+
"contentTrait": "@trait.DashboardDisplay",
|
|
4322
|
+
"notifications": [],
|
|
4323
|
+
"notificationClickEvent": "DASHBOARD_NOTIFICATIONS_OPEN",
|
|
4324
|
+
"appName": "HealthcareApp",
|
|
4325
|
+
"navItems": [
|
|
4326
|
+
{
|
|
4327
|
+
"label": "Patients",
|
|
4328
|
+
"href": "/patients",
|
|
4329
|
+
"icon": "user-plus"
|
|
4330
|
+
},
|
|
4331
|
+
{
|
|
4332
|
+
"label": "Appointments",
|
|
4333
|
+
"href": "/appointments",
|
|
4334
|
+
"icon": "calendar"
|
|
4335
|
+
},
|
|
4336
|
+
{
|
|
4337
|
+
"icon": "layout-list",
|
|
4338
|
+
"href": "/intake",
|
|
4339
|
+
"label": "Intake"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
"label": "Prescriptions",
|
|
4343
|
+
"href": "/prescriptions",
|
|
4344
|
+
"icon": "pill"
|
|
4345
|
+
},
|
|
4346
|
+
{
|
|
4347
|
+
"label": "Dashboard",
|
|
4348
|
+
"icon": "layout-dashboard",
|
|
4349
|
+
"href": "/dashboard"
|
|
4350
|
+
}
|
|
4351
|
+
]
|
|
4352
|
+
},
|
|
4353
|
+
"events": {
|
|
4354
|
+
"NOTIFY_CLICK": "DASHBOARD_NOTIFICATIONS_OPEN",
|
|
4355
|
+
"SEARCH": "DASHBOARD_SEARCH"
|
|
4356
|
+
}
|
|
4357
|
+
},
|
|
4153
4358
|
{
|
|
4154
4359
|
"name": "DashboardDisplay",
|
|
4155
4360
|
"category": "interaction",
|
|
@@ -4177,9 +4382,12 @@
|
|
|
4177
4382
|
"render-ui",
|
|
4178
4383
|
"main",
|
|
4179
4384
|
{
|
|
4385
|
+
"direction": "vertical",
|
|
4386
|
+
"className": "max-w-6xl mx-auto w-full p-4",
|
|
4180
4387
|
"children": [
|
|
4181
4388
|
{
|
|
4182
4389
|
"align": "center",
|
|
4390
|
+
"type": "stack",
|
|
4183
4391
|
"gap": "sm",
|
|
4184
4392
|
"children": [
|
|
4185
4393
|
{
|
|
@@ -4187,31 +4395,29 @@
|
|
|
4187
4395
|
"type": "icon"
|
|
4188
4396
|
},
|
|
4189
4397
|
{
|
|
4190
|
-
"
|
|
4398
|
+
"variant": "h2",
|
|
4191
4399
|
"content": "Clinic Dashboard",
|
|
4192
|
-
"
|
|
4400
|
+
"type": "typography"
|
|
4193
4401
|
}
|
|
4194
4402
|
],
|
|
4195
|
-
"type": "stack",
|
|
4196
4403
|
"direction": "horizontal"
|
|
4197
4404
|
},
|
|
4198
4405
|
{
|
|
4199
4406
|
"type": "divider"
|
|
4200
4407
|
},
|
|
4201
4408
|
{
|
|
4202
|
-
"gap": "md",
|
|
4203
|
-
"type": "stack",
|
|
4204
4409
|
"children": [
|
|
4205
4410
|
{
|
|
4411
|
+
"content": "Quick Links",
|
|
4206
4412
|
"type": "typography",
|
|
4207
|
-
"variant": "h3"
|
|
4208
|
-
"content": "Quick Links"
|
|
4413
|
+
"variant": "h3"
|
|
4209
4414
|
},
|
|
4210
4415
|
{
|
|
4416
|
+
"type": "breadcrumb",
|
|
4211
4417
|
"items": [
|
|
4212
4418
|
{
|
|
4213
|
-
"
|
|
4214
|
-
"
|
|
4419
|
+
"label": "Patients",
|
|
4420
|
+
"href": "/patients"
|
|
4215
4421
|
},
|
|
4216
4422
|
{
|
|
4217
4423
|
"label": "Appointments",
|
|
@@ -4221,26 +4427,25 @@
|
|
|
4221
4427
|
"href": "/prescriptions",
|
|
4222
4428
|
"label": "Prescriptions"
|
|
4223
4429
|
}
|
|
4224
|
-
]
|
|
4225
|
-
"type": "breadcrumb"
|
|
4430
|
+
]
|
|
4226
4431
|
}
|
|
4227
4432
|
],
|
|
4228
|
-
"direction": "vertical"
|
|
4433
|
+
"direction": "vertical",
|
|
4434
|
+
"gap": "md",
|
|
4435
|
+
"type": "stack"
|
|
4229
4436
|
},
|
|
4230
4437
|
{
|
|
4231
4438
|
"type": "divider"
|
|
4232
4439
|
},
|
|
4233
4440
|
{
|
|
4234
|
-
"type": "typography",
|
|
4235
4441
|
"content": "Patient stats, graphs, and the appointment calendar live on their respective pages.",
|
|
4236
4442
|
"variant": "caption",
|
|
4237
|
-
"color": "muted"
|
|
4443
|
+
"color": "muted",
|
|
4444
|
+
"type": "typography"
|
|
4238
4445
|
}
|
|
4239
4446
|
],
|
|
4240
|
-
"
|
|
4241
|
-
"gap": "lg"
|
|
4242
|
-
"direction": "vertical",
|
|
4243
|
-
"type": "stack"
|
|
4447
|
+
"type": "stack",
|
|
4448
|
+
"gap": "lg"
|
|
4244
4449
|
}
|
|
4245
4450
|
]
|
|
4246
4451
|
]
|
|
@@ -4255,6 +4460,9 @@
|
|
|
4255
4460
|
"name": "DashboardPage",
|
|
4256
4461
|
"path": "/dashboard",
|
|
4257
4462
|
"traits": [
|
|
4463
|
+
{
|
|
4464
|
+
"ref": "DashboardAppLayout"
|
|
4465
|
+
},
|
|
4258
4466
|
{
|
|
4259
4467
|
"ref": "DashboardDisplay"
|
|
4260
4468
|
}
|