Add clinical device registry, browser wedge scan, and local agent API.
Deploy Ladill Care / deploy (push) Successful in 1m39s
Deploy Ladill Care / deploy (push) Successful in 1m39s
Branch-scoped Care devices with hashed agent tokens, patient barcode lookup/labels, and provenance-aware vitals from a minimal device agent (Pro for agent hardware; wedge free). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -90,6 +90,11 @@ return [
|
||||
'assessment.cancelled' => 'Assessment cancelled',
|
||||
'pathway.activated' => 'Clinical pathway activated',
|
||||
'pathway.deactivated' => 'Clinical pathway deactivated',
|
||||
'device.created' => 'Device registered',
|
||||
'device.updated' => 'Device updated',
|
||||
'device.deleted' => 'Device removed',
|
||||
'device.token_issued' => 'Device token issued',
|
||||
'device.token_revoked' => 'Device token revoked',
|
||||
],
|
||||
|
||||
'assessment_statuses' => [
|
||||
@@ -282,6 +287,7 @@ return [
|
||||
'pharmacy',
|
||||
'billing',
|
||||
'queue_integration',
|
||||
'clinical_devices',
|
||||
],
|
||||
],
|
||||
'enterprise' => [
|
||||
@@ -296,12 +302,55 @@ return [
|
||||
'pharmacy',
|
||||
'billing',
|
||||
'queue_integration',
|
||||
'clinical_devices',
|
||||
// KD-18: org-level multi-patient assessment/outcome analytics
|
||||
'assessment_analytics',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
'device_types' => [
|
||||
'barcode_scanner' => 'Barcode scanner',
|
||||
'qr_scanner' => 'QR scanner',
|
||||
'badge_printer' => 'Badge / label printer',
|
||||
'thermometer' => 'Thermometer',
|
||||
'bp_monitor' => 'Blood pressure monitor',
|
||||
'pulse_ox' => 'Pulse oximeter',
|
||||
'weight_scale' => 'Weight scale',
|
||||
'lab_analyzer' => 'Lab analyzer',
|
||||
'agent' => 'Generic device agent',
|
||||
'other' => 'Other',
|
||||
],
|
||||
|
||||
/** Types that need a local Care Device Agent (Pro+). Wedge scanners stay free. */
|
||||
'device_agent_types' => [
|
||||
'thermometer',
|
||||
'bp_monitor',
|
||||
'pulse_ox',
|
||||
'weight_scale',
|
||||
'lab_analyzer',
|
||||
'agent',
|
||||
],
|
||||
|
||||
'device_connection_modes' => [
|
||||
'browser_wedge' => 'Browser keyboard wedge',
|
||||
'agent' => 'Local device agent',
|
||||
'web_bluetooth' => 'Web Bluetooth (experimental)',
|
||||
'manual' => 'Manual / inventory only',
|
||||
],
|
||||
|
||||
'device_statuses' => [
|
||||
'active' => 'Active',
|
||||
'offline' => 'Offline',
|
||||
'disabled' => 'Disabled',
|
||||
],
|
||||
|
||||
'vital_sources' => [
|
||||
'manual' => 'Manual entry',
|
||||
'device' => 'Device',
|
||||
'import' => 'Import',
|
||||
],
|
||||
|
||||
'enterprise' => [
|
||||
// Feature tier (not branch-gated); kept for config compatibility.
|
||||
'min_branches' => (int) env('CARE_ENTERPRISE_MIN_BRANCHES', 1),
|
||||
|
||||
Reference in New Issue
Block a user