Merge branch 'feature/daily-monitoring' into staging

This commit is contained in:
korospace
2023-10-27 15:30:08 +07:00
20 changed files with 1542 additions and 10 deletions

View File

@@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('claim_daily_monitoring', function (Blueprint $table) {
$table->bigIncrements('id');
$table->integer('claim_id');
$table->text('subject');
$table->decimal('body_temperature', 11, 2);
$table->decimal('respiration_rate', 11, 2);
$table->decimal('sistole', 11, 2);
$table->decimal('diastole', 11, 2);
$table->text('analysis');
$table->text('complaints');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('claim_daily_monitoring');
}
};

View File

@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('medical_plan', function (Blueprint $table) {
$table->bigIncrements('id');
$table->bigInteger('claim_daily_monitoring_id');
$table->text('plan');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('medical_plan');
}
};