菜单

目录

Administrator
发布于 2023-05-26 / 30 阅读 / 0 评论 / 0 点赞

医院信息平台交互规范 第11部分:状态信息交互服务

前  言

WS/T XXXXX《医院信息平台交互规范》包括以下十一部分:

  1. 第1部分:总则

  2. 第2部分:个人信息注册、查询服务;

  3. 第3部分:医疗卫生机构注册、查询服务;

  4. 第4部分:医疗卫生人员注册、查询服务;

  5. 第5部分:术语注册、查询服务

  6. 第6部分:文档注册、查询服务;

  7. 第7部分:就诊信息交互服务;

  8. 第8部分:医嘱信息交互服务;

  9. 第9部分:申请单信息交互服务;

  10. 第10部分:预约信息交互服务;

  11. 第11部分:状态信息交互服务。

本部分为WS/T XXXXX的第11部分。

本部分按照GB/T 1.1—2009给出的规则起草。

本部分主要起草单位:国家卫生健康委统计信息中心、厦门大学附属翔安医院。

本部分主要起草人:胡建平、李岳峰、方晓茹、张芳琼、王轩、曹亮、樊世超、李振叶。

医院信息平台交互规范

第11部分:状态信息交互服务

1. 范围

WS/T XXXXX的本部分规定了状态信息交互服务消息的模板、消息架构的要求以及对消息内容的约束。

本部分适用于状态信息交互服务的应用。

2. 规范性引用文件

下列文件对于本文件的应用是必不可少的。凡是注日期的引用文件,仅所注日期的版本适用于本文件。凡是不注日期的引用文件,其最新版本(包括所有的修改单)适用于本文件。

WS/T XXXXX.1-XXXX 医院信息平台交互规范 第1部分:总则

3. 术语和定义

WS/T XXXXX.1-XXXX中界定的术语和定义适用于本文件。

4. 规范说明

见WS/T XXXXX.1-XXXX。

5. 交互服务

5.1 医嘱执行状态信息更新服务(OrderInfoUpdate)

角色和交易

角色交易图

医嘱执行状态信息更新服务的角色交易图如图1所示。

图1 医嘱执行状态信息更新服务角色交易图

角色的选择

医嘱执行状态信息更新服务的角色列表如表1所示

表1 医嘱执行状态信息更新服务角色列表

角色

交易

选择

医嘱执行状态信息源

医嘱执行状态信息更新

必选项(R)

医嘱执行状态信息更新服务

医嘱执行状态信息更新

必选项(R)

交易流程

医嘱执行状态信息更新服务的交易流程图如图2所示。

图2 医嘱执行状态信息更新服务交易流程图

医嘱执行状态信息更新服务的交易流程描述:

  1. 医嘱执行状态信息源向医嘱执行状态信息更新服务提交请求消息;

  2. 医嘱执行状态信息更新服务校验数据并进行存储。

接口规范模型

请求消息模型

医嘱执行状态信息更新服务的请求消息模型如表2所示。

表2 医嘱执行状态信息更新服务请求消息模型

节点

基数

可选项

节点说明

对应数据元标识符/格式要求

/id/@extension

1..1

R

消息ID

字符串,最大长度为50

/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/creationTime/@value

1..1

R

消息创建时间

日期时间格式,DT14

/controlActProcess/subject/placerGroup /statusCode/@code

1..1

R

固定值"active"

/controlActProcess/subject/patient /id/item/@value

0..1

O

有效时间

日期时间格式,DT14

/controlActProcess/subject/placerGroup/transcriber/time/any/@value

1..1

O

操作日期

日期时间格式,DT14

/controlActProcess/subject/placerGroup/transcriber/assignedEntity/id/item/@extension

1..1

R

操作人工号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/transcriber/assignedEntity/id/item/@root

1..1

R

固定值"2.16.156.10011.1.4"

/controlActProcess/subject/placerGroup/transcriber/assignedEntity/assignedPerson/name/item/part/@value

1..1

R

操作人姓名

DE02.01.039.00

/controlActProcess/subject/placerGroup/location/serviceDeliveryLocation/serviceProviderOrganization/id/item/@extension

1..1

R

执行科室ID

DE08.10.025.00

/controlActProcess/subject/placerGroup/location/serviceDeliveryLocation/serviceProviderOrganization/id/item/@root

1..1

R

固定值"2.16.156.10011.1.26 "

/controlActProcess/subject/placerGroup/location/serviceDeliveryLocation/serviceProviderOrganization/name/item/part/@value

1..1

R

执行科室名称

DE08.10.026.00

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@extension

1..1

R

医嘱ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@root

1..1

R

固定值"2.16.156.10011.2.5.1.31"

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@extension

1..1

R

申请单ID

DE01.00.008.00

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@scope

1..1

R

固定值" BUSN "

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@root

1..1

R

固定值"2.16.156.10011.1.24"

/controlActProcess/subject/placerGroup/component2/observationRequest/code/@code

1..1

R

医嘱项目医嘱类型

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/code/@codeSystem

1..1

R

固定值"2.16.156.10011.2.3.1.268"

DE06.00.289.00

/controlActProcess/subject/placerGroup/component2/observationRequest/code /@codeSystemName

1..1

R

固定值"医嘱项目医嘱类型代码表(CV06.00.229)"

/controlActProcess/subject/placerGroup/component2/observationRequest/code/displayName/@value

1..1

R

医嘱类型代码对应的名称

字符串,最大长度为100

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/id/@extension

0..1

O

标本条码号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/id/@root

0..1

O

固定值"2.16.156.10011.1.14"

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/effectiveTime/any/@value

0..1

O

标本采集日期

日期时间格式,DT14

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/performer/assignedEntity/id/item/@extension

0..1

O

标本采集人工号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/performer/assignedEntity/id/item/@root

0..1

O

固定值" 2.16.156.10011.1.4"

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/performer/assignedEntity/assignedPerson/name/item/part/@value

0..1

O

采集人姓名

DE02.01.039.00

/controlActProcess/subject/placerGroup/component2/observationRequest/reason/observation/value/@value

0..1

O

医嘱撤销原因描述

字符串,最大长度为100

/controlActProcess/subject/placerGroup/component2/observationRequest/component1/processStep/code/@code

1..1

R

医嘱执行状态编码

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/component1/processStep/code/@codeSystem

1..1

R

固定值"2.16.156.10011.2.5.1.32"

/controlActProcess/subject/placerGroup/component2/observationRequest/component1/processStep/code/displayName/@value

1..1

R

医嘱执行状态描述

字符串,最大长度为100

/controlActProcess/subject/placerGroup/componentOf1/encounter/id/item/@extension

0..1

O

住院次数

DE02.10.090.00

/controlActProcess/subject/placerGroup/componentOf1/encounter/id/item/@root

0..1

O

固定值"2.16.156.10011.2.5.1.8"

/controlActProcess/subject/placerGroup/componentOf1/encounter/statusCode/@code

1..1

R

固定值"Active"

/controlActProcess/subject/placerGroup/componentOf1/encounter/subject/patient/@classCode

1..1

R

固定值"PAT"

/controlActProcess/subject/placerGroup/componentOf1/encounter/ subject/patient/id/@extension

0..1

O

域ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup/componentOf1/encounter/ subject/patient/id/@root

0..1

O

固定值"2.16.156.10011.2.5.1.5"

/controlActProcess/subject/placerGroup/componentOf1/encounter/ subject/patient/id/@extension

0..1

O

患者ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup/componentOf1/encounter/ subject/patient/id/@root

0..1

O

固定值"2.16.156.10011.2.5.1.4"

响应消息模型(成功)

医嘱执行状态信息更新服务的响应消息模型(成功)如表3所示。

表3 医嘱执行状态信息更新服务响应消息模型(成功)

节点

基数

可选项

节点说明

对应数据元标识符/格式要求

/id/@extension

1..1

R

消息ID

字符串,最大长度为50

/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/creationTime/@value

1..1

R

消息创建时间

日期时间格式,DT14

/acknowledgement/@typeCode

1..1

R

处理结果,固定值"AA"表示成功

/acknowledgement/targetMessage/id/@extension

1..1

R

请求消息标识符

字符串,最大长度为50

/acknowledgement/targetMessage/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/acknowledgement/acknowledgementDetail/text/@value

1..1

R

处理结果说明

字符串,最大长度为200

响应消息模型(异常)

医嘱执行状态信息更新服务的响应消息模型(异常)如表4所示。

表4 医嘱执行状态信息更新服务响应消息模型(异常)

节点

基数

可选项

节点说明

对应数据元标识符/格式要求

/id/@extension

1..1

R

消息ID

字符串,最大长度为50

/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/creationTime/@value

1..1

R

消息创建时间

日期时间格式,DT14

/acknowledgement/@typeCode

1..1

R

处理结果,固定值"AE"表示失败

/acknowledgement/targetMessage/id/@extension

1..1

R

请求消息ID

字符串,最大长度为50

/acknowledgement/targetMessage/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/acknowledgement/acknowledgementDetail/text/@value

1..1

R

处理结果说明

字符串,最大长度为200

5.2 医嘱执行状态信息查询服务(OrderInfoQuery)

角色和交易

角色交易图

医嘱执行状态信息查询服务的角色交易图如图3所示。

图3 医嘱执行状态信息查询服务角色交易图

角色的选择

医嘱执行状态信息查询服务的角色列表如表5所示

表5 医嘱执行状态信息查询服务角色列表

角色

交易

选择

医嘱执行状态信息使用者

医嘱执行状态信息查询

必选项(R)

医嘱执行状态信息查询服务

医嘱执行状态信息查询

必选项(R)

交易流程

医嘱执行状态信息查询服务的交易流程图如图4所示。

图4 医嘱执行状态信息查询服务交易流程图

医嘱执行状态信息查询服务的交易流程描述:

  1. 医嘱执行状态信息使用者向医嘱执行状态信息查询服务提交医嘱执行状态信息查询请求消息;

  2. 医嘱执行状态信息查询服务将查询结果返回给医嘱执行状态信息使用者。

接口规范模型

请求消息模型

医嘱执行状态信息查询服务的请求消息模型如表6所示。

表6 医嘱执行状态信息查询服务请求消息模型

节点

基数

可选项

节点说明

对应数据元标识符/格式要求

/id/@extension

1..1

R

消息ID

字符串,最大长度为50

/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/creationTime/@value

1..1

R

消息创建时间

日期时间格式,DT14

/controlActProcess/queryByParameter/queryByParameterPayload /statusCode/@code

1..1

R

固定值"new"

/controlActProcess/queryByParameter/queryByParameterPayload /actId/value/item/@extension

0..1

O

医嘱ID

字符串,最大长度为50

/controlActProcess/queryByParameter/queryByParameterPayload /actId/value/item/@root

0..1

O

固定值"2.16.156.10011.2.5.1.31"

/controlActProcess/queryByParameter/queryByParameterPayload /authorId/value/item/@extension

0..1

O

医嘱开立者ID

字符串,最大长度为50

/controlActProcess/queryByParameter/queryByParameterPayload /authorId/value/item/@root

0..1

O

固定值"2.16.156.10011.1.4"

/controlActProcess/queryByParameter/queryByParameterPayload /effectiveTime/value/low/@value

0..1

O

医嘱有效期间(开始时间)

日期时间格式,DT14

/controlActProcess/queryByParameter/queryByParameterPayload /effectiveTime/value/high/@value

0..1

O

医嘱有效期间(结束时间)

日期时间格式,DT14

/controlActProcess/queryByParameter/queryByParameterPayload /statusCodeParam/value/item/@code

0..1

O

