Commit 61a82e25 by 赵增煜

Merge branch 'local-0409' into develop

parents f8a7584b 251dd4c9
<?php
namespace App\Admin\Controllers;
use App\Admin\Repositories\Test;
use Dcat\Admin\Form;
use Dcat\Admin\Grid;
use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
class TestController extends AdminController
{
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
return Grid::make(new Test(), function (Grid $grid) {
$grid->column('id')->sortable();
$grid->column('name');
$grid->column('created_at');
$grid->column('updated_at')->sortable();
$grid->filter(function (Grid\Filter $filter) {
$filter->equal('id');
});
});
}
/**
* Make a show builder.
*
* @param mixed $id
*
* @return Show
*/
protected function detail($id)
{
return Show::make($id, new Test(), function (Show $show) {
$show->field('id');
$show->field('name');
$show->field('created_at');
$show->field('updated_at');
});
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
return Form::make(new Test(), function (Form $form) {
$form->display('id');
$form->text('name');
$form->display('created_at');
$form->display('updated_at');
});
}
}
<?php
namespace App\Admin\Repositories;
use App\Models\ExternalCmPrescriptionModel as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class ExternalCmPrescription extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
<?php
namespace App\Admin\Repositories;
use App\Models\ExternalWmPrescriptionModel as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class ExternalWmPrescription extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
<?php
namespace App\Admin\Repositories;
use App\Models\MedicalModel as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class Medical extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
<?php
namespace App\Admin\Repositories;
use App\Models\Test as Model;
use Dcat\Admin\Repositories\EloquentRepository;
class Test extends EloquentRepository
{
/**
* Model.
*
* @var string
*/
protected $eloquentClass = Model::class;
}
......@@ -59,6 +59,18 @@
// 导入日志
$router->resource('/import-log', 'Common\ImportLogController')->names('import-log');
// 快诊管理
// 问诊列表
$router->resource('medical', 'MedicalController');
// 西药处方列表
$router->resource('external-wm-prescription', 'ExternalWmPrescriptionController');
// 中药处方列表
$router->resource('external-cm-prescription', 'ExternalCmPrescriptionController');
/** 平台菜单-end **/
/** 药店菜单-start **/
......@@ -84,6 +96,7 @@
$router->resource('pharmacy-external-prescription', 'PharmacyExternalPrescriptionController');
// 药店-处方单列表
$router->resource('pharmacy-prescription', 'PharmacyPrescriptionController');
});
$router->get('/auth/smscode', 'AuthController@getLoginSmsCode');
/** 药店菜单-end **/
......
......@@ -5,7 +5,9 @@
use App\Models\InquiryModel;
use App\Models\PatientModel;
use App\Models\PrescriptionModel;
use App\Services\ExternalService;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Log;
class TestCommand extends Command
{
......@@ -28,6 +30,60 @@ class TestCommand extends Command
*/
public function handle()
{
print_r("执行开始...\n");
// 使用方法
$eHospitalApi = new ExternalService('jymd_15700159057_test', 'heU0zM9OrLrK0JehxiAXlPd3L48HHmcA', 'https://ehospital-openapi-test.sq580.com');
// 问诊
$response = $eHospitalApi->getMedicalRecord([
// 根据文档填写必要的参数
"beginTime"=>"1732982400000",
"endTime"=>"1859212800000",
"pageNum"=>1,
"pageSize"=>20,
]);
print_r($response);
// Log::info('问诊信息:'.json_encode($response));
foreach ($response['data']['list'] as $item) {
print_r($item['visitNo']);
}
// // 西药
// $response = $eHospitalApi->createPrescriptionWm([
// // 根据文档填写必要的参数
// "beginTime"=>"1732982400000",
// "endTime"=>"1859212800000",
// "pageNum"=>1,
// "pageSize"=>20,
// ]);
// print_r($response);
// Log::info('处方信息(西药):'.json_encode($response));
// // 中药
// $response = $eHospitalApi->createPrescriptionCm([
// // 根据文档填写必要的参数
// "beginTime"=>"1732982400000",
// "endTime"=>"1859212800000",
// "pageNum"=>1,
// "pageSize"=>20,
// ]);
// print_r($response);
// Log::info('处方信息(中药):'.json_encode($response));
// 检查接口调用是否成功
// if (isset($response['err']) && $response['err'] == 0) {
// echo "接口调用成功。\n";
// // 如果需要处理数据,则可以在这里进行
// if (isset($response['data'])) {
// print_r("数据: \n");
// print_r($response['data']);
// }
// } else {
// echo "接口调用失败。\n";
// if (isset($response['errmsg'])) {
// echo "错误信息: " . $response['errmsg'] . "\n";
// } else {
// echo "未能获取详细的错误信息。\n";
// }
// }
print_r("执行结束...\n");
// 刷新问诊问题
// $prescriptions = PrescriptionModel::orderBy('id', 'desc')->get();
// foreach ($prescriptions as $prescription) {
......@@ -41,17 +97,17 @@ public function handle()
// 刷新存量问诊人年龄
$query = PatientModel::query()->whereNotNull('id_card')->where('age', '<=', 0)->withTrashed();
$sql = $query->toSql();
var_dump($sql);
$patients = $query->get();
if ($patients->count() > 0) {
foreach ($patients as $patient) {
$patient->age = getAgeByIdCard($patient->id_card);
$patient->save();
}
} else {
echo '没有需要更新的数据';
}
// $query = PatientModel::query()->whereNotNull('id_card')->where('age', '<=', 0)->withTrashed();
// $sql = $query->toSql();
// var_dump($sql);
// $patients = $query->get();
// if ($patients->count() > 0) {
// foreach ($patients as $patient) {
// $patient->age = getAgeByIdCard($patient->id_card);
// $patient->save();
// }
// } else {
// echo '没有需要更新的数据';
// }
}
}
......@@ -7,6 +7,13 @@
class Kernel extends ConsoleKernel
{
protected $commands = [
\App\Console\Commands\Medical::class,
\App\Console\Commands\TestCommand::class,
\App\Console\Commands\WmPrescription::class,
\App\Console\Commands\CmPrescription::class,
];
/**
* Define the application's command schedule.
*/
......@@ -14,7 +21,12 @@ protected function schedule(Schedule $schedule): void
{
// $schedule->command('inspire')->hourly();
// $schedule->command('mohe:prescription')->everyMinute();
//$schedule->command('mohe:test')->everyMinute();
$schedule->command('medical:init')->everyMinute();
$schedule->command('cm-prescription:init')->daily();
$schedule->command('wm-prescription:init')->daily();
}
/**
* Register the commands for the application.
......
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class ExternalCmPrescriptionModel extends Model
{
use HasDateTimeFormatter;
use SoftDeletes;
protected $table = 'external_cm_prescription';
}
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class ExternalWmPrescriptionModel extends Model
{
use HasDateTimeFormatter;
use SoftDeletes;
protected $table = 'external_wm_prescription';
}
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class MedicalModel extends Model
{
use HasDateTimeFormatter;
use SoftDeletes;
protected $table = 'medical';
}
<?php
namespace App\Models;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
class Test extends Model
{
use HasDateTimeFormatter;
protected $table = 'test';
}
<?php
namespace App\Services;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;
class ExternalService {
private $clientId;
private $clientSecret;
private $baseUrl;
public function __construct($clientId, $clientSecret, $baseUrl) {
$this->clientId = $clientId;
$this->clientSecret = $clientSecret;
$this->baseUrl = $baseUrl;
}
/**
* 生成签名
*/
private function generateSign($timeStamp) {
return strtoupper(md5($this->clientId . $timeStamp . $this->clientSecret));
}
/**
* 发送请求
*/
private function sendRequest($endpoint, $data) {
$url = $this->baseUrl . $endpoint;
print_r($url . "\n");
$data_string = json_encode($data);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json;charset=utf-8',
'Accept: application/json',
'Content-Length: ' . strlen($data_string))
);
$result = curl_exec($ch);
curl_close($ch);
print_r($data_string . "\n");
// print_r($result . "\n");
return json_decode($result, true);
}
/**
* 挂号接口
*/
public function registerPatient($params) {
$timeStamp = time() * 1000; // 当前时间戳(毫秒)
$sign = $this->generateSign($timeStamp);
$params['clientId'] = $this->clientId;
$params['timeStamp'] = $timeStamp;
$params['sign'] = $sign;
return $this->sendRequest('/v1_0/ehospital/openapi/kz/tzt/registerRecordPage', $params);
}
/**
* 就诊记录接口
*/
public function getMedicalRecord($params) {
$timeStamp = time() * 1000; // 当前时间戳(毫秒)
$sign = $this->generateSign($timeStamp);
$params['clientId'] = $this->clientId;
$params['timeStamp'] = $timeStamp;
$params['sign'] = $sign;
return $this->sendRequest('/v1_0/ehospital/openapi/kz/tzt/medicalRecordPage', $params);
}
/**
* 处方开立(西药)接口
*/
public function createPrescriptionWm($params) {
$timeStamp = time() * 1000; // 当前时间戳(毫秒)
$sign = $this->generateSign($timeStamp);
$params['clientId'] = $this->clientId;
$params['timeStamp'] = $timeStamp;
$params['sign'] = $sign;
return $this->sendRequest('/v1_0/ehospital/openapi/kz/tzt/prescriptionWmPage', $params);
}
/**
* 处方开立(中药)接口
*/
public function createPrescriptionCm($params) {
$timeStamp = time() * 1000; // 当前时间戳(毫秒)
$sign = $this->generateSign($timeStamp);
$params['clientId'] = $this->clientId;
$params['timeStamp'] = $timeStamp;
$params['sign'] = $sign;
return $this->sendRequest('/v1_0/ehospital/openapi/kz/tzt/prescriptionCmPage', $params);
}
}
// print_r("执行开始...\n");
// // 使用方法
// $eHospitalApi = new ExternalService('jymd_15700159057_test', 'heU0zM9OrLrK0JehxiAXlPd3L48HHmcA', 'https://ehospital-openapi-test.sq580.com');
// $response = $eHospitalApi->getMedicalRecord([
// // 根据文档填写必要的参数
// "beginTime"=>"1732982400000",
// "endTime"=>"1859212800000",
// "pageNum"=>1,
// "pageSize"=>20,
// ]);
// print_r($response);
// print_r("执行结束...\n");
\ No newline at end of file
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTestTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('test', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('name')->default('')->comment('名称');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('test');
}
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMedicalTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('medical', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('visitNo')->default('')->comment('580问诊编号');
$table->string('idcardTypeCode')->default('')->comment('患者就诊卡证类型');
$table->string('idcardNo')->default('')->comment('患者就诊卡证号码');
$table->string('name')->default('')->comment('姓名');
$table->string('genderCode')->default('')->comment('性别代码');
$table->string('birthdate')->default('')->comment('出生日期');
$table->string('guardName')->default('')->comment('监护人姓名');
$table->string('guardIdcardNo')->default('')->comment('监护人身份证号码');
$table->longText('subjComplaint')->comment('主诉记录');
$table->text('mainSymptoms')->comment('主要监测症状代码组合');
$table->longText('prexHx')->comment('病史描述');
$table->string('prevHist')->default('')->comment('现病史');
$table->string('pastHist')->default('')->comment('既往史');
$table->string('alleHist')->default('')->comment('过敏史');
$table->string('tcmDdCode')->default('')->comment('中医疾病诊断代码');
$table->string('tcmDdName')->default('')->comment('中医疾病诊断名称');
$table->string('tcmSdCode')->default('')->comment('中医证候诊断代码');
$table->string('tcmSdName')->default('')->comment('中医证候诊断名称');
$table->string('mdDisCode')->default('')->comment('西医诊断疾病代码');
$table->string('mdDisName')->default('')->comment('西医诊断疾病名称');
$table->string('disCode1')->default('')->comment('其他诊断①疾病代码');
$table->string('disName1')->default('')->comment('其他诊断①疾病名称');
$table->string('disCode2')->default('')->comment('其他诊断②疾病代码');
$table->string('disName2')->default('')->comment('其他诊断②疾病名称');
$table->text('disDescription')->comment('医生对门诊诊断的描述');
$table->longText('treatMeas')->comment('处理措施');
$table->string('unifiedOrgCode')->default('')->comment('就诊医疗机构编码');
$table->string('orgName')->default('')->comment('就诊医疗机构名称');
$table->string('deptCode')->default('')->comment('就诊科室编码');
$table->string('deptName')->default('')->comment('就诊科室名称');
$table->string('deptClassCode')->default('')->comment('就诊科室对应诊疗科目编码');
$table->string('deptClassName')->default('')->comment('就诊科室对应诊疗科目名称');
$table->string('doctIdcardNo')->default('')->comment('就诊医师身份证号');
$table->string('doctName')->default('')->comment('就诊医师姓名');
$table->string('visitTimeStart')->default('')->comment('就诊开始时间');
$table->string('visitTimeEnd')->default('')->comment('诊断结束时间');
$table->longText('doctCaSign')->comment('就诊医师电子签名');
$table->longText('originalData')->comment('数据原文');
$table->longText('certificate')->comment('数字证书');
$table->text('reviewUrl')->comment('诊疗过程调阅地址');
$table->longText('firstVisitRecord')->comment('线下初诊记录');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('medical');
}
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateExternalWmPrescriptionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('external_wm_prescription', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('idcardTypeCode')->default('')->comment('患者就诊卡证类型');
$table->string('idcardNo')->default('')->comment('患者就诊卡证号码');
$table->string('name')->default('')->comment('姓名');
$table->string('genderCode')->default('')->comment('性别代码');
$table->string('birthdate')->default('')->comment('出生日期');
$table->string('visitNo')->default('')->comment('问诊编号');
$table->string('hosRxCode')->default('')->comment('处方编码');
$table->string('rxTypeCode')->default('')->comment('处方分类代码');
$table->string('rxAmount')->default('')->comment('处方药品总金额');
$table->text('rxDescription')->comment('处方备注说明');
$table->string('unifiedOrgCode')->default('')->comment('开处方医疗机构编码');
$table->string('orgName')->default('')->comment('开处方医疗机构名称');
$table->string('deptCode')->default('')->comment('开处方科室编码');
$table->string('deptName')->default('')->comment('开处方科室名称');
$table->string('deptClassCode')->default('')->comment('开处方科室对应诊疗科目编码');
$table->string('deptClassName')->default('')->comment('开处方科室对应诊疗科目名称');
$table->string('doctIdcardNo')->default('')->comment('开处方医师身份证号');
$table->string('doctName')->default('')->comment('开处方医师姓名');
$table->string('rxDatetime')->default('')->comment('开处方日期时间');
$table->longText('doctCaSign')->comment('开处方医师电子签名');
$table->longText('originalData')->comment('数据原文');
$table->longText('certificate')->comment('数字证书');
$table->string('rotateTypeCode')->default('')->comment('处方流向类型');
$table->longText('items')->comment('处方明细');
$table->longText('addAmountItems')->comment('处方附加服务费用明细');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('external_wm_prescription');
}
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateExternalCmPrescriptionTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('external_cm_prescription', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('idcardTypeCode')->default('')->comment('患者就诊卡证类型');
$table->string('idcardNo')->default('')->comment('患者就诊卡证号码');
$table->string('name')->default('')->comment('姓名');
$table->string('genderCode')->default('')->comment('性别代码');
$table->string('birthdate')->default('')->comment('出生日期');
$table->string('visitNo')->default('')->comment('门诊编号');
$table->string('hosRxCode')->default('')->comment('处方编码');
$table->string('rxTypeCode')->default('')->comment('处方分类');
$table->string('tcmPasteCnt')->default('')->comment('处方帖数');
$table->string('tcmUseCode')->default('')->comment('用药方法代码');
$table->string('tcmUseDes')->default('')->comment('用药方法描述');
$table->string('tcmDecoctCode')->default('')->comment('煎药方法代码');
$table->string('tcmDecoctDes')->default('')->comment('煎药方法描述');
$table->string('tcmFrequencyCode')->default('')->comment('用药频次代码');
$table->string('tcmFrequencyDes')->default('')->comment('用药频次描述');
$table->string('tcmOnceDosage')->default('')->comment('一次用量(ml)');
$table->string('onceDosageDes')->default('')->comment('一次用量描述');
$table->text('rxDescription')->comment('处方备注说明');
$table->string('rxAmount')->default('')->comment('处方总金额(元)');
$table->string('unifiedOrgCode')->default('')->comment('开处方单位编码');
$table->string('orgName')->default('')->comment('开处方单位名称');
$table->string('deptCode')->default('')->comment('开处方科室编码');
$table->string('deptName')->default('')->comment('开处方科室名称');
$table->string('deptClassCode')->default('')->comment('开处方科室对应诊疗科目编码');
$table->string('deptClassName')->default('')->comment('开处方科室对应诊疗科目名称');
$table->string('doctIdcardNo')->default('')->comment('开处方医师身份证号');
$table->string('doctName')->default('')->comment('开处方医师姓名');
$table->string('rxDatetime')->default('')->comment('开处方日期时间');
$table->longText('doctCaSign')->comment('开处方医师电子签名');
$table->longText('originalData')->comment('数据原文');
$table->longText('certificate')->comment('数字证书');
$table->string('rotateTypeCode')->default('')->comment('处方流向类型');
$table->longText('items')->comment('处方明细');
$table->longText('addAmountItems')->comment('处方附加服务费用明细');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('external_cm_prescription');
}
}
<?php
return [
'labels' => [
'ExternalCmPrescription' => '快诊处方列表(中药)',
'external-cm-prescription' => '快诊处方列表(中药)',
],
'fields' => [
'idcardTypeCode' => '患者就诊卡证类型',
'idcardNo' => '患者就诊卡证号码',
'name' => '姓名',
'genderCode' => '性别代码',
'birthdate' => '出生日期',
'visitNo' => '门诊编号',
'hosRxCode' => '处方编码',
'rxTypeCode' => '处方分类',
'tcmPasteCnt' => '处方帖数',
'tcmUseCode' => '用药方法代码',
'tcmUseDes' => '用药方法描述',
'tcmDecoctCode' => '煎药方法代码',
'tcmDecoctDes' => '煎药方法描述',
'tcmFrequencyCode' => '用药频次代码',
'tcmFrequencyDes' => '用药频次描述',
'tcmOnceDosage' => '一次用量(ml)',
'onceDosageDes' => '一次用量描述',
'rxDescription' => '处方备注说明',
'rxAmount' => '处方总金额(元)',
'unifiedOrgCode' => '开处方单位编码',
'orgName' => '开处方单位名称',
'deptCode' => '开处方科室编码',
'deptName' => '开处方科室名称',
'deptClassCode' => '开处方科室对应诊疗科目编码',
'deptClassName' => '开处方科室对应诊疗科目名称',
'doctIdcardNo' => '开处方医师身份证号',
'doctName' => '开处方医师姓名',
'rxDatetime' => '开处方日期时间',
'doctCaSign' => '开处方医师电子签名',
'originalData' => '数据原文',
'certificate' => '数字证书',
'rotateTypeCode' => '处方流向类型',
'items' => '处方明细',
'addAmountItems' => '处方附加服务费用明细',
],
'options' => [
],
];
<?php
return [
'labels' => [
'ExternalWmPrescription' => '快诊处方列表(西药)',
'external-wm-prescription' => '快诊处方列表(西药)',
],
'fields' => [
'idcardTypeCode' => '患者就诊卡证类型',
'idcardNo' => '患者就诊卡证号码',
'name' => '姓名',
'genderCode' => '性别代码',
'birthdate' => '出生日期',
'hosRxCode' => '处方编码',
'rxTypeCode' => '处方分类代码',
'rxAmount' => '处方药品总金额',
'rxDescription' => '处方备注说明',
'unifiedOrgCode' => '开处方医疗机构编码',
'orgName' => '开处方医疗机构名称',
'deptCode' => '开处方科室编码',
'deptName' => '开处方科室名称',
'deptClassCode' => '开处方科室对应诊疗科目编码',
'deptClassName' => '开处方科室对应诊疗科目名称',
'doctIdcardNo' => '开处方医师身份证号',
'doctName' => '开处方医师姓名',
'rxDatetime' => '开处方日期时间',
'doctCaSign' => '开处方医师电子签名',
'originalData' => '数据原文',
'certificate' => '数字证书',
'rotateTypeCode' => '处方流向类型',
'items' => '处方明细',
'addAmountItems' => '处方附加服务费用明细',
],
'options' => [
],
];
<?php
return [
'labels' => [
'Medical' => '问诊记录',
'medical' => '问诊记录',
],
'fields' => [
'visitNo' => '快诊问诊编号',
'idcardTypeCode' => '患者就诊卡证类型',
'idcardNo' => '患者就诊卡证号码',
'name' => '姓名',
'genderCode' => '性别代码',
'birthdate' => '出生日期',
'guardName' => '监护人姓名',
'guardIdcardNo' => '监护人身份证号码',
'subjComplaint' => '主诉记录',
'mainSymptoms' => '主要监测症状代码组合',
'prexHx' => '病史描述',
'prevHist' => '现病史',
'pastHist' => '既往史',
'alleHist' => '过敏史',
'tcmDdCode' => '中医疾病诊断代码',
'tcmDdName' => '中医疾病诊断名称',
'tcmSdCode' => '中医证候诊断代码',
'tcmSdName' => '中医证候诊断名称',
'mdDisCode' => '西医诊断疾病代码',
'mdDisName' => '西医诊断疾病名称',
'disCode1' => '其他诊断①疾病代码',
'disName1' => '其他诊断①疾病名称',
'disCode2' => '其他诊断②疾病代码',
'disName2' => '其他诊断②疾病名称',
'disDescription' => '医生对门诊诊断的描述',
'treatMeas' => '处理措施',
'unifiedOrgCode' => '就诊医疗机构编码',
'orgName' => '就诊医疗机构名称',
'deptCode' => '就诊科室编码',
'deptName' => '就诊科室名称',
'deptClassCode' => '就诊科室对应诊疗科目编码',
'deptClassName' => '就诊科室对应诊疗科目名称',
'doctIdcardNo' => '就诊医师身份证号',
'doctName' => '就诊医师姓名',
'visitTimeStart' => '就诊开始时间',
'visitTimeEnd' => '诊断结束时间',
'doctCaSign' => '就诊医师电子签名',
'originalData' => '数据原文',
'certificate' => '数字证书',
'reviewUrl' => '诊疗过程调阅地址',
'firstVisitRecord' => '线下初诊记录',
],
'options' => [
],
];
<?php
return [
'labels' => [
'Test' => 'Test',
'test' => 'Test',
],
'fields' => [
'name' => '名称',
],
'options' => [
],
];
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