HF-25: journey instrumentation with loader v2 and journey events #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/HF-25-journey-instrumentation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
HF-25 (Related: DATFLR-9)
apps/hospital/dataflare.jsis the canonical journey loader with only CONFIG edited. It excludes admin, api, v1, internal,/demo/api,/hospital/api, site-link and any patient, record, chart or encounter route, and has identify off because the public demo has no accounts. The Worker still serves it only in the public demo profile.data-glass-no-capture, so click autocapture never records their text.apps/hospital/src/analytics.tsre-checks the enum at runtime. Test:tests/analytics.test.mjs.hospital_action_completed {action}: simulator command accepted.encounter_completed: an advance discharges the encounter (conversion).delivery_step_completed {step}: a delivery-lab step is accepted.delivery_walkthrough_completed: the result is imported.🤖 Generated with Claude Code
Replace apps/hospital/dataflare.js (served by the Worker in the public demo profile only) with the canonical DATFLR-9 journey loader. CONFIG only: project hospital-fabric; exclude admin/api/v1/internal, both demo APIs, site-link and any patient, record, chart or encounter route; identify off (the public demo has no accounts). Journey events, property-free apart from small enums: - hospital_action_completed {action}: simulator command accepted - encounter_completed: an advance discharges the encounter (conversion) - delivery_step_completed {step}: delivery-lab step accepted - delivery_walkthrough_completed: result imported The simulator's patient list, encounter panel and bed board carry data-glass-no-capture so click autocapture never records their text. Related: DATFLR-9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>