| | |
| | | 透析状态: DialysisStatus | null; |
| | | 床旁血压结果?: any; |
| | | 自定义配置项: Customconfiguration; |
| | | 服务端版本号: string; |
| | | 是否需要立即刷新: 0 | 1; |
| | | } |
| | | |
| | | interface Customconfiguration { |
| | | 患者信息是否加密显示: number; |
| | | 是否显示患者出生年月日: number; |
| | | } |
| | | |
| | | export interface Sphygmomanometer { |
| | |
| | | export interface BedsideAuxiliaryScreen { |
| | | deviceCode: string; |
| | | devicdeNo: string | number; |
| | | version: string; |
| | | isRefresh: number; |
| | | recordCode: string; |
| | | patientCode: string; |
| | | patientName: string; |
| | |
| | | return { |
| | | deviceCode: "", // 设备code |
| | | devicdeNo: "", // 设备号 |
| | | version: "0.0.0", // 版本号 |
| | | isRefresh: 0, // 是否立即刷新 |
| | | recordCode: "", // 透析单code |
| | | patientCode: "", // 患者code |
| | | patientName: "", // 患者姓名 |
| | |
| | | |
| | | export const defaultCustomconfiguration = (): Customconfiguration => { |
| | | return { |
| | | 患者信息是否加密显示: 0 |
| | | 患者信息是否加密显示: 0, |
| | | 是否显示患者出生年月日: 0 |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | const result = deepClone(data); |
| | | |
| | | // 版本号/是否立即刷新 |
| | | result.version = seeMsg.服务端版本号; |
| | | result.isRefresh = seeMsg.是否需要立即刷新; |
| | | |
| | | |
| | | // 默认床号(设备号) |
| | | result.devicdeNo = seeMsg.IOT信息?.床号; |