Commit 91a46573 by lujunyi

处方单增加冗余字段

parent 5348252e
...@@ -17,6 +17,9 @@ public function up(): void ...@@ -17,6 +17,9 @@ public function up(): void
$table->string('prescription_umber', 64)->nullable()->comment('处方单编号'); $table->string('prescription_umber', 64)->nullable()->comment('处方单编号');
$table->tinyInteger('status')->comment('审方状态[0=待开方,1=待审方,2=审方成功]'); $table->tinyInteger('status')->comment('审方状态[0=待开方,1=待审方,2=审方成功]');
$table->bigInteger('user_id')->default(0)->comment('用户表ID。药店添加则为0');
$table->bigInteger('patient_id')->default(0)->comment('问诊人表ID');
$table->string('patient_name', 50)->comment('问诊人姓名'); $table->string('patient_name', 50)->comment('问诊人姓名');
$table->integer('patient_age')->default(0)->comment('问诊人年龄'); $table->integer('patient_age')->default(0)->comment('问诊人年龄');
$table->tinyInteger('patient_gender')->default(0)->comment('问诊人性别。[1=男性,2=女性,0=未知]'); $table->tinyInteger('patient_gender')->default(0)->comment('问诊人性别。[1=男性,2=女性,0=未知]');
...@@ -33,6 +36,7 @@ public function up(): void ...@@ -33,6 +36,7 @@ public function up(): void
$table->string('doctor_department', 128)->nullable()->comment('医师科室'); $table->string('doctor_department', 128)->nullable()->comment('医师科室');
$table->string('doctor_title', 64)->nullable()->comment('医师职称'); $table->string('doctor_title', 64)->nullable()->comment('医师职称');
$table->string('doctor_license_no', 30)->nullable()->comment('医师执照编号'); $table->string('doctor_license_no', 30)->nullable()->comment('医师执照编号');
$table->text('doctor_signed_pic')->nullable()->comment('医师签名照');
$table->bigInteger('pharmacy_id')->default(0)->comment('药店表ID'); $table->bigInteger('pharmacy_id')->default(0)->comment('药店表ID');
$table->string('pharmacy_name', 64)->nullable()->comment('药店名称'); $table->string('pharmacy_name', 64)->nullable()->comment('药店名称');
...@@ -40,6 +44,10 @@ public function up(): void ...@@ -40,6 +44,10 @@ public function up(): void
$table->bigInteger('pharmacist_id')->default(0)->comment('药师表ID'); $table->bigInteger('pharmacist_id')->default(0)->comment('药师表ID');
$table->string('pharmacist_name', 50)->nullable()->comment('药师姓名'); $table->string('pharmacist_name', 50)->nullable()->comment('药师姓名');
$table->string('pharmacist_license_number', 32)->nullable()->comment('药师执照编号'); $table->string('pharmacist_license_number', 32)->nullable()->comment('药师执照编号');
$table->text('pharmacist_signed_pic')->nullable()->comment('药师签名照');
$table->string('prescription_pic')->nullable()->comment('处方单图片地址');
$table->boolean('is_voided')->default(0)->comment('作废状态[0=未作废,1=作废]');
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment