CrestRoad/laravel/app/Models/FeedbackPocSpirometry.php

35 lines
1.1 KiB
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FeedbackPocSpirometry extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
'spirometer_improved_confidence_in_diagnosing',
'easy_and_readily_accessibility_is_an_advantage',
'immediate_diagnosis_is_an_advantage',
'saves_patients_time_efforts_and_money_as_compared_to_test_at_a_d',
'better_acceptance_of_diagnosis_by_the_patients',
'better_acceptance_of_inhalers_and_better_adherence_to_therapy',
'better_health_outcome_for_the_patient',
'reduces_chance_of_losing_the_patients_to_a_specialist',
'time_consuming',
'i_am_better_off_not_using_a_spirometer_',
'maintenance_of_equipment_is_a_challenge',
'arranging_supply_of_mouthpieces_is_a_challenge',
'the_advantages_of_having_a_point_of_care_spirometer_outweigh_the',
'any_other_thoughts',
];
public function pocspirometry()
{
return $this->belongsTo(PocSpirometry::class, 'user_id');
}
}