菜单

目录

Administrator
发布于 2023-06-01 / 36 阅读 / 0 评论 / 0 点赞

医院信息平台交互规范 第3部分:医疗卫生机构注册、查询服务

前  言

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的第3部分。

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

本部分主要起草单位:国家卫生健康委统计信息中心、大连大学附属中山医院、国家计算机质量监督检验中心。

本部分主要起草人:李岳峰、董方杰、何国平、刁晓东、张翔、郑良。

医院信息平台交互规范

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

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 医疗卫生机构(科室)信息注册服务(OrganizationInfoRegister)

角色和交易

  1. 角色交易图

医疗卫生机构(科室)信息注册服务的角色交易图如图1所示。

图1 医疗卫生机构(科室)信息注册服务角色交易图

  1. 角色的选择

医疗卫生机构(科室)信息注册服务的角色列表如表1所示。

表1 医疗卫生机构(科室)信息注册服务角色列表

角色

交易

选择

医疗卫生机构(科室)信息源

医疗卫生机构(科室)信息注册

必选项(R)

医疗卫生机构(科室)信息注册服务

医疗卫生机构(科室)信息注册

必选项(R)

  1. 交易流程

医疗卫生机构(科室)信息注册服务的交易流程图如图2所示。

图2 医疗卫生机构(科室)信息注册服务交易流程图

医疗卫生机构(科室)信息注册服务的交易流程描述:

  1. 医疗卫生机构(科室)信息源向医疗卫生机构(科室)信息注册服务提交请求消息;

  2. 医疗卫生机构(科室)信息注册服务校验数据并进行存储,注册成功时返回成功响应消息;

  3. 医疗卫生机构(科室)信息注册服务失败时返回异常响应消息。

接口规范模型

  1. 请求消息模型

医疗卫生机构(科室)信息注册服务的请求消息模型如表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/registrationRequest /subject1/assignedEntity/id/item/@extension

1..1

R

医疗卫生机构(科室)本地ID

DE08.10.025.00

/controlActProcess/subject/registrationRequest /subject1/assignedEntity/id/item/@root

1..1

R

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/@code

0..1

O

医疗卫生机构(科室)标识分类代码

字符串,最大长度为50

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/@ codeSystem

0..1

O

固定值"2.16.156.10011.2.3.2.62"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/@ codeSystemName

0..1

O

固定值"医疗卫生机构业务科室分类与代码表"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/displayName/@value

0..1

O

医疗卫生机构(科室)标识分类代码对应的名称

字符串,最大长度为100

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/name/item/part/@value

0..1

O

医疗卫生机构(科室)角色名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/addr/item/part/@value

0..1

O

工作地址

字符串,最大长度为100

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/telecom/item/@value

0..1

O

工作联系电话

DE02.01.010.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/effectiveTime/low/@value

0..1

O

角色有效期间(开始时间)

日期时间格式,DT14

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/effectiveTime/high/@value

0..1

O

角色有效期间(结束时间)

日期时间格式,DT14

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/name/item/part/@value

1..1

R

医疗卫生机构(科室)实体名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/scoper2/id/item/@extension

0..1

O

上级医疗卫生机构机构(科室)号标识

DE08.10.025.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/scoper2/id/item/@root

0..1

O

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/scoper2/name/item/part/@value

0..1

O

上级医疗卫生机构(科室)名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/author/assignedEntity/id/item/@extension

1..1

R

申请者ID

字符串,最大长度为50

/controlActProcess/subject/registrationRequest/author/assignedEntity/id/item/@ root

1..1

R

固定值"2.16.156.10011.1.4"

/controlActProcess/subject/registrationRequest/author/assignedEntity/assignedPerson/name/item/part/@value

0..1

O

申请者名称

DE02.01.039.00

/controlActProcess/subject/registrationRequest/author/representedOrganization/id/item/@extension

1..1

R

医疗卫生机构(科室)标识

DE08.10.025.00

/controlActProcess/subject/registrationRequest/author/representedOrganization/id/item/@ root

