医院信息平台预约信息交互服务消息示例.docx
附录A预约信息交互服务消息示例A.1号源排班信息新增服务A.1.1号源排班信息新增服务-请求消息<PRSCIN0301OlUVITSVersion=nXML1.0hxmlns=Hurn:hl7-org:v3Hxmlns:xsi=Mhttp:/www.w3.org/2001XMLSchema-instancexsi:schemaLocation=nurn:hl7-org:v3./multicacheschemas/PRSC_IN030101UV.xsdu><!-id-消息流水号一><idroot=n2.16.156.10011.2.5.1.'extension=22a0f9e0-4454-11dc-a6be-3603d6866807'7><!一CreationTime消息创建时间一><creationTimevalue=,20130501130624,7>v!TnteractionId消息的服务标识><interactionldroot=,2.16.156.10011.2.5.1.2,'extension=PRSCJN030101UV,7>!-processingcode-处理代码。标识此消息是否是产品、训灸、调试系统的一部分。D:调试;P:产品;T:训练<processingCodecode=',P'7><!-processingModeCode-处理模型代码。定义此消息是一个文档处理还是一个初始装载的一部分。A:存档;I:初始装载;R:从存档中恢复;T:当前处理,间隔传递。<processingModeCode><!-acceptAckCode-接收确认类型AL:总是确认;NE:从不确认;ER:仅在错误/或拒绝时确认;SU:仅在成功完成时确认。<acceptAckCodecode="AL,7><receivertypeCode="RCV><deviceclassCode=,DEVndeterminerCode=nINSTANCE',><id><itemroot=',2.16.156.10011.2.5.1.3t,extension='1Illl'7><id><device><receiver><sendertypeCode=uSNDu><deviceclassCode=,DEV,'determinerCode=,INSTANCE',><id><itemroot=',2.16.156.10011.2.5.1.3nextension=,222'7><id><device><sender><controlActProcessclassCode=CACTmoodCode=,EVN,><dataEnterertypeCode=ENT,><assignedPersonclassCode=,'ASSIGNED"><id><itemroot=2.16.156.10011.1.4"extension="操作者ID”><id><assignedPersonClassCode=nPSNndeterminerCode=,INSTANCE><namexsi:type=nDSET_ENn><item><partVaIUe="王平"><item><name><assignedPerson><assignedPerson><dataEnterer><subjecttypeCode=',SUBJ,><!-重复<scheduleClassCode=nSCH"moodCode="EVN"><resourceSlotClassCode=nSLOT"moodCode=uEVN,'><id><!-排班标识-><itemroot=',2.16.156.10011.2.5.1.20nextension=',7><id><!-亚专业<professioncode='*1codeSystem=',2.16.156.10011.2.3.2.62CodeSyStemName="医疗卫生机构业务科室分类与代码表"><diSplayNameVakIe="内科"/><profession><!-资源总数一><totalNumbervalue=,20'7><deptld><!-科室标识<itemroot=2.16.156.10011.1.26"extension="1,7><deptld><!一资源级别<codecode=1ncodeSystem=2.16.156.10011.2.5.1.2,CodeSyStemName="资源级别代码"><dislayNameVaIUe="级别<code><statusCode><effectiveTime><priorityCode><directTargettypeCode="DIRu><!一出诊医生信息一><IdentifiedEntityclassCode="CONS',><!-出诊医生医护人员工号一><id><itemroot='216.156.10011.1.4"extension="出诊人ID7><id><!-专业职务类别><codecode=1'1ncodeSystem=,'2.16.156.10011.2.3.1.209t,COdeSyStemName="专业技术职务类别代码表"><displayNameVaIUe="临床”/><code><PersonClaSSCOde="PSN"dete门ninerCode="INSTANCE”><!-身份证号-><id><itemroot=',2.16.156.10011.1.3nextension=,l201091977060155167><id><!-出诊医生姓名<namexsi:type="DSET_ENn><item><partValUe="赵武"/><item><nane><Person><IdentifiedEntity><directTarget><!一分时段信息l.*-><timeFrame><!-分时段资源类型<codeCode="1"CodeSyStem="2.16.156.10011.2.5.1.22"codeSystemName=*!iR5,><displayNamevalue=11§助机”/><code><!-分时段资源总数-><totalFrameNumbervalue=20l7><!-排班开始、结束日期时间<effectiveTime><lowvalue=,20170909097><highvalue=',20170909I2,7><effectiveTime><!-剩余号数<remainNumbervalue=5,7><timeFrame><resourceSlot><schedule><subject><controlActProcess></PRSCN030101UV>A.1.2号源排班信息新增服务-响应消息(成功)<MCCIJN000002UV01ITSVersion=nXML.1.Ouxmlns:xsi=nhttp:/www.w3.org/2001/XMLSchema-instancenxmlns=nurn:h!7-org:v3nxsi:schemaLocation=Hurn:hl7-org:v3./multicacheschemas/MCCI_IN()(X)002UV01.xsd><idroot="2.16.156.10011.2.5.1.1"extension="®12122,7><creationTimevalue=n20170106151903><interactionldroot=,2.16.156.10011.2.5.1.2,'extension=,'MCCIJN000002UV01,7><rocessingCodecode=P,7><processingModeCode><acceptAckCodecode=AL,7><receivertypeCode=RCV><deviceClassCode=nDEVndeterminerCode=MINSTANCEH><id><itemroot=,12.16.156.10011.2.5.1.3extension=n®l17><id><device><receiver><sendertypeCode=SNDu><deviceClassCode=nDEVndeterminerCode=MINSTANCEH><id><itemroot=,12.16.156.10011.2.5.1.3extension=()222,7><id><device><sender><acknowledgementtypeCode=AA><!-请求消息ID-><targetMessage><idroot=',2.16.156.10011.2.5.1.,extension="请求的消息ID”><targetMessage><acknowledgementDetail><textValUe="处理结果说明"><acknowledgementDetail><acknowledgement></MCCINOOOO(UVO1>A.1.3号源排班信息新增服务-响应消息(异常)<MCCIJN000002UV01ITSVersion=nXML.!.0xmlns:xsi=nhttp:/www.w3.org/2001/XMLSchema-instanceMxmlns=nurn:hl7-org:v3nxsi:schemaLocation=Hum:hl7-org:v3Jmulticacheschemas/MCCl_INoOOoO2UV01.xsd"><idroot=2161561001125.1.1"extension="©12122"><creationTimevalue=201701061519037><interactionldroot=,2.16.156.10011.2.5.1.2,'extension=MCCIJN000002UVO1,7><processingCodecode=nP,7><processingModeCode><acceptAckCodecode=AL,7><receivertypeCode=RCV><deviceClassCode=nDEVndeterminerCode=MINSTANCEH><id><itemroot=ll2.16.156.10011.2.5.L311extension=11111,7><id><device><receiver><sendertypeCode=SNDu><deviceClassCode=nDEVndeterminerCode=INSTANCE,><id><itemroot=2.16.156.10011.2.5.1.3extension=u222V><id><device><sender><acknowledgementtypeCode=nAEn><!-请求消息ID-><targetMessage><idroot=2.16.156.10011.2.5.1.,extension="请求的消息ID”><targetMessage><acknowledgementDetail><textValUe="处理结果说明"><acknowledgementDetail><acknowledgement>vMCCLIN()()()()()2UVO1>A.2号源排班信息更新服务A.2.1号源排班信息更新服务-请求消息<PRSCJN030102UVITSVersion=nXML,!.0nxmlns=uurn:hl7-org:v3nXmlns:xsi="http:WWW.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:h!7-org:v3Jmulticacheschemas/PRSCN()3()102UV.xsd',><!-id-消息流水号-><idroot=2.16.156.10011.2.5.1.,extension=',22a0f9e0-4454-1ldc-a6be-3603d6866807'7>v!-CreationTime-消息创建时间-><creationTimevalue=',20130501130624,7><!-interactionId-消息的服务标识<interactionldroot=,2.16.156.10011.2.5.1.2,'extension="PRSCN030102UV”/>!-processingcode-处理代码。标识此消息是否是产品、训底、调试系统的一部分。D:调试;P:产品;T:训练<processingCodecode="P'7>v!-processingModcCode-处理模型代码。定义此消息是一个文档处理还是一个初始装载的一部分。A:存档;I:初始装载;R:从存档中恢复;T:当前处理,间隔传递。<processingModeCode><!-acceptAckCode接收确认类型AL:总是确认;NE:从不确认;ER:仅在错误/或拒绝时确认;SU:仅在成功完成时确认。<acceptAckCodecode=',AL,7><receivertypeCode=RCV><deviceClassCode=nDEVndeterminerCode=MINSTANCEn><id><itemroot=,'2.16.156.10011.2.5.1.3extension="Illl,7><id><device><receiver><sendertypeCode=SND"><deviceclassCode="DEV,1determinerCode=,'INSTANCE><id><itemroot=',2.16.156.10011.2.5.1.3extension=u2227><id><device><sender><controlActProcessClassCode=nCACTumoodCode=,EVN,>><dataEnterertypeCode="ENT"><assignedPersonclassCode=',ASSIGNED"><id><itemroot=2.16.156.10011.1.4extension="操作者ID”><id><assignedPersonClassCode=nPSNndeterminerCode=INSTANCE"><namexsi:type=,DSET_ENH><item><partValUe="王平"><item><name><assignedPerson><assignedPerson><dataEnterer><subjecttypeCode=,SUBJu><!-面重复-><scheduleClassCode=uSCHnmoodCode=,'EVN',><resourceSlotClassCode=nSLOTnmoodCode=,EVN><id><!-排班标识-><itemroot=',2.16.156.10011.2.5.1.20nextension=',7><id><!-亚专业<professioncode=ulcodeSystem=u2.16.156.10011.2.3.2.62,CodeSyStemName="医疗卫生机构业务科室分类与代码表"><displayNameValUe="内科”/><profession><!一资源总数<totalNumbervalue=20'7><deptld><!一科室标识一><itemroot=,2.16.156.10011.1.26"extension="1,7><deptld><!一资源级别一><codeCOde="1"codeSystem="2.16.156.10011.2.5.1.2'COdeSyStemName="资源级别代码<displayNameVaIUe="级别7><code><statusCode><effectiveTime><priorityCode><directTargettypeCode="DIRu><!出诊医生信息><IdentifiedEntityclassCode=',CONS,><!-出诊医生医护人员工号><id><itemroot=2.16.156.10011.1.4"extension="出诊人ID7><id><!-专业职务类别<codecode='11',codeSystem=n2.i6.156.10011.2.3.i.209nCodeSyStemName="专业技术职务类别代码表"><displayNameVaIUe="临床<code><PersonClaSSCOde="PSN"dete门ninerCode="INSTANCE”><!-身份证号-><id><itemroot=2.16.156.10011.1.3extension=,l201091977060155167><id><!-出诊医生姓名<namexsi:type="DSET_ENn><item><partValUe="赵武"/><item><nane><Person><IdentifiedEntity><directTarget><!-分时段信息l.*-><timeFrame><!-分时段资源类型<codecode="'codeSystem=2.16.156.10011.2.5.1.22CodeSyStemName="排班资源类型代码”><dislayNameValUe=咱助机”/><code><!-分时段资源总数<totalFrameNumbervalue=,20t7><!-排班开始、结束日期时间><effecliveTime><lowvalue=20170909097><highvalue=n2017090912,7><effectiveTime><!-剩余号数<remainNumbervalue=5,7><timeFrame><resourceSlot><schedule><subject><controlActProcess></PRSCINo30102UV>A.2.2号源排班信息更新服务-响应消息(成功)<MCCIJN000002UV01ITSVersion=nXMLeLOnxmlns:xsi=Mhttp:/www.w3.org/200l/XMLSchema-instanceHxmlns=Hurn:hl7-org:v3Hxsi:schemaLocation=Murn:hl7-org:v3./multicacheschemas/MCCI_IN000002UV01.xsd><idroot=2.16.156.10011.2.5.1.,extension=H12122,7><creationTimevalue="20170106151903,7><interactionldroot=,2.16.156.10011.2.5.1.2,'extension=,MCCIJN000002UVO1,7><processingCodecode=nP,7><processingModeCode><acceptAckCodecode=AL,7><receivertypeCode=RCV><deviceclassCode=,DEVdeterminerCode=MINSTANCEH><id><itemroot=H2.16.156.10011.2.5.1.3Mextension=11®111,7><id><device><receiver><sendertypeCode=nSND><deviceclassCode=,DEV,'determinerCode=INSTANCE',><id><itemroot=',2.16.156.10011.2.5.1.3t,extension=u2227><id><device><sender><acknowledgementtypeCode=,AA><!请求消息ID-><targetMessage><idroot=2.16.156.10011.2.5.1.,extension="请求的消息ID”><targetMessage><acknowledgementDetail><textValUe="处理结果说明"/><acknowledgementDetail><acknowledgement>vMCCLIN()()()()()2UVO1>A.2.3号源排班信息更新服务-响应消息(异常)<MCCIJN000002UV01ITSVersion=nXML.0uxmlns:xsi=nhttp:/www.w3.org/2001XMLSchema-instancexmlns=nurn:h!7-org:v3nxsi:schemaLocation=nurn:hl7-org:v3.multicacheschemasMCCI-IN000002UV0Lxsd><idroot="2.16.156.10011.2.5.1.,extension=',(a)12122,7><creationTimevalue=20170106151903,7><interactionldroot=,2.16.156.10011.2.5.1.2,'extension=MCCIJN000002UV01,7><processingCodecode=nP,7><processingModeCode><acceptAckCodecode=AL,7><receivertypeCode=RCV><deviceClassCode=nDEVndeterminerCode=INSTANCE,><id><itemroot=ll2.16.156.10011.2.5.L311extension=11111,7><id><device><receiver><sendertyeCode=SND><deviceClassCode=nDEVndeterminerCode=INSTANCE,><id><itemroot=,2.16.156.10011.2.5.1.3extension=,(0)222,7><id><device><sender><acknowledgementtypeCode=AE><!请求消息ID-><targetMessage><idroot=',2.16.156.10()11.2.5.1.1"extension="请求的消MlD,7><targetMessage><acknowledgementDetail><textValUe="处理结果说明"/><acknowledgementDetail><acknowledgement>vMCCLIN()()()()()2UVO1>A.3号源排班信息查询服务A.3.1号源排班信息查询服务-请求消息<PRSCINiooooouVITSVersion=uXML1.0uxmlns=Hurn:hl7-org:v3H=-Cxmlns:xsi=nhttp:/www.w3.org/2001XMLSchema-instanceuxsi:schemaLocation=Murn:h!7-org:v3./multicacheschemas/PRSCJN1OOOOOUV.xsdu><!-id-消息流水号一><idroot=n2.16.156.10011.2.5.1.,extension=',22a0f9e0-4454-lldc-a6be-3603d6866807,7>U-CreationTime-消息创建时间<creationTimevalue=,20130501130624,7>v!-interactionld-消息的服务标识一><interactionldroot="2.16.156.10011.2.5.1.2"extension=',PRSCJNl00000UV7>U-ProcessingCode-处理代码。标识此消息是否是产品、训扇、调试系统的一部分。D:调试;P:产品;T:训练<processingCodecode=nP,7><!-processingModeCode-处理模型代码。定义此消息是一个文档处理还是一个初始装载的一部分。A:存档;I:初始装载;R:从存档中恢复;T:当前处理,间隔传递。-><processingModeCode><!-acceptAckCode接收确认类型AL:总是确认;NE:从不确认;ER:仅在错误/或拒绝时确认;SU:仅在成功完成时确认。<acceptAckCodecode=,AL,7><receivertypeCode=RCV><deviceclassCode=,DEVdeterminerCode=MINSTANCEH><id><itemroot=2.16.156.10011.2.5.1.3extension=u1111,7><id><device><receiver><sendertypeCode=uSNDu><deviceclassCode=,DEVdeterminerCode=MINSTANCEH><id><itemrool=,2.16.156.10011.2.5.1.3extension=222,7><id><device><sender><controlActProcessClassCode=nACTNnmoodCode=,EVNM><queryByParameter><!-查询ID-4<queryldextension="18204,7><statusCode><!-排班标识-><scheduleld><value><itemroot=,2.16.156.10011.2.5.1.20"extension=1'1,7><value><scheduleld><!-排班时段-><effectiveTime><value><lowvalue=201303030404047><highvalue=,120130303050505,7><value><effectiveTime><!-排班科室-><resourceDept><value><itemroot="2.16.156.10011.1.26nextension="科室ID7><value><semanticsTextVaIUe="骨科”/><resourceDept><!-出诊医生一><employeeld><value><itemroot=',2.16.156.10011.1.4'1extension="医护人员标识”><itemroot=2.16.156.10011.1.3extension="身份证号"/><value>CsemanticsTextVaIUe="王医生"/><employeeld><!-资源类型<slotType><valuecode=1codeSystem=,r2.16.156.10011.2.5.1.22codeSystemNarne=排班资源类型代码”>CdisplayNameVaIUe="自助机”/><value><slotType><queryByParameter><controlActProcess></PRSCNlOOOOOUV>A.3.2号源排班信息查询服务-查询响应消息(成功)<PRSCNl()05()0UVITSVersion=nXML_1.0MXmIns="Urn:hl7-org:V3”Xmlns:xsi="http:WWW.w3.org2001/XMLSChema-instance"xsi:schemaLocation=nurn:hl7-org:v3.ZmulticacheschemasZPRSCJNl(X)5(X)UV.xsdu><!-id-消息流水号-><idroot="2.16.156.10011.2.5.1.,extension=',22aOf9eO-4454-11dc-a6be-3603d6866807'7>U-CreationTime-消息创建时间<creationTimevalue=20130501130624,7>v!-interactionld-消息的服务标识一><interactionldroot=,2.16.156.10011.2.5.1.2extension=,'PRSC-IN100500UV,7>U-ProcessingCode-处理代码。标识此消息是否是产品、训底、调试系统的一部分。D:调试;P:产品;T:训练<processingCodecode=nP,7><!-processingModeCode-处理模型代码。定义此消息是一个文档处理还是一个初始装载的一部分。A:存档;I:初始装载;R:从存档中恢复;T:当前处理,间隔传递。-><processingModeCode>v!-acceptAckCode-接收确认类型AL:总是确认;NE:从不确认;ER:仅在错误/或拒绝时确认;SU:仅在成功完成时确认。<acceptAckCodecode=,AL,7><receivertypeCode=RCV><deviceclassCode=,DEVdeterminerCode=MINSTANCEH><id><itemroot=l,2.16.156.10011.2.5.1.3extension=l117><id><device><receiver><sendertypeCode=nSNDu><deviceclassCode=,DEVdeterminerCode=MINSTANCEH><id><itemroot=2.16.156.10011.2.5.1.3extension=u2227><id><device><sender>U-IypeCode为处理结果,AA表示成功AE表示失败-><acknowledgementtyeCode=AA><targetMessage><idrool=,2.16.156.10011.2.5.1.,extension=111ee83ff1-08ab-4fe7-b573-ea777e9bad517><targetMessage>VacknowledgementDetailA<textVahIe="处理结果说明”/><acknowledgementDetail><acknowledgement><controlActProcessClassCode=nCACTnmoodCode=,EVN',><dataEnterertypeCode=',ENT',><assignedPersonclassCode="ASSIGNED"><id><itemroot=2.16.156.1OO11.1.4extension="操作者ID”><id><assignedPersonClassCode=nPSNndeterminerCode=,INSTANCE"><namexsi:type=,DSET_ENn><item><partValUe="王平"/><item><name><assignedPerson><assignedPerson><dataEnterer><subjecttypeCode=,SUBJu><!-扁重复0.*-><scheduleClassCode=uSCHnnoodCode=,'EVN',><resourceSlotClassCode=nSLOTnmoodCode=,EVN><id><!-排班标识-><itemroot=n2.16.156.10011.2.5.1.20"extension="1,7><id><!-亚专业<professioncode=1'AO1',codeSystem=',2.16.156.10011.2.3.2.62"CodeSyStemName="医疗卫生机构业务科室分类与代码表"><dislayNameVahIe="预防保健科”/><profession><!一资源总数一><totalNumbervalue=20'7><deptld><!一科室标识一><itemroot=,2.16.156.10011.1.26"extension="1,7><deptld><!一资源级别一><codeCOde="1"codeSystem="2.16.156.10011.2.5.1.21nCOdeSyStemName="资源级别代码<displayNameVaIUe="级别7><code><statusCode><effectiveTime><p