generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
535b7d4
commit e143314
Showing
2 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
|
||
namespace Satusehat\Integration\Terminology; | ||
|
||
use Illuminate\Database\Eloquent\Model; | ||
|
||
/** | ||
* Satusehat\Integration\Models\Loinc. | ||
* | ||
* @property string $LOINC_NUM | ||
* @property string $COMPONENT | ||
* @property string $PROPERTY | ||
* @property string $TIME_ASPCT | ||
* @property string $SYSTEM | ||
* @property string $SCALE_TYP | ||
* @property string $METHOD_TYP | ||
* @property string $CLASS | ||
* @property string $CLASSTYPE | ||
* @property string $LOINC_COMMON_NAME | ||
* @property string $SHORTNAME | ||
* @property string $STATUS | ||
* @property string $VersionFirstReleased | ||
* @property string $VersionLastChanged | ||
* @property \Illuminate\Support\Carbon|null $created_at | ||
* @property \Illuminate\Support\Carbon|null $updated_at | ||
*/ | ||
class Loinc extends Model | ||
{ | ||
public $table; | ||
|
||
public $guarded = []; | ||
|
||
public function __construct(array $attributes = []) | ||
{ | ||
if (! isset($this->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 = []; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
|
||
namespace Satusehat\Integration\Terminology; | ||
|
||
use Illuminate\Database\Eloquent\Model; | ||
|
||
/** | ||
* Satusehat\Integration\Models\LoincAnswer. | ||
* | ||
* @property string $LoincNumber | ||
* @property string $AnswerListId | ||
* @property string $AnswerListName | ||
* @property string $AnswerStringId | ||
* @property integer $SequenceNumber | ||
* @property string $DisplayText | ||
* @property string $ExtCodeId | ||
* @property string $ExtCodeDisplayName | ||
* @property string $ExtCodeSystem | ||
* @property \Illuminate\Support\Carbon|null $created_at | ||
* @property \Illuminate\Support\Carbon|null $updated_at | ||
*/ | ||
class LoincAnswer extends Model | ||
{ | ||
public $table; | ||
|
||
public $guarded = []; | ||
|
||
public function __construct(array $attributes = []) | ||
{ | ||
if (! isset($this->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 = []; | ||
} |