1..1

R

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationRequest/author/representedOrganization/name/item/part/@value

0..1

O

医疗卫生机构(科室)标识名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/author/representedOrganization/contactParty/contactPerson/name/item/part/@value

0..1

O

医疗卫生机构(科室)联系人

DE02.01.039.00

  1. 响应消息模型(成功)

医疗卫生机构(科室)信息注册服务的响应消息模型(成功)如表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

请求消息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

  1. 响应消息模型(异常)

医疗卫生机构(科室)信息注册服务的响应消息模型(异常)如表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 医疗卫生机构(科室)信息更新服务(OrganizationInfoUpdate)

角色和交易

  1. 角色交易图

医疗卫生机构(科室)信息更新服务的角色交易图如图3所示。

图3 医疗卫生机构(科室)信息更新服务角色交易图

  1. 角色的选择

医疗卫生机构(科室)信息更新服务的角色列表如表5所示。

表5 医疗卫生机构(科室)信息更新服务角色列表

角色

交易

选择

医疗卫生机构(科室)信息源

医疗卫生机构(科室)信息更新

必选项(R)

医疗卫生机构(科室)信息更新服务

医疗卫生机构(科室)信息更新

必选项(R)

  1. 交易流程

医疗卫生机构(科室)信息更新服务的交易流程图如图4所示。

图4 医疗卫生机构(科室)信息更新服务交易流程图

医疗卫生机构(科室)信息更新服务的交易流程描述:

  1. 医疗卫生机构(科室)信息源向医疗卫生机构(科室)信息更新服务提交请求消息;

  2. 医疗卫生机构(科室)信息更新服务进行数据,更新成功时返回成功响应消息;

  3. 医疗卫生机构(科室)信息更新服务失败时返回异常响应消息。

接口规范模型

  1. 请求消息模型

医疗卫生机构(科室)信息更新服务的请求消息模型如表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/subject/registrationRequest /subject1/assignedEntity/id/item/@extension

1..1

R

医疗卫生机构(科室)本地标识

DE08.10.025.00

/controlActProcess/subject/registrationRequest /subject1/assignedEntity/id/item/@root

1..1

R

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/@code

0..1

O

医疗卫生机构(科室)标识分类代码

字符串,最大长度为50

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/@ codeSystem

0..1

O

固定值"2.16.156.10011.2.3.2.62"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/@ codeSystemName

0..1

O

固定值"医疗卫生机构业务科室分类与代码表"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/code/displayName/@value

0..1

O

医疗卫生机构(科室)标识分类代码对应的名称

字符串,最大长度为100

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/name/item/part/@value

0..1

O

医疗卫生机构(科室)角色名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/addr/item/part/@value

0..1

O

工作地址

字符串,最大长度为100

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/telecom/item/@value

0..1

O

工作联系电话

DE02.01.010.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/effectiveTime/low/@value

0..1

O

角色有效期间(开始时间)

日期时间格式,DT14

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/effectiveTime/high/@value

0..1

O

角色有效期间(结束时间)

日期时间格式,DT14

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/name/item/part/@value

1..1

R

医疗卫生机构(科室)实体名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/affiliatedPrincipalOrganization/id/item/@extension

0..1

O

上级医疗卫生机构机构(科室)号标识

DE08.10.026.00

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/affiliatedPrincipalOrganization/id/item/@root

0..1

O

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationRequest/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/affiliatedPrincipalOrganization/name/item/part/@value

0..1

O

上级医疗卫生机构(科室)名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/author/assignedEntity/id/item/@extension

1..1

R

申请者ID

字符串,最大长度为50

/controlActProcess/subject/registrationRequest/author/assignedEntity/id/item/@ root

1..1

R

固定值"2.16.156.10011.1.4"

/controlActProcess/subject/registrationRequest/author/assignedEntity/assignedPerson/name/item/part/@value

0..1

O

申请者名称

DE02.01.039.00

/controlActProcess/subject/registrationRequest/author/representedOrganization/id/item/@extension

