验证我的MRN格式时出错。
Test every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectID) or matches($partid/@ParticipantObjectID,'^.+?\^\^\^.*?&.+?&ISO$')
Description Patient/@ParticipantObjectID must have this form '^.+?\^\^\^.*?&.+?&ISO$' if Patient/@ParticipantObjectID present ( IHE IT Infrastructure Technical Framework, Volume 2b, Rev 10.0 , 3.47.5.1.1 )
这是有问题的字符串。验证器似乎不喜欢我的MRN。
<ParticipantObjectIdentification ParticipantObjectID="158354^^^&2.16.840.1.113883.3.1230.1.51.1.1&ISO" ParticipantObjectTypeCode="1" ParticipantObjectTypeCodeRole="1">
正则表达式对我来说很好看。任何人都可以在这看到错误吗?