mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to address issues observed during initial testing. These files have been updated in order to generate a new set of app images.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Streamline\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use OwenIt\Auditing\Contracts\Auditable;
|
||||
|
||||
class GenderBasedViolence extends Model implements Auditable
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public $timestamps = true;
|
||||
|
||||
// use laravel-auditing to track database changes
|
||||
use \OwenIt\Auditing\Auditable;
|
||||
|
||||
// use for soft deletes
|
||||
use SoftDeletes;
|
||||
|
||||
protected $fillable = [
|
||||
'triage_id',
|
||||
'patient_id',
|
||||
'child_feeling_unsafe',
|
||||
'past_12_threatened_humiliated_caused_afraid_when',
|
||||
'past_12_threatened_humiliated_caused_afraid_by_whom',
|
||||
'past_12_prevented_coming_clinic_medication_treatment',
|
||||
'past_12_any_threatened_or_harmed',
|
||||
'past_12_any_touched_private_parts_not_want',
|
||||
'past_12_any_forced_sex',
|
||||
'past_12_any_refused_condom_when_wanted',
|
||||
'others',
|
||||
'created_by',
|
||||
'updated_by'
|
||||
];
|
||||
|
||||
protected $guarded = ['id'];
|
||||
|
||||
// mutate to dates
|
||||
protected $dates = ['deleted_at'];
|
||||
}
|
||||
Reference in New Issue
Block a user