1..1

R

医疗卫生机构(科室)标识

DE08.10.025.00

/controlActProcess/subject/registrationRequest/author/representedOrganization/id/item/@ root

1..1

R

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationRequest/author/representedOrganization/name/item/part/@value

0..1

O

医疗卫生机构(科室)标识名称

DE08.10.026.00

/controlActProcess/subject/registrationRequest/author/representedOrganization/contactParty/contactPerson/name/item/part/@value

0..1

O

医疗卫生机构(科室)联系人

DE02.01.039.00

  1. 响应消息模型(成功)

医疗卫生机构(科室)信息更新服务的响应消息模型(成功)如表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/@typeCode

1..1

R

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

/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

  1. 响应消息模型(异常)

医疗卫生机构(科室)信息更新服务的响应消息模型(异常)如表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

5.3 医疗卫生机构(科室)信息查询服务(OrganizationInfoQuery)

角色和交易

  1. 角色交易图

医疗卫生机构(科室)信息查询服务的角色交易图如图5所示。

图5 医疗卫生机构(科室)信息查询服务角色交易图

  1. 角色的选择

医疗卫生机构(科室)信息查询服务的角色列表如表9所示。

表9 医疗卫生机构(科室)信息查询服务角色列表

角色

交易

选择

医疗卫生机构(科室)信息使用者

医疗卫生机构(科室)信息查询

必选项(R)

医疗卫生机构(科室)信息查询服务

医疗卫生机构(科室)信息查询

必选项(R)

  1. 交易流程

医疗卫生机构(科室)信息查询服务的交易流程图如图6所示。

图6 医疗卫生机构(科室)信息查询服务交易流程图

医疗卫生机构(科室)信息查询服务的交易流程描述:

  1. 医疗卫生机构(科室)信息使用者向医疗卫生机构(科室)信息查询服务提交请求消息;

  2. 医疗卫生机构(科室)信息查询服务对医疗卫生机构(科室)信息使用者提交的医疗卫生机构(科室)查询信息查询医疗卫生机构(科室)信息;

  3. 医疗卫生机构(科室)信息查询服务成功时返回医疗卫生机构(科室)信息;

  4. 医疗卫生机构(科室)信息查询服务失败时返回异常响应消息。

接口规范模型

  1. 请求消息模型

医疗卫生机构(科室)信息查询服务的请求消息模型如表10所示。

表10 医疗卫生机构(科室)信息查询服务请求消息模型

节点

基数

可选项

节点说明

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

/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/queryByParameterPayload/organizationID/value/@extension

0..1

O

医疗卫生机构(科室)标识

DE08.10.025.00

/controlActProcess/queryByParameterPayload/organizationID/value/@root

0..1

O

固定值"2.16.156.10011.1.26"

/controlActProcess/queryByParameterPayload/organizationName/value/part/@value

0..1

O

医疗卫生机构(科室)实体名称

DE08.10.026.00

/controlActProcess/queryByParameterPayload/status/value/@code

0..1

O

固定值:active

  1. 响应消息模型(成功)

医疗卫生机构(科室)信息查询服务的响应消息模型(成功)如表11所示。

表11 医疗卫生机构(科室)信息查询服务响应消息模型(成功)

节点

基数

可选项

节点说明

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

/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

处理结果标识

字符串,最大长度为50

/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/subject/registrationEvent /subject1/assignedEntity/id/item/@root

1..1

R

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/code/@code

0..1

O

医疗卫生机构(科室)标识分类代码

字符串,最大长度为50

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/code/@ codeSystem

0..1

O

固定值"2.16.156.10011.2.3.2.62"

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/code/@ codeSystemName

0..1

O

固定值"医疗卫生机构业务科室分类与代码表"

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/code/displayName/@value

0..1

O

医疗卫生机构(科室)标识分类代码对应的名称

字符串,最大长度为50

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/name/item/part/@value

0..1

O

医疗卫生机构(科室)角色名称

