Enum Class HisService
- 所有已实现的接口:
Serializable,Comparable<HisService>,Constable
文档中登记的全部服务,是 SDK 的路由表。
BS 开头为"消费"服务(本系统发起查询),走 Ewell_WS_SUU;
PS 开头为"提供"服务(本系统主动推送),走 Ewell_WS_PUU。
职工字典存在版本差异:docs/HYXXT/3-消费/BS02004 职工字典 V4.00.xlsx 标注服务 ID 为
BS02004,而同目录的实测报文样例使用 BS02038。SDK 以 BS02038
为默认值(贴近可用环境),可通过 his.fid.override.STAFF=BS02004 改回定义书取值。
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明科室字典。PACS 检查报告推送。检查申请单。检查执行状态回写。职工字典,Fid 存在 BS02038 / BS02004 两个版本。病区字典。 -
方法概要
修饰符和类型方法说明static HisService按服务编号反查已登记的服务。Class<?>Class<?>rowType()static HisServiceReturns the enum constant of this class with the specified name.static HisService[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
DEPARTMENT
科室字典。 -
WARD
病区字典。 -
STAFF
职工字典,Fid 存在 BS02038 / BS02004 两个版本。 -
EXAM_REQUISITION
检查申请单。 -
EXAM_REPORT
PACS 检查报告推送。 -
EXAM_STATUS_WRITEBACK
检查执行状态回写。
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
defaultFid
- 返回:
- 定义书/样例中的默认服务编号,未经配置覆盖
-
displayName
- 返回:
- 中文服务名,用于日志与文档
-
direction
- 返回:
- 查询还是推送
-
rowType
- 返回:
- 查询响应的行映射类型;推送服务为
null
-
payloadType
- 返回:
- 推送载荷类型;查询服务为
null
-
byFid
按服务编号反查已登记的服务。- 参数:
fid- 服务编号,大小写敏感地与默认值或覆盖值比较前会先去除空白- 返回:
- 匹配的服务
- 抛出:
IllegalArgumentException- 未登记的编号
-