diff --git a/src/Terminology/Loinc.php b/src/Terminology/Loinc.php new file mode 100644 index 0000000..3002093 --- /dev/null +++ b/src/Terminology/Loinc.php @@ -0,0 +1,51 @@ +connection)) { + $this->setConnection(config('satusehatintegration.database_connection_master')); + } + + if (! isset($this->table)) { + $this->setTable(config('satusehatintegration.loinc_table_name')); + } + + parent::__construct($attributes); + } + + protected $primaryKey = 'id'; + + public $incrementing = false; + + protected $casts = []; +} diff --git a/src/Terminology/LoincAnswer.php b/src/Terminology/LoincAnswer.php new file mode 100644 index 0000000..022e901 --- /dev/null +++ b/src/Terminology/LoincAnswer.php @@ -0,0 +1,46 @@ +connection)) { + $this->setConnection(config('satusehatintegration.database_connection_master')); + } + + if (! isset($this->table)) { + $this->setTable(config('satusehatintegration.loinc_answer_table_name')); + } + + parent::__construct($attributes); + } + + protected $primaryKey = 'id'; + + public $incrementing = false; + + protected $casts = []; +}