DE08.10.026.00

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/addr/item/part/@value

0..1

O

工作地址

字符串,最大长度为100

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/telecom/item/@value

0..1

O

工作联系电话

DE02.01.010.00

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/effectiveTime/low/@value

0..1

O

角色有效期间(开始时间)

日期时间格式,DT14

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/effectiveTime/high/@value

0..1

O

角色有效期间(结束时间)

日期时间格式,DT14

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/assignedPrincipalOrganization/name/item/part/@value

1..1

R

医疗卫生机构(科室)实体名称

DE08.10.026.00

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/scoper2/id/item/@extension

0..1

O

上级医疗卫生机构机构(科室)号标识

DE08.10.026.00

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/scoper2/id/item/@root

0..1

O

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationEvent/subject1/assignedEntity/assignedPrincipalOrganization/asAffiliate/scoper2/name/item/part/@value

0..1

O

上级医疗卫生机构(科室)名称

DE08.10.026.00

/controlActProcess/subject/registrationEvent/custodian/assignedEntity/id/item/@extension

1..1

R

申请者ID

字符串,最大长度为50

/controlActProcess/subject/registrationEvent/custodian/assignedEntity/id/item/@ root

1..1

R

固定值"2.16.156.10011.1.4"

/controlActProcess/subject/registrationEvent/custodian/assignedEntity/assignedPerson/name/item/part/@value

0..1

O

申请者名称

DE02.01.039.00

/controlActProcess/subject/registrationEvent/custodian/representedOrganization/id/item/@value

1..1

R

医疗卫生机构(科室)标识

DE08.10.025.00

/controlActProcess/subject/registrationEvent/custodian/representedOrganization/id/item/@ root

1..1

R

固定值"2.16.156.10011.1.26"

/controlActProcess/subject/registrationEvent/custodian/representedOrganization/name/item/part/@value

0..1

O

医疗卫生机构(科室)标识名称

DE08.10.026.00

/controlActProcess/subject/registrationEvent/custodian/representedOrganization/contactParty/contactPerson/name/item/part/@value

0..1

O

医疗卫生机构(科室)联系人

DE02.01.039.00

/controlActProcess/queryAck/queryResponseCode/@code

1..1

R

查询结果代码

字符串,最大长度为50

  1. 响应消息模型(异常)

医疗卫生机构(科室)信息查询服务的响应消息模型(异常)如表12所示。

表12 医疗卫生机构(科室)信息查询服务响应消息模型(异常)

节点

基数

可选项

节点说明

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