医嘱状态固定值"active"

响应消息模型(成功)

医嘱执行状态信息查询服务的响应消息模型(成功)如表7所示。

表7 医嘱执行状态信息查询服务响应消息模型(成功)

节点

基数

可选项

节点说明

对应数据元标识符/格式要求

/id/@extension

1..1

R

消息ID

字符串,最大长度为50

/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/creationTime/@value

1..1

R

消息创建时间

日期时间格式,DT14

/acknowledgement/targetMessage/id/@extension

0..1

O

目标消息ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup /statusCode/@code

1..1

R

固定值"active"

/controlActProcess/subject/placerGroup/transcriber/time/any/@value

1..1

R

操作日期

日期时间格式,DT14

/controlActProcess/subject/placerGroup/transcriber/assignedEntity/id/item/@extension

1..1

R

操作人工号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/transcriber/assignedEntity/id/item/@root

1..1

R

固定值"2.16.156.10011.1.4"

/controlActProcess/subject/placerGroup/transcriber/assignedEntity/assignedPerson/name/item/part/@value

1..1

R

操作人姓名

DE02.01.039.00

/controlActProcess/subject/placerGroup/location/serviceDeliveryLocation/serviceProviderOrganization/id/item/@extension

1..1

R

"2.16.156.10011.1.26 "

DE08.10.025.00

/controlActProcess/subject/placerGroup/location/serviceDeliveryLocation/serviceProviderOrganization/id/item/@root

1..1

R

固定值"2.16.156.10011.1.26 "

/controlActProcess/subject/placerGroup/location/serviceDeliveryLocation/serviceProviderOrganization/name/item/part/@value

1..1

R

执行科室名称

DE08.10.026.00

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@extension

1..1

R

医嘱ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@root

1..1

R

固定值"2.16.156.10011.2.5.1.31"

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@extension

1..1

R

申请单号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@scope

1..1

R

固定值"BUSN"

/controlActProcess/subject/placerGroup/component2/observationRequest/id/item/@root

1..1

R

固定值" 2.16.156.10011.1.24"

/controlActProcess/subject/placerGroup/component2/observationRequest/code/@code

1..1

R

医嘱项目医嘱类型

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/code/@codeSystem

1..1

R

固定值"2.16.156.10011.2.3.1.268"

/controlActProcess/subject/placerGroup/component2/observationRequest/code/@codeSystemName

1..1

R

固定值"医嘱项目医嘱类型代码表(CV06.00.229)"

DE06.00.289.00

/controlActProcess/subject/placerGroup/component2/observationRequest/code/displayName/@value

1..1

R

医嘱项目医嘱类型代码对应的名称

字符串,最大长度为100

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/id/@extension

0..1

O

标本条码号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/id/@root

0..1

O

固定值"2.16.156.10011.1.14"

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/effectiveTime/any/@value

0..1

O

标本采集日期

日期时间格式,DT14

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/performer/assignedEntity/id/item/@extension

0..1

O

标本采集人工号

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/performer/assignedEntity/id/item/@root

0..1

O

固定值” 2.16.156.10011.1.4”

/controlActProcess/subject/placerGroup/component2/observationRequest/specimen/specimen/subjectOf1/specimenProcessStep/performer/assignedEntity/assignedPerson/name/item/part/@value

0..1

O

采集人姓名

DE02.01.039.00

/controlActProcess/subject/placerGroup/component2/observationRequest/reason/observation/value/@value

0..1

O

医嘱撤销原因描述

字符串,最大长度为100

/controlActProcess/subject/placerGroup/component2/observationRequest/component1/processStep/code/@code

1..1

R

医嘱执行状态编码

字符串,最大长度为50

/controlActProcess/subject/placerGroup/component2/observationRequest/component1/processStep/code/@codeSystem

1..1

R

固定值"2.16.156.10011.2.5.1.32"

/controlActProcess/subject/placerGroup/component2/observationRequest/component1/processStep/code/displayName/@value

1..1

R

医嘱执行状态描述

字符串,最大长度为100

/controlActProcess/subject/placerGroup/componentOf1/encounter/id/item/@extension

0..1

O

住院次数

DE02.10.090.00

/controlActProcess/subject/placerGroup/componentOf1/encounter/id/item/@root

0..1

O

固定值"2.16.156.10011.2.5.1.8"

/controlActProcess/subject/placerGroup/componentOf1/encounter/statusCode/@code

1..1

R

固定值"Active"

/controlActProcess/subject/placerGroup/componentOf1/encounter/subject/patient/@ classCode

1..1

R

固定值"PAT"

/controlActProcess/subject/placerGroup/componentOf1/encounter/subject/patient/id/@extension

0..1

O

域ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup/componentOf1/encounter/subject/patient/id/ @root

0..1

O

固定值"2.16.156.10011.2.5.1.5"

/controlActProcess/subject/placerGroup/componentOf1/encounter/subject/patient/id/@extension

0..1

R

患者ID

字符串,最大长度为50

/controlActProcess/subject/placerGroup/componentOf1/encounter/subject/patient/id/ @root

0..1

O

固定值"2.16.156.10011.2.5.1.4"

/controlActProcess/queryAck/queryResponseCode/@code

1..1

R

查询响应代码

字符串,最大长度为50

响应消息模型(异常)

医嘱执行状态信息查询服务的响应消息模型(异常)如表8所示。

表8 医嘱执行状态信息查询服务响应消息模型(异常)

节点

基数

可选项

节点说明

对应数据元标识符/格式要求

/id/@extension

1..1

R

消息ID

字符串,最大长度为50

/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/creationTime/@value

1..1

R

消息创建时间

日期时间格式,DT14

/acknowledgement/@typeCode

1..1

R

处理结果,固定值"AE"表示失败

/acknowledgement/targetMessage/id/@extension

1..1

R

请求消息ID

字符串,最大长度为50

/acknowledgement/targetMessage/id/@root

1..1

R

固定值"2.16.156.10011.2.5.1.1"

/acknowledgement/acknowledgementDetail/text/@value

1..1

R

处理结果说明

字符串,最大长度为200

/controlActProcess/queryAck/queryResponseCode/@code

0..1

O

查询响应代码

字符串,最大长度为50

5.3 检查状态信息更新服务(CheckStatusInfoUpdate)

角色和交易

角色交易图

检查状态信息更新服务的角色交易图如图5所示。

图5 检查状态信息更新服务角色交易图

角色的选择

检查状态信息更新服务的角色列表如表9所示

表9 检查状态信息更新服务角色列表

角色

交易

选择

检查状态信息源

检查状态信息更新

必选项(R)

检查状态信息更新服务

检查状态信息更新

必选项(R)

交易流程

检查状态信息更新服务的交易流程图如图6所示。

图6 检查状态信息更新服务交易流程图

检查状态信息更新服务的交易流程描述:

  1. 检查状态信息源向检查状态信息更新服务提交检查状态更新信息;

  2. 检查状态信息更新服务校验数据并进行存储。

接口规范模型

请求消息模型

检查状态信息更新服务的请求消息模型如表10所示。

表10 检查状态信息更新服务请求消息模型

响应消息模型(成功)

检查状态信息更新服务的响应消息模型(成功)如表11所示。

表11 检查状态信息更新服务响应消息模型(成功)

响应消息模型(异常)

检查状态信息更新服务的响应消息模型(异常)如表12所示。

表12 检查状态信息更新服务响应消息模型(异常)

5.4 检查状态信息查询服务(CheckStatusInfoQuery)

角色和交易

角色交易图

检查状态信息查询服务的角色交易图如图7所示。

图7 检查状态信息查询服务角色交易图

角色的选择

检查状态信息查询服务的角色列表如表13所示

表13 检查状态信息查询服务角色列表

角色

交易

选择

检查状态信息使用者

检查状态信息查询

必选项(R)

检查状态信息查询服务

检查状态信息查询

必选项(R)

交易流程

检查状态信息查询服务的交易流程图如图8所示。

图8 检查状态信息查询服务交易流程图

检查状态信息查询服务的交易流程描述:

  1. 检查状态信息使用者向检查状态信息查询服务提交检查状态信息查询请求消息;

  2. 检查状态信息查询服务将查询结果返回给检查状态信息使用者。

接口规范模型

请求消息模型

检查状态信息查询服务的请求消息模型如表14所示。

表14 检查状态信息查询服务请求消息模型

响应消息模型(成功)

检查状态信息查询服务的响应消息模型(成功)如表15所示。

表15 检查状态信息查询服务响应消息模型(成功)

响应消息模型(异常)

检查状态信息查询服务的响应消息模型(异常)如表16所示。

表16 检查状态信息查询服务响应消息模型(异常)

5.5 检验状态信息更新服务(ExamStatusInfoUpdate)

角色和交易

角色交易图

检验状态信息更新服务的角色交易图如图9所示。

图9 检验状态信息更新服务角色交易图

角色的选择

检验状态信息更新服务的角色列表如表17所示

表17 检验状态信息更新服务角色列表

角色

交易

选择

检验状态信息源

检验状态信息更新

必选项(R)

检验状态信息更新服务

检验状态信息更新

必选项(R)

交易流程

检验状态信息更新服务的交易流程图如图10所示。

图10 检验状态信息更新服务交易流程图

检验状态信息更新服务的交易流程描述:

  1. 检验状态信息源向检验状态信息更新服务提交检验状态更新信息;

  2. 检验状态信息更新服务校验数据并进行存储,数据更新成功时返回成功响应消息;

  3. 检验状态信息更新服务更新失败时返回异常响应消息。

接口规范模型

请求消息模型

检验状态信息更新服务的请求消息模型如表18所示。

表18 检验状态信息更新服务请求消息模型

响应消息模型(成功)

检验状态信息更新服务的响应消息模型(成功)如表19所示。

表19 检验状态信息更新服务响应消息模型(成功)

响应消息模型(异常)

检验状态信息更新服务的响应消息模型(异常)如表20所示。

表20 检验状态信息更新服务响应消息模型(异常)

5.6 检验状态信息查询服务(ExamStatusInfoQuery)

角色和交易

角色交易图

检验状态信息查询服务的角色交易图如图11所示。

图11 检验状态信息查询服务角色交易图

角色的选择

检验状态信息查询服务的角色列表如表21所示

表21 检验状态信息查询服务角色列表

角色

交易

选择

检验状态信息使用者

检验状态信息查询

必选项(R)

检验状态信息查询服务

检验状态信息查询

必选项(R)

交易流程

检验状态信息查询服务的交易流程图如图12所示。

图12 检验状态信息查询服务交易流程图

检验状态信息查询服务的交易流程描述:

  1. 检验状态信息使用者向检验状态信息查询服务提交检验状态信息查询请求消息;

  2. 检验状态信息查询服务查询检验状态信息成功时返回成功响应消息;

  3. 检验状态信息查询服务查询检验状态信息失败时返回异常响应消息。

接口规范模型

请求消息模型

检验状态信息查询服务的请求消息模型如表22所示。

表22 检验状态信息查询服务请求消息模型

响应消息模型(成功)

检验状态信息查询服务的响应消息模型(成功)如表23所示。

表23 检验状态信息查询服务响应消息模型(成功)

响应消息模型(异常)

检验状态信息查询服务的响应消息模型(异常)如表24所示。

表24 检验状态信息查询服务响应消息模型(异常)

5.7 手术排班信息新增服务(OperationScheduleInfoAdd)

角色和交易

角色交易图

手术排班信息新增服务的角色交易图如图13所示。

图13 手术排班信息新增服务角色交易图

角色的选择

手术排班信息新增服务的角色列表如表25所示

表25 手术排班信息新增服务角色列表

