@almadar/std 14.16.0 → 14.18.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/atoms/std-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/dist/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors-registry.json +1 -1
- package/package.json +7 -14
|
@@ -103,12 +103,15 @@
|
|
|
103
103
|
"name": "PatientAppLayout",
|
|
104
104
|
"config": {
|
|
105
105
|
"searchEvent": "PATIENT_SEARCH",
|
|
106
|
+
"notifications": [],
|
|
107
|
+
"contentTrait": "@trait.PatientCatalog",
|
|
106
108
|
"appName": "HealthcareApp",
|
|
109
|
+
"notificationClickEvent": "PATIENT_NOTIFICATIONS_OPEN",
|
|
107
110
|
"navItems": [
|
|
108
111
|
{
|
|
109
|
-
"href": "/patients",
|
|
110
112
|
"icon": "user-plus",
|
|
111
|
-
"label": "Patients"
|
|
113
|
+
"label": "Patients",
|
|
114
|
+
"href": "/patients"
|
|
112
115
|
},
|
|
113
116
|
{
|
|
114
117
|
"icon": "calendar",
|
|
@@ -116,28 +119,25 @@
|
|
|
116
119
|
"label": "Appointments"
|
|
117
120
|
},
|
|
118
121
|
{
|
|
119
|
-
"label": "Intake",
|
|
120
122
|
"href": "/intake",
|
|
121
|
-
"icon": "layout-list"
|
|
123
|
+
"icon": "layout-list",
|
|
124
|
+
"label": "Intake"
|
|
122
125
|
},
|
|
123
126
|
{
|
|
127
|
+
"href": "/prescriptions",
|
|
124
128
|
"label": "Prescriptions",
|
|
125
|
-
"icon": "pill"
|
|
126
|
-
"href": "/prescriptions"
|
|
129
|
+
"icon": "pill"
|
|
127
130
|
},
|
|
128
131
|
{
|
|
129
|
-
"label": "Dashboard",
|
|
130
132
|
"href": "/dashboard",
|
|
131
|
-
"icon": "layout-dashboard"
|
|
133
|
+
"icon": "layout-dashboard",
|
|
134
|
+
"label": "Dashboard"
|
|
132
135
|
}
|
|
133
|
-
]
|
|
134
|
-
"notificationClickEvent": "PATIENT_NOTIFICATIONS_OPEN",
|
|
135
|
-
"contentTrait": "@trait.PatientCatalog",
|
|
136
|
-
"notifications": []
|
|
136
|
+
]
|
|
137
137
|
},
|
|
138
138
|
"events": {
|
|
139
|
-
"
|
|
140
|
-
"
|
|
139
|
+
"NOTIFY_CLICK": "PATIENT_NOTIFICATIONS_OPEN",
|
|
140
|
+
"SEARCH": "PATIENT_SEARCH"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
{
|
|
@@ -220,42 +220,40 @@
|
|
|
220
220
|
"render-ui",
|
|
221
221
|
"main",
|
|
222
222
|
{
|
|
223
|
-
"direction": "vertical",
|
|
224
|
-
"gap": "lg",
|
|
225
223
|
"children": [
|
|
226
224
|
{
|
|
227
225
|
"gap": "md",
|
|
228
226
|
"children": [
|
|
229
227
|
{
|
|
230
|
-
"direction": "horizontal",
|
|
231
|
-
"type": "stack",
|
|
232
|
-
"gap": "sm",
|
|
233
228
|
"align": "center",
|
|
229
|
+
"gap": "sm",
|
|
230
|
+
"type": "stack",
|
|
231
|
+
"direction": "horizontal",
|
|
234
232
|
"children": [
|
|
235
233
|
{
|
|
236
|
-
"
|
|
237
|
-
"
|
|
234
|
+
"type": "icon",
|
|
235
|
+
"name": "user-plus"
|
|
238
236
|
},
|
|
239
237
|
{
|
|
240
|
-
"variant": "h2",
|
|
241
238
|
"type": "typography",
|
|
242
|
-
"content": "Patients"
|
|
239
|
+
"content": "Patients",
|
|
240
|
+
"variant": "h2"
|
|
243
241
|
}
|
|
244
242
|
]
|
|
245
243
|
},
|
|
246
244
|
{
|
|
247
|
-
"gap": "sm",
|
|
248
245
|
"type": "stack",
|
|
246
|
+
"gap": "sm",
|
|
247
|
+
"direction": "horizontal",
|
|
249
248
|
"children": [
|
|
250
249
|
{
|
|
251
|
-
"label": "New Patient",
|
|
252
250
|
"action": "CREATE",
|
|
253
251
|
"type": "button",
|
|
254
252
|
"variant": "primary",
|
|
253
|
+
"label": "New Patient",
|
|
255
254
|
"icon": "plus"
|
|
256
255
|
}
|
|
257
|
-
]
|
|
258
|
-
"direction": "horizontal"
|
|
256
|
+
]
|
|
259
257
|
}
|
|
260
258
|
],
|
|
261
259
|
"type": "stack",
|
|
@@ -267,13 +265,13 @@
|
|
|
267
265
|
"type": "divider"
|
|
268
266
|
},
|
|
269
267
|
{
|
|
268
|
+
"gap": "sm",
|
|
269
|
+
"direction": "horizontal",
|
|
270
270
|
"children": [
|
|
271
271
|
"@trait.PatientSearch",
|
|
272
272
|
"@trait.PatientFilter"
|
|
273
273
|
],
|
|
274
|
-
"type": "stack"
|
|
275
|
-
"direction": "horizontal",
|
|
276
|
-
"gap": "sm"
|
|
274
|
+
"type": "stack"
|
|
277
275
|
},
|
|
278
276
|
"@trait.PatientStats",
|
|
279
277
|
"@trait.PatientGraphs",
|
|
@@ -282,7 +280,9 @@
|
|
|
282
280
|
},
|
|
283
281
|
"@trait.PatientBrowseList"
|
|
284
282
|
],
|
|
285
|
-
"
|
|
283
|
+
"gap": "lg",
|
|
284
|
+
"type": "stack",
|
|
285
|
+
"direction": "vertical"
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
]
|
|
@@ -301,34 +301,34 @@
|
|
|
301
301
|
"render-ui",
|
|
302
302
|
"main",
|
|
303
303
|
{
|
|
304
|
-
"align": "center",
|
|
305
|
-
"direction": "vertical",
|
|
306
|
-
"type": "stack",
|
|
307
|
-
"gap": "md",
|
|
308
|
-
"className": "py-8",
|
|
309
304
|
"children": [
|
|
310
305
|
{
|
|
311
|
-
"
|
|
312
|
-
"
|
|
306
|
+
"name": "bell",
|
|
307
|
+
"type": "icon"
|
|
313
308
|
},
|
|
314
309
|
{
|
|
315
|
-
"
|
|
310
|
+
"content": "No notifications",
|
|
316
311
|
"type": "typography",
|
|
317
|
-
"
|
|
312
|
+
"variant": "h3"
|
|
318
313
|
},
|
|
319
314
|
{
|
|
320
|
-
"content": "You're all caught up.",
|
|
321
|
-
"type": "typography",
|
|
322
315
|
"variant": "caption",
|
|
323
|
-
"color": "muted"
|
|
316
|
+
"color": "muted",
|
|
317
|
+
"content": "You're all caught up.",
|
|
318
|
+
"type": "typography"
|
|
324
319
|
},
|
|
325
320
|
{
|
|
326
|
-
"action": "INIT",
|
|
327
|
-
"type": "button",
|
|
328
321
|
"label": "Back to patients",
|
|
329
|
-
"
|
|
322
|
+
"type": "button",
|
|
323
|
+
"variant": "ghost",
|
|
324
|
+
"action": "INIT"
|
|
330
325
|
}
|
|
331
|
-
]
|
|
326
|
+
],
|
|
327
|
+
"align": "center",
|
|
328
|
+
"type": "stack",
|
|
329
|
+
"direction": "vertical",
|
|
330
|
+
"gap": "md",
|
|
331
|
+
"className": "py-8"
|
|
332
332
|
}
|
|
333
333
|
]
|
|
334
334
|
]
|
|
@@ -361,15 +361,15 @@
|
|
|
361
361
|
"filterType": "select"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
|
-
"label": "Insurance",
|
|
365
|
-
"field": "insuranceId",
|
|
366
364
|
"options": [
|
|
367
365
|
"aetna",
|
|
368
366
|
"bcbs",
|
|
369
367
|
"cigna",
|
|
370
368
|
"uhc"
|
|
371
369
|
],
|
|
372
|
-
"
|
|
370
|
+
"label": "Insurance",
|
|
371
|
+
"filterType": "select",
|
|
372
|
+
"field": "insuranceId"
|
|
373
373
|
}
|
|
374
374
|
],
|
|
375
375
|
"event": "FILTER"
|
|
@@ -383,15 +383,13 @@
|
|
|
383
383
|
"metrics": [
|
|
384
384
|
{
|
|
385
385
|
"aggregation": "count",
|
|
386
|
-
"icon": "users",
|
|
387
|
-
"format": "number",
|
|
388
386
|
"variant": "primary",
|
|
389
|
-
"
|
|
387
|
+
"format": "number",
|
|
388
|
+
"label": "Total Patients",
|
|
389
|
+
"icon": "users"
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
|
-
"label": "Active",
|
|
393
392
|
"aggregation": "count",
|
|
394
|
-
"icon": "check-circle",
|
|
395
393
|
"format": "number",
|
|
396
394
|
"variant": "success",
|
|
397
395
|
"filter": [
|
|
@@ -402,21 +400,23 @@
|
|
|
402
400
|
"@row.status",
|
|
403
401
|
"active"
|
|
404
402
|
]
|
|
405
|
-
]
|
|
403
|
+
],
|
|
404
|
+
"label": "Active",
|
|
405
|
+
"icon": "check-circle"
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
|
-
"format": "number",
|
|
409
|
-
"aggregation": "count",
|
|
410
408
|
"label": "New This Month",
|
|
409
|
+
"variant": "info",
|
|
411
410
|
"icon": "user-plus",
|
|
412
|
-
"
|
|
411
|
+
"aggregation": "count",
|
|
412
|
+
"format": "number"
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
|
-
"aggregation": "count",
|
|
416
|
-
"variant": "default",
|
|
417
|
-
"format": "number",
|
|
418
415
|
"icon": "shield",
|
|
419
|
-
"
|
|
416
|
+
"format": "number",
|
|
417
|
+
"aggregation": "count",
|
|
418
|
+
"label": "By Insurance",
|
|
419
|
+
"variant": "default"
|
|
420
420
|
}
|
|
421
421
|
]
|
|
422
422
|
},
|
|
@@ -435,12 +435,12 @@
|
|
|
435
435
|
"ref": "Graphs.traits.GraphItemGraph",
|
|
436
436
|
"name": "PatientGraphs",
|
|
437
437
|
"config": {
|
|
438
|
-
"categoryField": "insuranceId",
|
|
439
438
|
"title": "Patients by Insurance",
|
|
440
439
|
"subtitle": "Distribution across providers",
|
|
441
440
|
"chartType": "pie",
|
|
442
|
-
"
|
|
441
|
+
"categoryField": "insuranceId",
|
|
443
442
|
"aggregation": "count",
|
|
443
|
+
"height": 280.0,
|
|
444
444
|
"showLegend": true
|
|
445
445
|
},
|
|
446
446
|
"listens": [
|
|
@@ -459,55 +459,55 @@
|
|
|
459
459
|
"name": "PatientBrowseList",
|
|
460
460
|
"linkedEntity": "Patient",
|
|
461
461
|
"config": {
|
|
462
|
+
"gap": "sm",
|
|
462
463
|
"fields": [
|
|
463
464
|
{
|
|
464
|
-
"icon": "user",
|
|
465
|
-
"label": "Name",
|
|
466
465
|
"name": "firstName",
|
|
466
|
+
"label": "Name",
|
|
467
|
+
"icon": "user",
|
|
467
468
|
"variant": "h3"
|
|
468
469
|
},
|
|
469
470
|
{
|
|
470
|
-
"
|
|
471
|
-
"
|
|
471
|
+
"variant": "body",
|
|
472
|
+
"name": "lastName"
|
|
472
473
|
},
|
|
473
474
|
{
|
|
475
|
+
"variant": "caption",
|
|
474
476
|
"format": "date",
|
|
475
477
|
"name": "dateOfBirth",
|
|
476
|
-
"variant": "caption",
|
|
477
478
|
"label": "DOB"
|
|
478
479
|
},
|
|
479
480
|
{
|
|
480
481
|
"name": "insuranceId",
|
|
481
|
-
"
|
|
482
|
-
"
|
|
482
|
+
"variant": "badge",
|
|
483
|
+
"label": "Insurance"
|
|
483
484
|
},
|
|
484
485
|
{
|
|
485
|
-
"
|
|
486
|
-
"
|
|
486
|
+
"variant": "badge",
|
|
487
|
+
"name": "status"
|
|
487
488
|
},
|
|
488
489
|
{
|
|
489
|
-
"
|
|
490
|
-
"
|
|
490
|
+
"variant": "caption",
|
|
491
|
+
"name": "email"
|
|
491
492
|
}
|
|
492
493
|
],
|
|
493
494
|
"itemActions": [
|
|
494
495
|
{
|
|
496
|
+
"variant": "ghost",
|
|
495
497
|
"label": "View",
|
|
496
|
-
"event": "VIEW"
|
|
497
|
-
"variant": "ghost"
|
|
498
|
+
"event": "VIEW"
|
|
498
499
|
},
|
|
499
500
|
{
|
|
500
501
|
"variant": "ghost",
|
|
501
|
-
"
|
|
502
|
-
"
|
|
502
|
+
"event": "EDIT",
|
|
503
|
+
"label": "Edit"
|
|
503
504
|
},
|
|
504
505
|
{
|
|
505
506
|
"event": "DELETE",
|
|
506
507
|
"variant": "danger",
|
|
507
508
|
"label": "Delete"
|
|
508
509
|
}
|
|
509
|
-
]
|
|
510
|
-
"gap": "sm"
|
|
510
|
+
]
|
|
511
511
|
},
|
|
512
512
|
"listens": [
|
|
513
513
|
{
|
|
@@ -580,8 +580,8 @@
|
|
|
580
580
|
"title": "Create Patient"
|
|
581
581
|
},
|
|
582
582
|
"events": {
|
|
583
|
-
"
|
|
584
|
-
"
|
|
583
|
+
"OPEN": "CREATE",
|
|
584
|
+
"SAVE": "PATIENT_CREATED"
|
|
585
585
|
},
|
|
586
586
|
"listens": [
|
|
587
587
|
{
|
|
@@ -599,8 +599,8 @@
|
|
|
599
599
|
"name": "PatientEdit",
|
|
600
600
|
"linkedEntity": "Patient",
|
|
601
601
|
"config": {
|
|
602
|
+
"icon": "edit",
|
|
602
603
|
"title": "Edit Patient",
|
|
603
|
-
"mode": "edit",
|
|
604
604
|
"fields": [
|
|
605
605
|
"firstName",
|
|
606
606
|
"lastName",
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
"insuranceId",
|
|
611
611
|
"status"
|
|
612
612
|
],
|
|
613
|
-
"
|
|
613
|
+
"mode": "edit"
|
|
614
614
|
},
|
|
615
615
|
"events": {
|
|
616
616
|
"SAVE": "PATIENT_UPDATED",
|
|
@@ -632,7 +632,6 @@
|
|
|
632
632
|
"name": "PatientView",
|
|
633
633
|
"linkedEntity": "Patient",
|
|
634
634
|
"config": {
|
|
635
|
-
"icon": "eye",
|
|
636
635
|
"fields": [
|
|
637
636
|
"firstName",
|
|
638
637
|
"lastName",
|
|
@@ -642,8 +641,9 @@
|
|
|
642
641
|
"insuranceId",
|
|
643
642
|
"status"
|
|
644
643
|
],
|
|
644
|
+
"title": "Patient Details",
|
|
645
645
|
"mode": "edit",
|
|
646
|
-
"
|
|
646
|
+
"icon": "eye"
|
|
647
647
|
},
|
|
648
648
|
"events": {
|
|
649
649
|
"OPEN": "VIEW"
|
|
@@ -664,14 +664,14 @@
|
|
|
664
664
|
"name": "PatientDelete",
|
|
665
665
|
"linkedEntity": "Patient",
|
|
666
666
|
"config": {
|
|
667
|
-
"
|
|
667
|
+
"confirmLabel": "Delete",
|
|
668
668
|
"title": "Delete Patient",
|
|
669
|
-
"
|
|
670
|
-
"
|
|
669
|
+
"icon": "alert-triangle",
|
|
670
|
+
"alertMessage": "This action cannot be undone."
|
|
671
671
|
},
|
|
672
672
|
"events": {
|
|
673
|
-
"
|
|
674
|
-
"
|
|
673
|
+
"CONFIRM": "PATIENT_DELETED",
|
|
674
|
+
"REQUEST": "DELETE"
|
|
675
675
|
},
|
|
676
676
|
"listens": [
|
|
677
677
|
{
|
|
@@ -953,40 +953,40 @@
|
|
|
953
953
|
"render-ui",
|
|
954
954
|
"main",
|
|
955
955
|
{
|
|
956
|
+
"direction": "vertical",
|
|
957
|
+
"gap": "md",
|
|
958
|
+
"type": "stack",
|
|
956
959
|
"children": [
|
|
957
960
|
{
|
|
958
961
|
"gap": "sm",
|
|
962
|
+
"type": "stack",
|
|
963
|
+
"direction": "horizontal",
|
|
959
964
|
"children": [
|
|
960
965
|
{
|
|
961
966
|
"type": "icon",
|
|
962
967
|
"name": "paperclip"
|
|
963
968
|
},
|
|
964
969
|
{
|
|
970
|
+
"variant": "h3",
|
|
965
971
|
"content": "Upload Medical Record",
|
|
966
|
-
"type": "typography"
|
|
967
|
-
"variant": "h3"
|
|
972
|
+
"type": "typography"
|
|
968
973
|
}
|
|
969
974
|
],
|
|
970
|
-
"type": "stack",
|
|
971
|
-
"direction": "horizontal",
|
|
972
975
|
"align": "center"
|
|
973
976
|
},
|
|
974
977
|
{
|
|
975
|
-
"inputType": "text",
|
|
976
978
|
"placeholder": "Choose file path…",
|
|
977
|
-
"type": "input"
|
|
979
|
+
"type": "input",
|
|
980
|
+
"inputType": "text"
|
|
978
981
|
},
|
|
979
982
|
{
|
|
980
|
-
"label": "Upload",
|
|
981
983
|
"variant": "primary",
|
|
982
|
-
"icon": "upload",
|
|
983
984
|
"type": "button",
|
|
984
|
-
"
|
|
985
|
+
"label": "Upload",
|
|
986
|
+
"action": "UPLOAD",
|
|
987
|
+
"icon": "upload"
|
|
985
988
|
}
|
|
986
|
-
]
|
|
987
|
-
"gap": "md",
|
|
988
|
-
"type": "stack",
|
|
989
|
-
"direction": "vertical"
|
|
989
|
+
]
|
|
990
990
|
}
|
|
991
991
|
]
|
|
992
992
|
]
|
|
@@ -1001,10 +1001,10 @@
|
|
|
1001
1001
|
"storage",
|
|
1002
1002
|
"upload",
|
|
1003
1003
|
{
|
|
1004
|
-
"file": "@payload.file",
|
|
1005
|
-
"bucket": "patient-records",
|
|
1006
1004
|
"acl": "private",
|
|
1007
|
-
"maxSize": 10485760.0
|
|
1005
|
+
"maxSize": 10485760.0,
|
|
1006
|
+
"file": "@payload.file",
|
|
1007
|
+
"bucket": "patient-records"
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
"emit": {
|
|
@@ -1018,20 +1018,20 @@
|
|
|
1018
1018
|
"main",
|
|
1019
1019
|
{
|
|
1020
1020
|
"align": "center",
|
|
1021
|
-
"gap": "md",
|
|
1022
|
-
"type": "stack",
|
|
1023
1021
|
"direction": "vertical",
|
|
1024
1022
|
"children": [
|
|
1025
1023
|
{
|
|
1026
1024
|
"type": "spinner"
|
|
1027
1025
|
},
|
|
1028
1026
|
{
|
|
1029
|
-
"
|
|
1027
|
+
"variant": "caption",
|
|
1030
1028
|
"content": "Uploading…",
|
|
1031
|
-
"
|
|
1032
|
-
"
|
|
1029
|
+
"type": "typography",
|
|
1030
|
+
"color": "muted"
|
|
1033
1031
|
}
|
|
1034
|
-
]
|
|
1032
|
+
],
|
|
1033
|
+
"type": "stack",
|
|
1034
|
+
"gap": "md"
|
|
1035
1035
|
}
|
|
1036
1036
|
]
|
|
1037
1037
|
]
|
|
@@ -1220,11 +1220,11 @@
|
|
|
1220
1220
|
"name": "AppointmentAppLayout",
|
|
1221
1221
|
"linkedEntity": "Appointment",
|
|
1222
1222
|
"config": {
|
|
1223
|
+
"contentTrait": "@trait.AppointmentCatalog",
|
|
1224
|
+
"appName": "HealthcareApp",
|
|
1223
1225
|
"topBarActions": [],
|
|
1224
|
-
"searchEvent": "APPOINTMENT_SEARCH",
|
|
1225
1226
|
"notificationClickEvent": "APPOINTMENT_NOTIFICATIONS_OPEN",
|
|
1226
|
-
"
|
|
1227
|
-
"appName": "HealthcareApp",
|
|
1227
|
+
"searchEvent": "APPOINTMENT_SEARCH",
|
|
1228
1228
|
"navItems": [
|
|
1229
1229
|
{
|
|
1230
1230
|
"icon": "user-plus",
|
|
@@ -1233,8 +1233,8 @@
|
|
|
1233
1233
|
},
|
|
1234
1234
|
{
|
|
1235
1235
|
"label": "Appointments",
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1236
|
+
"href": "/appointments",
|
|
1237
|
+
"icon": "calendar"
|
|
1238
1238
|
},
|
|
1239
1239
|
{
|
|
1240
1240
|
"label": "Intake",
|
|
@@ -1242,21 +1242,21 @@
|
|
|
1242
1242
|
"icon": "layout-list"
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
|
-
"label": "Prescriptions",
|
|
1246
1245
|
"href": "/prescriptions",
|
|
1246
|
+
"label": "Prescriptions",
|
|
1247
1247
|
"icon": "pill"
|
|
1248
1248
|
},
|
|
1249
1249
|
{
|
|
1250
|
-
"icon": "layout-dashboard",
|
|
1251
1250
|
"label": "Dashboard",
|
|
1252
|
-
"href": "/dashboard"
|
|
1251
|
+
"href": "/dashboard",
|
|
1252
|
+
"icon": "layout-dashboard"
|
|
1253
1253
|
}
|
|
1254
1254
|
],
|
|
1255
|
-
"
|
|
1255
|
+
"notifications": []
|
|
1256
1256
|
},
|
|
1257
1257
|
"events": {
|
|
1258
|
-
"
|
|
1259
|
-
"
|
|
1258
|
+
"NOTIFY_CLICK": "APPOINTMENT_NOTIFICATIONS_OPEN",
|
|
1259
|
+
"SEARCH": "APPOINTMENT_SEARCH"
|
|
1260
1260
|
}
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
@@ -1301,47 +1301,45 @@
|
|
|
1301
1301
|
"render-ui",
|
|
1302
1302
|
"main",
|
|
1303
1303
|
{
|
|
1304
|
-
"gap": "lg",
|
|
1305
|
-
"type": "stack",
|
|
1306
1304
|
"children": [
|
|
1307
1305
|
{
|
|
1308
1306
|
"type": "stack",
|
|
1309
|
-
"
|
|
1310
|
-
"gap": "md",
|
|
1307
|
+
"justify": "between",
|
|
1311
1308
|
"children": [
|
|
1312
1309
|
{
|
|
1313
|
-
"gap": "sm",
|
|
1314
|
-
"direction": "horizontal",
|
|
1315
|
-
"align": "center",
|
|
1316
1310
|
"type": "stack",
|
|
1311
|
+
"direction": "horizontal",
|
|
1312
|
+
"gap": "sm",
|
|
1317
1313
|
"children": [
|
|
1318
1314
|
{
|
|
1319
|
-
"
|
|
1320
|
-
"
|
|
1315
|
+
"name": "calendar",
|
|
1316
|
+
"type": "icon"
|
|
1321
1317
|
},
|
|
1322
1318
|
{
|
|
1323
1319
|
"content": "Appointments",
|
|
1324
|
-
"
|
|
1325
|
-
"
|
|
1320
|
+
"type": "typography",
|
|
1321
|
+
"variant": "h2"
|
|
1326
1322
|
}
|
|
1327
|
-
]
|
|
1323
|
+
],
|
|
1324
|
+
"align": "center"
|
|
1328
1325
|
},
|
|
1329
1326
|
{
|
|
1330
|
-
"
|
|
1327
|
+
"type": "stack",
|
|
1331
1328
|
"children": [
|
|
1332
1329
|
{
|
|
1333
|
-
"variant": "primary",
|
|
1334
|
-
"action": "CREATE",
|
|
1335
1330
|
"type": "button",
|
|
1331
|
+
"variant": "primary",
|
|
1332
|
+
"icon": "plus",
|
|
1336
1333
|
"label": "New Appointment",
|
|
1337
|
-
"
|
|
1334
|
+
"action": "CREATE"
|
|
1338
1335
|
}
|
|
1339
1336
|
],
|
|
1340
1337
|
"gap": "sm",
|
|
1341
|
-
"
|
|
1338
|
+
"direction": "horizontal"
|
|
1342
1339
|
}
|
|
1343
1340
|
],
|
|
1344
|
-
"
|
|
1341
|
+
"gap": "md",
|
|
1342
|
+
"direction": "horizontal",
|
|
1345
1343
|
"align": "center"
|
|
1346
1344
|
},
|
|
1347
1345
|
{
|
|
@@ -1353,7 +1351,9 @@
|
|
|
1353
1351
|
},
|
|
1354
1352
|
"@trait.AppointmentBrowseList"
|
|
1355
1353
|
],
|
|
1356
|
-
"direction": "vertical"
|
|
1354
|
+
"direction": "vertical",
|
|
1355
|
+
"type": "stack",
|
|
1356
|
+
"gap": "lg"
|
|
1357
1357
|
}
|
|
1358
1358
|
]
|
|
1359
1359
|
]
|
|
@@ -1367,9 +1367,9 @@
|
|
|
1367
1367
|
"name": "AppointmentCalendar",
|
|
1368
1368
|
"linkedEntity": "Appointment",
|
|
1369
1369
|
"config": {
|
|
1370
|
+
"titleField": "summary",
|
|
1370
1371
|
"colorField": "status",
|
|
1371
|
-
"dateField": "scheduledAt"
|
|
1372
|
-
"titleField": "summary"
|
|
1372
|
+
"dateField": "scheduledAt"
|
|
1373
1373
|
},
|
|
1374
1374
|
"listens": [
|
|
1375
1375
|
{
|
|
@@ -1403,28 +1403,11 @@
|
|
|
1403
1403
|
"name": "AppointmentBrowseList",
|
|
1404
1404
|
"linkedEntity": "Appointment",
|
|
1405
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
|
-
],
|
|
1423
1406
|
"fields": [
|
|
1424
1407
|
{
|
|
1408
|
+
"name": "patientName",
|
|
1425
1409
|
"label": "Patient",
|
|
1426
1410
|
"variant": "h4",
|
|
1427
|
-
"name": "patientName",
|
|
1428
1411
|
"icon": "user"
|
|
1429
1412
|
},
|
|
1430
1413
|
{
|
|
@@ -1433,9 +1416,9 @@
|
|
|
1433
1416
|
"name": "doctorName"
|
|
1434
1417
|
},
|
|
1435
1418
|
{
|
|
1419
|
+
"format": "date",
|
|
1436
1420
|
"variant": "caption",
|
|
1437
1421
|
"label": "When",
|
|
1438
|
-
"format": "date",
|
|
1439
1422
|
"name": "scheduledAt"
|
|
1440
1423
|
},
|
|
1441
1424
|
{
|
|
@@ -1443,8 +1426,25 @@
|
|
|
1443
1426
|
"name": "status"
|
|
1444
1427
|
},
|
|
1445
1428
|
{
|
|
1446
|
-
"
|
|
1447
|
-
"
|
|
1429
|
+
"name": "reason",
|
|
1430
|
+
"variant": "caption"
|
|
1431
|
+
}
|
|
1432
|
+
],
|
|
1433
|
+
"itemActions": [
|
|
1434
|
+
{
|
|
1435
|
+
"event": "VIEW",
|
|
1436
|
+
"label": "View",
|
|
1437
|
+
"variant": "ghost"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"event": "EDIT",
|
|
1441
|
+
"variant": "ghost",
|
|
1442
|
+
"label": "Edit"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"label": "Delete",
|
|
1446
|
+
"variant": "danger",
|
|
1447
|
+
"event": "DELETE"
|
|
1448
1448
|
}
|
|
1449
1449
|
],
|
|
1450
1450
|
"gap": "sm"
|
|
@@ -1481,8 +1481,9 @@
|
|
|
1481
1481
|
"name": "AppointmentCreate",
|
|
1482
1482
|
"linkedEntity": "Appointment",
|
|
1483
1483
|
"config": {
|
|
1484
|
-
"title": "Create Appointment",
|
|
1485
1484
|
"icon": "plus-circle",
|
|
1485
|
+
"mode": "create",
|
|
1486
|
+
"title": "Create Appointment",
|
|
1486
1487
|
"fields": [
|
|
1487
1488
|
"patientName",
|
|
1488
1489
|
"patientEmail",
|
|
@@ -1492,8 +1493,7 @@
|
|
|
1492
1493
|
"scheduledAt",
|
|
1493
1494
|
"reason",
|
|
1494
1495
|
"status"
|
|
1495
|
-
]
|
|
1496
|
-
"mode": "create"
|
|
1496
|
+
]
|
|
1497
1497
|
},
|
|
1498
1498
|
"events": {
|
|
1499
1499
|
"OPEN": "CREATE",
|
|
@@ -1515,7 +1515,7 @@
|
|
|
1515
1515
|
"name": "AppointmentEdit",
|
|
1516
1516
|
"linkedEntity": "Appointment",
|
|
1517
1517
|
"config": {
|
|
1518
|
-
"
|
|
1518
|
+
"mode": "edit",
|
|
1519
1519
|
"icon": "edit",
|
|
1520
1520
|
"fields": [
|
|
1521
1521
|
"patientName",
|
|
@@ -1527,11 +1527,11 @@
|
|
|
1527
1527
|
"reason",
|
|
1528
1528
|
"status"
|
|
1529
1529
|
],
|
|
1530
|
-
"
|
|
1530
|
+
"title": "Edit Appointment"
|
|
1531
1531
|
},
|
|
1532
1532
|
"events": {
|
|
1533
|
-
"
|
|
1534
|
-
"
|
|
1533
|
+
"SAVE": "APPOINTMENT_UPDATED",
|
|
1534
|
+
"OPEN": "EDIT"
|
|
1535
1535
|
},
|
|
1536
1536
|
"listens": [
|
|
1537
1537
|
{
|
|
@@ -1549,6 +1549,7 @@
|
|
|
1549
1549
|
"name": "AppointmentView",
|
|
1550
1550
|
"linkedEntity": "Appointment",
|
|
1551
1551
|
"config": {
|
|
1552
|
+
"title": "Appointment Details",
|
|
1552
1553
|
"fields": [
|
|
1553
1554
|
"patientName",
|
|
1554
1555
|
"doctorName",
|
|
@@ -1558,7 +1559,6 @@
|
|
|
1558
1559
|
"status"
|
|
1559
1560
|
],
|
|
1560
1561
|
"mode": "edit",
|
|
1561
|
-
"title": "Appointment Details",
|
|
1562
1562
|
"icon": "eye"
|
|
1563
1563
|
},
|
|
1564
1564
|
"events": {
|
|
@@ -1580,9 +1580,9 @@
|
|
|
1580
1580
|
"name": "AppointmentDelete",
|
|
1581
1581
|
"linkedEntity": "Appointment",
|
|
1582
1582
|
"config": {
|
|
1583
|
-
"confirmLabel": "Delete",
|
|
1584
1583
|
"title": "Delete Appointment",
|
|
1585
1584
|
"alertMessage": "This action cannot be undone.",
|
|
1585
|
+
"confirmLabel": "Delete",
|
|
1586
1586
|
"icon": "alert-triangle"
|
|
1587
1587
|
},
|
|
1588
1588
|
"events": {
|
|
@@ -1797,14 +1797,14 @@
|
|
|
1797
1797
|
"send",
|
|
1798
1798
|
{
|
|
1799
1799
|
"body": "Your appointment is scheduled.",
|
|
1800
|
-
"sender": "noreply@clinic.example",
|
|
1801
1800
|
"recipient": "@payload.data.patientEmail",
|
|
1802
|
-
"subject": "Appointment Confirmed"
|
|
1801
|
+
"subject": "Appointment Confirmed",
|
|
1802
|
+
"sender": "noreply@clinic.example"
|
|
1803
1803
|
},
|
|
1804
1804
|
{
|
|
1805
1805
|
"emit": {
|
|
1806
|
-
"
|
|
1807
|
-
"
|
|
1806
|
+
"failure": "AppointmentEmailFailed",
|
|
1807
|
+
"success": "AppointmentEmailSent"
|
|
1808
1808
|
}
|
|
1809
1809
|
}
|
|
1810
1810
|
]
|
|
@@ -1956,15 +1956,15 @@
|
|
|
1956
1956
|
"render-ui",
|
|
1957
1957
|
"main",
|
|
1958
1958
|
{
|
|
1959
|
+
"direction": "vertical",
|
|
1959
1960
|
"type": "stack",
|
|
1960
1961
|
"gap": "md",
|
|
1961
|
-
"direction": "vertical",
|
|
1962
1962
|
"children": [
|
|
1963
1963
|
{
|
|
1964
1964
|
"gap": "sm",
|
|
1965
1965
|
"direction": "horizontal",
|
|
1966
|
-
"type": "stack",
|
|
1967
1966
|
"align": "center",
|
|
1967
|
+
"type": "stack",
|
|
1968
1968
|
"children": [
|
|
1969
1969
|
{
|
|
1970
1970
|
"type": "icon",
|
|
@@ -1978,11 +1978,11 @@
|
|
|
1978
1978
|
]
|
|
1979
1979
|
},
|
|
1980
1980
|
{
|
|
1981
|
-
"label": "Send SMS Reminder",
|
|
1982
|
-
"variant": "primary",
|
|
1983
|
-
"action": "SEND_REMINDER",
|
|
1984
1981
|
"type": "button",
|
|
1985
|
-
"
|
|
1982
|
+
"action": "SEND_REMINDER",
|
|
1983
|
+
"variant": "primary",
|
|
1984
|
+
"icon": "send",
|
|
1985
|
+
"label": "Send SMS Reminder"
|
|
1986
1986
|
}
|
|
1987
1987
|
]
|
|
1988
1988
|
}
|
|
@@ -1999,14 +1999,14 @@
|
|
|
1999
1999
|
"twilio",
|
|
2000
2000
|
"sendSMS",
|
|
2001
2001
|
{
|
|
2002
|
-
"sender": "+15551234567",
|
|
2003
2002
|
"recipient": "@payload.data.patientPhone",
|
|
2004
|
-
"body": "Reminder: appointment tomorrow."
|
|
2003
|
+
"body": "Reminder: appointment tomorrow.",
|
|
2004
|
+
"sender": "+15551234567"
|
|
2005
2005
|
},
|
|
2006
2006
|
{
|
|
2007
2007
|
"emit": {
|
|
2008
|
-
"
|
|
2009
|
-
"
|
|
2008
|
+
"failure": "ReminderFailed",
|
|
2009
|
+
"success": "ReminderSent"
|
|
2010
2010
|
}
|
|
2011
2011
|
}
|
|
2012
2012
|
],
|
|
@@ -2014,8 +2014,9 @@
|
|
|
2014
2014
|
"render-ui",
|
|
2015
2015
|
"main",
|
|
2016
2016
|
{
|
|
2017
|
+
"align": "center",
|
|
2017
2018
|
"gap": "md",
|
|
2018
|
-
"
|
|
2019
|
+
"direction": "vertical",
|
|
2019
2020
|
"children": [
|
|
2020
2021
|
{
|
|
2021
2022
|
"type": "spinner"
|
|
@@ -2027,8 +2028,7 @@
|
|
|
2027
2028
|
"content": "Sending reminder…"
|
|
2028
2029
|
}
|
|
2029
2030
|
],
|
|
2030
|
-
"
|
|
2031
|
-
"align": "center"
|
|
2031
|
+
"type": "stack"
|
|
2032
2032
|
}
|
|
2033
2033
|
]
|
|
2034
2034
|
]
|
|
@@ -2173,39 +2173,39 @@
|
|
|
2173
2173
|
"name": "IntakeFormAppLayout",
|
|
2174
2174
|
"linkedEntity": "IntakeForm",
|
|
2175
2175
|
"config": {
|
|
2176
|
+
"searchEvent": "INTAKE_SEARCH",
|
|
2177
|
+
"topBarActions": [],
|
|
2178
|
+
"notifications": [],
|
|
2179
|
+
"appName": "HealthcareApp",
|
|
2176
2180
|
"navItems": [
|
|
2177
2181
|
{
|
|
2178
|
-
"
|
|
2182
|
+
"href": "/patients",
|
|
2179
2183
|
"label": "Patients",
|
|
2180
|
-
"
|
|
2184
|
+
"icon": "user-plus"
|
|
2181
2185
|
},
|
|
2182
2186
|
{
|
|
2187
|
+
"href": "/appointments",
|
|
2183
2188
|
"label": "Appointments",
|
|
2184
|
-
"icon": "calendar"
|
|
2185
|
-
"href": "/appointments"
|
|
2189
|
+
"icon": "calendar"
|
|
2186
2190
|
},
|
|
2187
2191
|
{
|
|
2188
2192
|
"icon": "layout-list",
|
|
2189
|
-
"
|
|
2190
|
-
"
|
|
2193
|
+
"href": "/intake",
|
|
2194
|
+
"label": "Intake"
|
|
2191
2195
|
},
|
|
2192
2196
|
{
|
|
2193
|
-
"icon": "pill",
|
|
2194
2197
|
"href": "/prescriptions",
|
|
2195
|
-
"label": "Prescriptions"
|
|
2198
|
+
"label": "Prescriptions",
|
|
2199
|
+
"icon": "pill"
|
|
2196
2200
|
},
|
|
2197
2201
|
{
|
|
2202
|
+
"href": "/dashboard",
|
|
2198
2203
|
"icon": "layout-dashboard",
|
|
2199
|
-
"label": "Dashboard"
|
|
2200
|
-
"href": "/dashboard"
|
|
2204
|
+
"label": "Dashboard"
|
|
2201
2205
|
}
|
|
2202
2206
|
],
|
|
2203
2207
|
"contentTrait": "@trait.IntakeFormWizard",
|
|
2204
|
-
"notificationClickEvent": "INTAKE_NOTIFICATIONS_OPEN"
|
|
2205
|
-
"searchEvent": "INTAKE_SEARCH",
|
|
2206
|
-
"topBarActions": [],
|
|
2207
|
-
"notifications": [],
|
|
2208
|
-
"appName": "HealthcareApp"
|
|
2208
|
+
"notificationClickEvent": "INTAKE_NOTIFICATIONS_OPEN"
|
|
2209
2209
|
},
|
|
2210
2210
|
"events": {
|
|
2211
2211
|
"SEARCH": "INTAKE_SEARCH",
|
|
@@ -2427,8 +2427,8 @@
|
|
|
2427
2427
|
"IntakeForm",
|
|
2428
2428
|
{
|
|
2429
2429
|
"emit": {
|
|
2430
|
-
"
|
|
2431
|
-
"
|
|
2430
|
+
"failure": "IntakeFormLoadFailed",
|
|
2431
|
+
"success": "IntakeFormLoaded"
|
|
2432
2432
|
}
|
|
2433
2433
|
}
|
|
2434
2434
|
],
|
|
@@ -2437,34 +2437,36 @@
|
|
|
2437
2437
|
"main",
|
|
2438
2438
|
{
|
|
2439
2439
|
"type": "stack",
|
|
2440
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2440
2441
|
"gap": "lg",
|
|
2442
|
+
"direction": "vertical",
|
|
2441
2443
|
"children": [
|
|
2442
2444
|
{
|
|
2443
|
-
"
|
|
2445
|
+
"direction": "horizontal",
|
|
2444
2446
|
"type": "stack",
|
|
2447
|
+
"gap": "sm",
|
|
2445
2448
|
"align": "center",
|
|
2446
2449
|
"children": [
|
|
2447
2450
|
{
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2451
|
+
"name": "clipboard",
|
|
2452
|
+
"type": "icon"
|
|
2450
2453
|
},
|
|
2451
2454
|
{
|
|
2452
|
-
"variant": "h2",
|
|
2453
2455
|
"type": "typography",
|
|
2456
|
+
"variant": "h2",
|
|
2454
2457
|
"content": "Patient Intake"
|
|
2455
2458
|
}
|
|
2456
|
-
]
|
|
2457
|
-
"direction": "horizontal"
|
|
2459
|
+
]
|
|
2458
2460
|
},
|
|
2459
2461
|
{
|
|
2460
2462
|
"currentStep": 0.0,
|
|
2461
|
-
"type": "wizard-progress",
|
|
2462
2463
|
"steps": [
|
|
2463
2464
|
"Personal Info",
|
|
2464
2465
|
"Medical History",
|
|
2465
2466
|
"Insurance",
|
|
2466
2467
|
"Review"
|
|
2467
|
-
]
|
|
2468
|
+
],
|
|
2469
|
+
"type": "wizard-progress"
|
|
2468
2470
|
},
|
|
2469
2471
|
{
|
|
2470
2472
|
"type": "divider"
|
|
@@ -2475,29 +2477,27 @@
|
|
|
2475
2477
|
"type": "typography"
|
|
2476
2478
|
},
|
|
2477
2479
|
{
|
|
2478
|
-
"submitEvent": "NEXT",
|
|
2479
|
-
"showCancel": false,
|
|
2480
|
-
"submitLabel": "Continue",
|
|
2481
|
-
"type": "form-section",
|
|
2482
|
-
"mode": "create",
|
|
2483
2480
|
"fields": [
|
|
2484
2481
|
{
|
|
2485
|
-
"
|
|
2486
|
-
"
|
|
2482
|
+
"name": "firstName",
|
|
2483
|
+
"required": true
|
|
2487
2484
|
},
|
|
2488
2485
|
{
|
|
2489
|
-
"
|
|
2490
|
-
"
|
|
2486
|
+
"required": true,
|
|
2487
|
+
"name": "lastName"
|
|
2491
2488
|
},
|
|
2492
2489
|
{
|
|
2493
|
-
"
|
|
2494
|
-
"
|
|
2490
|
+
"required": true,
|
|
2491
|
+
"name": "dateOfBirth"
|
|
2495
2492
|
}
|
|
2496
|
-
]
|
|
2493
|
+
],
|
|
2494
|
+
"showCancel": false,
|
|
2495
|
+
"submitLabel": "Continue",
|
|
2496
|
+
"mode": "create",
|
|
2497
|
+
"submitEvent": "NEXT",
|
|
2498
|
+
"type": "form-section"
|
|
2497
2499
|
}
|
|
2498
|
-
]
|
|
2499
|
-
"direction": "vertical",
|
|
2500
|
-
"className": "max-w-xl mx-auto w-full"
|
|
2500
|
+
]
|
|
2501
2501
|
}
|
|
2502
2502
|
]
|
|
2503
2503
|
]
|
|
@@ -2532,48 +2532,48 @@
|
|
|
2532
2532
|
"render-ui",
|
|
2533
2533
|
"main",
|
|
2534
2534
|
{
|
|
2535
|
-
"
|
|
2536
|
-
"type": "stack",
|
|
2535
|
+
"direction": "vertical",
|
|
2537
2536
|
"gap": "lg",
|
|
2537
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2538
2538
|
"children": [
|
|
2539
2539
|
{
|
|
2540
2540
|
"type": "typography",
|
|
2541
|
-
"
|
|
2542
|
-
"
|
|
2541
|
+
"content": "Patient Intake",
|
|
2542
|
+
"variant": "h2"
|
|
2543
2543
|
},
|
|
2544
2544
|
{
|
|
2545
|
-
"type": "wizard-progress",
|
|
2546
|
-
"currentStep": 1.0,
|
|
2547
2545
|
"steps": [
|
|
2548
2546
|
"Personal Info",
|
|
2549
2547
|
"Medical History",
|
|
2550
2548
|
"Insurance",
|
|
2551
2549
|
"Review"
|
|
2552
|
-
]
|
|
2550
|
+
],
|
|
2551
|
+
"currentStep": 1.0,
|
|
2552
|
+
"type": "wizard-progress"
|
|
2553
2553
|
},
|
|
2554
2554
|
{
|
|
2555
2555
|
"type": "divider"
|
|
2556
2556
|
},
|
|
2557
2557
|
{
|
|
2558
|
+
"variant": "h3",
|
|
2558
2559
|
"type": "typography",
|
|
2559
|
-
"content": "Medical History"
|
|
2560
|
-
"variant": "h3"
|
|
2560
|
+
"content": "Medical History"
|
|
2561
2561
|
},
|
|
2562
2562
|
{
|
|
2563
|
+
"type": "form-section",
|
|
2564
|
+
"cancelLabel": "Back",
|
|
2565
|
+
"mode": "edit",
|
|
2563
2566
|
"fields": [
|
|
2564
2567
|
"allergies",
|
|
2565
2568
|
"medications"
|
|
2566
2569
|
],
|
|
2567
|
-
"cancelEvent": "PREV",
|
|
2568
|
-
"entity": "@entity",
|
|
2569
|
-
"mode": "edit",
|
|
2570
|
-
"type": "form-section",
|
|
2571
2570
|
"submitLabel": "Continue",
|
|
2572
|
-
"
|
|
2573
|
-
"
|
|
2571
|
+
"submitEvent": "NEXT",
|
|
2572
|
+
"cancelEvent": "PREV",
|
|
2573
|
+
"entity": "@entity"
|
|
2574
2574
|
}
|
|
2575
2575
|
],
|
|
2576
|
-
"
|
|
2576
|
+
"type": "stack"
|
|
2577
2577
|
}
|
|
2578
2578
|
]
|
|
2579
2579
|
]
|
|
@@ -2603,56 +2603,56 @@
|
|
|
2603
2603
|
"render-ui",
|
|
2604
2604
|
"main",
|
|
2605
2605
|
{
|
|
2606
|
+
"type": "stack",
|
|
2606
2607
|
"gap": "lg",
|
|
2607
2608
|
"direction": "vertical",
|
|
2608
|
-
"type": "stack",
|
|
2609
2609
|
"className": "max-w-xl mx-auto w-full",
|
|
2610
2610
|
"children": [
|
|
2611
2611
|
{
|
|
2612
|
-
"type": "typography",
|
|
2613
2612
|
"variant": "h2",
|
|
2613
|
+
"type": "typography",
|
|
2614
2614
|
"content": "Patient Intake"
|
|
2615
2615
|
},
|
|
2616
2616
|
{
|
|
2617
|
-
"currentStep": 2.0,
|
|
2618
2617
|
"steps": [
|
|
2619
2618
|
"Personal Info",
|
|
2620
2619
|
"Medical History",
|
|
2621
2620
|
"Insurance",
|
|
2622
2621
|
"Review"
|
|
2623
2622
|
],
|
|
2623
|
+
"currentStep": 2.0,
|
|
2624
2624
|
"type": "wizard-progress"
|
|
2625
2625
|
},
|
|
2626
2626
|
{
|
|
2627
2627
|
"type": "divider"
|
|
2628
2628
|
},
|
|
2629
2629
|
{
|
|
2630
|
-
"type": "typography",
|
|
2631
2630
|
"variant": "h3",
|
|
2632
|
-
"content": "Insurance"
|
|
2631
|
+
"content": "Insurance",
|
|
2632
|
+
"type": "typography"
|
|
2633
2633
|
},
|
|
2634
2634
|
{
|
|
2635
|
-
"
|
|
2635
|
+
"mode": "edit",
|
|
2636
|
+
"submitLabel": "Continue",
|
|
2637
|
+
"cancelLabel": "Back",
|
|
2636
2638
|
"entity": "@entity",
|
|
2639
|
+
"type": "form-section",
|
|
2640
|
+
"cancelEvent": "PREV",
|
|
2641
|
+
"submitEvent": "NEXT",
|
|
2637
2642
|
"fields": [
|
|
2638
2643
|
{
|
|
2639
2644
|
"required": true,
|
|
2640
2645
|
"name": "emergencyContact"
|
|
2641
2646
|
},
|
|
2642
2647
|
{
|
|
2643
|
-
"
|
|
2644
|
-
"
|
|
2648
|
+
"required": true,
|
|
2649
|
+
"name": "insuranceProvider"
|
|
2645
2650
|
},
|
|
2646
2651
|
{
|
|
2647
|
-
"
|
|
2648
|
-
"
|
|
2652
|
+
"required": true,
|
|
2653
|
+
"name": "insuranceId"
|
|
2649
2654
|
}
|
|
2650
|
-
]
|
|
2651
|
-
"submitEvent": "NEXT",
|
|
2652
|
-
"mode": "edit",
|
|
2653
|
-
"submitLabel": "Continue",
|
|
2654
|
-
"cancelLabel": "Back",
|
|
2655
|
-
"cancelEvent": "PREV"
|
|
2655
|
+
]
|
|
2656
2656
|
}
|
|
2657
2657
|
]
|
|
2658
2658
|
}
|
|
@@ -2668,7 +2668,6 @@
|
|
|
2668
2668
|
"render-ui",
|
|
2669
2669
|
"main",
|
|
2670
2670
|
{
|
|
2671
|
-
"className": "max-w-xl mx-auto w-full",
|
|
2672
2671
|
"type": "stack",
|
|
2673
2672
|
"children": [
|
|
2674
2673
|
{
|
|
@@ -2677,14 +2676,14 @@
|
|
|
2677
2676
|
"variant": "h2"
|
|
2678
2677
|
},
|
|
2679
2678
|
{
|
|
2679
|
+
"type": "wizard-progress",
|
|
2680
2680
|
"steps": [
|
|
2681
2681
|
"Personal Info",
|
|
2682
2682
|
"Medical History",
|
|
2683
2683
|
"Insurance",
|
|
2684
2684
|
"Review"
|
|
2685
2685
|
],
|
|
2686
|
-
"currentStep": 0.0
|
|
2687
|
-
"type": "wizard-progress"
|
|
2686
|
+
"currentStep": 0.0
|
|
2688
2687
|
},
|
|
2689
2688
|
{
|
|
2690
2689
|
"type": "divider"
|
|
@@ -2695,10 +2694,10 @@
|
|
|
2695
2694
|
"content": "Personal Info"
|
|
2696
2695
|
},
|
|
2697
2696
|
{
|
|
2698
|
-
"entity": "@entity",
|
|
2699
2697
|
"submitEvent": "NEXT",
|
|
2700
|
-
"
|
|
2698
|
+
"entity": "@entity",
|
|
2701
2699
|
"showCancel": false,
|
|
2700
|
+
"mode": "edit",
|
|
2702
2701
|
"type": "form-section",
|
|
2703
2702
|
"submitLabel": "Continue",
|
|
2704
2703
|
"fields": [
|
|
@@ -2707,8 +2706,8 @@
|
|
|
2707
2706
|
"name": "firstName"
|
|
2708
2707
|
},
|
|
2709
2708
|
{
|
|
2710
|
-
"
|
|
2711
|
-
"
|
|
2709
|
+
"required": true,
|
|
2710
|
+
"name": "lastName"
|
|
2712
2711
|
},
|
|
2713
2712
|
{
|
|
2714
2713
|
"name": "dateOfBirth",
|
|
@@ -2718,7 +2717,8 @@
|
|
|
2718
2717
|
}
|
|
2719
2718
|
],
|
|
2720
2719
|
"direction": "vertical",
|
|
2721
|
-
"gap": "lg"
|
|
2720
|
+
"gap": "lg",
|
|
2721
|
+
"className": "max-w-xl mx-auto w-full"
|
|
2722
2722
|
}
|
|
2723
2723
|
]
|
|
2724
2724
|
]
|
|
@@ -2756,109 +2756,108 @@
|
|
|
2756
2756
|
"render-ui",
|
|
2757
2757
|
"main",
|
|
2758
2758
|
{
|
|
2759
|
-
"direction": "vertical",
|
|
2760
|
-
"type": "stack",
|
|
2761
2759
|
"children": [
|
|
2762
2760
|
{
|
|
2763
2761
|
"type": "typography",
|
|
2764
|
-
"
|
|
2765
|
-
"
|
|
2762
|
+
"variant": "h2",
|
|
2763
|
+
"content": "Review intake"
|
|
2766
2764
|
},
|
|
2767
2765
|
{
|
|
2768
|
-
"currentStep": 3.0,
|
|
2769
2766
|
"type": "wizard-progress",
|
|
2770
2767
|
"steps": [
|
|
2771
2768
|
"Personal Info",
|
|
2772
2769
|
"Medical History",
|
|
2773
2770
|
"Insurance",
|
|
2774
2771
|
"Review"
|
|
2775
|
-
]
|
|
2772
|
+
],
|
|
2773
|
+
"currentStep": 3.0
|
|
2776
2774
|
},
|
|
2777
2775
|
{
|
|
2778
2776
|
"type": "divider"
|
|
2779
2777
|
},
|
|
2780
2778
|
{
|
|
2781
2779
|
"type": "stack",
|
|
2780
|
+
"direction": "vertical",
|
|
2782
2781
|
"gap": "sm",
|
|
2783
2782
|
"children": [
|
|
2784
2783
|
{
|
|
2784
|
+
"type": "stack",
|
|
2785
2785
|
"children": [
|
|
2786
2786
|
{
|
|
2787
|
-
"type": "typography",
|
|
2788
2787
|
"variant": "caption",
|
|
2789
|
-
"content": "First Name"
|
|
2788
|
+
"content": "First Name",
|
|
2789
|
+
"type": "typography"
|
|
2790
2790
|
},
|
|
2791
2791
|
{
|
|
2792
2792
|
"type": "typography",
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2793
|
+
"variant": "body",
|
|
2794
|
+
"content": "@entity.firstName"
|
|
2795
2795
|
}
|
|
2796
2796
|
],
|
|
2797
|
-
"
|
|
2798
|
-
"type": "stack",
|
|
2797
|
+
"justify": "between",
|
|
2799
2798
|
"gap": "md",
|
|
2800
|
-
"
|
|
2799
|
+
"direction": "horizontal"
|
|
2801
2800
|
},
|
|
2802
2801
|
{
|
|
2803
2802
|
"type": "stack",
|
|
2803
|
+
"direction": "horizontal",
|
|
2804
2804
|
"gap": "md",
|
|
2805
2805
|
"justify": "between",
|
|
2806
|
-
"direction": "horizontal",
|
|
2807
2806
|
"children": [
|
|
2808
2807
|
{
|
|
2809
2808
|
"type": "typography",
|
|
2810
|
-
"
|
|
2811
|
-
"
|
|
2809
|
+
"content": "Last Name",
|
|
2810
|
+
"variant": "caption"
|
|
2812
2811
|
},
|
|
2813
2812
|
{
|
|
2814
|
-
"variant": "body",
|
|
2815
2813
|
"content": "@entity.lastName",
|
|
2816
|
-
"type": "typography"
|
|
2814
|
+
"type": "typography",
|
|
2815
|
+
"variant": "body"
|
|
2817
2816
|
}
|
|
2818
2817
|
]
|
|
2819
2818
|
},
|
|
2820
2819
|
{
|
|
2821
|
-
"type": "stack",
|
|
2822
|
-
"justify": "between",
|
|
2823
2820
|
"gap": "md",
|
|
2824
2821
|
"direction": "horizontal",
|
|
2822
|
+
"type": "stack",
|
|
2823
|
+
"justify": "between",
|
|
2825
2824
|
"children": [
|
|
2826
2825
|
{
|
|
2827
2826
|
"type": "typography",
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2827
|
+
"content": "Date of Birth",
|
|
2828
|
+
"variant": "caption"
|
|
2830
2829
|
},
|
|
2831
2830
|
{
|
|
2831
|
+
"variant": "body",
|
|
2832
2832
|
"content": "@entity.dateOfBirth",
|
|
2833
|
-
"type": "typography"
|
|
2834
|
-
"variant": "body"
|
|
2833
|
+
"type": "typography"
|
|
2835
2834
|
}
|
|
2836
2835
|
]
|
|
2837
2836
|
},
|
|
2838
2837
|
{
|
|
2839
|
-
"direction": "horizontal",
|
|
2840
2838
|
"children": [
|
|
2841
2839
|
{
|
|
2842
|
-
"variant": "caption",
|
|
2843
2840
|
"content": "Allergies",
|
|
2844
|
-
"type": "typography"
|
|
2841
|
+
"type": "typography",
|
|
2842
|
+
"variant": "caption"
|
|
2845
2843
|
},
|
|
2846
2844
|
{
|
|
2847
|
-
"type": "typography",
|
|
2848
2845
|
"variant": "body",
|
|
2849
|
-
"content": "@entity.allergies"
|
|
2846
|
+
"content": "@entity.allergies",
|
|
2847
|
+
"type": "typography"
|
|
2850
2848
|
}
|
|
2851
2849
|
],
|
|
2852
|
-
"type": "stack",
|
|
2853
2850
|
"gap": "md",
|
|
2851
|
+
"direction": "horizontal",
|
|
2852
|
+
"type": "stack",
|
|
2854
2853
|
"justify": "between"
|
|
2855
2854
|
},
|
|
2856
2855
|
{
|
|
2857
2856
|
"children": [
|
|
2858
2857
|
{
|
|
2859
|
-
"content": "Medications",
|
|
2860
2858
|
"type": "typography",
|
|
2861
|
-
"variant": "caption"
|
|
2859
|
+
"variant": "caption",
|
|
2860
|
+
"content": "Medications"
|
|
2862
2861
|
},
|
|
2863
2862
|
{
|
|
2864
2863
|
"content": "@entity.medications",
|
|
@@ -2866,48 +2865,51 @@
|
|
|
2866
2865
|
"type": "typography"
|
|
2867
2866
|
}
|
|
2868
2867
|
],
|
|
2869
|
-
"type": "stack",
|
|
2870
2868
|
"gap": "md",
|
|
2871
|
-
"
|
|
2872
|
-
"direction": "horizontal"
|
|
2869
|
+
"type": "stack",
|
|
2870
|
+
"direction": "horizontal",
|
|
2871
|
+
"justify": "between"
|
|
2873
2872
|
},
|
|
2874
2873
|
{
|
|
2874
|
+
"justify": "between",
|
|
2875
2875
|
"children": [
|
|
2876
2876
|
{
|
|
2877
|
+
"type": "typography",
|
|
2877
2878
|
"variant": "caption",
|
|
2878
|
-
"content": "Emergency Contact"
|
|
2879
|
-
"type": "typography"
|
|
2879
|
+
"content": "Emergency Contact"
|
|
2880
2880
|
},
|
|
2881
2881
|
{
|
|
2882
|
-
"type": "typography",
|
|
2883
2882
|
"content": "@entity.emergencyContact",
|
|
2883
|
+
"type": "typography",
|
|
2884
2884
|
"variant": "body"
|
|
2885
2885
|
}
|
|
2886
2886
|
],
|
|
2887
|
-
"type": "stack",
|
|
2888
2887
|
"direction": "horizontal",
|
|
2889
|
-
"
|
|
2890
|
-
"
|
|
2888
|
+
"type": "stack",
|
|
2889
|
+
"gap": "md"
|
|
2891
2890
|
},
|
|
2892
2891
|
{
|
|
2893
|
-
"
|
|
2892
|
+
"direction": "horizontal",
|
|
2894
2893
|
"gap": "md",
|
|
2895
|
-
"justify": "between",
|
|
2896
2894
|
"children": [
|
|
2897
2895
|
{
|
|
2896
|
+
"content": "Insurance Provider",
|
|
2898
2897
|
"type": "typography",
|
|
2899
|
-
"variant": "caption"
|
|
2900
|
-
"content": "Insurance Provider"
|
|
2898
|
+
"variant": "caption"
|
|
2901
2899
|
},
|
|
2902
2900
|
{
|
|
2903
|
-
"type": "typography",
|
|
2904
2901
|
"variant": "body",
|
|
2905
|
-
"content": "@entity.insuranceProvider"
|
|
2902
|
+
"content": "@entity.insuranceProvider",
|
|
2903
|
+
"type": "typography"
|
|
2906
2904
|
}
|
|
2907
2905
|
],
|
|
2908
|
-
"
|
|
2906
|
+
"type": "stack",
|
|
2907
|
+
"justify": "between"
|
|
2909
2908
|
},
|
|
2910
2909
|
{
|
|
2910
|
+
"gap": "md",
|
|
2911
|
+
"direction": "horizontal",
|
|
2912
|
+
"justify": "between",
|
|
2911
2913
|
"children": [
|
|
2912
2914
|
{
|
|
2913
2915
|
"content": "Insurance ID",
|
|
@@ -2915,47 +2917,45 @@
|
|
|
2915
2917
|
"type": "typography"
|
|
2916
2918
|
},
|
|
2917
2919
|
{
|
|
2918
|
-
"content": "@entity.insuranceId",
|
|
2919
2920
|
"variant": "body",
|
|
2921
|
+
"content": "@entity.insuranceId",
|
|
2920
2922
|
"type": "typography"
|
|
2921
2923
|
}
|
|
2922
2924
|
],
|
|
2923
|
-
"justify": "between",
|
|
2924
|
-
"gap": "md",
|
|
2925
|
-
"direction": "horizontal",
|
|
2926
2925
|
"type": "stack"
|
|
2927
2926
|
}
|
|
2928
|
-
]
|
|
2929
|
-
"direction": "vertical"
|
|
2927
|
+
]
|
|
2930
2928
|
},
|
|
2931
2929
|
{
|
|
2932
2930
|
"type": "divider"
|
|
2933
2931
|
},
|
|
2934
2932
|
{
|
|
2935
|
-
"
|
|
2933
|
+
"justify": "between",
|
|
2934
|
+
"type": "stack",
|
|
2936
2935
|
"gap": "sm",
|
|
2936
|
+
"direction": "horizontal",
|
|
2937
2937
|
"children": [
|
|
2938
2938
|
{
|
|
2939
2939
|
"label": "Back",
|
|
2940
|
-
"icon": "arrow-left",
|
|
2941
|
-
"type": "button",
|
|
2942
2940
|
"variant": "ghost",
|
|
2943
|
-
"
|
|
2941
|
+
"icon": "arrow-left",
|
|
2942
|
+
"action": "PREV",
|
|
2943
|
+
"type": "button"
|
|
2944
2944
|
},
|
|
2945
2945
|
{
|
|
2946
|
-
"label": "Submit Intake",
|
|
2947
2946
|
"type": "button",
|
|
2948
2947
|
"action": "COMPLETE",
|
|
2948
|
+
"label": "Submit Intake",
|
|
2949
2949
|
"variant": "primary",
|
|
2950
2950
|
"icon": "check"
|
|
2951
2951
|
}
|
|
2952
|
-
]
|
|
2953
|
-
"type": "stack",
|
|
2954
|
-
"justify": "between"
|
|
2952
|
+
]
|
|
2955
2953
|
}
|
|
2956
2954
|
],
|
|
2955
|
+
"className": "max-w-xl mx-auto w-full",
|
|
2956
|
+
"direction": "vertical",
|
|
2957
2957
|
"gap": "lg",
|
|
2958
|
-
"
|
|
2958
|
+
"type": "stack"
|
|
2959
2959
|
}
|
|
2960
2960
|
]
|
|
2961
2961
|
]
|
|
@@ -2969,13 +2969,13 @@
|
|
|
2969
2969
|
"render-ui",
|
|
2970
2970
|
"main",
|
|
2971
2971
|
{
|
|
2972
|
-
"gap": "lg",
|
|
2973
2972
|
"className": "max-w-xl mx-auto w-full",
|
|
2973
|
+
"gap": "lg",
|
|
2974
2974
|
"children": [
|
|
2975
2975
|
{
|
|
2976
2976
|
"content": "Patient Intake",
|
|
2977
|
-
"
|
|
2978
|
-
"
|
|
2977
|
+
"variant": "h2",
|
|
2978
|
+
"type": "typography"
|
|
2979
2979
|
},
|
|
2980
2980
|
{
|
|
2981
2981
|
"steps": [
|
|
@@ -2984,29 +2984,29 @@
|
|
|
2984
2984
|
"Insurance",
|
|
2985
2985
|
"Review"
|
|
2986
2986
|
],
|
|
2987
|
-
"
|
|
2988
|
-
"
|
|
2987
|
+
"currentStep": 1.0,
|
|
2988
|
+
"type": "wizard-progress"
|
|
2989
2989
|
},
|
|
2990
2990
|
{
|
|
2991
2991
|
"type": "divider"
|
|
2992
2992
|
},
|
|
2993
2993
|
{
|
|
2994
|
+
"content": "Medical History",
|
|
2994
2995
|
"variant": "h3",
|
|
2995
|
-
"type": "typography"
|
|
2996
|
-
"content": "Medical History"
|
|
2996
|
+
"type": "typography"
|
|
2997
2997
|
},
|
|
2998
2998
|
{
|
|
2999
|
-
"fields": [
|
|
3000
|
-
"allergies",
|
|
3001
|
-
"medications"
|
|
3002
|
-
],
|
|
3003
2999
|
"entity": "@entity",
|
|
3000
|
+
"type": "form-section",
|
|
3001
|
+
"mode": "edit",
|
|
3004
3002
|
"submitEvent": "NEXT",
|
|
3005
3003
|
"cancelLabel": "Back",
|
|
3006
|
-
"mode": "edit",
|
|
3007
3004
|
"cancelEvent": "PREV",
|
|
3008
3005
|
"submitLabel": "Continue",
|
|
3009
|
-
"
|
|
3006
|
+
"fields": [
|
|
3007
|
+
"allergies",
|
|
3008
|
+
"medications"
|
|
3009
|
+
]
|
|
3010
3010
|
}
|
|
3011
3011
|
],
|
|
3012
3012
|
"type": "stack",
|
|
@@ -3036,8 +3036,8 @@
|
|
|
3036
3036
|
"@entity",
|
|
3037
3037
|
{
|
|
3038
3038
|
"emit": {
|
|
3039
|
-
"
|
|
3040
|
-
"
|
|
3039
|
+
"success": "IntakeFormSaved",
|
|
3040
|
+
"failure": "IntakeFormSaveFailed"
|
|
3041
3041
|
}
|
|
3042
3042
|
}
|
|
3043
3043
|
],
|
|
@@ -3063,29 +3063,29 @@
|
|
|
3063
3063
|
"name": "check-circle"
|
|
3064
3064
|
},
|
|
3065
3065
|
{
|
|
3066
|
-
"
|
|
3066
|
+
"content": "Intake Complete",
|
|
3067
3067
|
"variant": "h2",
|
|
3068
|
-
"
|
|
3068
|
+
"type": "typography"
|
|
3069
3069
|
},
|
|
3070
3070
|
{
|
|
3071
|
+
"type": "typography",
|
|
3071
3072
|
"color": "muted",
|
|
3072
|
-
"variant": "body",
|
|
3073
3073
|
"content": "Patient intake has been submitted.",
|
|
3074
|
-
"
|
|
3074
|
+
"variant": "body"
|
|
3075
3075
|
},
|
|
3076
3076
|
{
|
|
3077
|
-
"type": "button",
|
|
3078
|
-
"label": "Start new intake",
|
|
3079
3077
|
"variant": "ghost",
|
|
3080
3078
|
"icon": "rotate-ccw",
|
|
3081
|
-
"action": "RESTART"
|
|
3079
|
+
"action": "RESTART",
|
|
3080
|
+
"label": "Start new intake",
|
|
3081
|
+
"type": "button"
|
|
3082
3082
|
}
|
|
3083
3083
|
],
|
|
3084
3084
|
"type": "stack",
|
|
3085
|
-
"className": "max-w-xl mx-auto w-full py-12",
|
|
3086
3085
|
"gap": "lg",
|
|
3086
|
+
"align": "center",
|
|
3087
3087
|
"direction": "vertical",
|
|
3088
|
-
"
|
|
3088
|
+
"className": "max-w-xl mx-auto w-full py-12"
|
|
3089
3089
|
}
|
|
3090
3090
|
]
|
|
3091
3091
|
]
|
|
@@ -3099,34 +3099,40 @@
|
|
|
3099
3099
|
"render-ui",
|
|
3100
3100
|
"main",
|
|
3101
3101
|
{
|
|
3102
|
+
"type": "stack",
|
|
3102
3103
|
"direction": "vertical",
|
|
3103
|
-
"
|
|
3104
|
+
"gap": "lg",
|
|
3104
3105
|
"children": [
|
|
3105
3106
|
{
|
|
3107
|
+
"variant": "h2",
|
|
3106
3108
|
"content": "Patient Intake",
|
|
3107
|
-
"type": "typography"
|
|
3108
|
-
"variant": "h2"
|
|
3109
|
+
"type": "typography"
|
|
3109
3110
|
},
|
|
3110
3111
|
{
|
|
3111
|
-
"type": "wizard-progress",
|
|
3112
3112
|
"currentStep": 2.0,
|
|
3113
3113
|
"steps": [
|
|
3114
3114
|
"Personal Info",
|
|
3115
3115
|
"Medical History",
|
|
3116
3116
|
"Insurance",
|
|
3117
3117
|
"Review"
|
|
3118
|
-
]
|
|
3118
|
+
],
|
|
3119
|
+
"type": "wizard-progress"
|
|
3119
3120
|
},
|
|
3120
3121
|
{
|
|
3121
3122
|
"type": "divider"
|
|
3122
3123
|
},
|
|
3123
3124
|
{
|
|
3124
|
-
"type": "typography",
|
|
3125
3125
|
"variant": "h3",
|
|
3126
|
+
"type": "typography",
|
|
3126
3127
|
"content": "Insurance"
|
|
3127
3128
|
},
|
|
3128
3129
|
{
|
|
3130
|
+
"entity": "@entity",
|
|
3131
|
+
"mode": "edit",
|
|
3132
|
+
"submitEvent": "NEXT",
|
|
3129
3133
|
"submitLabel": "Continue",
|
|
3134
|
+
"cancelLabel": "Back",
|
|
3135
|
+
"type": "form-section",
|
|
3130
3136
|
"cancelEvent": "PREV",
|
|
3131
3137
|
"fields": [
|
|
3132
3138
|
{
|
|
@@ -3134,23 +3140,17 @@
|
|
|
3134
3140
|
"required": true
|
|
3135
3141
|
},
|
|
3136
3142
|
{
|
|
3137
|
-
"
|
|
3138
|
-
"
|
|
3143
|
+
"required": true,
|
|
3144
|
+
"name": "insuranceProvider"
|
|
3139
3145
|
},
|
|
3140
3146
|
{
|
|
3141
|
-
"
|
|
3142
|
-
"
|
|
3147
|
+
"required": true,
|
|
3148
|
+
"name": "insuranceId"
|
|
3143
3149
|
}
|
|
3144
|
-
]
|
|
3145
|
-
"type": "form-section",
|
|
3146
|
-
"entity": "@entity",
|
|
3147
|
-
"mode": "edit",
|
|
3148
|
-
"submitEvent": "NEXT",
|
|
3149
|
-
"cancelLabel": "Back"
|
|
3150
|
+
]
|
|
3150
3151
|
}
|
|
3151
3152
|
],
|
|
3152
|
-
"
|
|
3153
|
-
"type": "stack"
|
|
3153
|
+
"className": "max-w-xl mx-auto w-full"
|
|
3154
3154
|
}
|
|
3155
3155
|
]
|
|
3156
3156
|
]
|
|
@@ -3204,54 +3204,54 @@
|
|
|
3204
3204
|
"render-ui",
|
|
3205
3205
|
"main",
|
|
3206
3206
|
{
|
|
3207
|
-
"
|
|
3207
|
+
"direction": "vertical",
|
|
3208
3208
|
"gap": "lg",
|
|
3209
|
+
"type": "stack",
|
|
3209
3210
|
"className": "max-w-xl mx-auto w-full",
|
|
3210
|
-
"direction": "vertical",
|
|
3211
3211
|
"children": [
|
|
3212
3212
|
{
|
|
3213
|
+
"content": "Patient Intake",
|
|
3213
3214
|
"type": "typography",
|
|
3214
|
-
"variant": "h2"
|
|
3215
|
-
"content": "Patient Intake"
|
|
3215
|
+
"variant": "h2"
|
|
3216
3216
|
},
|
|
3217
3217
|
{
|
|
3218
3218
|
"type": "wizard-progress",
|
|
3219
|
-
"currentStep": 0.0,
|
|
3220
3219
|
"steps": [
|
|
3221
3220
|
"Personal Info",
|
|
3222
3221
|
"Medical History",
|
|
3223
3222
|
"Insurance",
|
|
3224
3223
|
"Review"
|
|
3225
|
-
]
|
|
3224
|
+
],
|
|
3225
|
+
"currentStep": 0.0
|
|
3226
3226
|
},
|
|
3227
3227
|
{
|
|
3228
3228
|
"type": "divider"
|
|
3229
3229
|
},
|
|
3230
3230
|
{
|
|
3231
|
+
"variant": "h3",
|
|
3231
3232
|
"type": "typography",
|
|
3232
|
-
"content": "Personal Info"
|
|
3233
|
-
"variant": "h3"
|
|
3233
|
+
"content": "Personal Info"
|
|
3234
3234
|
},
|
|
3235
3235
|
{
|
|
3236
3236
|
"showCancel": false,
|
|
3237
|
+
"submitEvent": "NEXT",
|
|
3238
|
+
"mode": "create",
|
|
3239
|
+
"submitLabel": "Continue",
|
|
3237
3240
|
"fields": [
|
|
3238
3241
|
{
|
|
3239
3242
|
"name": "firstName",
|
|
3240
3243
|
"required": true
|
|
3241
3244
|
},
|
|
3242
3245
|
{
|
|
3243
|
-
"
|
|
3244
|
-
"
|
|
3246
|
+
"required": true,
|
|
3247
|
+
"name": "lastName"
|
|
3245
3248
|
},
|
|
3246
3249
|
{
|
|
3247
3250
|
"required": true,
|
|
3248
3251
|
"name": "dateOfBirth"
|
|
3249
3252
|
}
|
|
3250
3253
|
],
|
|
3251
|
-
"type": "form-section"
|
|
3252
|
-
"submitEvent": "NEXT",
|
|
3253
|
-
"mode": "create",
|
|
3254
|
-
"submitLabel": "Continue"
|
|
3254
|
+
"type": "form-section"
|
|
3255
3255
|
}
|
|
3256
3256
|
]
|
|
3257
3257
|
}
|
|
@@ -3363,10 +3363,9 @@
|
|
|
3363
3363
|
"name": "PrescriptionAppLayout",
|
|
3364
3364
|
"linkedEntity": "Prescription",
|
|
3365
3365
|
"config": {
|
|
3366
|
-
"notifications": [],
|
|
3367
|
-
"appName": "HealthcareApp",
|
|
3368
|
-
"searchEvent": "PRESCRIPTION_SEARCH",
|
|
3369
3366
|
"notificationClickEvent": "PRESCRIPTION_NOTIFICATIONS_OPEN",
|
|
3367
|
+
"notifications": [],
|
|
3368
|
+
"contentTrait": "@trait.PrescriptionCatalog",
|
|
3370
3369
|
"navItems": [
|
|
3371
3370
|
{
|
|
3372
3371
|
"label": "Patients",
|
|
@@ -3374,32 +3373,33 @@
|
|
|
3374
3373
|
"href": "/patients"
|
|
3375
3374
|
},
|
|
3376
3375
|
{
|
|
3377
|
-
"label": "Appointments",
|
|
3378
3376
|
"href": "/appointments",
|
|
3379
|
-
"icon": "calendar"
|
|
3377
|
+
"icon": "calendar",
|
|
3378
|
+
"label": "Appointments"
|
|
3380
3379
|
},
|
|
3381
3380
|
{
|
|
3382
|
-
"
|
|
3381
|
+
"href": "/intake",
|
|
3383
3382
|
"label": "Intake",
|
|
3384
|
-
"
|
|
3383
|
+
"icon": "layout-list"
|
|
3385
3384
|
},
|
|
3386
3385
|
{
|
|
3387
3386
|
"label": "Prescriptions",
|
|
3388
|
-
"
|
|
3389
|
-
"
|
|
3387
|
+
"icon": "pill",
|
|
3388
|
+
"href": "/prescriptions"
|
|
3390
3389
|
},
|
|
3391
3390
|
{
|
|
3392
|
-
"icon": "layout-dashboard",
|
|
3393
3391
|
"label": "Dashboard",
|
|
3394
|
-
"href": "/dashboard"
|
|
3392
|
+
"href": "/dashboard",
|
|
3393
|
+
"icon": "layout-dashboard"
|
|
3395
3394
|
}
|
|
3396
3395
|
],
|
|
3397
|
-
"
|
|
3396
|
+
"appName": "HealthcareApp",
|
|
3397
|
+
"searchEvent": "PRESCRIPTION_SEARCH",
|
|
3398
3398
|
"topBarActions": []
|
|
3399
3399
|
},
|
|
3400
3400
|
"events": {
|
|
3401
|
-
"
|
|
3402
|
-
"
|
|
3401
|
+
"NOTIFY_CLICK": "PRESCRIPTION_NOTIFICATIONS_OPEN",
|
|
3402
|
+
"SEARCH": "PRESCRIPTION_SEARCH"
|
|
3403
3403
|
}
|
|
3404
3404
|
},
|
|
3405
3405
|
{
|
|
@@ -3445,54 +3445,54 @@
|
|
|
3445
3445
|
"main",
|
|
3446
3446
|
{
|
|
3447
3447
|
"gap": "lg",
|
|
3448
|
-
"
|
|
3448
|
+
"type": "stack",
|
|
3449
3449
|
"children": [
|
|
3450
3450
|
{
|
|
3451
|
-
"
|
|
3451
|
+
"type": "stack",
|
|
3452
3452
|
"direction": "horizontal",
|
|
3453
|
+
"gap": "md",
|
|
3454
|
+
"justify": "between",
|
|
3455
|
+
"align": "center",
|
|
3453
3456
|
"children": [
|
|
3454
3457
|
{
|
|
3458
|
+
"align": "center",
|
|
3455
3459
|
"children": [
|
|
3456
3460
|
{
|
|
3457
3461
|
"type": "icon",
|
|
3458
3462
|
"name": "pill"
|
|
3459
3463
|
},
|
|
3460
3464
|
{
|
|
3461
|
-
"type": "typography",
|
|
3462
3465
|
"content": "Prescriptions",
|
|
3463
|
-
"variant": "h2"
|
|
3466
|
+
"variant": "h2",
|
|
3467
|
+
"type": "typography"
|
|
3464
3468
|
}
|
|
3465
3469
|
],
|
|
3466
|
-
"type": "stack",
|
|
3467
3470
|
"direction": "horizontal",
|
|
3468
3471
|
"gap": "sm",
|
|
3469
|
-
"
|
|
3472
|
+
"type": "stack"
|
|
3470
3473
|
},
|
|
3471
3474
|
{
|
|
3475
|
+
"gap": "sm",
|
|
3472
3476
|
"direction": "horizontal",
|
|
3477
|
+
"type": "stack",
|
|
3473
3478
|
"children": [
|
|
3474
3479
|
{
|
|
3480
|
+
"type": "button",
|
|
3475
3481
|
"label": "New Prescription",
|
|
3476
3482
|
"action": "CREATE",
|
|
3477
|
-
"type": "button",
|
|
3478
3483
|
"variant": "primary",
|
|
3479
3484
|
"icon": "plus"
|
|
3480
3485
|
}
|
|
3481
|
-
]
|
|
3482
|
-
"type": "stack",
|
|
3483
|
-
"gap": "sm"
|
|
3486
|
+
]
|
|
3484
3487
|
}
|
|
3485
|
-
]
|
|
3486
|
-
"type": "stack",
|
|
3487
|
-
"gap": "md",
|
|
3488
|
-
"justify": "between"
|
|
3488
|
+
]
|
|
3489
3489
|
},
|
|
3490
3490
|
{
|
|
3491
3491
|
"type": "divider"
|
|
3492
3492
|
},
|
|
3493
3493
|
"@trait.PrescriptionBrowseList"
|
|
3494
3494
|
],
|
|
3495
|
-
"
|
|
3495
|
+
"direction": "vertical"
|
|
3496
3496
|
}
|
|
3497
3497
|
]
|
|
3498
3498
|
]
|
|
@@ -3506,58 +3506,58 @@
|
|
|
3506
3506
|
"name": "PrescriptionBrowseList",
|
|
3507
3507
|
"linkedEntity": "Prescription",
|
|
3508
3508
|
"config": {
|
|
3509
|
-
"itemActions": [
|
|
3510
|
-
{
|
|
3511
|
-
"label": "View",
|
|
3512
|
-
"variant": "ghost",
|
|
3513
|
-
"event": "VIEW"
|
|
3514
|
-
},
|
|
3515
|
-
{
|
|
3516
|
-
"event": "EDIT",
|
|
3517
|
-
"variant": "ghost",
|
|
3518
|
-
"label": "Edit"
|
|
3519
|
-
},
|
|
3520
|
-
{
|
|
3521
|
-
"variant": "danger",
|
|
3522
|
-
"label": "Delete",
|
|
3523
|
-
"event": "DELETE"
|
|
3524
|
-
}
|
|
3525
|
-
],
|
|
3526
3509
|
"gap": "sm",
|
|
3527
3510
|
"fields": [
|
|
3528
3511
|
{
|
|
3529
|
-
"variant": "h3",
|
|
3530
3512
|
"name": "medication",
|
|
3513
|
+
"variant": "h3",
|
|
3531
3514
|
"icon": "pill"
|
|
3532
3515
|
},
|
|
3533
3516
|
{
|
|
3534
|
-
"
|
|
3535
|
-
"
|
|
3517
|
+
"variant": "badge",
|
|
3518
|
+
"name": "dosage"
|
|
3536
3519
|
},
|
|
3537
3520
|
{
|
|
3538
3521
|
"variant": "body",
|
|
3539
3522
|
"name": "frequency"
|
|
3540
3523
|
},
|
|
3541
3524
|
{
|
|
3542
|
-
"
|
|
3525
|
+
"name": "patientName",
|
|
3543
3526
|
"label": "Patient",
|
|
3544
|
-
"
|
|
3527
|
+
"variant": "body"
|
|
3545
3528
|
},
|
|
3546
3529
|
{
|
|
3530
|
+
"variant": "caption",
|
|
3547
3531
|
"name": "prescribedBy",
|
|
3548
|
-
"label": "Prescribed By"
|
|
3549
|
-
"variant": "caption"
|
|
3532
|
+
"label": "Prescribed By"
|
|
3550
3533
|
},
|
|
3551
3534
|
{
|
|
3552
3535
|
"label": "Start",
|
|
3553
|
-
"name": "startDate",
|
|
3554
3536
|
"format": "date",
|
|
3555
|
-
"variant": "caption"
|
|
3537
|
+
"variant": "caption",
|
|
3538
|
+
"name": "startDate"
|
|
3556
3539
|
},
|
|
3557
3540
|
{
|
|
3558
3541
|
"name": "status",
|
|
3559
3542
|
"variant": "badge"
|
|
3560
3543
|
}
|
|
3544
|
+
],
|
|
3545
|
+
"itemActions": [
|
|
3546
|
+
{
|
|
3547
|
+
"label": "View",
|
|
3548
|
+
"event": "VIEW",
|
|
3549
|
+
"variant": "ghost"
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
"label": "Edit",
|
|
3553
|
+
"event": "EDIT",
|
|
3554
|
+
"variant": "ghost"
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
"event": "DELETE",
|
|
3558
|
+
"label": "Delete",
|
|
3559
|
+
"variant": "danger"
|
|
3560
|
+
}
|
|
3561
3561
|
]
|
|
3562
3562
|
},
|
|
3563
3563
|
"listens": [
|
|
@@ -3593,8 +3593,6 @@
|
|
|
3593
3593
|
"linkedEntity": "Prescription",
|
|
3594
3594
|
"config": {
|
|
3595
3595
|
"title": "New Prescription",
|
|
3596
|
-
"icon": "plus-circle",
|
|
3597
|
-
"mode": "create",
|
|
3598
3596
|
"fields": [
|
|
3599
3597
|
"medication",
|
|
3600
3598
|
"dosage",
|
|
@@ -3604,7 +3602,9 @@
|
|
|
3604
3602
|
"startDate",
|
|
3605
3603
|
"endDate",
|
|
3606
3604
|
"status"
|
|
3607
|
-
]
|
|
3605
|
+
],
|
|
3606
|
+
"icon": "plus-circle",
|
|
3607
|
+
"mode": "create"
|
|
3608
3608
|
},
|
|
3609
3609
|
"events": {
|
|
3610
3610
|
"OPEN": "CREATE",
|
|
@@ -3626,7 +3626,6 @@
|
|
|
3626
3626
|
"name": "PrescriptionEdit",
|
|
3627
3627
|
"linkedEntity": "Prescription",
|
|
3628
3628
|
"config": {
|
|
3629
|
-
"title": "Edit Prescription",
|
|
3630
3629
|
"mode": "edit",
|
|
3631
3630
|
"icon": "edit",
|
|
3632
3631
|
"fields": [
|
|
@@ -3638,11 +3637,12 @@
|
|
|
3638
3637
|
"startDate",
|
|
3639
3638
|
"endDate",
|
|
3640
3639
|
"status"
|
|
3641
|
-
]
|
|
3640
|
+
],
|
|
3641
|
+
"title": "Edit Prescription"
|
|
3642
3642
|
},
|
|
3643
3643
|
"events": {
|
|
3644
|
-
"
|
|
3645
|
-
"
|
|
3644
|
+
"OPEN": "EDIT",
|
|
3645
|
+
"SAVE": "PRESCRIPTION_UPDATED"
|
|
3646
3646
|
},
|
|
3647
3647
|
"listens": [
|
|
3648
3648
|
{
|
|
@@ -3803,8 +3803,8 @@
|
|
|
3803
3803
|
"Prescription",
|
|
3804
3804
|
{
|
|
3805
3805
|
"emit": {
|
|
3806
|
-
"
|
|
3807
|
-
"
|
|
3806
|
+
"failure": "PrescriptionLoadFailed",
|
|
3807
|
+
"success": "PrescriptionLoaded"
|
|
3808
3808
|
}
|
|
3809
3809
|
}
|
|
3810
3810
|
]
|
|
@@ -3854,12 +3854,9 @@
|
|
|
3854
3854
|
"render-ui",
|
|
3855
3855
|
"modal",
|
|
3856
3856
|
{
|
|
3857
|
-
"type": "stack",
|
|
3858
3857
|
"children": [
|
|
3859
3858
|
{
|
|
3860
3859
|
"type": "stack",
|
|
3861
|
-
"align": "center",
|
|
3862
|
-
"direction": "horizontal",
|
|
3863
3860
|
"gap": "sm",
|
|
3864
3861
|
"children": [
|
|
3865
3862
|
{
|
|
@@ -3867,42 +3864,46 @@
|
|
|
3867
3864
|
"name": "pill"
|
|
3868
3865
|
},
|
|
3869
3866
|
{
|
|
3870
|
-
"
|
|
3867
|
+
"variant": "h3",
|
|
3871
3868
|
"type": "typography",
|
|
3872
|
-
"
|
|
3869
|
+
"content": "@entity.medication"
|
|
3873
3870
|
}
|
|
3874
|
-
]
|
|
3871
|
+
],
|
|
3872
|
+
"align": "center",
|
|
3873
|
+
"direction": "horizontal"
|
|
3875
3874
|
},
|
|
3876
3875
|
{
|
|
3877
3876
|
"type": "divider"
|
|
3878
3877
|
},
|
|
3879
3878
|
{
|
|
3880
|
-
"type": "simple-grid",
|
|
3881
3879
|
"gap": "md",
|
|
3882
3880
|
"cols": 3.0,
|
|
3881
|
+
"type": "simple-grid",
|
|
3883
3882
|
"children": [
|
|
3884
3883
|
{
|
|
3885
|
-
"gap": "xs",
|
|
3886
|
-
"type": "stack",
|
|
3887
|
-
"direction": "vertical",
|
|
3888
3884
|
"children": [
|
|
3889
3885
|
{
|
|
3890
|
-
"
|
|
3886
|
+
"type": "typography",
|
|
3891
3887
|
"variant": "caption",
|
|
3892
|
-
"
|
|
3888
|
+
"content": "Drug"
|
|
3893
3889
|
},
|
|
3894
3890
|
{
|
|
3895
|
-
"type": "typography",
|
|
3896
3891
|
"variant": "h4",
|
|
3897
|
-
"content": "@entity.medication"
|
|
3892
|
+
"content": "@entity.medication",
|
|
3893
|
+
"type": "typography"
|
|
3898
3894
|
}
|
|
3899
|
-
]
|
|
3895
|
+
],
|
|
3896
|
+
"type": "stack",
|
|
3897
|
+
"direction": "vertical",
|
|
3898
|
+
"gap": "xs"
|
|
3900
3899
|
},
|
|
3901
3900
|
{
|
|
3901
|
+
"gap": "xs",
|
|
3902
|
+
"type": "stack",
|
|
3902
3903
|
"children": [
|
|
3903
3904
|
{
|
|
3904
|
-
"type": "typography",
|
|
3905
3905
|
"content": "Dose",
|
|
3906
|
+
"type": "typography",
|
|
3906
3907
|
"variant": "caption"
|
|
3907
3908
|
},
|
|
3908
3909
|
{
|
|
@@ -3911,26 +3912,24 @@
|
|
|
3911
3912
|
"content": "@entity.dosage"
|
|
3912
3913
|
}
|
|
3913
3914
|
],
|
|
3914
|
-
"direction": "vertical"
|
|
3915
|
-
"type": "stack",
|
|
3916
|
-
"gap": "xs"
|
|
3915
|
+
"direction": "vertical"
|
|
3917
3916
|
},
|
|
3918
3917
|
{
|
|
3919
|
-
"direction": "vertical",
|
|
3920
3918
|
"children": [
|
|
3921
3919
|
{
|
|
3922
|
-
"
|
|
3920
|
+
"type": "typography",
|
|
3923
3921
|
"variant": "caption",
|
|
3924
|
-
"
|
|
3922
|
+
"content": "Frequency"
|
|
3925
3923
|
},
|
|
3926
3924
|
{
|
|
3927
|
-
"content": "@entity.frequency",
|
|
3928
3925
|
"type": "typography",
|
|
3926
|
+
"content": "@entity.frequency",
|
|
3929
3927
|
"variant": "h4"
|
|
3930
3928
|
}
|
|
3931
3929
|
],
|
|
3930
|
+
"gap": "xs",
|
|
3932
3931
|
"type": "stack",
|
|
3933
|
-
"
|
|
3932
|
+
"direction": "vertical"
|
|
3934
3933
|
}
|
|
3935
3934
|
]
|
|
3936
3935
|
},
|
|
@@ -3942,8 +3941,8 @@
|
|
|
3942
3941
|
"children": [
|
|
3943
3942
|
{
|
|
3944
3943
|
"variant": "caption",
|
|
3945
|
-
"
|
|
3946
|
-
"
|
|
3944
|
+
"content": "Patient",
|
|
3945
|
+
"type": "typography"
|
|
3947
3946
|
},
|
|
3948
3947
|
{
|
|
3949
3948
|
"content": "@entity.patientName",
|
|
@@ -3951,35 +3950,35 @@
|
|
|
3951
3950
|
"variant": "body"
|
|
3952
3951
|
}
|
|
3953
3952
|
],
|
|
3954
|
-
"
|
|
3955
|
-
"
|
|
3953
|
+
"type": "stack",
|
|
3954
|
+
"gap": "md"
|
|
3956
3955
|
},
|
|
3957
3956
|
{
|
|
3958
3957
|
"type": "stack",
|
|
3959
|
-
"direction": "horizontal",
|
|
3960
|
-
"gap": "md",
|
|
3961
3958
|
"children": [
|
|
3962
3959
|
{
|
|
3963
|
-
"
|
|
3960
|
+
"variant": "caption",
|
|
3964
3961
|
"type": "typography",
|
|
3965
|
-
"
|
|
3962
|
+
"content": "Prescribed By"
|
|
3966
3963
|
},
|
|
3967
3964
|
{
|
|
3965
|
+
"type": "typography",
|
|
3968
3966
|
"content": "@entity.prescribedBy",
|
|
3969
|
-
"variant": "body"
|
|
3970
|
-
"type": "typography"
|
|
3967
|
+
"variant": "body"
|
|
3971
3968
|
}
|
|
3972
|
-
]
|
|
3969
|
+
],
|
|
3970
|
+
"gap": "md",
|
|
3971
|
+
"direction": "horizontal"
|
|
3973
3972
|
},
|
|
3974
3973
|
{
|
|
3975
|
-
"type": "stack",
|
|
3976
3974
|
"direction": "horizontal",
|
|
3975
|
+
"type": "stack",
|
|
3977
3976
|
"gap": "md",
|
|
3978
3977
|
"children": [
|
|
3979
3978
|
{
|
|
3979
|
+
"content": "Start",
|
|
3980
3980
|
"type": "typography",
|
|
3981
|
-
"variant": "caption"
|
|
3982
|
-
"content": "Start"
|
|
3981
|
+
"variant": "caption"
|
|
3983
3982
|
},
|
|
3984
3983
|
{
|
|
3985
3984
|
"type": "typography",
|
|
@@ -3991,18 +3990,18 @@
|
|
|
3991
3990
|
{
|
|
3992
3991
|
"children": [
|
|
3993
3992
|
{
|
|
3994
|
-
"type": "typography",
|
|
3995
3993
|
"variant": "caption",
|
|
3994
|
+
"type": "typography",
|
|
3996
3995
|
"content": "End"
|
|
3997
3996
|
},
|
|
3998
3997
|
{
|
|
3999
|
-
"content": "@entity.endDate",
|
|
4000
3998
|
"type": "typography",
|
|
4001
|
-
"variant": "body"
|
|
3999
|
+
"variant": "body",
|
|
4000
|
+
"content": "@entity.endDate"
|
|
4002
4001
|
}
|
|
4003
4002
|
],
|
|
4004
|
-
"gap": "md",
|
|
4005
4003
|
"type": "stack",
|
|
4004
|
+
"gap": "md",
|
|
4006
4005
|
"direction": "horizontal"
|
|
4007
4006
|
},
|
|
4008
4007
|
{
|
|
@@ -4010,19 +4009,20 @@
|
|
|
4010
4009
|
},
|
|
4011
4010
|
{
|
|
4012
4011
|
"justify": "end",
|
|
4012
|
+
"gap": "sm",
|
|
4013
4013
|
"children": [
|
|
4014
4014
|
{
|
|
4015
|
-
"type": "button",
|
|
4016
4015
|
"variant": "ghost",
|
|
4017
|
-
"
|
|
4018
|
-
"label": "Close"
|
|
4016
|
+
"type": "button",
|
|
4017
|
+
"label": "Close",
|
|
4018
|
+
"action": "CLOSE"
|
|
4019
4019
|
}
|
|
4020
4020
|
],
|
|
4021
|
-
"
|
|
4022
|
-
"
|
|
4023
|
-
"type": "stack"
|
|
4021
|
+
"type": "stack",
|
|
4022
|
+
"direction": "horizontal"
|
|
4024
4023
|
}
|
|
4025
4024
|
],
|
|
4025
|
+
"type": "stack",
|
|
4026
4026
|
"gap": "md",
|
|
4027
4027
|
"direction": "vertical"
|
|
4028
4028
|
}
|
|
@@ -4050,10 +4050,10 @@
|
|
|
4050
4050
|
"name": "PrescriptionDelete",
|
|
4051
4051
|
"linkedEntity": "Prescription",
|
|
4052
4052
|
"config": {
|
|
4053
|
-
"confirmLabel": "Delete",
|
|
4054
|
-
"title": "Delete Prescription",
|
|
4055
4053
|
"alertMessage": "This action cannot be undone.",
|
|
4056
|
-
"icon": "alert-triangle"
|
|
4054
|
+
"icon": "alert-triangle",
|
|
4055
|
+
"title": "Delete Prescription",
|
|
4056
|
+
"confirmLabel": "Delete"
|
|
4057
4057
|
},
|
|
4058
4058
|
"events": {
|
|
4059
4059
|
"REQUEST": "DELETE",
|
|
@@ -4316,17 +4316,11 @@
|
|
|
4316
4316
|
"name": "DashboardAppLayout",
|
|
4317
4317
|
"linkedEntity": "DashboardSummary",
|
|
4318
4318
|
"config": {
|
|
4319
|
-
"searchEvent": "DASHBOARD_SEARCH",
|
|
4320
|
-
"topBarActions": [],
|
|
4321
|
-
"contentTrait": "@trait.DashboardDisplay",
|
|
4322
|
-
"notifications": [],
|
|
4323
|
-
"notificationClickEvent": "DASHBOARD_NOTIFICATIONS_OPEN",
|
|
4324
|
-
"appName": "HealthcareApp",
|
|
4325
4319
|
"navItems": [
|
|
4326
4320
|
{
|
|
4327
|
-
"label": "Patients",
|
|
4328
4321
|
"href": "/patients",
|
|
4329
|
-
"icon": "user-plus"
|
|
4322
|
+
"icon": "user-plus",
|
|
4323
|
+
"label": "Patients"
|
|
4330
4324
|
},
|
|
4331
4325
|
{
|
|
4332
4326
|
"label": "Appointments",
|
|
@@ -4334,25 +4328,31 @@
|
|
|
4334
4328
|
"icon": "calendar"
|
|
4335
4329
|
},
|
|
4336
4330
|
{
|
|
4337
|
-
"icon": "layout-list",
|
|
4338
4331
|
"href": "/intake",
|
|
4332
|
+
"icon": "layout-list",
|
|
4339
4333
|
"label": "Intake"
|
|
4340
4334
|
},
|
|
4341
4335
|
{
|
|
4342
|
-
"
|
|
4336
|
+
"icon": "pill",
|
|
4343
4337
|
"href": "/prescriptions",
|
|
4344
|
-
"
|
|
4338
|
+
"label": "Prescriptions"
|
|
4345
4339
|
},
|
|
4346
4340
|
{
|
|
4347
4341
|
"label": "Dashboard",
|
|
4348
|
-
"
|
|
4349
|
-
"
|
|
4342
|
+
"href": "/dashboard",
|
|
4343
|
+
"icon": "layout-dashboard"
|
|
4350
4344
|
}
|
|
4351
|
-
]
|
|
4345
|
+
],
|
|
4346
|
+
"appName": "HealthcareApp",
|
|
4347
|
+
"notificationClickEvent": "DASHBOARD_NOTIFICATIONS_OPEN",
|
|
4348
|
+
"notifications": [],
|
|
4349
|
+
"searchEvent": "DASHBOARD_SEARCH",
|
|
4350
|
+
"contentTrait": "@trait.DashboardDisplay",
|
|
4351
|
+
"topBarActions": []
|
|
4352
4352
|
},
|
|
4353
4353
|
"events": {
|
|
4354
|
-
"
|
|
4355
|
-
"
|
|
4354
|
+
"SEARCH": "DASHBOARD_SEARCH",
|
|
4355
|
+
"NOTIFY_CLICK": "DASHBOARD_NOTIFICATIONS_OPEN"
|
|
4356
4356
|
}
|
|
4357
4357
|
},
|
|
4358
4358
|
{
|
|
@@ -4382,30 +4382,30 @@
|
|
|
4382
4382
|
"render-ui",
|
|
4383
4383
|
"main",
|
|
4384
4384
|
{
|
|
4385
|
-
"direction": "vertical",
|
|
4386
|
-
"className": "max-w-6xl mx-auto w-full p-4",
|
|
4387
4385
|
"children": [
|
|
4388
4386
|
{
|
|
4389
|
-
"align": "center",
|
|
4390
4387
|
"type": "stack",
|
|
4391
4388
|
"gap": "sm",
|
|
4389
|
+
"direction": "horizontal",
|
|
4390
|
+
"align": "center",
|
|
4392
4391
|
"children": [
|
|
4393
4392
|
{
|
|
4394
|
-
"
|
|
4395
|
-
"
|
|
4393
|
+
"type": "icon",
|
|
4394
|
+
"name": "activity"
|
|
4396
4395
|
},
|
|
4397
4396
|
{
|
|
4398
4397
|
"variant": "h2",
|
|
4399
4398
|
"content": "Clinic Dashboard",
|
|
4400
4399
|
"type": "typography"
|
|
4401
4400
|
}
|
|
4402
|
-
]
|
|
4403
|
-
"direction": "horizontal"
|
|
4401
|
+
]
|
|
4404
4402
|
},
|
|
4405
4403
|
{
|
|
4406
4404
|
"type": "divider"
|
|
4407
4405
|
},
|
|
4408
4406
|
{
|
|
4407
|
+
"type": "stack",
|
|
4408
|
+
"direction": "vertical",
|
|
4409
4409
|
"children": [
|
|
4410
4410
|
{
|
|
4411
4411
|
"content": "Quick Links",
|
|
@@ -4424,28 +4424,28 @@
|
|
|
4424
4424
|
"href": "/appointments"
|
|
4425
4425
|
},
|
|
4426
4426
|
{
|
|
4427
|
-
"
|
|
4428
|
-
"
|
|
4427
|
+
"label": "Prescriptions",
|
|
4428
|
+
"href": "/prescriptions"
|
|
4429
4429
|
}
|
|
4430
4430
|
]
|
|
4431
4431
|
}
|
|
4432
4432
|
],
|
|
4433
|
-
"
|
|
4434
|
-
"gap": "md",
|
|
4435
|
-
"type": "stack"
|
|
4433
|
+
"gap": "md"
|
|
4436
4434
|
},
|
|
4437
4435
|
{
|
|
4438
4436
|
"type": "divider"
|
|
4439
4437
|
},
|
|
4440
4438
|
{
|
|
4441
|
-
"content": "Patient stats, graphs, and the appointment calendar live on their respective pages.",
|
|
4442
4439
|
"variant": "caption",
|
|
4443
|
-
"
|
|
4444
|
-
"type": "typography"
|
|
4440
|
+
"content": "Patient stats, graphs, and the appointment calendar live on their respective pages.",
|
|
4441
|
+
"type": "typography",
|
|
4442
|
+
"color": "muted"
|
|
4445
4443
|
}
|
|
4446
4444
|
],
|
|
4445
|
+
"className": "max-w-6xl mx-auto w-full p-4",
|
|
4446
|
+
"gap": "lg",
|
|
4447
4447
|
"type": "stack",
|
|
4448
|
-
"
|
|
4448
|
+
"direction": "vertical"
|
|
4449
4449
|
}
|
|
4450
4450
|
]
|
|
4451
4451
|
]
|