| | |
| | | sphygmomanometer: Sphygmomanometer; |
| | | customConfiguration: Customconfiguration; |
| | | 患者出生日期: string; |
| | | 客户编号: string; |
| | | } |
| | | |
| | | export const defaultSphygmomanometer = () :Sphygmomanometer => { |
| | |
| | | // @ts-ignore |
| | | pageType, // 当前要展示的页面 |
| | | treatmentStatus: EMedStatus.NOT_CHECKED_IN, // 透析状态 |
| | | 客户编号: "", |
| | | consumablesCollection: defaultconsumablesCollection(), // 未排班时需要的数据 |
| | | notSignedIn: defalutNotSignedIn(), // 未签到时需要的数据 |
| | | signedIn: defaultSignedIn(), // 已签到时需要的数据 |
| | |
| | | // 默认床号(设备号) |
| | | result.devicdeNo = seeMsg.IOT信息?.床号; |
| | | result.deviceCode = seeMsg.IOT信息?.设备唯一编号; |
| | | |
| | | |
| | | // 自定义配置项 |
| | | result.customConfiguration = seeMsg.自定义配置项 ?? defaultCustomconfiguration(); |
| | |
| | | result.patFormNumber = seeMsg.透析状态?.患者门诊住院号; |
| | | result.患者出生日期 = seeMsg.透析状态?.患者出生日期 || ""; |
| | | |
| | | result.客户编号 = seeMsg.透析状态?.clientCode; |
| | | |
| | | |
| | | // 未签到页面需要显示的 |
| | | if (treatmentStatus === EMedStatus.NOT_CHECKED_IN) { |
| | | result.pageType = EPageType.NOT_SIGNED_IN; |