fix(assessments): enable engine by default and wire into live UI
Deploy Ladill Care / deploy (push) Successful in 54s
Deploy Ladill Care / deploy (push) Successful in 54s
The assessment engine was built but opt-in and hidden: flag defaulted off, no sidebar entry, and no settings toggle. Default assessments_engine on, auto-seed catalog when empty, add Settings toggle and Assessments nav, and surface guidance from the patients list.
This commit is contained in:
@@ -89,6 +89,21 @@
|
||||
@endif
|
||||
|
||||
@if ($canManage)
|
||||
<x-settings.card title="Clinical assessments" description="Layered intake, disease pathways (stroke, diabetes, COPD, …), scoring instruments, and outcome tracking on consultations and patient charts.">
|
||||
<label class="flex items-start gap-3 text-sm">
|
||||
<input type="checkbox" name="assessments_engine" value="1"
|
||||
@checked(old('assessments_engine', $assessmentsEngineEnabled ?? true))
|
||||
class="mt-0.5 rounded border-slate-300">
|
||||
<span>
|
||||
<span class="font-medium text-slate-800">Enable clinical assessments engine</span>
|
||||
<span class="mt-0.5 block text-xs text-slate-500">
|
||||
Shows universal intake, pathway suggestions, and disease forms on consultations.
|
||||
Open a patient → consultation (Queue) or patient chart → Assessments / Pathways / Outcomes.
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
</x-settings.card>
|
||||
|
||||
<x-settings.card title="Messaging" description="Patient email and SMS use suite messaging by default — no Bird or SMS API keys required.">
|
||||
<p class="text-sm text-slate-600">
|
||||
Set a Ladill mailbox (From address) and optional SMS sender ID under Account → Messaging.
|
||||
|
||||
Reference in New Issue
Block a user