角色

交易

选择

手术排班信息源

手术排班信息新增

必选项(R)

手术排班信息新增服务

手术排班信息新增

必选项(R)

交易流程

手术排班信息新增服务的交易流程图如图14所示。

图14 手术排班信息新增服务交易流程图

手术排班信息新增服务的交易流程描述:

  1. 手术排班信息源向手术排班信息新增服务提交请求消息;

  2. 手术排班信息新增服务校验数据并进行存储。

接口规范模型

请求消息模型

手术排班信息新增服务的请求消息模型如表26所示。

表26 手术排班信息新增服务请求消息模型

响应消息模型(成功)

手术排班信息新增服务响应消息模型(成功)如表27所示。

表27 手术排班信息新增服务响应消息模型(成功)

响应消息模型(异常)

手术排班信息新增服务的响应消息模型(异常)如表28所示。

表28 手术排班信息新增服务响应消息模型(异常)

5.8 手术排班信息更新服务(OperationScheduleInfoUpdate)

角色和交易

角色交易图

手术排班信息更新服务的角色交易图如图15所示。

图15 手术排班信息更新服务角色交易图

角色的选择

手术排班信息更新服务的角色列表如表29所示

表19 手术排班信息更新服务角色列表

角色

交易

选择

手术排班信息源

手术排班信息更新

必选项(R)

手术排班信息更新服务

手术排班信息更新

必选项(R)

交易流程

手术排班信息更新服务的交易流程图如图16所示。

图16 手术排班信息更新服务流程图

手术排班信息更新服务的交易流程描述:

  1. 手术排班信息源向手术排班信息更新服务提交请求消息;

  2. 手术排班信息更新服务校验数据并进行更新存储。

接口规范模型

请求消息模型

手术排班信息更新服务的请求消息模型如表30所示。

表30 手术排班信息更新服务请求消息模型

响应消息模型(成功)

手术排班信息更新服务的响应消息模型(成功)如表31所示。

表31 手术排班信息更新服务响应消息模型(成功)

响应消息模型(异常)

手术排班信息更新服务的响应消息模型(异常)如表32所示。

表32 手术排班信息更新服务响应消息模型(异常)

5.9 手术排班信息查询服务(OperationScheduleInfoQuery)

角色和交易

角色交易图

手术排班信息查询服务的角色交易图如图17所示。

图17 手术排班信息查询服务角色交易图

角色的选择

手术排班信息查询服务的角色列表如表33所示

表33 手术排班信息查询服务角色列表

角色

交易

选择

手术排班信息使用者

手术排班信息查询

必选项(R)

手术排班信息查询服务

手术排班信息查询

必选项(R)

交易流程

手术排班信息查询服务的交易流程图如图18所示。

图18 手术排班信息查询服务交易流程图

手术排班信息查询服务的交易流程描述:

  1. 手术排班信息使用者向手术排班信息查询服务提交手术排班信息查询请求消息;

  2. 手术排班信息查询服务将查询结果返回给手术排班信息使用者。

接口规范模型

请求消息模型

手术排班信息查询服务的请求消息模型如表34所示。

表34 手术排班信息查询服务请求消息模型

响应消息模型(成功)

手术排班信息查询服务的响应消息模型(成功)如表35所示。

表35 手术排班信息查询服务响应消息模型(成功)

响应消息模型(异常)

手术排班信息查询服务的响应消息模型(异常)如表36所示。

表36 手术排班信息查询服务响应消息模型(异常)

5.10 手术状态信息更新服务(OperationStatusInfoUpdate)

角色和交易

角色交易图

手术状态信息更新服务的角色交易图如图19所示。

图19 手术状态信息更新服务角色交易图

角色的选择

手术状态信息更新服务的角色列表如表37所示

表37 手术状态信息更新服务角色列表

角色

交易

选择

手术状态信息源

手术状态信息更新

必选项(R)

手术状态信息更新服务

手术状态信息更新

必选项(R)

交易流程

手术状态信息更新服务的交易流程图如图20所示。

图20 手术状态信息更新服务交易流程图

手术状态信息更新服务的交易流程描述:

  1. 手术状态信息源向手术状态信息更新服务提交手术状态更新信息;

  2. 手术状态信息更新服务校验数据并进行更新存储。

接口规范模型

请求消息模型

手术状态信息更新服务的请求消息模型如表38所示。

表38 手术状态信息更新服务请求消息模型

响应消息模型(成功)

手术状态信息更新服务的响应消息模型(成功)如表39所示。

表39 手术状态信息更新服务响应消息模型(成功)

响应消息模型(异常)

手术状态信息更新服务的响应消息模型(异常)如表40所示。

表40 手术状态信息更新服务响应消息模型(异常)

5.11 手术状态信息查询服务(OperationStatusInfoQuery)

角色和交易

角色交易图

手术状态信息查询服务的角色交易图如图21所示。

图21 手术状态信息查询服务角色交易图

角色的选择

手术状态信息查询服务的角色列表如表41所示

表41 手术状态信息查询服务角色列表

角色

交易

选择

手术状态信息使用者

手术状态信息查询

必选项(R)

手术状态信息查询服务

手术状态信息查询

必选项(R)

交易流程

手术状态信息查询服务的交易流程图如图22所示。

图22 手术状态信息查询服务交易流程图

手术状态信息查询服务的交易流程描述:

  1. 手术状态信息使用者向手术状态信息查询服务提交手术状态信息查询请求消息;

  2. 手术状态信息查询服务将查询结果返回给手术状态信息使用者。

接口规范模型

请求消息模型

手术状态信息查询服务的请求消息模型如表42所示。

表42 手术状态信息查询服务请求消息模型

响应消息模型(成功)

手术状态信息查询服务的响应消息模型(成功)如表43所示。

表43 手术状态信息查询服务响应消息模型(成功)

响应消息模型(异常)

手术状态信息查询服务的响应消息模型(异常)如表44所示。

表44 手术状态信息查询服务响应消息模型(异常)

 

 

