<?php

namespace Modules\EmergencyClinic\Entities;

use Illuminate\Database\Eloquent\Model;
use Modules\ClinicCore\Entities\ClcPatient;

/** Emergency & ICU 1:1 extension of a shared ClinicCore patient. */
class EmergencyPatientProfile extends Model
{
    protected $table = 'emergency_patient_profiles';
    protected $guarded = ['id'];

    public function patient()
    {
        return $this->belongsTo(ClcPatient::class, 'clc_patient_id');
    }
}
