CCS C 07
WS
中华人民共和国卫生行业标准
WS/T 846.2—2024
医院信息平台交互标准
第2 部分:个人信息注册、查询服务
Hospital information platform interactive standard—
Part 2:Patient information registration and inquiry services
2024 - 10 - 28 发布2025 - 04 - 01 实施
中华人民共和国国家卫生健康委员会 发布
WS/T 846.2-2024
I
前言
本标准为推荐性标准。
本标准是WS/T 846《医院信息平台交互标准》的第2部分。WS/T 846已经发布以下部分:
——第1部分:总则
——第2部分:个人信息注册、查询服务;
——第3部分:医疗卫生机构注册、查询服务;
——第4部分:医疗卫生人员注册、查询服务;
——第5部分:术语注册、查询服务;
——第6部分:文档注册、查询服务;
——第7部分:就诊信息交互服务;
——第8部分:医嘱信息交互服务;
——第9部分:申请单信息交互服务;
——第10部分:预约信息交互服务;
——第11部分:状态信息交互服务。
本标准由国家卫生健康标准委员会卫生健康信息标准专业委员会负责技术审查和技术咨询,由国家
卫生健康委统计信息中心负责协调性和格式审查,由国家卫生健康委规划发展与信息化司负责业务管
理、法规司负责统筹管理。
本标准主要起草单位:国家卫生健康委统计信息中心、四川大学华西第二医院、中国软件评测中心、
国家电子计算机质量检验检测中心。
本标准主要起草人:胡建平、黄勇、吴邦华、孟晓、郑良、李岳峰、赵宇明、王亚如、邱全伟。
WS/T 846.2-2024
1
医院信息平台交互标准第2 部分:个人信息注册、查询服务
1 范围
本标准规定了个人信息注册、查询服务消息的模板、消息架构的要求以及对消息内容的约束。
本标准适用于个人信息注册、查询服务的应用。
2 规范性引用文件
下列文件中的内容通过文中的规范性引用而构成本标准必不可少的条款。其中,注日期的引用文件,
仅该日期对应的版本适用于本标准;不注日期的引用文件,其最新版本(包括所有的修改单)适用于本
标准。
GB/T 2261.1 个人基本信息分类与代码第1部分:人的性别代码
GB/T 2261.2 个人基本信息分类与代码第2部分:婚姻状况代码
GB/T 2261.4 个人基本信息分类与代码第4部分:从业状况(个人身份)代码
GB 3304 民族类别代码表
GB/T 4761 家庭关系代码表
WS/T 445(所有部分)电子病历基本数据集
WS/T 846.1 医院信息平台交互标准第1部分:总则
3 术语和定义
WS/T 846.1中界定的术语和定义均适用于本标准。
4 交互服务
4.1 个人信息注册服务(PatientInfoRegister)
4.1.1 角色和交易
4.1.1.1 角色交易图
个人信息注册服务的角色交易图如图1所示。
图1 个人信息注册服务角色交易图
4.1.1.2 角色的选择
个人信息注册服务的角色列表如表1所示。
WS/T 846.2-2024
2
表1 个人信息注册服务角色列表
角色交易选择
个人信息源个人信息注册必选项(R)
个人信息注册服务个人信息注册必选项(R)
4.1.1.3 交易流程
个人信息注册服务的交易流程图如图2所示。
图2 个人信息注册服务交易流程图
个人信息注册服务的交易流程描述:
——个人信息源向个人信息注册服务提交请求消息;
——个人信息注册服务校验数据并进行存储,注册成功时返回成功响应消息;
——个人信息注册服务注册失败时返回异常响应消息。
4.1.2 接口规范模型
4.1.2.1 请求消息模型
个人信息注册服务的请求消息模型如表2所示。
表2 个人信息注册服务请求消息模型
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/controlActProcess/subject/registrationRequest/subje
ct1/patient/id/item/@extension 1..1 R 患者编号
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/id/item/@root 1..1 R 固定值"2.16.156.10011.2.5.1.4" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/statusCode/@code 1..1 R 状态代码,固定值"active" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/effectiveTime/any/@value 1..1 R 患者登记时间
日期时间格式,
DT15
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/id/item/@extension 0..1 O 身份证件号码DE02.01.030.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/id/item/@root 0..1 O 固定值"2.16.156.10011.1.3" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@code 0..1 O 身份证件类别代码DE02.01.031.00
/controlActProcess/subject/registrationRequest/subje 0..1 O 固定值"2.16.156.10011.2.3.1.1" —
WS/T 846.2-2024
3
节点基数可选项节点说明
对应数据元标识符/
格式要求
ct1/patient/patientPerson/idCategory/@ codeSystem
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@
codeSystemName
0..1 O 固定值"身份证件类别代码表" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/displayName/@
value
0..1 O 身份证件类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/name/item/part/@value 1..1 R 姓名DE02.01.039.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/telecom/item/@value 0..1 O 联系人电话号码DE02.01.010.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.3.4" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@code
0..1 O 性别代码DE02.01.040.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@codeSystemName
0..1 O 固定值"生理性别代码表(GB/T
2261.1)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
displayName/@value
0..1 O 性别描述—
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/birthTime/@value 0..1 O 出生日期时间DE02.01.090.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/item/part/@value 0..1 O 非结构化地址(完整地址描述)
字符串,最大长度
为100
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/item/part/@type 0..1 O 固定值"SAL" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-省(自治区、直辖市) DE02.01.091.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/ part/@type 0..1 O 固定值"STA" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-市(地区、州) DE02.01.092.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"CTY" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-县(区) DE02.01.093.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"CNT" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-乡(镇、街道办事处) DE02.01.094.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@type 0..1 O 固定值"STB" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-村(街、路、弄等) DE02.01.095.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"STR" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-门牌号码DE02.01.096.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"BNR" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 邮政编码DE02.01.047.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"ZIP" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@codeS
ystem
0..1 O 固定值"2.16.156.10011.2.3.3.5" —
WS/T 846.2-2024
4
节点基数可选项节点说明
对应数据元标识符/
格式要求
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@code 0..1 O 婚姻状况代码DE02.01.018.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@codeS
ystemName
0..1 O 固定值"婚姻状况代码表(GB/T
2261.2)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/displayN
ame/@value
0..1 O 婚姻状况描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
deSystem
0..1 O 固定值"2.16.156.10011.2.3.3.3" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
de
0..1 O 民族代码DE02.01.025.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
deSystemName
0..1 O 固定值"民族类别代码表(GB
3304)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/
displayName/@value
0..1 O 民族描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.3.7" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@code
0..1 O 职业类别代码DE02.01.052.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@codeSystemName
0..1 O 固定值"从业状况(个人身体)代
码表(GB/T 2261.4)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/displayName/@value
0..1 O 职业类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/employerOrga
nization/name/item/part/@value
0..1 O 工作单位名称DE08.10.007.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/employerOrga
nization/contactParty/telecom/item/@value
0..1 O 工作单位电话号码DE02.01.010.04
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@exten
sion
0..1 O 居民健康卡号DE01.00.021.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@root 0..1 O 固定值"2.16.156.10011.1.19" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@exten
sion
0..1 O 健康档案编号DE01.00.009.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@root 0..1 O 固定值"2.16.156.10011.1.2" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/scopingOrganiz
ation/id/item/@extension
0..1 O 建档医疗机构组织机构代码DE08.10.052.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/scopingOrganiz
ation/id/item/@root
0..1 O 固定值"2.16.156.10011.1.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@codeSystem
0..1 O 固定值
"2.16.156.10011.2.3.1.34" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@codeSystemName
0..1 O 固定值"家庭关系代码表(GB/T
4761)" —
/controlActProcess/subject/registrationRequest/subje 0..1 O 联系人与患者关系代码DE02.10.024.00
WS/T 846.2-2024
5
节点基数可选项节点说明
对应数据元标识符/
格式要求
ct1/patient/patientPerson/personalRelationship/code/
@code
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code//
/displayName/@value
0..1 O 联系人与患者关系描述
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/teleco
m/item/@value
0..1 O 联系人电话号码DE02.01.010.11
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/relatio
nshipHolder1/name/item/part/@value
0..1 O 联系人姓名DE02.01.039.68
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/id/item/@extension 1..1 R 登记机构代码
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/id/item/@root 1..1 R 固定值"2.16.156.10011.1.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/name/item/part/@va
lue
0..1 O 登记机构名称DE08.10.013.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@codeSystem
0..1 O 固定值
"2.16.156.10011.2.3.1.248" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@ codeSystemName
0..1 O 固定值"医疗保险类别代码表" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@code
0..1 O 医疗保险类别代码DE02.01.044.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/displayName/@value
0..1 O 医疗保险类别名称DE02.01.045.00
/controlActProcess/subject/registrationRequest/autho
r/assignedEntity/id/item/@extension 1..1 R 注册者职工工号
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/autho
r/assignedEntity/id/item/@root 1..1 R 固定值"2.16.156.10011.1.4" —
/controlActProcess/subject/registrationRequest/autho
r/assignedEntity/assignedPerson/name/item/part/@va
lue
0..1 O 注册者姓名DE02.01.039.00
4.1.2.2 响应消息模型(成功)
个人信息注册服务使用的响应消息模型(成功)如表3所示。
表3 个人信息注册服务响应消息模型(成功)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/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/@va
lue 1..1 R 处理结果说明
字符串,最大长度
为200
4.1.2.3 响应消息模型(异常)
WS/T 846.2-2024
6
个人信息注册服务使用的响应消息模型(异常)如表4所示。
表4 个人信息注册服务响应消息模型(异常)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/acknowledgement/@typeCode 1..1 R 处理结果,固定值"AE"表示失败—
/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/@va
lue 1..1 R 处理结果说明
字符串,最大长度
为200
4.2 个人信息更新服务(PatientInfoUpdate)
4.2.1 角色和交易
4.2.1.1 角色交易图
个人信息更新服务的角色交易图如图3所示。
图3 个人信息更新服务角色交易图
4.2.1.2 角色的选择
个人信息更新服务的角色列表如表5所示。
表5 个人信息更新服务角色列表
角色交易选择
个人信息源个人信息更新必选项(R)
个人信息更新服务个人信息更新必选项(R)
4.2.1.3 交易流程
个人信息更新服务的交易流程图如图4所示。
WS/T 846.2-2024
7
响应消息
个人信息源个人信息更新服务
个人信息更新请求消息
交叉逻辑索引
图4 个人信息更新服务交易流程图
个人信息更新服务的交易流程描述:
——个人信息源向个人信息更新服务提交请求消息;
——个人信息更新服务进行数据更新,更新成功时返回成功响应消息;
——个人信息更新服务失败时返回异常响应消息。
4.2.2 接口规范模型
4.2.2.1 请求消息模型
个人信息更新服务的请求消息模型如表6所示。
表6 个人信息更新服务请求消息模型
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/controlActProcess/subject/registrationRequest/subje
ct1/patient/id/item/@extension 1..1 R 患者编号
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/id/item/@root 1..1 R 固定值"2.16.156.10011.2.5.1.4" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/statusCode/@code 1..1 R 状态代码,固定值"active" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/effectiveTime/any/@value 1..1 R 患者登记时间
日期时间格式,
DT15
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/id/item/@extension 0..1 O 身份证件号码DE02.01.030.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/id/item/@root 0..1 O 固定值"2.16.156.10011.1.3" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@code 0..1 O 身份证件类别代码DE02.01.031.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@codeSystem 0..1 O 固定值"2.16.156.10011.2.3.1.1" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@codeSystemN
ame
0..1 O 固定值"身份证件类别代码表" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/displayName/@
value
0..1 O 身份证件类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/name/item/part/@value 1..1 R 姓名DE02.01.039.00
/controlActProcess/subject/registrationRequest/subje 0..1 O 联系人电话号码DE02.01.010.00
WS/T 846.2-2024
8
节点基数可选项节点说明
对应数据元标识符/
格式要求
ct1/patient/patientPerson/telecom/item/@value
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.3.4" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@codeSystemName
0..1 O 固定值"生理性别代码表(GB/T
2261.1)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@code
0..1 O 性别代码DE02.01.040.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
displayName/@value
0..1 O 性别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/birthTime/@value 0..1 O 出生日期时间DE02.01.090.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/item/part/@value 0..1 O 非结构化地址(完整地址描述)
字符串,最大长度
为100
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/item/part/@type 0..1 O 固定值"SAL" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-省(自治区、直辖市) DE02.01.091.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/ part/@type 0..1 O 固定值"STA" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-市(地区、州) DE02.01.092.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"CTY" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-县(区) DE02.01.093.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"CNT" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-乡(镇、街道办事处) DE02.01.094.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"STB" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-村(街、路、弄等) DE02.01.095.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"STR" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-门牌号码DE02.01.096.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"BNR" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 邮政编码DE02.01.047.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"ZIP" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@codeS
ystem
0..1 O 固定值"2.16.156.10011.2.3.3.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@codeS
ystemName
0..1 O 固定值"婚姻状况代码表(GB/T
2261.2)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@code 0..1 O 婚姻状况代码DE02.01.018.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/displayN
ame/@value
0..1 O 婚姻状况描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co 0..1 O 固定值"2.16.156.10011.2.3.3.3" —
WS/T 846.2-2024
9
节点基数可选项节点说明
对应数据元标识符/
格式要求
deSystem
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
deSystemName
0..1 O 固定值"民族类别代码表(GB
3304)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
de
0..1 O 民族代码DE02.01.025.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/
displayName/@value
0..1 O 民族描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.3.7" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@codeSystemName
0..1 O 固定值"从业状况(个人身体)代
码表(GB/T 2261.4)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@code
0..1 O 职业类别代码DE02.01.052.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/displayName/@value
0..1 O 职业类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/employerOrga
nization/name/item/part/@value
0..1 O 工作单位名称DE08.10.007.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/employerOrga
nization/contactParty/telecom/item/@value
0..1 O 工作单位电话号码DE02.01.010.04
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@exten
sion
0..1 O 健康卡号DE01.00.021.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@root 0..1 O 固定值"2.16.156.10011.1.19" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@exten
sion
0..1 O 健康档案编号DE01.00.009.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@root 0..1 O 固定值"2.16.156.10011.1.2" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/scopingOrganiz
ation/id/item/@extension
0..1 O 建档医疗机构组织机构代码DE08.10.052.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/scopingOrganiz
ation/id/item/@root
0..1 O 固定值"2.16.156.10011.1.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.1.34" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@codeSystemName
0..1 O 固定值"家庭关系代码表(GB/T
4761)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@code
0..1 O 联系人与患者关系代码DE02.10.024.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code//
/displayName/@value
0..1 O 联系人与患者关系描述
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/teleco
m/item/@value
0..1 O 联系人电话号码DE02.01.010.11
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/relatio 0..1 O 联系人姓名DE02.01.039.68
WS/T 846.2-2024
10
节点基数可选项节点说明
对应数据元标识符/
格式要求
nshipHolder1/name/item/part/@value
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/id/item/@extension 1..1 O 登记机构代码
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/id/item/@root 1..1 O 固定值"2.16.156.10011.1.5" —
/controlActProcess/subject/registrationRequest/subject
1/patient/providerOrganization/name/item/part/@value 0..1 O 登记机构名称DE08.10.013.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@codeSystem
0..1 O 固定值
"2.16.156.10011.2.3.1.248" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@ codeSystemName
0..1 O 固定值"医疗保险类别代码表" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@code
0..1 O 医疗保险类别代码DE02.01.044.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/displayName/@value
0..1 O 医疗保险类别名称DE02.01.045.00
/controlActProcess/subject/registrationRequest/autho
r/assignedEntity/id/item/@extension 1..1 R 更新者职工工号
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/autho
r/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
4.2.2.2 响应消息模型(成功)
个人信息更新服务的响应消息模型(成功)如表7所示。
表7 个人信息更新服务响应消息模型(成功)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/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/@val
ue 1..1 R 处理结果说明
字符型,固定长度
为200
4.2.2.3 响应消息模型(异常)
个人信息更新服务的响应消息模型(异常)如表8所示。
表8 个人信息更新服务响应消息模型(异常)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
WS/T 846.2-2024
11
节点基数可选项节点说明
对应数据元标识符/
格式要求
/acknowledgement/@typeCode 1..1 R 处理结果,固定值"AE"表示失败—
/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/@val
ue 1..1 R 处理结果说明
字符串,最大长度
为200
4.3 个人信息合并服务(PatientInfoMerge)
4.3.1 角色和交易
4.3.1.1 角色交易图
个人信息合并服务的角色交易图如图5所示。
图5 个人信息合并服务角色交易图
4.3.1.2 角色的选择
个人信息合并服务的角色列表如表9所示。
表9 个人信息合并服务角色列表
角色交易选择
个人信息源个人信息合并必选项(R)
个人信息合并服务个人信息合并必选项(R)
4.3.1.3 交易流程
个人信息合并服务的交易流程图如图6所示。
响应消息
个人信息源个人信息合并服务
个人信息合并请求消息
交叉逻辑索引
图6 个人信息合并服务交易流程图
个人信息合并服务的交易流程描述:
WS/T 846.2-2024
12
——个人信息源向个人信息合并服务提交请求消息;
——个人信息合并服务成功时返回成功响应消息;
——个人信息合并服务失败时返回异常响应消息。
4.3.2 接口规范模型
4.3.2.1 请求消息模型
个人信息合并服务的请求消息模型如表10所示。
表10 个人信息合并服务请求消息模型
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/controlActProcess/subject/registrationEvent/statusC
ode/@code 1..1 R 状态代码,固定值"active" —
/controlActProcess/subject/registrationEvent/subject1
/patient/id/item/@extension 1..1 R 患者编号
字符串,最大长度
为50
/controlActProcess/subject/registrationEvent/subject1
/patient/id/item/@root 1..1 R 固定值"2.16.156.10011.2.5.1.4" —
/controlActProcess/subject/registrationEvent/subject1
/patient/statusCode/@code 1..1 R 状态代码,固定值"active" —
/controlActProcess/subject/registrationEvent/subject1
/patient/effectiveTime/any/@value 0..1 O 患者登记时间
日期时间格式,
DT15
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/id/item/@extension 0..1 O 身份证件号码DE02.01.030.00
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/id/item/@root 0..1 O 固定值"2.16.156.10011.1.3" —
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/idCategory/@code 0..1 O 身份证件类别代码DE02.01.031.00
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/idCategory/@codeSystem 0..1 O 固定值"2.16.156.10011.2.3.1.1" —
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/idCategory/@codeSystemNam
e
0..1 O 固定值"身份证件类别代码表" —
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/idCategory/displayName/@val
ue
0..1 O 身份证件类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationEvent/subject1
/patient/patientPerson/name/item/part/@value 0..1 O 患者姓名DE02.01.039.00
/controlActProcess/subject/registrationEvent/subject1
/custodian/assignedEntity/id/item/@extension 1..1 R 操作人职工工号
字符型,固定长度
为50
/controlActProcess/subject/registrationEvent/subject1
/custodian/assignedEntity/id/item/@root 1..1 R 固定值"2.16.156.10011.1.4" —
/controlActProcess/subject/registrationEvent/subject1
/custodian/assignedEntity/assignedPerson/name/item/
part/@value
0..1 O 操作人姓名DE02.01.039.00
/controlActProcess/subject/registrationEvent/subject1
/replacementOf/priorRegistration/statusCode/@code 1..1 R 状态代码,固定值"obsolete" —
/controlActProcess/subject/registrationEvent/subject1
/replacementOf/priorRegistration/subject1/priorRegis
teredRole/id/item/@extension
1..1 R 被合并患者编号
字符串,最大长度
为50
/controlActProcess/subject/registrationEvent/subject1
/replacementOf/priorRegistration/subject1/priorRegis
teredRole/id/item/@root
1..1 R 固定值"2.16.156.10011.2.5.1.4" —
4.3.2.2 响应消息模型(成功)
WS/T 846.2-2024
13
个人信息合并服务的响应消息模型(成功)如表11所示。
表11 个人信息合并服务响应消息模型(成功)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/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/@va
lue 1..1 R 处理结果说明
字符串,最大长度
为200
4.3.2.3 响应消息模型(异常)
个人信息合并服务的响应消息模型(异常)如表12所示。
表12 个人信息合并服务响应消息模型(异常)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/acknowledgement/@typeCode 1..1 R 处理结果,固定值"AE"表示失败—
/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/@va
lue 1..1 R 处理结果说明
字符串,最大长度
为200
4.4 个人信息查询服务(PatientInfoQuery)
4.4.1 角色和交易
4.4.1.1 角色交易图
个人信息查询服务的角色交易图如图7所示。
图7 个人信息查询服务角色交易图
4.4.1.2 角色的选择
WS/T 846.2-2024
14
个人信息查询服务的角色列表如表13所示。
表13 个人信息查询服务角色列表
角色交易选择
个人信息使用者个人信息查询必选项(R)
个人信息查询服务个人信息查询必选项(R)
4.4.1.3 交易流程
个人信息查询服务的交易流程图如图8所示。
图8 个人信息查询服务交易流程图
个人信息查询服务的交易流程描述:
——个人信息使用者向个人信息查询服务提交请求消息;
——个人信息查询服务成功时返回成功相应消息;
——个人信息查询服务失败时返回异常响应消息。
4.4.2 接口规范模型
4.4.2.1 请求消息模型
个人信息查询服务的请求消息模型如表14所示。
表14 个人信息查询服务请求消息模型
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符型,固定长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/controlActProcess/queryByParameter/queryId/@ext
ension 1..1 R 查询流水号
字符型,固定长度
为50
/controlActProcess/queryByParameter/statusCode/@
code 1..1 R 状态代码,固定值"new" —
/controlActProcess/queryByParameter/initialQuantity
/@value 1..1 R 固定值"2" —
/controlActProcess/queryByParameter/matchCriterio
nList/minimumDegreeMatch/value/@value 0..1 O 匹配度
字符型,固定长度
为50
/controlActProcess/queryByParameter/matchCriterio
nList/minimumDegreeMatch/value/@xsi:type 0..1 O 固定值"INT" —
/controlActProcess/queryByParameter/matchCriterio
nList/minimumDegreeMatch/semanticsText/@value 0..1 O 固定值"匹配程度" —
/controlActProcess/queryByParameter/parameterList/ 0..1 O 患者编号字符串,最大长度
WS/T 846.2-2024
15
节点基数可选项节点说明
对应数据元标识符/
格式要求
id/@extension 为50
/controlActProcess/queryByParameter/parameterList/
id/@root 0..1 O 固定值"2.16.156.10011.2.5.1.4" —
/controlActProcess/queryByParameter/parameterList/
livingSubjectAdministrativeGender/value/@codeSyst
em
0..1 O 固定值"2.16.156.10011.2.3.3.4" —
/controlActProcess/queryByParameter/parameterList/
livingSubjectAdministrativeGender/value/@codeSyst
emName
0..1 O 固定值"生理性别代码表(GB/T
2261.1)" —
/controlActProcess/queryByParameter/parameterList/
livingSubjectAdministrativeGender/value/@code 0..1 O 患者性别代码
/controlActProcess/queryByParameter/parameterList/ DE02.01.040.00
livingSubjectAdministrativeGender/
value/displayName/@value
0..1 O 患者性别名称
/controlActProcess/queryByParameter/parameterList/
livingSubjectId/value/item/@extension 0..1 O 患者身份证件号码DE02.01.030.00
/controlActProcess/queryByParameter/parameterList/
livingSubjectId/value/item/@root 0..1 O 固定值"2.16.156.10011.1.3" —
/controlActProcess/queryByParameter/parameterList/
livingSubjectName/value/item/part/@value 0..1 O 患者姓名DE02.01.039.00
4.4.2.2 响应消息模型(成功)
个人信息查询服务的响应消息模型(成功)如表15所示。
表15 个人信息查询服务响应消息模型(成功)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/acknowledgement/@typeCode 1..1 R 处理结果标识,固定值"AA" —
/controlActProcess/subject/registrationEvent/statusC
ode/@code 1..1 R 状态代码,固定值"active" —
/controlActProcess/subject/registrationEvent/subject1
/patient/id/item/@extension 1..1 R 患者编号
字符串,最大长度
为50
/controlActProcess/subject/registrationEvent/subject1
/patient/id/item/@extension 1..1 R 固定值"2.16.156.10011.2.5.1.4" —
/controlActProcess/subject/registrationEvent/subject1
/patient/statusCode/@code 1..1 R 状态代码,固定值"active" —
/controlActProcess/subject/registrationEvent/subject1
/patient/effectiveTime/low/@value 1..1 R 患者登记时间
日期时间格式,
DT15
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/id/item/@extension 0..1 O 身份证件号码DE02.01.030.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/id/item/@root 0..1 O 固定值"2.16.156.10011.1.3" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@code 0..1 O 身份证件类别代码DE02.01.031.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@ codeSystem 0..1 O 固定值"2.16.156.10011.2.3.1.1" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/@
codeSystemName
0..1 O 固定值"身份证件类别代码表" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/idCategory/displayName/@
value
0..1 O 身份证件类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje 1..1 R 姓名DE02.01.039.00
WS/T 846.2-2024
16
节点基数可选项节点说明
对应数据元标识符/
格式要求
ct1/patient/patientPerson/name/item/part/@value
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/telecom/item/@value 0..1 O 联系人电话号码DE02.01.010.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.3.4" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@codeSystemName
0..1 O 固定值"生理性别代码表(GB/T
2261.1)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
@code
0..1 O 性别代码DE02.01.040.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/administrativeGenderCode/
displayName/@value
0..1 O 性别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/birthTime/@value 0..1 O 出生日期时间DE02.01.090.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/item/part/@value 0..1 O 非结构化地址(完整地址描述)
字符串,最大长度
为100
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/item/part/@type 0..1 O 固定值"SAL" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-省(自治区、直辖市) DE02.01.091.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/ part/@type 0..1 O 固定值"STA" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-市(地区、州) DE02.01.092.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"CTY" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-县(区) DE02.01.093.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"CNT" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-乡(镇、街道办事处) DE02.01.094.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"STB" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-村(街、路、弄等) DE02.01.095.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"STR" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 地址-门牌号码DE02.01.096.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"BNR" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr/part/@value 0..1 O 邮政编码DE02.01.047.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/addr /part/@type 0..1 O 固定值"ZIP" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@codeS
ystem
0..1 O 固定值"2.16.156.10011.2.3.3.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@codeS
ystemName
0..1 O 固定值"婚姻状况代码表(GB/T
2261.2)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/@code 0..1 O 婚姻状况代码DE02.01.018.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/maritalStatusCode/displayN
ame/@value
0..1 O 婚姻状况描述
字符串,最大长度
为50
WS/T 846.2-2024
17
节点基数可选项节点说明
对应数据元标识符/
格式要求
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
deSystem
0..1 O 固定值"2.16.156.10011.2.3.3.3" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
deSystemName
0..1 O 固定值"民族类别代码表(GB
3304)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/item/@co
de
0..1 O 民族代码DE02.01.025.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/ethnicGroupCode/
displayName/@value
0..1 O 民族描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.3.7" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@codeSystemName
0..1 O 固定值"从业状况(个人身体)代
码表(GB/T 2261.4)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/@code
0..1 O 职业类别代码DE02.01.052.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/occupationCod
e/displayName/@value
0..1 O 职业类别描述
字符串,最大长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/employerOrga
nization/name/item/part/@value
0..1 O 工作单位名称DE08.10.007.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asEmployee/employerOrga
nization/contactParty/telecom/item/@value
0..1 O 工作单位电话号码DE02.01.010.04
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@exten
sion
0..1 O 健康卡号DE01.00.021.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@root 0..1 O 固定值"2.16.156.10011.1.19" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@exten
sion
0..1 O 城乡居民健康档案编号DE01.00.009.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/id/item/@root 0..1 O 固定值"2.16.156.10011.1.2" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/scopingOrganiz
ation/id/item/@extension
0..1 O 建档医疗机构组织机构代码DE08.10.052.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/asOtherIDs/scopingOrganiz
ation/id/item/@root
0..1 O 固定值"2.16.156.10011.1.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@codeSystem
0..1 O 固定值"2.16.156.10011.2.3.1.34" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@codeSystemName
0..1 O 固定值"家庭关系代码表(GB/T
4761)" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@code
0..1 O 联系人与患者关系代码DE02.10.024.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/code/
@displayName
0..1 O 联系人与患者关系描述
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/teleco
m/item/@value
0..1 O 联系人电话号码DE02.01.010.11
WS/T 846.2-2024
18
节点基数可选项节点说明
对应数据元标识符/
格式要求
/controlActProcess/subject/registrationRequest/subje
ct1/patient/patientPerson/personalRelationship/relatio
nshipHolder1/name/item/part/@value
0..1 O 联系人姓名DE02.01.039.68
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/id/item/@extension 1..1 R 登记机构代码
字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/id/item/@root 1..1 R 固定值"2.16.156.10011.1.5" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/providerOrganization/name/item/part/@va
lue
0..1 O 登记机构名称DE08.10.013.00
/controlActProcess/subject/registrationEvent/subject1
/patient/subjectOf1/queryMatchObservation/code/@c
ode
1..1 R 固定值"PDQ" —
/controlActProcess/subject/registrationEvent/subject1
/patient/subjectOf1/queryMatchObservation/value/@
value
1..1 R 匹配度—
/controlActProcess/subject/registrationEvent/subject1
/patient/subjectOf1/queryMatchObservation/value/@
xsi:type
1..1 R 固定值"INT" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@codeSystem
0..1 O 固定值
"2.16.156.10011.2.3.1.248" —
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@ codeSystemName
0..1 O 固定值"医疗保险类别代码表" 字符型,固定长度
为50
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/@code
0..1 O 医疗保险类别代码DE02.01.044.00
/controlActProcess/subject/registrationRequest/subje
ct1/patient/coveredPartyOf/coverageRecord/beneficia
ry/beneficiary/code/displayName/@value
0..1 O 医疗保险类别名称DE02.01.045.00
/controlActProcess/subject/registrationEvent/custodia
n/assignedEntity/id/item/@extension 1..1 R 登记人职工工号
字符型,固定长度
为50
/controlActProcess/subject/registrationEvent/custodia
n/assignedEntity/id/item/@root 1..1 R 固定值"2.16.156.10011.1.4" —
/controlActProcess/subject/registrationEvent/custodia
n/assignedEntity/assignedPerson/name/item/part/@va
lue
0..1 O 登记人姓名DE02.01.039.00
/controlActProcess/queryAck/queryId/@extension 0..1 O 查询流水号
字符型,固定长度
为50
/controlActProcess/queryAck/queryResponseCode/@
code 1..1 R 查询结果代码
字符型,固定长度
为50
/controlActProcess/queryAck/resultTotalQuantity/@v
alue 0..1 O 查询结果数量
数值型,最大长度
为4
4.4.2.3 响应消息模型(异常)
个人信息查询服务的响应消息模型(异常)如表16所示。
表16 个人信息查询服务响应消息模型(异常)
节点基数可选项节点说明
对应数据元标识符/
格式要求
/id/@extension 1..1 R 消息流水号
字符串,最大长度
为50
/id/@root 1..1 R 固定值"2.16.156.10011.2.5.1.1" —
/creationTime/@value 1..1 R 消息创建时间
日期时间格式,
DT15
/acknowledgement/@typeCode 1..1 R 处理结果,固定值"AE"表示失败—
WS/T 846.2-2024
19
节点基数可选项节点说明
对应数据元标识符/
格式要求
/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/@va
lue 1..1 R 处理结果说明
字符串,最大长度
为200
/controlActProcess/queryAck/queryId/@extension 0..1 O 查询流水号
字符串,最大长度
为50
/controlActProcess/queryAck/queryResponseCode/@
code 1..1 R 查询结果代码
字符串,最大长度
为50
WS/T 846.2-2024
20
附录A
(资料性)
消息示例
A.1 个人信息注册服务
A.1.1 个人信息注册服务-请求消息
ITSVersion="XML_1.0" xsi:schemaLocation="https://www.chiss.org.cn
https://www.chiss.org.cn/HL7V3Message/multicacheschemas/PRPA_IN201311UV02.xsd">
WS/T 846.2-2024
21
codeSystemName="生理性别代码表(GB/T 2261.1)">
codeSystemName="婚姻状况代码表(GB/T 2261.2)">
codeSystemName="从业状况(个人身体)代码表(GB/T 2261.4)">
WS/T 846.2-2024
22
codeSystemName="医疗保险类别代码表">
WS/T 846.2-2024
23
A.1.2 个人信息注册服务-响应消息(成功)
ITSVersion="XML_1.0" xsi:schemaLocation="https://www.chiss.org.cn
https://www.chiss.org.cn/HL7V3Message/multicacheschemas/MCCI_IN000002UV01.xsd">
A.1.3 个人信息注册服务-响应消息(异常)
WS/T 846.2-2024
24
ITSVersion="XML_1.0" xsi:schemaLocation="https://www.chiss.org.cn
https://www.chiss.org.cn/HL7V3Message/multicacheschemas/MCCI_IN000002UV01.xsd">
A.2 个人信息更新服务
A.2.1 个人信息更新服务-请求消息
ITSVersion="XML_1.0" xsi:schemaLocation="https://www.chiss.org.cn
https://www.chiss.org.cn/HL7V3Message/multicacheschemas/PRPA_IN201314UV02.xsd">
WS/T 846.2-2024
25
评论