generated from ccsens_fe/uni-vue3-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
362 lines
8.1 KiB
362 lines
8.1 KiB
export interface IConfig {
|
|
text: string
|
|
description?: string
|
|
rightArrow?: boolean
|
|
type: string
|
|
default?: string
|
|
mode?: string
|
|
range?: { value: string; text: string }[]
|
|
showType?: {
|
|
type: string
|
|
code: string
|
|
value: string
|
|
}
|
|
page?: { name: string }
|
|
rightText?: string
|
|
}
|
|
|
|
// 患者基本信息
|
|
export const BASE_CODE_DICT = {
|
|
'JBXX-SFXHCZ': {
|
|
// 是否醒后卒中
|
|
text: '发病时间',
|
|
type: 'radio',
|
|
default: '已知',
|
|
range: [
|
|
{ value: '已知', text: '已知' },
|
|
{ value: '未知', text: '未知' },
|
|
{ value: '醒后卒中', text: '醒后卒中' },
|
|
],
|
|
},
|
|
'JBXX-FBSJ': {
|
|
text: '发病时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
showType: {
|
|
type: 'value',
|
|
code: 'JBXX-SFXHCZ',
|
|
value: '已知',
|
|
},
|
|
},
|
|
'JBXX-ZHZC-TIME': {
|
|
text: '最后正常时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
showType: {
|
|
type: 'value',
|
|
code: 'JBXX-SFXHCZ',
|
|
value: '醒后卒中',
|
|
},
|
|
},
|
|
'JBXX-SFYNCZ': {
|
|
text: '是否院内卒中',
|
|
type: 'radio',
|
|
range: [
|
|
{ value: '是', text: '是' },
|
|
{ value: '否', text: '否' },
|
|
],
|
|
default: '是',
|
|
},
|
|
'JBXX-DDJZ-TIME': {
|
|
text: '到达急诊时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
'JBXX-TZCZYS-TIME': {
|
|
text: '通知卒中医生时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
'JBXX-CZYSDC-TIME': {
|
|
text: '卒中到场时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
'JBXX-LYFS': {
|
|
text: '来院方式',
|
|
type: 'select',
|
|
range: [
|
|
{ value: '120', text: '120' },
|
|
{ value: '自行住院', text: '自行住院' },
|
|
{ value: '院内住院患者', text: '院内住院患者' },
|
|
{ value: '院内公共区域患者', text: '院内公共区域患者' },
|
|
{ value: '医疗机构转入', text: '医疗机构转入' },
|
|
],
|
|
default: '',
|
|
},
|
|
}
|
|
|
|
export const AID_RECORD_DICT = {
|
|
'RYPG-HEIGHT': {
|
|
text: '身高',
|
|
description: '(cm)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'RYPG-WEIGHT': { text: '体重', description: '(kg)', type: 'text', default: '' },
|
|
'RYPG-GENDER': { text: '性别', description: '', type: 'text', default: '' },
|
|
'RYPG-BMI': { text: 'BMI', description: '', type: 'text', default: '' },
|
|
'RYPG-SYSTOLIC-PRESSURE': {
|
|
text: '收缩压',
|
|
description: '(mmHg)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'RYPG-DIASTOLIC-PRESSURE': {
|
|
text: '舒张压',
|
|
description: '(mmHg)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'RYPG-PULSE': {
|
|
text: '脉搏',
|
|
description: '(次/分)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'RYPG-MRS': {
|
|
text: '本次入院mRS评分',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'MRS' },
|
|
},
|
|
'RYPG-NIHSS': {
|
|
text: '本次入院NIHSS评分',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'RYPG-BLOOD-REPORT-TIME': {
|
|
text: '血样完成时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
'RYPG-BLOOD-SUGAR': {
|
|
text: '血糖',
|
|
description: '(mol/L)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'RYPG-CT-LK-TIME': {
|
|
text: 'CT完成时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
|
|
'JMRS-Y': {
|
|
text: '是否进行静脉溶栓',
|
|
type: 'radio',
|
|
default: '是',
|
|
range: [
|
|
{ value: '是', text: '是' },
|
|
{ value: '否', text: '否' },
|
|
],
|
|
},
|
|
'JMRS-WRSYY': {
|
|
text: '未溶栓原因',
|
|
type: 'checkbox',
|
|
default: '',
|
|
range: [
|
|
{ value: '超时间创', text: '超时间创' },
|
|
{ value: '禁忌症', text: '禁忌症' },
|
|
{ value: '患者/家属拒绝', text: '患者/家属拒绝' },
|
|
{ value: '其他', text: '其他' },
|
|
],
|
|
showType: {
|
|
type: 'value',
|
|
code: 'JMRS-Y',
|
|
value: '否',
|
|
},
|
|
},
|
|
'JMRS-WRSYY-ELSE': {
|
|
text: '',
|
|
type: 'input',
|
|
default: '',
|
|
showType: {
|
|
type: 'valueInclude',
|
|
code: 'JMRS-WRSYY',
|
|
value: '其他',
|
|
},
|
|
},
|
|
}
|
|
|
|
export const CODE_JMRS = {
|
|
'JMRS-TOOL': {
|
|
text: '辅助工具',
|
|
type: 'text',
|
|
rightText: '去查看',
|
|
rightArrow: true,
|
|
},
|
|
'JMRS-TH-TIME': {
|
|
text: '谈话开始时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
'JMRS-SIGN': {
|
|
text: '签署知情同意书',
|
|
type: 'text',
|
|
rightText: '去签署',
|
|
rightArrow: true,
|
|
},
|
|
'JMRS-Q-NIHSS': {
|
|
text: 'NIHSS评分',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'JMRS-Q-SYSTOLIC-PRESSURE': {
|
|
text: '收缩压',
|
|
description: '(mmHg)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'JMRS-Q-DIASTOLIC-PRESSURE': {
|
|
text: '舒张压',
|
|
description: '(mmHg)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'JMRS-RSCS': {
|
|
text: '开始静脉溶栓场所',
|
|
type: 'select',
|
|
range: [
|
|
{ value: '急救车', text: '急救车' },
|
|
{ value: '本院急诊科', text: '本院急诊科' },
|
|
{ value: '本院CT室', text: '本院CT室' },
|
|
{ value: '本院病房', text: '本院病房' },
|
|
{ value: '外院', text: '外院' },
|
|
],
|
|
default: '',
|
|
},
|
|
'JMRS-TIME': {
|
|
text: '开始静脉溶栓时间',
|
|
type: 'datetime',
|
|
default: '',
|
|
valueType: 'string',
|
|
},
|
|
'JMRS-RSYW-ZL': {
|
|
text: '静脉溶栓药物',
|
|
type: 'select',
|
|
range: [
|
|
{ value: 'rt-PA(mg)', text: 'rt-PA(mg)' },
|
|
{ value: '尿激酶', text: '尿激酶' },
|
|
{ value: '阿尼普酶', text: '阿尼普酶' },
|
|
{ value: '瑞替普酶', text: '瑞替普酶' },
|
|
{ value: '替奈普酶', text: '替奈普酶' },
|
|
{ value: '其他', text: '其他' },
|
|
],
|
|
default: '',
|
|
},
|
|
'JMRS-RSYW-ZL-ELSE': {
|
|
text: 'rt-PA(mg)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
showType: {
|
|
type: 'valueInclude',
|
|
code: 'JMRS-RSYW-ZL',
|
|
value: 'rt-PA(mg)',
|
|
},
|
|
},
|
|
'JMRS-TZJL': {
|
|
text: '团注剂量',
|
|
description: '(mm)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'JMRS-JDJL': {
|
|
text: '静滴剂量',
|
|
description: '(mm)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'JMRS-GYSD': {
|
|
text: '给药速度',
|
|
description: '(mm/h)',
|
|
type: 'input',
|
|
inputType: 'digit',
|
|
default: '',
|
|
},
|
|
'JMRS-15-NIHSS': {
|
|
text: 'NIHSS(15min)',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'JMRS-30-NIHSS': {
|
|
text: 'NIHSS(30min)',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'JMRS-45-NIHSS': {
|
|
text: 'NIHSS(45min)',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'JMRS-60-NIHSS': {
|
|
text: 'NIHSS(60min)',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'JMRS-H-NIHSS': {
|
|
text: 'NIHSS(溶栓后)',
|
|
description: '',
|
|
type: 'page',
|
|
rightArrow: true,
|
|
default: '',
|
|
page: { name: 'NIHSS' },
|
|
},
|
|
'JMRS-BFZ': {
|
|
text: '溶栓并发症',
|
|
type: 'checkbox',
|
|
mode: 'list',
|
|
default: '',
|
|
range: [
|
|
{ value: '无', text: '无' },
|
|
{ value: '颅内出血', text: '颅内出血' },
|
|
{ value: '消化道出血', text: '消化道出血' },
|
|
{ value: '牙龈出血', text: '牙龈出血' },
|
|
{ value: '其他部位出血', text: '其他部位出血' },
|
|
{ value: '再灌注损伤', text: '再灌注损伤' },
|
|
{ value: '血管源性唇舌水肿', text: '血管源性唇舌水肿' },
|
|
{ value: '其他', text: '其他' },
|
|
],
|
|
},
|
|
}
|
|
|
|
// all, you know?
|
|
export const CODE_DICT: { [key: string]: IConfig } = { ...BASE_CODE_DICT, ...AID_RECORD_DICT, ...CODE_JMRS }
|
|
|