Ship commercial Dentistry suite with odontogram and treatment plans.
Deploy Ladill Care / deploy (push) Failing after 36s
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:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class DentalTooth extends Model
|
||||
{
|
||||
public const STATUS_PRESENT = 'present';
|
||||
|
||||
public const STATUS_MISSING = 'missing';
|
||||
|
||||
public const STATUS_EXTRACTED = 'extracted';
|
||||
|
||||
public const STATUS_IMPLANT = 'implant';
|
||||
|
||||
protected $table = 'care_dental_teeth';
|
||||
|
||||
protected $fillable = [
|
||||
'dental_chart_id', 'tooth_code', 'status', 'surfaces', 'conditions', 'notes',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'surfaces' => 'array',
|
||||
'conditions' => 'array',
|
||||
];
|
||||
}
|
||||
|
||||
public function chart(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(DentalChart::class, 'dental_chart_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user