Add per-customer SMS and Bird Integrations for patient messaging.
Deploy Ladill Care / deploy (push) Successful in 37s

Patient SMS/email now use encrypted tenant keys via the platform relay instead of shared platform Care API keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-12 17:05:54 +00:00
co-authored by Cursor
parent 2568b8a2f0
commit f1e28c7af8
17 changed files with 1084 additions and 29 deletions
@@ -93,9 +93,13 @@ class PatientController extends Controller
$dashboard = $this->patients->dashboard($patient);
$canManage = app(\App\Services\Care\CarePermissions::class)
->can($this->member($request), 'patients.manage');
$credential = app(\App\Services\Messaging\MessagingCredentialsService::class)
->forOrganization($this->organization($request));
return view('care.patients.show', array_merge($dashboard, [
'canManage' => $canManage,
'messagingSmsReady' => $credential->hasValidSms(),
'messagingEmailReady' => $credential->hasValidBird(),
'genders' => config('care.genders'),
'allergySeverities' => config('care.allergy_severities'),
'documentTypes' => config('care.document_types'),