qcp QCP pad
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.
 
 
 
 
 

54 lines
1.9 KiB

// 性别列表
export const GENDER_LIST = [
{ text: '男', value: 0 },
{ text: '女', value: 1 },
]
/**
* 根据value获取text 性别
* @param {number} code gender value
* @return {string | undefined} 男/女
*/
export function GET_GENDER_TEXT_BY_CODE(code: number): string | undefined {
const target = GENDER_LIST.find(item => item.value === code)
return target?.text
}
// 急救状态
export const AID_STATUS = { 0: '创建', 1: '待审核', 2: '审核通过', 3: '审核拒绝' }
// 平车状态
export const CAR_STATUS = { 0: '离线', 1: '在线' }
// 疑似诊断
export const FIRST_AID_ZL_TYPE = [
{ value: 0, text: 'AS急性脑卒中' },
{ value: 1, text: 'AMI急性心肌梗死' },
{ value: 2, text: 'ATI急性创伤' },
{ value: 3, text: 'AGB急性消化道出血' },
]
// 是否发病时间已知
export const fbTimeKnown = [
{ value: '已知', text: '已知' },
{ value: '未知', text: '未知' },
{ value: '醒后卒中', text: '醒后卒中' },
]
// 初步判断
export const CHU_BU_PAN_DUAN = [
{ value: '缺血性脑卒中', text: '缺血性脑卒中' },
{ value: '出血性脑卒中', text: '出血性脑卒中' },
{ value: '短暂性脑缺血发作', text: '短暂性脑缺血发作' },
{ value: '其他', text: '其他' },
]
// mrs
export const MRS_LIST = [
{ value: '0', text: '完全无症状(0分)' },
{ value: '1', text: '尽管有症状,但无明显功能障碍,能完成所有日常工作和生活(1分)' },
{ value: '2', text: '轻度残疾,不能完成病前所有活动,但不需帮助能照料自己的日常事务(2分)' },
{ value: '3', text: '中度残疾,需部分帮助,但能独立行走(3分)' },
{ value: '4', text: '中重度残疾,不能独立行走,日常生活需别人帮助(4分)' },
{ value: '5', text: '重度残疾,卧床,二便失禁,日常生活完全依赖他人(5分)' },
]