Merge remote-tracking branch 'origin/staging' into origin/production
This commit is contained in:
@@ -15,6 +15,7 @@ class RequestDailyMonitoring extends Model
|
||||
protected $fillable = [
|
||||
'request_log_id',
|
||||
'subject',
|
||||
'object',
|
||||
'submission_date',
|
||||
'body_temperature',
|
||||
'respiration_rate',
|
||||
@@ -31,25 +32,25 @@ class RequestDailyMonitoring extends Model
|
||||
|
||||
protected $appends = ['medical_plan', 'non_medikamentosa_plan', 'document', 'discharge_date'];
|
||||
|
||||
public function getBodyTemperatureAttribute()
|
||||
{
|
||||
return round($this->attributes['body_temperature'], 0);
|
||||
}
|
||||
// public function getBodyTemperatureAttribute()
|
||||
// {
|
||||
// return round($this->attributes['body_temperature'], 0);
|
||||
// }
|
||||
|
||||
public function getSistoleAttribute()
|
||||
{
|
||||
return round($this->attributes['sistole'], 0);
|
||||
}
|
||||
// public function getSistoleAttribute()
|
||||
// {
|
||||
// return round($this->attributes['sistole'], 0);
|
||||
// }
|
||||
|
||||
public function getDiastoleAttribute()
|
||||
{
|
||||
return round($this->attributes['diastole'], 0);
|
||||
}
|
||||
// public function getDiastoleAttribute()
|
||||
// {
|
||||
// return round($this->attributes['diastole'], 0);
|
||||
// }
|
||||
|
||||
public function getRespirationRateAttribute()
|
||||
{
|
||||
return round($this->attributes['respiration_rate'], 0);
|
||||
}
|
||||
// public function getRespirationRateAttribute()
|
||||
// {
|
||||
// return round($this->attributes['respiration_rate'], 0);
|
||||
// }
|
||||
|
||||
public function getMedicalPlanAttribute()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user