以下是可以调整后,符合表格模型要求的XML
<PRPA_IN201304UV02 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/PRPA_IN201304UV02.xsd"> <id root="2.16.156.10011.0" extension="22a0f9e0-4454-11dc-a6be-3603d6866807"/> <creationTime value="20070803130624"/> <interactionId root="2.16.840.1.113883.1.6" extension="PRPA_IN201304UV02 "/> <processingCode code="P"/> <processingModeCode code="R"/> <acceptAckCode code="AL"/> <receiver typeCode="RCV"> <device classCode="DEV" determinerCode="INSTANCE"> <id root="2.16.156.10011.0.1.1" extension="2.16.156.10011.0.1.1"/> </device> </receiver> <sender typeCode="SND"> <device classCode="DEV" determinerCode="INSTANCE"> <id root="2.16.156.10011.0.1.2" extension="2.16.156.10011.0.1.2"/> </device> </sender> <controlActProcess classCode="CACT" moodCode="EVN"> <subject typeCode="SUBJ"> <registrationEvent classCode="REG" moodCode="EVN"> <statusCode code="active"/> <subject1 typeCode="SBJ"> <patient classCode="PAT"> <!--要合并到的本地系统患者ID--> <id root="2.16.156.10011.0.2.2" extension="07acbb58-82dc-4df6-802c-3f4a7ab01519"/> <statusCode code="active"/> <effectiveTime value="20111212141414"/> <patientPerson> <!--身份证号--> <id root="2.16.156.10011.1.3" extension="120109197706000071"/> <!--姓名--> <name use="L">刘永好</name> </patientPerson> </patient> <replacementOf typeCode="RPLC"> <priorRegistration classCode="REG" moodCode="EVN"> <statusCode code="obsolete"/> <subject1 typeCode="SBJ"> <priorRegisteredRole classCode="PAT"> <!--本地系统被合并的患者ID--> <id root="2.16.156.10011.0.2.2" extension="f7bd1526-0c20-4c77-9700-a3e674d4664f"/> </priorRegisteredRole> </subject1> </priorRegistration> </replacementOf> <custodian typeCode="CST"> <assignedEntity classCode="ASSIGNED"> <id root="2.16.156.10011.0.3.2" extension="操作人ID"/> <assignedPerson classCode="PSN" determinerCode="INSTANCE"> <name use="L">赵武</name> </assignedPerson> </assignedEntity> </custodian> </subject1> </registrationEvent> </subject> </controlActProcess> </PRPA_IN201304UV02>
主要问题在于被合并人的XML节点不在subject1内,如图
------------正 文 已 结 束, 感 谢 您 的 阅 读 (折雨的天空)--------------------
转载请注明本文标题和链接:《区域卫生信息平台交互规范(征求意见稿)的个人更新服务示例XML与表格说明不符》
发表评论