Enum Class HisService

java.lang.Object
java.lang.Enum<HisService>
com.midi.his.sdk.catalog.HisService
所有已实现的接口:
Serializable, Comparable<HisService>, Constable

public enum HisService extends Enum<HisService>
文档中登记的全部服务,是 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 改回定义书取值。

  • 枚举常量详细资料

    • DEPARTMENT

      public static final HisService DEPARTMENT
      科室字典。
    • WARD

      public static final HisService WARD
      病区字典。
    • STAFF

      public static final HisService STAFF
      职工字典,Fid 存在 BS02038 / BS02004 两个版本。
    • EXAM_REQUISITION

      public static final HisService EXAM_REQUISITION
      检查申请单。
    • EXAM_REPORT

      public static final HisService EXAM_REPORT
      PACS 检查报告推送。
    • EXAM_STATUS_WRITEBACK

      public static final HisService EXAM_STATUS_WRITEBACK
      检查执行状态回写。
  • 方法详细资料

    • values

      public static HisService[] 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

      public static HisService valueOf(String name)
      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 name
      NullPointerException - 如果参数为空值
    • defaultFid

      public String defaultFid()
      返回:
      定义书/样例中的默认服务编号,未经配置覆盖
    • displayName

      public String displayName()
      返回:
      中文服务名,用于日志与文档
    • direction

      public HisService.Direction direction()
      返回:
      查询还是推送
    • rowType

      public Class<?> rowType()
      返回:
      查询响应的行映射类型;推送服务为 null
    • payloadType

      public Class<?> payloadType()
      返回:
      推送载荷类型;查询服务为 null
    • byFid

      public static HisService byFid(String fid)
      按服务编号反查已登记的服务。
      参数:
      fid - 服务编号,大小写敏感地与默认值或覆盖值比较前会先去除空白
      返回:
      匹配的服务
      抛出:
      IllegalArgumentException - 未登记的编号