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