/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

 

 

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

  1. 医疗卫生机构(科室)信息注册服务

    • 医疗卫生机构(科室)信息注册服务-请求消息

      <PRPM_IN401030UV01 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/PRPM_IN401030UV01.xsd">
      	<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961B5"/>
      	<creationTime value="20130116112855"/>
      	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRPM_IN401030UV01"/>
      	<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">
      			<registrationRequest classCode="REG" moodCode="RQO">
      				<statusCode code="active"/>
      				<subject1 typeCode="SBJ">
      					<assignedEntity classCode="ASSIGNED ">
      						<!--医疗卫生机构(科室)标识-科室-->
      						<id>
      							<item root="2.16.156.10011.1.26" extension="123901test"/>
      						</id>
      						<!--医疗卫生机构(科室)类别-科室-->
      						<code code="A03.01" codeSystem="2.16.156.10011.2.3.2.62" codeSystemName="医疗卫生机构业务科室分类与代码表">
      							<displayName value="呼吸内科专业测试"/>
      						</code>
      						<!--医疗卫生机构(科室)角色名称-->
      						<name xsi:type="LIST_EN">
      							<item>
      								<part value=""/>
      							</item>
      						</name>
      						<!--工作地址-->
      						<addr xsi:type="DSET_AD">
      							<item>
      							<part value=""/>
      							</item>
      						</addr>
      						<!--工作联系方式:电话、邮箱地址等-->
      						<telecom xsi:type="DSET_TEL">
      							<item value="13897021787"/>
      						</telecom>
      						<!--角色状态RoleStatus-->
      						<statusCode code="active"/>
      						<!--角色有效期间-->
      						<effectiveTime>
      							<low value="20100101"/>
      							<high value="20501231"/>
      						</effectiveTime>
      						<assignedPrincipalOrganization classCode="ORG" determinerCode="INSTANCE">
      							<!--医疗卫生机构(科室)实体名称-->
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="呼吸内科1"/>
      								</item>
      							</name>
      							<asAffiliate classCode="AFFL">
      								<code/>
      								<effectiveTime/>
      								<!--上级机构-->
      								<scoper2 classCode="ORG" determinerCode="INSTANCE">
      									<!--上级医疗卫生机构(科室)号标识-->
      									<id>
      										<item root="2.16.156.10011.1.26" extension="0234567890"/>
      									</id>
      									<name xsi:type="LIST_EN">
      										<item>
      											<part value="内科"/>
      										</item>
      									</name>
      								</scoper2>
      							</asAffiliate>
      						</assignedPrincipalOrganization>
      					</assignedEntity>
      				</subject1>
      				<author typeCode="AUT">
      					<assignedEntity classCode="ASSIGNED">
      						<!--医务人员ID-->
      						<id>
      							<item root="2.16.156.10011.1.4" extension="120109197706015518"/>
      						</id>
      						<assignedPerson classCode="PSN" determinerCode="INSTANCE">
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="李人事"/>
      								</item>
      							</name>
      						</assignedPerson>
      						<representedOrganization classCode="ORG" determinerCode="INSTANCE">
      							<!--科室号标识-->
      							<id>
      								<item root="2.16.156.10011.1.26" extension="xxx12345-X"/>
      							</id>
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="人事科"/>
      								</item>
      							</name>
      							<contactParty classCode="CON">
      								<contactPerson classCode="PSN" determinerCode="INSTANCE">
      									<name xsi:type="LIST_EN">
      										<item>
      											<part value="王联系"/>
      										</item>
      									</name>
      								</contactPerson>
      							</contactParty>
      						</representedOrganization>
      					</assignedEntity>
      				</author>
      			</registrationRequest>
      		</subject>
      	</controlActProcess>
      </PRPM_IN401030UV01>
      
    • 医疗卫生机构(科室)信息注册服务-响应消息(成功)

      <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. 医疗卫生机构(科室)信息更新服务

    • 医疗卫生机构(科室)信息更新服务-请求消息

      <PRPM_IN403010UV01 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/PRPM_IN403010UV01.xsd">
      	<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961BU"/>
      	<creationTime value="20130116112855"/>
      	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRPM_IN403010UV01"/>
      	<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">
      			<registrationRequest classCode="REG" moodCode="RQO">
      				<statusCode code="active"/>
      				<subject1 typeCode="SBJ">
      					<assignedEntity classCode="ASSIGNED ">
      						<!--医疗卫生机构(科室)标识-科室为例-->
      						<id>
      							<item root="2.16.156.10011.1.26" extension="123901"/>
      						</id>
      						<!--医疗卫生机构(科室)类别-科室为例-->
      						<code code="A03.01" codeSystem="2.16.156.10011.2.3.2.62" codeSystemName="医疗卫生机构业务科室分类与代码表">
      							<displayName value="呼吸内科专业"/>
      						</code>
      						<!--医疗卫生机构(科室)角色名称-->
      						<name xsi:type="LIST_EN">
      							<item>
      								<part value=""/>
      							</item>
      						</name>
      						<!--工作地址-->
      						<addr xsi:type="DSET_AD"/>
      						<!--工作联系方式:电话、邮箱地址等-->
      						<telecom xsi:type="DSET_TEL">
      							<item value="13897021787"/>
      						</telecom>
      						<!--角色状态RoleStatus-->
      						<statusCode code="active"/>
      						<!--角色有效期间-->
      						<effectiveTime>
      							<low value="20100101"/>
      							<high value="20501231"/>
      						</effectiveTime>
      						<assignedPrincipalOrganization classCode="ORG" determinerCode="INSTANCE">
      							<!--医疗卫生机构(科室)实体名称-->
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="呼吸内科1"/>
      								</item>
      							</name>
      							<asAffiliate classCode="AFFL">
      								<code/>
      								<effectiveTime/>
      								<!--上级机构-->
      								<affiliatedPrincipalOrganization classCode="ORG" determinerCode="INSTANCE">
      									<!--上级医疗卫生机构(科室)标识-->
      									<id>
      										<item root="2.16.156.10011.1.26" extension="0234567890"/>
      									</id>
      									<name xsi:type="LIST_EN">
      										<item>
      											<part value="内科"/>
      										</item>
      									</name>
      								</affiliatedPrincipalOrganization>
      							</asAffiliate>
      						</assignedPrincipalOrganization>
      					</assignedEntity>
      				</subject1>
      				<author typeCode="AUT">
      					<assignedEntity classCode="ASSIGNED">
      						<!--医务人员ID-->
      						<id>
      							<item root="2.16.156.10011.1.4" extension="120109197706015518"/>
      						</id>
      						<assignedPerson classCode="PSN" determinerCode="INSTANCE">
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="李人事"/>
      								</item>
      							</name>
      						</assignedPerson>
      						<representedOrganization classCode="ORG" determinerCode="INSTANCE">
      							<!--科室号标识-->
      							<id>
      								<item root="2.16.156.10011.1.26" extension="xxx12345-X"/>
      							</id>
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="人事科"/>
      								</item>
      							</name>
      							<contactParty classCode="CON">
      								<contactPerson classCode="PSN" determinerCode="INSTANCE">
      									<name xsi:type="LIST_EN">
      										<item>
      											<part value="王联系"/>
      										</item>
      									</name>
      								</contactPerson>
      							</contactParty>
      						</representedOrganization>
      					</assignedEntity>
      				</author>
      			</registrationRequest>
      		</subject>
      	</controlActProcess>
      </PRPM_IN403010UV01>
      
    • 医疗卫生机构(科室)信息更新服务-响应消息(成功)

      <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>
      
  3. 医疗卫生机构(科室)信息查询服务

    • 医疗卫生机构(科室)信息查询服务-请求消息

      <PRPM_IN406010UV01 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/PRPM_IN406010UV01.xsd">
      	<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961BQ"/>
      	<creationTime value="20130116112855"/>
      	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRPM_IN406010UV01"/>
      	<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">
      		<queryByParameterPayload>
      			<!--查询事件的状态-->
      			<statusCode code="new"/>
      			<!--医疗卫生机构(科室)ID-->
      			<organizationID>
      				<value root="2.16.156.10011.1.26" extension="5240"/>
      			</organizationID>
      			<!--医疗卫生机构(科室)实体名称-->
      			<organizationName>
      				<value>
      					<part value="呼吸内科1"/>
      				</value>
      			</organizationName>
      			<!--医疗卫生机构(科室)状态AssignedEntity.statusCode-->
      			<status>
      				<value code="active"/>
      			</status>
      		</queryByParameterPayload>
      	</controlActProcess>
      </PRPM_IN406010UV01>
      
    • 医疗卫生机构(科室)信息查询服务-响应消息(成功)

      <PRPM_IN406110UV01 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/PRPM_IN406110UV01.xsd">
      	<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961B5"/>
      	<creationTime value="20130116091749"/>
      	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRPM_IN406110UV01"/>
      	<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>
      	<acknowledgement typeCode="AA">
      		<targetMessage>
      			<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961BQ"/>
      		</targetMessage>
      		<acknowledgementDetail>
      			<!--处理结果说明-->
      			<text value="处理结果说明"/>
      		</acknowledgementDetail>
      	</acknowledgement>
      	<controlActProcess classCode="CACT" moodCode="EVN">
      		<subject typeCode="SUBJ">
      			<registrationEvent classCode="REG" moodCode="EVN">
      				<statusCode code="active"/>
      				<subject1 typeCode="SBJ">
      					<assignedEntity classCode="ASSIGNED ">
      						<!--医疗卫生机构(科室)标识-科室为例-->
      						<id>
      							<item root="2.16.156.10011.1.26" extension="1234567890"/>
      						</id>
      						<!--医疗卫生机构(科室)类别-科室为例-->
      						<code code="A03.01" codeSystem="2.16.156.10011.2.3.2.62" codeSystemName="医疗卫生机构业务科室分类与代码表">
      							<displayName value="呼吸内科专业"/>
      						</code>
      						<!--医疗卫生机构(科室)角色名称-->
      						<name xsi:type="LIST_EN">
      							<item>
      								<part value="11"/>
      							</item>
      						</name>
      						<!--工作地址-->
      						<addr xsi:type="DSET_AD">
      							<item>
      							<part value="123"/>
      							</item>
      						</addr>
      						<!--工作联系方式:电话、邮箱地址等-->
      						<telecom xsi:type="DSET_TEL">
      							<item value ="13897021787"/>
      						</telecom>					
      						<!--角色状态RoleStatus-->
      						<statusCode code="active"/>
      						<assignedPrincipalOrganization classCode="ORG" determinerCode="INSTANCE">
      							<!--医疗卫生机构(科室)实体名称-->
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="呼吸内科1"/>
      								</item>
      							</name>
      						</assignedPrincipalOrganization>
      					</assignedEntity>
      				</subject1>
      				<!--注册责任者-->
      				<custodian typeCode="CST">
      					<assignedEntity classCode="ASSIGNED">
      						<!--医务人员ID-->
      						<id>
      							<item root="2.16.156.10011.1.4" extension="120109197706015518"/>
      						</id>
      						<assignedPerson classCode="PSN" determinerCode="INSTANCE">
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="李人事"/>
      								</item>
      							</name>
      						</assignedPerson>
      						<representedOrganization classCode="ORG" determinerCode="INSTANCE">
      							<!--科室号标识-->
      							<id>
      								<item root="2.16.156.10011.1.26" extension="xxx12345-X"/>
      							</id>
      							<name xsi:type="LIST_EN">
      								<item>
      									<part value="人事科"/>
      								</item>
      							</name>
      							<contactParty classCode="CON">
      								<contactPerson classCode="PSN" determinerCode="INSTANCE">
      									<name xsi:type="LIST_EN">
      										<item>
      											<part value="王联系"/>
      										</item>
      									</name>
      								</contactPerson>
      							</contactParty>
      						</representedOrganization>
      					</assignedEntity>
      				</custodian>
      			</registrationEvent>
      		</subject>
      		<queryAck>
      			<queryResponseCode code="OK"/>
      		</queryAck>
      	</controlActProcess>
      </PRPM_IN406110UV01>
      
    • 医疗卫生机构(科室)信息查询服务-响应消息(异常)

      <PRPM_IN406110UV01 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/PRPM_IN406110UV01.xsd">
      	<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961B5"/>
      	<creationTime value="20130116091749"/>
      	<interactionId root="2.16.156.10011.2.5.1.2" extension="PRPM_IN406110UV01"/>
      	<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 ="122"/>
      			</id>
      		</device>
      	</sender>
      	<acknowledgement typeCode="AE">
      		<targetMessage>
      			<id root="2.16.156.10011.2.5.1.1" extension="8D73520B-D489-4B70-8F4B-7B5C2D7961BQ"/>
      		</targetMessage>
      		<acknowledgementDetail>
      			<!--处理结果说明-->
      			<text value="处理结果说明"/>
      		</acknowledgementDetail>
      	</acknowledgement>
      	<controlActProcess classCode="CACT" moodCode="EVN">
      		<queryAck>
      			<queryResponseCode code="OK"/>
      		</queryAck>
      	</controlActProcess>
      </PRPM_IN406110UV01>