附录A(规范性附录) 消息示例

  1. 医嘱执行状态信息更新服务

    • 医嘱执行状态信息更新服务-请求消息

    <POOR_IN200901UV ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" urn:hl7-org:v3 ../multicacheschemas/POOR_IN200901UV.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    	<creationTime value="20070803130624"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="POOR_IN200901UV"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</sender>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ" xsi:nil="false">
    			<placerGroup>
    				<code/>
    				<!-- 检验申请单状态 必须项未使用 -->
    				<statusCode code="active"/>
    				<!-- 操作人 -->
    				<transcriber typeCode="TRANS">
    					<time>
    						<!-- 操作日期 -->
    						<any value="20110101"/>
    					</time>
    					<assignedEntity classCode="ASSIGNED">
    						<!-- 操作人编码 -->
    						<id>
    							<item extension="操作人编码" root="2.16.156.10011.1.4"/>
    						</id>
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<!-- 操作人姓名 必须项已使用 -->
    							<name xsi:type="BAG_EN">
    								<item use="ABC">
    									<part value="操作人姓名"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedEntity>
    				</transcriber>
    				<!--执行科室 -->
    				<location typeCode="LOC" xsi:nil="false">
    					<!--必须项未使用 -->
    					<time/>
    					<!--就诊机构/科室 -->
    					<serviceDeliveryLocation classCode="SDLOC">
    						<serviceProviderOrganization determinerCode="INSTANCE" classCode="ORG">
    							<!--执行科室编码 -->
    							<id>
    								<item extension="执行科室编码" root="2.16.156.10011.1.26"/>
    							</id>
    							<!--执行科室名称 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="执行科室名称"/>
    								</item>
    							</name>
    						</serviceProviderOrganization>
    					</serviceDeliveryLocation>
    				</location>
    				<!-- 医嘱状态信息 -->
    				<component2>
    					<observationRequest classCode="OBS">
    						<!-- 医嘱号/申请单号 必须项已使用 -->
    						<id>
    							<!-- 医嘱号 -->
    							<item root="2.16.156.10011.2.5.1.31" extension="医嘱号"/>
    							<!-- 申请单号 -->
    							<item extension="申请单号" scope="BUSN" root="2.16.156.10011.1.24"/>
    						</id>
    						<!-- 医嘱类别编码/医嘱类别名称 - 针剂药品, 材料类, 治疗类, 片剂药品, 化验类 -->
    						<code code="医嘱类别编码" codeSystem="2.16.156.10011.2.3.1.268">
    							<displayName value="片剂药品"/>
    						</code>
    						<!-- 必须项未使用 -->
    						<statusCode/>
    						<!-- 必须项未使用 -->
    						<effectiveTime xsi:type="IVL_TS"/>
    						<!-- 标本信息 -->
    						<specimen typeCode="SPC">
    							<specimen classCode="SPEC">
    								<!--标本条码号 必须项已使用 -->
    								<id root="2.16.156.10011.1.14" extension="标本条码号"/>
    								<!--必须项目未使用 -->
    								<code/>
    								<subjectOf1 typeCode="SBJ" contextControlCode="OP">
    									<specimenProcessStep moodCode="EVN" classCode="SPECCOLLECT">
    										<!-- 采集日期 -->
    										<effectiveTime xsi:type="IVL_TS">
    											<any value="20110101"/>
    										</effectiveTime>
    										<performer typeCode="PRF">
    											<assignedEntity classCode="ASSIGNED">
    												<!-- 采集人Id -->
    												<id>
    													<item extension="采集人Id" root="2.16.156.10011.1.4"/>
    												</id>
    												<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    													<!-- 采集人姓名 -->
    													<name xsi:type="BAG_EN">
    														<item>
    															<part value="采集人姓名 "/>
    														</item>
    													</name>
    												</assignedPerson>
    											</assignedEntity>
    										</performer>
    									</specimenProcessStep>
    								</subjectOf1>
    							</specimen>
    						</specimen>
    						<!-- 原因 -->
    						<reason contextConductionInd="true">
    							<observation moodCode="EVN" classCode="OBS">
    								<!-- 必须项 未使用-->
    								<code/>
    								<value xsi:type="ST" value="医嘱撤消原因"/>
    							</observation>
    						</reason>
    						<!-- 医嘱执行状态 -->
    						<component1 contextConductionInd="true">
    							<processStep classCode="PROC">
    								<code code="医嘱执行状态" codeSystem="2.16.156.10011.2.5.1.32">
    									<!--医嘱执行状态名称 -->
    									<displayName value="医嘱执行状态名称"/>
    								</code>
    							</processStep>
    						</component1>
    					</observationRequest>
    				</component2>
    				<!--就诊 -->
    				<componentOf1 contextConductionInd="false" xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    <id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="就诊次数" root="2.16.156.10011.2.5.1.8"/>
    						</id>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    							<!-- 患者信息 -->
    				     <subject typeCode="SBJ">
    					    <patient classCode="PAT">
    						  <id>
    							<!--域ID -->
    							<item root="2.16.156.10011.2.5.1.5" extension="域ID"/>
    							<!-- 患者ID -->
    							<item root="2.16.156.10011.2.5.1.4" extension="患者ID"/>
    						</id>
    					</patient>
    				</subject>
    					</encounter>
    				</componentOf1>
    			</placerGroup>
    		</subject>
    	</controlActProcess>
    </POOR_IN200901UV>
    • 医嘱执行状态信息更新服务--响应消息(成功)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
    • 医嘱执行状态信息更新服务--响应消息(异常)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AE">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    

  2. 医嘱执行状态信息查询服务

    • 医嘱执行状态信息查询服务-请求消息

    <QUMT_IN020030UV01 xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/ QUMT_IN020030UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="11"/>
    	<creationTime value="20130421102000"/>
    	<interactionId extension="QUMT_IN020030UV01" root="2.16.156.10011.2.5.1.2"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</sender>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryByParameter>
    			<statusCode code="new"/>
    			<queryByParameterPayload>
    				<statusCode code="new"/>
    				<!--医嘱ID-->
    				<actId>
    					<value>
    						<item root="2.16.156.10011.2.5.1.31" extension="OBS001"/>
    					</value>
    					<semanticsText value="Act"/>
    				</actId>
    				<!--医嘱开立者ID(医务人员ID)-->
    				<authorId>
    					<value>
    						<item root="2.16.156.10011.1.4" extension="232992"/>
    					</value>
    					<semanticsText value="author.Entity.ID"/>
    				</authorId>
    				<!--医嘱有效期间-->
    				<effectiveTime>
    					<value>
    						<low value="20130421102000"/>
    						<high value="20130421103000"/>
    					</value>
    					<semanticsText value="EffectiveTime"/>
    				</effectiveTime>
    				<!--患者ID-->
    				<patientId>
    					<value>
    						<item root="2.16.156.10011.2.5.1.4" extension="M000325018"/>
    					</value>
    					<semanticsText value="recordTarget.Patient.ID"/>
    				</patientId>
    				<!--医嘱状态-->
    				<statusCodeParam>
    					<value>
    						<item code="active"/>
    					</value>
    					<semanticsText value="StatusCode"/>
    				</statusCodeParam>
    			</queryByParameterPayload>
    		</queryByParameter>
    	</controlActProcess>
    </QUMT_IN020030UV01>
    
    • 医嘱执行状态信息查询服务--响应消息(成功)

    <QUMT_IN020040UV01 xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0" xsi:schemaLocation=" urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="11"/>
    	<creationTime value="20130116112855"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="11"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ">
    			<placerGroup>
    				<code/>
    				<!--医嘱执行状态 必须项未使用 -->
    				<statusCode code="active"/>
    				<!-- 操作人 -->
    				<transcriber typeCode="TRANS">
    					<time>
    						<!-- 操作日期 -->
    						<any value="20110101120000"/>
    					</time>
    					<assignedEntity classCode="ASSIGNED">
    						<!-- 操作人编码 -->
    						<id>
    							<item extension="操作人编码" root="2.16.156.10011.1.4"/>
    						</id>
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<!-- 操作人姓名 必须项已使用 -->
    							<name xsi:type="BAG_EN">
    								<item use="ABC">
    									<part value="操作人姓名"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedEntity>
    				</transcriber>
    				<!--执行科室 -->
    				<location typeCode="LOC" xsi:nil="false">
    					<!--必须项未使用 -->
    					<time/>
    					<!--就诊机构/科室 -->
    					<serviceDeliveryLocation classCode="SDLOC">
    						<serviceProviderOrganization determinerCode="INSTANCE" classCode="ORG">
    							<!--执行科室编码 -->
    							<id>
    								<item extension="执行科室编码" root="2.16.156.10011.1.26"/>
    							</id>
    							<!--执行科室名称 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="执行科室名称"/>
    								</item>
    							</name>
    						</serviceProviderOrganization>
    					</serviceDeliveryLocation>
    				</location>
    				<!-- 医嘱状态信息 -->
    				<component2>
    					<observationRequest classCode="OBS">
    						<!-- 医嘱号/申请单号 必须项已使用 -->
    						<id>
    							<!-- 医嘱号 -->
    							<item root="2.16.156.10011.2.5.1.31" extension="医嘱号"/>
    							<!-- 申请单号 -->
    							<item extension="申请单号" scope="BUSN" root="2.16.156.10011.1.24"/>
    						</id>
    						<!-- 医嘱类别编码/医嘱类别名称 - 针剂药品, 材料类, 治疗类, 片剂药品, 化验类 -->
    						<code code="01" codeSystem="2.16.156.10011.2.3.1.268" codeSystemName="医嘱项目类型代码表">
    							<displayName value="药品类医嘱"/>
    						</code>
    						<!-- 必须项未使用 -->
    						<statusCode/>
    						<!-- 必须项未使用 -->
    						<effectiveTime xsi:type="IVL_TS"/>
    						<!-- 标本信息 -->
    						<specimen typeCode="SPC">
    							<specimen classCode="SPEC">
    								<!--标本条码号 必须项已使用 -->
    								<id root="2.16.156.10011.1.14" extension="标本条码号"/>
    								<!--必须项目未使用 -->
    								<code/>
    								<subjectOf1 typeCode="SBJ" contextControlCode="OP">
    									<specimenProcessStep moodCode="EVN" classCode="SPECCOLLECT">
    										<!-- 采集日期 -->
    										<effectiveTime xsi:type="IVL_TS">
    											<any value="20110101100000"/>
    										</effectiveTime>
    										<performer typeCode="PRF">
    											<assignedEntity classCode="ASSIGNED">
    												<!-- 采集人Id -->
    												<id>
    													<item extension="采集人Id" root="2.16.156.10011.1.4"/>
    												</id>
    												<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    													<!-- 采集人姓名 -->
    													<name xsi:type="BAG_EN">
    														<item>
    															<part value="采集人姓名 "/>
    														</item>
    													</name>
    												</assignedPerson>
    											</assignedEntity>
    										</performer>
    									</specimenProcessStep>
    								</subjectOf1>
    							</specimen>
    						</specimen>
    						<!-- 原因 -->
    						<reason contextConductionInd="true">
    							<observation moodCode="EVN" classCode="OBS">
    								<!-- 必须项 未使用-->
    								<code/>
    								<value xsi:type="ST" value="医嘱撤消原因"/>
    							</observation>
    						</reason>
    						<!-- 医嘱执行状态 -->
    						<component1 contextConductionInd="true">
    							<processStep classCode="PROC">
    								<code code="医嘱执行状态" codeSystem="2.16.156.10011.2.5.1.32">
    									<!--医嘱执行状态名称 -->
    									<displayName value="医嘱执行状态名称"/>
    								</code>
    							</processStep>
    						</component1>
    					</observationRequest>
    				</component2>
    				<!--就诊 -->
    				<componentOf1 contextConductionInd="false" xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    <id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="1" root="2.16.156.10011.2.5.1.8"/>
    						</id>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    					<!-- 患者信息 -->
    				    <subject typeCode="SBJ">
    				  	     <patient classCode="PAT">
    						  <id>
    							 <!--域ID -->
    							 <item root="2.16.156.10011.2.5.1.5" extension="域ID"/>
    							 <!-- 患者ID -->
    							 <item root="2.16.156.10011.2.5.1.4" extension="患者ID"/>
    						 </id>
    				     	</patient>
    				    </subject>
    					</encounter>
    				</componentOf1>
    			</placerGroup>
    		</subject>
    		<queryAck>
    			<queryResponseCode code="OK"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
    • 医嘱执行状态信息查询服务--响应消息(异常)

    <QUMT_IN020040UV01 xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="11"/>
    	<creationTime value="20130421102000"/>
    	<interactionId extension="QUMT_IN020040UV01" root="2.16.156.10011.2.5.1.2"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<telecom/>
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="11"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AE">
    		<targetMessage>
    			<!--请求消息ID-->
    			<id root="2.16.156.10011.2.5.1.1" extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<!--处理结果说明-->
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryAck>
    			<queryResponseCode code="err"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
  3. 检查状态信息更新服务

    • 检查状态信息更新服务-请求消息

    <POOR_IN200902UV ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/POOR_IN200902UV.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="POOR_IN200902UV"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!-- 封装的消息内容(按Excel填写) -->
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ" xsi:nil="false">
    			<placerGroup>
    				<!-- 1..n可循环  检查状态信息 -->
    				<component2>
    					<observationRequest classCode="OBS">
    						<!-- 必须项已使用 -->
    						<id>
    							<!-- 申请单号 -->
    							<item extension="10001342" root="2.16.156.10011.1.24"/>
    						</id>
    						<!-- 必须项未使用 -->
    						<code/>
    						<!-- 必须项未使用 -->
    						<statusCode/>
    						<!-- 必须项未使用 -->
    						<effectiveTime xsi:type="IVL_TS"/>
    						<!-- 操作人 -->
    						<performer typeCode="PRF">
    							<time>
    								<!-- 操作日期 -->
    								<low value="201203040550"/>
    							</time>
    							<assignedEntity classCode="ASSIGNED">
    								<!-- 操作人工号 -->
    								<id>
    									<item extension="01003" root="2.16.156.10011.1.4"/>
    								</id>
    								<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    									<!-- 操作人姓名 必须项已使用 -->
    									<name xsi:type="BAG_EN">
    										<item>
    											<part value="积显"/>
    										</item>
    									</name>
    								</assignedPerson>
    							</assignedEntity>
    						</performer>
    						<!--执行科室 -->
    						<location typeCode="LOC" xsi:nil="false">
    							<!--必须项未使用 -->
    							<time/>
    							<!--就诊机构/科室 -->
    							<serviceDeliveryLocation classCode="SDLOC">
    								<serviceProviderOrganization determinerCode="INSTANCE" classCode="ORG">
    									<!--执行科室编码 -->
    									<id>
    										<item extension="1010700" root="2.16.156.10011.1.26"/>
    									</id>
    									<!--执行科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item>
    											<part value="检验室"/>
    										</item>
    									</name>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    						<!-- 检查状态 -->
    						<component1 contextConductionInd="true">
    							<processStep classCode="PROC">
    								<code code="01" codeSystem="2.16.156.10011. 2.5.1.12">
    									<!--检查状态名称 -->
    									<displayName value="登记"/>
    								</code>
    							</processStep>
    						</component1>
    					</observationRequest>
    				</component2>
    				<!--就诊 -->
    				<componentOf1 contextConductionInd="false" xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    						<id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="12" root="2.16.156.10011.2.5.1.8"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<!--就诊类别编码-->
    						<code codeSystem="2.16.156.10011.2.3.1.271" code="01">
    							<!-- 就诊类别名称 -->
    							<displayName value="门诊/住院/体检"/>
    						</code>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    						<subject typeCode="SBJ">
    							<patient classCode="PAT">
    								<id>
    									<!--域ID -->
    									<item root="2.16.156.10011.2.5.1.5" extension="24355455"/>
    									<!-- 患者ID -->
    									<item root="2.16.156.10011.2.5.1.4" extension="001407878200"/>
    									<!-- 门诊号 -->
    									<item root="2.16.156.10011.1.11" extension="0910238"/>
    									<!-- 住院号 -->
    									<item root="2.16.156.10011.1.12" extension="0910238"/>
    								</id>
    								<patientPerson classCode="PSN" determinerCode="INSTANCE" xsi:nil="false">
    									<!-- 患者姓名 -->
    									<name xsi:type="DSET_EN">
    										<item>
    											<part value="张三"/>
    										</item>
    									</name>
    								</patientPerson>
    							</patient>
    						</subject>
    						<!--住院位置-->
    						<location typeCode="LOC">
    							<time/>
    							<serviceDeliveryLocation classCode="SDLOC">
    								<location classCode="PLC" determinerCode="INSTANCE">
    									<!--DE01.00.026.00	病床编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 病床号 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="201"/>
    										</item>
    									</name>
    									<asLocatedEntityPartOf classCode="LOCE">
    										<location classCode="PLC" determinerCode="INSTANCE">
    											<!--DE01.00.019.00	病房编码 -->
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病房号 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="201"/>
    												</item>
    											</name>
    										</location>
    									</asLocatedEntityPartOf>
    								</location>
    								<serviceProviderOrganization classCode="ORG" determinerCode="INSTANCE">
    									<!--DE08.10.026.00	科室编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="呼吸内科"/>
    										</item>
    									</name>
    									<asOrganizationPartOf classCode="PART">
    										<!-- DE08.10.054.00	病区编码 -->
    										<wholeOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病区名称 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="1病区 "/>
    												</item>
    											</name>
    										</wholeOrganization>
    									</asOrganizationPartOf>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    					</encounter>
    				</componentOf1>
    			</placerGroup>
    		</subject>
    	</controlActProcess>
    </POOR_IN200902UV>
    
    • 检查状态信息更新服务-响应消息(成功)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
    • 检查状态信息更新服务-响应消息(异常)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AE">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
  4. 检查状态信息查询服务

    • 检查状态信息查询服务-请求消息

    <QUMT_IN020030UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020030UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020030UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!-- 封装的消息内容(按Excel填写) -->
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryByParameter>
    			<statusCode code="new"/>
    			<queryByParameterPayload>
    				<statusCode code="new"/>
    				<!--申请单ID-->
    				<actId>
    					<value>
    						<!--申请单号 -->
    						<item extension="100023925522" root="2.16.156.10011.1.24"/>
    					</value>
    					<semanticsText value="Act.ID"/>
    				</actId>
    				<!-- 医嘱操作人ID(医务人员ID)-->
    				<authorId>
    					<value>
    						<item extension="100023925522" root="2.16.156.10011.1.4"/>
    					</value>
    					<semanticsText value="author.Entity.ID"/>
    				</authorId>
    				<!-- 操作日期 -->
    				<effectiveTime>
    					<value>
    						<low value="20130303040404"/>
    						<high value="20130303050505"/>
    					</value>
    					<semanticsText value="EffectiveTime"/>
    				</effectiveTime>
    				<!--患者ID-->
    				<patientId>
    					<value>
    						<item extension="12345678901w" root="2.16.156.10011.2.5.1.4"/>
    					</value>
    					<semanticsText value="recordTarget.Patient.ID"/>
    				</patientId>
    			</queryByParameterPayload>
    		</queryByParameter>
    	</controlActProcess>
    </QUMT_IN020030UV01>
    
    • 检查状态信息查询服务-响应消息(成功)

    <QUMT_IN020040UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AA">
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="1ee83ff1-08ab-4fe7-b573-ea777e9bad51"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<!-- 可返回多个检查的最新状态,多个循环subject -->
    		<subject typeCode="SUBJ">
    			<actGenericStatus classCode="CACT" moodCode="RQO">
    				<id>
    					<!-- 申请单号 -->
    					<item extension="10001342" root="2.16.156.10011.1.24"/>
    				</id>
    				<!-- 检查状态 -->
    				<statusCode code="到检"/>
    				<authorOrPerformer typeCode="PRF">
    					<time>
    						<!-- 操作日期 -->
    						<any value="20120304055055"/>
    					</time>
    					<assignedEntity classCode="ASSIGNED">
    						<!-- 操作人工号 -->
    						<id>
    							<item extension="01003" root="2.16.156.10011.1.4"/>
    						</id>
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<!-- 操作人姓名 必须项已使用 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="积显"/>
    								</item>
    							</name>
    						</assignedPerson>
    						<!-- 操作科室 -->
    						<representedOrganization classCode="ORG" determinerCode="INSTANCE">
    							<!--DE08.10.026.00	科室名称-->
    							<id>
    								<item root="2.16.156.10011.1.26" extension="001"/>
    							</id>
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="呼吸内科"/>
    								</item>
    							</name>
    						</representedOrganization>
    					</assignedEntity>
    				</authorOrPerformer>
    				<!--就诊 -->
    				<componentOf xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    						<id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="12" root="2.16.156.10011.2.5.1.8"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<!--就诊类别编码-->
    						<code code="3" codeSystem="2.16.156.10011.2.3.1.271" codeSystemName="患者类型代码表">
    							<displayName value="住院"/>
    						</code>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    						<subject typeCode="SBJ">
    							<patient classCode="PAT">
    								<id>
    									<!--域ID -->
    									<item root="2.16.156.10011.2.5.1.5" extension="24355455"/>
    									<!-- 患者ID -->
    									<item root="2.16.156.10011.2.5.1.4" extension="001407878200"/>
    									<!-- 门诊号 -->
    									<item root="2.16.156.10011.1.11" extension="0910238"/>
    									<!-- 住院号 -->
    									<item root="2.16.156.10011.1.12" extension="0910238"/>
    								</id>
    								<patientPerson classCode="PSN" determinerCode="INSTANCE" xsi:nil="false">
    									<!-- 患者姓名 -->
    									<name xsi:type="DSET_EN">
    										<item>
    											<part value="张三"/>
    										</item>
    									</name>
    								</patientPerson>
    							</patient>
    						</subject>
    						<!--住院位置-->
    						<location typeCode="LOC">
    							<time/>
    							<serviceDeliveryLocation classCode="SDLOC">
    								<location classCode="PLC" determinerCode="INSTANCE">
    									<!--DE01.00.026.00	病床编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 病床号 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="201"/>
    										</item>
    									</name>
    									<asLocatedEntityPartOf classCode="LOCE">
    										<location classCode="PLC" determinerCode="INSTANCE">
    											<!--DE01.00.019.00	病房编码 -->
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病房号 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="201"/>
    												</item>
    											</name>
    										</location>
    									</asLocatedEntityPartOf>
    								</location>
    								<serviceProviderOrganization classCode="ORG" determinerCode="INSTANCE">
    									<!--DE08.10.026.00	科室编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="呼吸内科"/>
    										</item>
    									</name>
    									<asOrganizationPartOf classCode="PART">
    										<!-- DE08.10.054.00	病区编码 -->
    										<wholeOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病区名称 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="1病区 "/>
    												</item>
    											</name>
    										</wholeOrganization>
    									</asOrganizationPartOf>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    					</encounter>
    				</componentOf>
    			</actGenericStatus>
    		</subject>
    		<queryAck>
    			<queryId extension="18204"/>
    			<queryResponseCode code="ok"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
    • 检查状态信息查询服务-响应消息(异常)

    <QUMT_IN020040UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3"	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"	xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004" />
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000" />
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01" />
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P" />
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL" />
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.0.1.1" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AE">
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="1ee83ff1-08ab-4fe7-b573-ea777e9bad51"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="APT">
    		<queryAck>
    			<queryResponseCode></queryResponseCode>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
  5. 检验状态信息更新服务

    • 检验状态信息更新服务-请求消息

    <POLB_IN224000UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/POLB_IN224000UV01.xsd">
    	<!--消息流水号-->
    	<id root="2.16.156.10011.2.5.1.1" extension="@消息GUID"/>
    	<!--消息创建时间 -->
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="POLB_IN224000UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</sender>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ" contextConductionInd="false">
    			<observationReport classCode="GROUPER" moodCode="EVN">
    				<id>
    					<!--电子申请单编号-->
    					<item root="2.16.156.10011.1.24" extension="@8741795311"/>
    				</id>
    				<code/>
    				<!--申请单描述-->
    				<text value="申请单描述"/>
    				<!--申请单状态-->
    				<statusCode code="active"/>
    				<!--优先级别-->
    				<priorityCode/>
    				<specimen typeCode="SPC" contextControlCode="OP">
    					<specimen classCode="SPEC">
    						<!--标本ID/或者条码ID-->
    						<id root="2.16.156.10011.1.14" extension="@8741795311"/>
    						<!--标本类别代码-->
    						<code code="1">
    							<displayName value="标本类别名称"/>
    						</code>
    						<subjectOf1 typeCode="SBJ">
    							<specimenProcessStep classCode="PROC" moodCode="EVN">
    								<!--检验操作-->
    								<verifier typeCode="AUTHEN">
    									<!--操作日期时间-->
    									<time xsi:type="TS" value="20170102070000"/>
    									<!--操作代码和名称:标本采集、标本接收、报告已打印、报告已删除-->
    									<modeCode code="标本拒收代码">
    										<displayName value="标本拒收"/>
    										<originalText value="拒收原因描述"/>
    									</modeCode>
    									<assignedEntity classCode="ASSIGNED">
    										<!--操作者代码-->
    										<id>
    											<item root="2.16.156.10011.1.4" extension="@员工号"/>
    										</id>
    										<assignedPerson classCode="PSN" determinerCode="INSTANCE">
    											<!--操作者姓名-->
    											<name xsi:type="BAG_EN">
    												<item>
    													<part value="李护士"/>
    												</item>
    											</name>
    										</assignedPerson>
    										<!--操作科室-->
    										<representedOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item root="2.16.156.10011.1.26" extension="科室ID"/>
    											</id>
    											<name xsi:type="BAG_EN">
    												<item>
    													<part value="检验科科"/>
    												</item>
    											</name>
    										</representedOrganization>
    									</assignedEntity>
    								</verifier>
    							</specimenProcessStep>
    						</subjectOf1>
    					</specimen>
    				</specimen>
    				<!--就诊 -->
    				<componentOf   xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    						<id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="12" root="2.16.156.10011.2.5.1.8"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<!--就诊类别编码-->
    						<code codeSystem="2.16.156.10011.2.3.1.271" code="01">
    							<!-- 就诊类别名称 -->
    							<displayName value="门诊/住院/体检"/>
    						</code>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    						<subject typeCode="SBJ">
    							<patient classCode="PAT">
    								<id>
    									<!--域ID -->
    									<item root="2.16.156.10011.2.5.1.5" extension="24355455"/>
    									<!-- 患者ID -->
    									<item root="2.16.156.10011.2.5.1.4" extension="001407878200"/>
    									<!-- 门诊号 -->
    									<item root="2.16.156.10011.1.11" extension="0910238"/>
    									<!-- 住院号 -->
    									<item root="2.16.156.10011.1.12" extension="0910238"/>
    								</id>
    								<patientPerson classCode="PSN" determinerCode="INSTANCE" xsi:nil="false">
    									<!-- 患者姓名 -->
    									<name xsi:type="DSET_EN">
    										<item>
    											<part value="张三"/>
    										</item>
    									</name>
    								</patientPerson>
    							</patient>
    						</subject>
    						<!--住院位置-->
    						<location typeCode="LOC">
    							<time/>
    							<serviceDeliveryLocation classCode="SDLOC">
    								<location classCode="PLC" determinerCode="INSTANCE">
    									<!--DE01.00.026.00	病床编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 病床号 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="201"/>
    										</item>
    									</name>
    									<asLocatedEntityPartOf classCode="LOCE">
    										<location classCode="PLC" determinerCode="INSTANCE">
    											<!--DE01.00.019.00	病房编码 -->
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病房号 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="201"/>
    												</item>
    											</name>
    										</location>
    									</asLocatedEntityPartOf>
    								</location>
    								<serviceProviderOrganization classCode="ORG" determinerCode="INSTANCE">
    									<!--DE08.10.026.00	科室编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="呼吸内科"/>
    										</item>
    									</name>
    									<asOrganizationPartOf classCode="PART">
    										<!-- DE08.10.054.00	病区编码 -->
    										<wholeOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病区名称 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="1病区 "/>
    												</item>
    											</name>
    										</wholeOrganization>
    									</asOrganizationPartOf>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    					</encounter>
    				</componentOf>
    			</observationReport>
    		</subject>
    	</controlActProcess>
    </POLB_IN224000UV01>
    
    • 检验状态信息更新服务-响应消息(成功)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
    • 检验状态信息更新服务-响应消息(异常)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AE">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
  6. 检验状态信息查询服务

    • 检验状态信息查询服务-请求消息

    <QUMT_IN020030UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020030UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryByParameter>
    			<statusCode code="new"/>
    			<queryByParameterPayload>
    				<statusCode code="new"/>
    				<actId>
    					<value>
    						<!--申请单ID-->
    						<item root="2.16.156.10011.1.24" extension="87417955"/>
    						<!--住院号-->
    						<item root="2.16.156.10011.1.12" extension="11"/>
    						<!--门诊号-->
    						<item root="2.16.156.10011.1.11" extension="门急诊号"/>
    						<!--标本ID/或者称条码ID-->
    						<item root="2.16.156.10011.1.14" extension="@8741795311"/>
    					</value>
    				</actId>
    				<!--申请单有效期间-->
    				<effectiveTime>
    					<value xsi:type="IVL_TS">
    						<low value="20170115160055"/>
    						<high value="20170116160055"/>
    					</value>
    				</effectiveTime>
    				<!--患者标识符 根据root的OID值区分是门诊号、住院号、患者ID-->
    				<patientId>
    					<value>
    						<!-- 身份证号 -->
    						<item extension="110938197803030456" root="2.16.156.10011.1.3"/>
    						<!-- 医保卡号 -->
    						<item extension="191284777494877" root="2.16.156.10011.1.15"/>
    						<!-- 患者ID -->
    						<item root="2.16.156.10011.2.5.1.4" extension="09102312"/>
    					</value>
    				</patientId>
    				<!--申请单状态 状态码可扩展-->
    				<statusCodeParam>
    					<value>
    						<item code="active"/>
    					</value>
    				</statusCodeParam>
    			</queryByParameterPayload>
    		</queryByParameter>
    	</controlActProcess>
    </QUMT_IN020030UV01>
    
    • 检验状态信息查询服务-响应消息(成功)

    <QUMT_IN020040UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="@请求的消息ID"/>
    		</targetMessage>
    		<!--查询响应消息-->
    		<acknowledgementDetail typeCode="I">
    			<text>
    				<description value="@消息处理成功"/>
    			</text>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="ACTN" moodCode="EVN">
    		<subject typeCode="SUBJ">
    			<actGenericStatus classCode="" moodCode="RQO">
    				<!--申请单号-->
    				<id>
    					<item root="2.16.156.10011.1.24" extension="@2222"/>
    				</id>
    				<!--申请单状态-->
    				<statusCode code="active"/>
    				<!--操作执行信息-->
    				<authorOrPerformer typeCode="PRF">
    					<!--操作时间-->
    					<time xsi:type="IVL_TS">
    						<low value="20170203120001"/>
    					</time>
    					<assignedEntity classCode="ASSIGNED">
    						<!--操作者ID-->
    						<id>
    							<item root="2.16.156.10011.1.4" extension="@操作者工号"/>
    						</id>
    						<assignedPerson classCode="PSN" determinerCode="INSTANCE">
    							<!--操作者姓名-->
    							<name xsi:type="LIST_EN">
    								<item xsi:type="EN">
    									<part value="@操作者姓名"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedEntity>
    				</authorOrPerformer>
    				<!--就诊 -->
    				<componentOf xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    						<id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="12" root="2.16.156.10011.2.5.1.8"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<!--就诊类别编码-->
    						<code codeSystem="2.16.156.10011.2.3.1.271" code="1" codeSystemName="患者类型代码表">
    							<!-- 就诊类别名称 -->
    							<displayName value="门诊"/>
    						</code>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    						<subject typeCode="SBJ">
    							<patient classCode="PAT">
    								<id>
    									<!--域ID -->
    									<item root="2.16.156.10011.2.5.1.5" extension="24355455"/>
    									<!-- 患者ID -->
    									<item root="2.16.156.10011.2.5.1.4" extension="001407878200"/>
    									<!-- 门诊号 -->
    									<item root="2.16.156.10011.1.11" extension="0910238"/>
    									<!-- 住院号 -->
    									<item root="2.16.156.10011.1.12" extension="0910238"/>
    								</id>
    								<patientPerson classCode="PSN" determinerCode="INSTANCE" xsi:nil="false">
    									<!-- 患者姓名 -->
    									<name xsi:type="DSET_EN">
    										<item>
    											<part value="张三"/>
    										</item>
    									</name>
    								</patientPerson>
    							</patient>
    						</subject>
    						<!--住院位置-->
    						<location typeCode="LOC">
    							<time/>
    							<serviceDeliveryLocation classCode="SDLOC">
    								<location classCode="PLC" determinerCode="INSTANCE">
    									<!--DE01.00.026.00	病床编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 病床号 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="201"/>
    										</item>
    									</name>
    									<asLocatedEntityPartOf classCode="LOCE">
    										<location classCode="PLC" determinerCode="INSTANCE">
    											<!--DE01.00.019.00	病房编码 -->
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病房号 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="201"/>
    												</item>
    											</name>
    										</location>
    									</asLocatedEntityPartOf>
    								</location>
    								<serviceProviderOrganization classCode="ORG" determinerCode="INSTANCE">
    									<!--DE08.10.026.00	科室编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="呼吸内科"/>
    										</item>
    									</name>
    									<asOrganizationPartOf classCode="PART">
    										<!-- DE08.10.054.00	病区编码 -->
    										<wholeOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病区名称 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="1病区 "/>
    												</item>
    											</name>
    										</wholeOrganization>
    									</asOrganizationPartOf>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    					</encounter>
    				</componentOf>
    			</actGenericStatus>
    		</subject>
    		<queryAck>
    			<queryId extension="@2222"/>
    			<queryResponseCode code="OK"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
    • 检验状态信息查询服务-响应消息(异常)

    <QUMT_IN020040UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AE">
    		<targetMessage>
    			<!--请求消息ID-->
    			<id root="2.16.156.10011.2.5.1.1" extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<!--处理结果说明-->
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryAck>
    			<queryResponseCode code="err"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
  7. 手术排班信息新增服务

    • 手术排班信息新增服务-请求消息

    <PRSC_IN010101UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/PRSC_IN010101UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRSC_IN010101UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!-- 封装的消息内容(按Excel填写) -->
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ" xsi:nil="false">
    			<actAppointment classCode="ACT" moodCode="APT " xsi:nil="false">
    				<!-- 手术排班号 -->
    				<id root="2.16.156.10011.2.5.1.33" extension="5124567"/>
    				<effectiveTime xsi:type="IVL_TS">
    					<originalText xsi:type="ED" value="am"/>
    					<!-- 预约手术时间  -->
    					<low value="201205060900"/>
    					<!-- 预计手术时长 -->
    					<width xsi:type="PQ" unit="分" value="60"/>
    				</effectiveTime>
    				<!--患者信息  -->
    				<subject typeCode="SBJ">
    					<patient classCode="PAT">
    						<!--患者ID -->
    						<id>
    							<!-- 域ID -->
    							<item root="2.16.156.10011.2.5.1.5" extension="01"/>
    							<!--门(急)诊号标识 -->
    							<item root="2.16.156.10011.1.11" extension="E10000000"/>
    							<!--住院号标识-->
    							<item root="2.16.156.10011.1.12" extension="HA201102113366666"/>
    							<!--患者ID标识-->
    							<item root="2.16.156.10011.2.5.1.4" extension="HA201102113366666"/>
    							<!-- 就诊次数 -->
    							<item root="2.16.156.10011.2.5.1.8" extension="12"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<patientPerson>
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="李四"/>
    								</item>
    							</name>
    						</patientPerson>
    					</patient>
    				</subject>
    				<!--预约设备  -->
    				<reusableDevice typeCode="RDV" xsi:nil="false">
    					<manufacturedDevice classCode="MANU ">
    						<manufacturedDevice classCode="DEV " determinerCode="INSTANCE ">
    							<!-- 预约设备编码 -->
    							<id extension="0001"/>
    							<!-- 预约设备名称 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="发射单光子计算机断层扫描仪"/>
    								</item>
    							</name>
    						</manufacturedDevice>
    					</manufacturedDevice>
    				</reusableDevice>
    				<performer typeCode="PRF " xsi:nil="false ">
    					<assignedPerson classCode="ASSIGNED">
    						<!--主刀医生工号 -->
    						<id>
    							<item extension="0293875" root="2.16.156.10011.1.4"/>
    						</id>
    						<code>
    							<displayName value="主刀医生"/>
    						</code>
    						<!--主刀医生姓名-->
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="张三"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedPerson>
    				</performer>
    				<!--可以有多个手术助手-->
    				<performer typeCode="PRF " xsi:nil="false ">
    					<assignedPerson classCode="ASSIGNED">
    						<!--手术助手工号 -->
    						<id>
    							<item extension="0293875" root="2.16.156.10011.1.4"/>
    						</id>
    						<code>
    							<displayName value="手术助手"/>
    						</code>
    						<!--手术助手姓名-->
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="张三"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedPerson>
    				</performer>
    				<!--执行科室  -->
    				<location typeCode="LOC " xsi:nil="false">
    					<serviceDeliveryLocation classCode="SDLOC ">
    						<!--执行科室编码 -->
    						<id>
    							<item extension="23048575" root="2.16.156.10011.1.26"/>
    						</id>
    						<!--执行科室名称 -->
    						<addr xsi:type="BAG_AD">
    							<item>
    								<part value="检验科"/>
    							</item>
    						</addr>
    						<location classCode="PLC" determinerCode="INSTANCE">
    							<name xsi:type="BAG_EN">
    								<item>
    									<!--手术间-->
    									<part value="6号手术间"/>
    								</item>
    							</name>
    						</location>
    					</serviceDeliveryLocation>
    				</location>
    				<!--手术申请单编号 -->
    				<referencedOrder typeCode="OREF" xsi:nil="false">
    					<actOrder classCode="ACT" moodCode="RQO">
    						<!--手术申请单号 -->
    						<id root="2.16.156.10011.1.24" extension=""/>
    					</actOrder>
    				</referencedOrder>
    			</actAppointment>
    		</subject>
    	</controlActProcess>
    </PRSC_IN010101UV01>
    
    • 手术排班信息新增服务-响应消息(成功)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
    • 手术排班信息新增服务-响应消息(异常)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AE">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
  8. 手术排班信息更新服务

    • 手术排班信息更新服务-请求消息

    <PRSC_IN010201UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/PRSC_IN010201UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRSC_IN010201UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!-- 封装的消息内容(按Excel填写) -->
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ" xsi:nil="false">
    			<actAppointment classCode="ACT" moodCode="APT " xsi:nil="false">
    				<!-- 手术排班号 -->
    				<id root="2.16.156.10011.2.5.1.33" extension="5124567"/>
    				<effectiveTime xsi:type="IVL_TS">
    					<originalText xsi:type="ED" value="am"/>
    					<!-- 预约手术时间  -->
    					<low value="201205060900"/>
    					<!-- 预计手术时长 -->
    					<width xsi:type="PQ" unit="分" value="60"/>
    				</effectiveTime>
    				<!--患者信息  -->
    				<subject typeCode="SBJ">
    					<patient classCode="PAT">
    						<!--患者ID -->
    						<id>
    							<!-- 域ID -->
    							<item root="2.16.156.10011.2.5.1.5" extension="01"/>
    							<!--门(急)诊号标识 -->
    							<item root="2.16.156.10011.1.11" extension="E10000000"/>
    							<!--住院号标识-->
    							<item root="2.16.156.10011.1.12" extension="HA201102113366666"/>
    							<!--患者ID标识-->
    							<item root="2.16.156.10011.2.5.1.4" extension="HA201102113366666"/>
    							<!-- 就诊次数 -->
    							<item root="2.16.156.10011.2.5.1.8" extension="12"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<patientPerson>
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="李四"/>
    								</item>
    							</name>
    						</patientPerson>
    					</patient>
    				</subject>
    				<!--预约设备  -->
    				<reusableDevice typeCode="RDV" xsi:nil="false">
    					<manufacturedDevice classCode="MANU ">
    						<manufacturedDevice classCode="DEV " determinerCode="INSTANCE ">
    							<!-- 预约设备编码 -->
    							<id extension="0001"/>
    							<!-- 预约设备名称 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="发射单光子计算机断层扫描仪"/>
    								</item>
    							</name>
    						</manufacturedDevice>
    					</manufacturedDevice>
    				</reusableDevice>
    				<performer typeCode="PRF " xsi:nil="false ">
    					<assignedPerson classCode="ASSIGNED">
    						<!--主刀医生工号 -->
    						<id>
    							<item extension="0293875" root="2.16.156.10011.1.4"/>
    						</id>
    						<code>
    							<displayName value="主刀医生"/>
    						</code>
    						<!--主刀医生姓名-->
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="张三"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedPerson>
    				</performer>
    				<!--可以有多个手术助手-->
    				<performer typeCode="PRF " xsi:nil="false ">
    					<assignedPerson classCode="ASSIGNED">
    						<!--手术助手工号 -->
    						<id>
    							<item extension="0293875" root="2.16.156.10011.1.4"/>
    						</id>
    						<code>
    							<displayName value="手术助手"/>
    						</code>
    						<!--手术助手姓名-->
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="张三"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedPerson>
    				</performer>
    				<!--执行科室  -->
    				<location typeCode="LOC " xsi:nil="false">
    					<serviceDeliveryLocation classCode="SDLOC ">
    						<!--执行科室编码 -->
    						<id>
    							<item extension="23048575" root="2.16.156.10011.1.26"/>
    						</id>
    						<!--执行科室名称 -->
    						<addr xsi:type="BAG_AD">
    							<item>
    								<part value="检验科"/>
    							</item>
    						</addr>
    						<location classCode="PLC" determinerCode="INSTANCE">
    							<name xsi:type="BAG_EN">
    								<item>
    									<!--手术间-->
    									<part value="6号手术间"/>
    								</item>
    							</name>
    						</location>
    					</serviceDeliveryLocation>
    				</location>
    				<!--手术申请单编号 -->
    				<referencedOrder typeCode="OREF" xsi:nil="false">
    					<actOrder classCode="ACT" moodCode="RQO">
    						<!--手术申请单号 -->
    						<id root="2.16.156.10011.1.24" extension=""/>
    					</actOrder>
    				</referencedOrder>
    			</actAppointment>
    		</subject>
    	</controlActProcess>
    </PRSC_IN010201UV01>
    
    • 手术排班信息更新服务-响应消息(成功)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
    • 手术排班信息更新服务-响应消息(异常)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AE">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
  9. 手术排班信息查询服务

    • 手术排班信息查询服务-请求消息

    <QUMT_IN020030UV01 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020030UV01YY.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRSC_IN030102UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryByParameter>
    			<queryId extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    			<statusCode code="new"/>
    			<initialQuantity value="2"/>
    			<queryByParameterPayload>
    				<statusCode code="new"/>
    				<actId>
    					<value>
    						<!--手术排班号 -->
    						<item root="2.16.156.10011.2.5.1.33" extension="100023925522"/>
    					</value>
    					<semanticsText value="Act.ID"/>
    				</actId>
    				<effectiveTime>
    					<value xsi:type="IVL_TS">
    						<!-- 查询开始时间 -->
    						<low value="2016010101"/>
    						<!-- 查询结束时间 -->
    						<high value="2016020202"/>
    					</value>
    				</effectiveTime>
    				<!--患者ID-->
    				<patientId>
    					<value>
    						<item extension="12345678901w" root="2.16.156.10011.2.5.1.4"/>
    					</value>
    					<semanticsText value="recordTarget.Patient.ID"/>
    				</patientId>
    				<!--关联的申请单ID-->
    				<actOrderId>
    					<value>
    						<item extension="3333" root="2.16.156.10011.1.24"/>
    					</value>
    					<semanticsText value="referencedOrder.actOrder.ID"/>
    				</actOrderId>
    			</queryByParameterPayload>
    		</queryByParameter>
    	</controlActProcess>
    </QUMT_IN020030UV01>
    
    • 手术排班信息查询服务-响应消息(成功)

    <QUMT_IN020040UV01 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/ QUMT_IN020040UV01YY.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRSC_IN030102UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<!--处理结果说明-->
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<!-- 可以返回多个手术排班信息,返回多个循环subject -->
    		<subject typeCode="SUBJ" xsi:nil="false">
    			<actAppointment classCode="ACT" moodCode="APT">
    				<!-- 手术排班号 -->
    				<id root="2.16.156.10011.2.5.1.33" extension="5124567"/>
    				<effectiveTime xsi:type="IVL_TS">
    					<originalText xsi:type="ED" value="am"/>
    					<!-- 预约手术时间  -->
    					<low value="20120506090000"/>
    					<!-- 预计手术时长 -->
    					<width xsi:type="PQ" unit="分" value="60"/>
    				</effectiveTime>
    				<!--患者信息  -->
    				<subject typeCode="SBJ">
    					<patient classCode="PAT">
    						<!--患者ID -->
    						<id>
    						     <!-- 域ID -->
    							<item root="2.16.156.10011.2.5.1.5" extension="01"/>
    							<!--门(急)诊号标识 -->
    							<item root="2.16.156.10011.1.11" extension="E10000000"/>
    							<!--住院号标识-->
    							<item root="2.16.156.10011.1.12" extension="HA201102113366666"/>
    							<!--患者ID标识-->
    							<item root="2.16.156.10011.2.5.1.4" extension="HA201102113366666"/>
    							<!-- 就诊次数 -->
    							<item root="2.16.156.10011.2.5.1.8" extension="12"/>
                                     <!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<patientPerson>
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="李四"/>
    								</item>
    							</name>
    						</patientPerson>
    					</patient>
    				</subject>
    				<!--预约设备  -->
    				<reusableDevice typeCode="RDV" xsi:nil="false">
    					<manufacturedDevice classCode="MANU ">
    						<manufacturedDevice classCode="DEV " determinerCode="INSTANCE ">
    							<!-- 预约设备编码 -->
    							<id extension="0001"/>
    							<!-- 预约设备名称 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="发射单光子计算机断层扫描仪"/>
    								</item>
    							</name>
    						</manufacturedDevice>
    					</manufacturedDevice>
    				</reusableDevice>
    				<performer typeCode="PRF " xsi:nil="false ">
    					<assignedPerson classCode="ASSIGNED">
    						<!--主刀医生工号 -->
    						<id>
    							<item extension="0293875" root="2.16.156.10011.1.4"/>
    						</id>
    						<code>
    							<displayName value="主刀医生"/>
    						</code>
    						<!--主刀医生姓名-->
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="张三"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedPerson>
    				</performer>
    				<!--可以有多个手术助手-->
    				<performer typeCode="PRF " xsi:nil="false ">
    					<assignedPerson classCode="ASSIGNED">
    						<!--手术助手工号 -->
    						<id>
    							<item extension="0293875" root="2.16.156.10011.1.4"/>
    						</id>
    						<code>
    							<displayName value="手术助手"/>
    						</code>
    						<!--手术助手姓名-->
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="张三"/>
    								</item>
    							</name>
    						</assignedPerson>
    					</assignedPerson>
    				</performer>
    				<!--执行科室  -->
    				<location typeCode="LOC " xsi:nil="false">
    					<serviceDeliveryLocation classCode="SDLOC ">
    						<!--执行科室编码 -->
    						<id>
    							<item extension="23048575" root="2.16.156.10011.1.26"/>
    						</id>
    						<!--执行科室名称 -->
    						<addr xsi:type="BAG_AD">
    							<item>
    								<part value="检验科"/>
    							</item>
    						</addr>
    						<location classCode="PLC" determinerCode="INSTANCE">
    							<name xsi:type="BAG_EN">
    								<item>
    									<!--手术间-->
    									<part value="6号手术间"/>
    								</item>
    							</name>
    						</location>
    					</serviceDeliveryLocation>
    				</location>
    				<!--手术申请单编号 -->
    				<referencedOrder typeCode="OREF" xsi:nil="false">
    					<actOrder classCode="ACT" moodCode="RQO">
    						<!--手术申请单号 -->
    						<id root="2.16.156.10011.1.24" extension="11111"/>
    					</actOrder>
    				</referencedOrder>
    			</actAppointment>
    		</subject>
    		<queryAck>
    			<queryId extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    			<!--AE 系统错误、NF 未找到数据、OK 找到数据、QE 查询参数错误-->
    			<queryResponseCode code="OK"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
    • 手术排班信息查询服务-响应消息(异常)

    <QUMT_IN020040UV01 xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ITSVersion="XML_1.0" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AE">
    		<targetMessage>
    			<!--请求的消息ID-->
    			<id root="2.16.156.10011.2.5.1.1" extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<!--处理结果说明-->
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="APT">
    		<queryAck>
    			<queryResponseCode code="OK"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
  10. 手术状态信息更新服务

    • 手术状态信息更新服务-请求消息

    <POOR_IN200902UV ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/POOR_IN200902UV.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="POOR_IN200902UV"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!-- 封装的消息内容(按Excel填写) -->
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<subject typeCode="SUBJ" xsi:nil="false">
    			<placerGroup>
    				<!-- 1..n可循环  检查状态信息 -->
    				<component2>
    					<procedureRequest classCode="PROC">
    						<!-- 必须项已使用 -->
    						<id>
    							<!-- 申请单号 -->
    							<item extension="10001342" root="2.16.156.10011.1.24"/>
    						</id>
    						<!-- 必须项未使用 -->
    						<code/>
    						<!-- 必须项未使用 -->
    						<statusCode/>
    						<!-- 必须项未使用 -->
    						<effectiveTime xsi:type="IVL_TS"/>
    						<!-- 操作人 -->
    						<performer typeCode="PRF">
    							<time>
    								<!-- 操作日期 -->
    								<low value="201203040550"/>
    							</time>
    							<assignedEntity classCode="ASSIGNED">
    								<!-- 操作人工号 -->
    								<id>
    									<item extension="01003" root="2.16.156.10011.1.4"/>
    								</id>
    								<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    									<!-- 操作人姓名 必须项已使用 -->
    									<name xsi:type="BAG_EN">
    										<item>
    											<part value="积显"/>
    										</item>
    									</name>
    								</assignedPerson>
    							</assignedEntity>
    						</performer>
    						<!--执行科室 -->
    						<location typeCode="LOC" xsi:nil="false">
    							<!--必须项未使用 -->
    							<time/>
    							<!--就诊机构/科室 -->
    							<serviceDeliveryLocation classCode="SDLOC">
    								<serviceProviderOrganization determinerCode="INSTANCE" classCode="ORG">
    									<!--执行科室编码 -->
    									<id>
    										<item extension="1010700" root="2.16.156.10011.1.26"/>
    									</id>
    									<!--执行科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item>
    											<part value="检验室"/>
    										</item>
    									</name>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    						<!-- 手术状态 -->
    						<component1 contextConductionInd="true">
    							<processStep classCode="PROC">
    								<code code="01" codeSystem="2.16.156.10011. 2.5.1.12">
    									<!--手术状态名称 -->
    									<displayName value="登记"/>
    								</code>
    							</processStep>
    						</component1>
    					</procedureRequest>
    				</component2>
    				<!--就诊 -->
    				<componentOf1 contextConductionInd="false" xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    						<id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="12" root="2.16.156.10011.2.5.1.8"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<!--就诊类别编码-->
    						<code codeSystem="2.16.156.10011.2.3.1.271" code="01">
    							<!-- 就诊类别名称 -->
    							<displayName value="门诊/住院/体检"/>
    						</code>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    						<subject typeCode="SBJ">
    							<patient classCode="PAT">
    								<id>
    									<!--域ID -->
    									<item root="2.16.156.10011.2.5.1.5" extension="24355455"/>
    									<!-- 患者ID -->
    									<item root="2.16.156.10011.2.5.1.4" extension="001407878200"/>
    									<!-- 门诊号 -->
    									<item root="2.16.156.10011.1.11" extension="0910238"/>
    									<!-- 住院号 -->
    									<item root="2.16.156.10011.1.12" extension="0910238"/>
    								</id>
    								<patientPerson classCode="PSN" determinerCode="INSTANCE" xsi:nil="false">
    									<!-- 患者姓名 -->
    									<name xsi:type="DSET_EN">
    										<item>
    											<part value="张三"/>
    										</item>
    									</name>
    								</patientPerson>
    							</patient>
    						</subject>
    						<!--住院位置-->
    						<location typeCode="LOC">
    							<time/>
    							<serviceDeliveryLocation classCode="SDLOC">
    								<location classCode="PLC" determinerCode="INSTANCE">
    									<!--DE01.00.026.00	病床编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 病床号 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="201"/>
    										</item>
    									</name>
    									<asLocatedEntityPartOf classCode="LOCE">
    										<location classCode="PLC" determinerCode="INSTANCE">
    											<!--DE01.00.019.00	病房编码 -->
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病房号 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="201"/>
    												</item>
    											</name>
    										</location>
    									</asLocatedEntityPartOf>
    								</location>
    								<serviceProviderOrganization classCode="ORG" determinerCode="INSTANCE">
    									<!--DE08.10.026.00	科室编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="呼吸内科"/>
    										</item>
    									</name>
    									<asOrganizationPartOf classCode="PART">
    										<!-- DE08.10.054.00	病区编码 -->
    										<wholeOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病区名称 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="1病区 "/>
    												</item>
    											</name>
    										</wholeOrganization>
    									</asOrganizationPartOf>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    					</encounter>
    				</componentOf1>
    			</placerGroup>
    		</subject>
    	</controlActProcess>
    </POOR_IN200902UV>
    
    • 手术状态信息更新服务-响应消息(成功)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AA">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
    • 手术状态信息更新服务-响应消息(异常)

    <MCCI_IN000002UV01 ITSVersion="XML_1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/MCCI_IN000002UV01.xsd">
    	<id root="2.16.156.10011.2.5.1.1" extension="@12122"/>
    	<creationTime value="20170106151903"/>
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="MCCI_IN000002UV01"/>
    	<processingCode code="P"/>
    	<processingModeCode/>
    	<acceptAckCode code="AL"/>
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<acknowledgement typeCode="AE">
    		<!--请求消息ID-->
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="请求的消息ID"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    </MCCI_IN000002UV01>
    
  11. 手术状态信息查询服务

    • 手术状态信息查询服务-请求消息

    <QUMT_IN020030UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020030UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020030UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!-- 封装的消息内容(按Excel填写) -->
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<queryByParameter>
    			<statusCode code="new"/>
    			<queryByParameterPayload>
    				<statusCode code="new"/>
    				<!--申请单ID-->
    				<actId>
    					<value>
    						<!--申请单号 -->
    						<item extension="100023925522" root="2.16.156.10011.1.28"/>
    					</value>
    					<semanticsText value="Act.ID"/>
    				</actId>
    				<!-- 医嘱操作人ID(医务人员ID)-->
    				<authorId>
    					<value>
    						<item extension="100023925522" root="2.16.156.10011.1.4"/>
    					</value>
    					<semanticsText value="author.Entity.ID"/>
    				</authorId>
    				<!-- 操作日期 -->
    				<effectiveTime>
    					<value>
    						<low value="20130303040404"/>
    						<high value="20130303050505"/>
    					</value>
    					<semanticsText value="EffectiveTime"/>
    				</effectiveTime>
    				<!--患者ID-->
    				<patientId>
    					<value>
    						<item extension="12345678901w" root="2.16.156.10011.2.5.1.4"/>
    					</value>
    					<semanticsText value="recordTarget.Patient.ID"/>
    				</patientId>
    			</queryByParameterPayload>
    		</queryByParameter>
    	</controlActProcess>
    </QUMT_IN020030UV01>
    
    • 手术状态信息查询服务-响应消息(成功)

    <QUMT_IN020040UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AA">
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="1ee83ff1-08ab-4fe7-b573-ea777e9bad51"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="EVN">
    		<!-- 可返回多个手术的最新状态,多个循环subject -->
    		<subject typeCode="SUBJ">
    			<actGenericStatus classCode="CACT" moodCode="RQO">
    				<id>
    					<!-- 申请单号 -->
    					<item extension="10001342" root="2.16.156.10011.1.24"/>
    				</id>
    				<!-- 手术状态 -->
    				<statusCode code="已排班"/>
    				<authorOrPerformer typeCode="PRF">
    					<time>
    						<!-- 操作日期 -->
    						<low value="20120304055000"/>
    					</time>
    					<assignedEntity classCode="ASSIGNED">
    						<!-- 操作人工号 -->
    						<id>
    							<item extension="01003" root="2.16.156.10011.1.4"/>
    						</id>
    						<assignedPerson determinerCode="INSTANCE" classCode="PSN">
    							<!-- 操作人姓名 必须项已使用 -->
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="积显"/>
    								</item>
    							</name>
    						</assignedPerson>
    						<!-- 操作科室 -->
    						<representedOrganization classCode="ORG" determinerCode="INSTANCE">
    							<!--DE08.10.026.00	科室名称-->
    							<id>
    								<item root="2.16.156.10011.1.26" extension="001"/>
    							</id>
    							<name xsi:type="BAG_EN">
    								<item>
    									<part value="呼吸内科"/>
    								</item>
    							</name>
    						</representedOrganization>
    					</assignedEntity>
    				</authorOrPerformer>
    				<!--就诊 -->
    				<componentOf xsi:nil="false" typeCode="COMP">
    					<!--就诊 -->
    					<encounter classCode="ENC" moodCode="EVN">
    						<id>
    							<!-- 就诊次数 必须项已使用 -->
    							<item extension="12" root="2.16.156.10011.2.5.1.8"/>
    							<!-- 就诊流水号 -->
    							<item extension="123456" root="2.16.156.10011.2.5.1.9"/>
    						</id>
    						<!--就诊类别编码-->
    						<code code="3" codeSystem="2.16.156.10011.2.3.1.271" codeSystemName="患者类型代码表">
    							<displayName value="住院"/>
    						</code>
    						<!--必须项未使用 -->
    						<statusCode code="Active"/>
    						<!--病人 必须项未使用 -->
    						<subject typeCode="SBJ">
    							<patient classCode="PAT">
    								<id>
    									<!--域ID -->
    									<item root="2.16.156.10011.2.5.1.5" extension="24355455"/>
    									<!-- 患者ID -->
    									<item root="2.16.156.10011.2.5.1.4" extension="001407878200"/>
    									<!-- 门诊号 -->
    									<item root="2.16.156.10011.1.11" extension="0910238"/>
    									<!-- 住院号 -->
    									<item root="2.16.156.10011.1.12" extension="0910238"/>
    								</id>
    								<patientPerson classCode="PSN" determinerCode="INSTANCE" xsi:nil="false">
    									<!-- 患者姓名 -->
    									<name xsi:type="DSET_EN">
    										<item>
    											<part value="张三"/>
    										</item>
    									</name>
    								</patientPerson>
    							</patient>
    						</subject>
    						<!--住院位置-->
    						<location typeCode="LOC">
    							<time/>
    							<serviceDeliveryLocation classCode="SDLOC">
    								<location classCode="PLC" determinerCode="INSTANCE">
    									<!--DE01.00.026.00	病床编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 病床号 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="201"/>
    										</item>
    									</name>
    									<asLocatedEntityPartOf classCode="LOCE">
    										<location classCode="PLC" determinerCode="INSTANCE">
    											<!--DE01.00.019.00	病房编码 -->
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病房号 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="201"/>
    												</item>
    											</name>
    										</location>
    									</asLocatedEntityPartOf>
    								</location>
    								<serviceProviderOrganization classCode="ORG" determinerCode="INSTANCE">
    									<!--DE08.10.026.00	科室编码 -->
    									<id>
    										<item extension="001"/>
    									</id>
    									<!-- 科室名称 -->
    									<name xsi:type="BAG_EN">
    										<item use="IDE">
    											<part value="呼吸内科"/>
    										</item>
    									</name>
    									<asOrganizationPartOf classCode="PART">
    										<!-- DE08.10.054.00	病区编码 -->
    										<wholeOrganization classCode="ORG" determinerCode="INSTANCE">
    											<id>
    												<item extension="001"/>
    											</id>
    											<!-- 病区名称 -->
    											<name xsi:type="BAG_EN">
    												<item use="IDE">
    													<part value="1病区 "/>
    												</item>
    											</name>
    										</wholeOrganization>
    									</asOrganizationPartOf>
    								</serviceProviderOrganization>
    							</serviceDeliveryLocation>
    						</location>
    					</encounter>
    				</componentOf>
    			</actGenericStatus>
    		</subject>
    		<queryAck>
    			<queryResponseCode code="ok"/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>
    
    • 手术状态信息查询服务-响应消息(异常)

    <QUMT_IN020040UV01 ITSVersion="XML_1.0" xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../multicacheschemas/QUMT_IN020040UV01.xsd">
    	<!-- 消息流水号 -->
    	<id root="2.16.156.10011.2.5.1.1" extension="@BS004"/>
    	<!-- 消息创建时间 -->
    	<creationTime value="20120106110000"/>
    	<!-- 消息的服务标识-->
    	<interactionId root="2.16.156.10011.2.5.1.2" extension="QUMT_IN020040UV01"/>
    	<!--处理代码,标识此消息是否是产品、训练、调试系统的一部分。D:调试;P:产品;T:训练 -->
    	<processingCode code="P"/>
    	<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current 
    		processing) -->
    	<processingModeCode/>
    	<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->
    	<acceptAckCode code="AL"/>
    	<!-- 接受者 -->
    	<receiver typeCode="RCV">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 接受者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@111"/>
    			</id>
    		</device>
    	</receiver>
    	<!-- 发送者 -->
    	<sender typeCode="SND">
    		<device classCode="DEV" determinerCode="INSTANCE">
    			<!-- 发送者ID -->
    			<id>
    				<item root="2.16.156.10011.2.5.1.3" extension="@222"/>
    			</id>
    		</device>
    	</sender>
    	<!--typeCode为处理结果,AA表示成功 AE表示失败-->
    	<acknowledgement typeCode="AE">
    		<targetMessage>
    			<id root="2.16.156.10011.2.5.1.1" extension="1ee83ff1-08ab-4fe7-b573-ea777e9bad51"/>
    		</targetMessage>
    		<acknowledgementDetail>
    			<text value="处理结果说明"/>
    		</acknowledgementDetail>
    	</acknowledgement>
    	<controlActProcess classCode="CACT" moodCode="APT">
    		<queryAck>
    			<queryResponseCode/>
    		</queryAck>
    	</controlActProcess>
    </QUMT_IN020040UV01>