1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| package com.smartor.statemachine.handler;
|
| import com.smartor.domain.PatMedInhosp;
|
| /**
| * 住院状态处理器接口
| *
| * @author smartor
| */
| public interface InhospStateHandler {
|
| /**
| * 处理状态变更
| *
| * @param patMedInhosp 待处理的住院记录对象
| * @return 处理结果(true:成功, false:失败)
| */
| boolean handle(PatMedInhosp patMedInhosp);
|
| /**
| * 获取该处理器对应的状态码
| *
| * @return 状态码
| */
| String getStateCode();
| }
|
|