31 lines
751 B
PHP
31 lines
751 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PatientPocSpirometry extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
'user_id',
|
|
'patient_no',
|
|
'age',
|
|
'gender',
|
|
'presenting_with_respiratory_symptoms',
|
|
'past_or_current_ho_smoking',
|
|
'past_or_current_ho_exposure_to_indoor_or_ambient_air_pollution',
|
|
'past_or_current_ho_atopy',
|
|
'family_ho_atopy',
|
|
'clinical_diagnosis',
|
|
'whether_spirometry_advised',
|
|
'if_yes_diagnosis_after_spirometry',
|
|
];
|
|
|
|
// public function pocspirometry(){
|
|
// return $this->belongsTo(PocSpirometry::class, 'id');
|
|
// }
|
|
}
|