Ship commercial Dentistry suite with odontogram and treatment plans.
Deploy Ladill Care / deploy (push) Failing after 36s

Replace placeholder clinical forms with patient-level FDI charting, multi-visit plans, procedure-to-bill linking, imaging, reports, and demo seed data.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 16:33:34 +00:00
co-authored by Cursor
parent a00a8249ad
commit 0edd653187
37 changed files with 2906 additions and 35 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
namespace App\Models;
use App\Models\Concerns\BelongsToOwner;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Support\Str;
class DentalVisitNote extends Model
{
use BelongsToOwner;
protected $table = 'care_dental_visit_notes';
protected $fillable = [
'uuid', 'owner_ref', 'organization_id', 'visit_id', 'patient_id',
'chief_complaint', 'soft_tissue', 'occlusion', 'notes',
'recorded_by', 'recorded_at',
];
protected function casts(): array
{
return ['recorded_at' => 'datetime'];
}
protected static function booted(): void
{
static::creating(function (DentalVisitNote $note) {
if (! $note->uuid) {
$note->uuid = (string) Str::uuid();
}
});
}
public function visit(): BelongsTo
{
return $this->belongsTo(Visit::class, 'visit_id');
}
public function patient(): BelongsTo
{
return $this->belongsTo(Patient::class, 'patient_id');
}
}