我正在使用FHIR R4模式和schmeatron验证下面的约会资源(其中包括一个包含的引用),并且我总是得到以下错误:
dom-3:如果该资源包含在另一资源中,则应从该资源的其他地方引用该资源,或指包含该资源的资源。
据我所知,包含的引用被很好地包含和引用,而且资源也对STU 3模式和模式进行验证,但是我无法根据R4模式进行验证。
我做错什么了?
谢谢
<?xml version="1.0" encoding="UTF-8"?>
<Appointment xmlns="http://hl7.org/fhir">
<contained>
<Slot>
<id value="slot159260820191620"/>
<schedule>
<identifier>
<system value="urn:oid:2.16.840.1.113883.3.7482.1.6"/>
<value value="159"/>
</identifier>
</schedule>
<status value="free"/>
<start value="2019-08-26T16:20:00+02:00"/>
<end value="2019-08-26T16:40:00+02:00"/>
</Slot>
</contained>
<status value="proposed"/>
<slot>
<reference value="#slot159260820191620"/>
</slot>
<participant>
<actor>
<identifier>
<system value="urn:oid:2.16.840.1.113883.3.7482.3.1"/>
<value value="143052"/>
</identifier>
</actor>
<status value="accepted"/>
</participant>
发布于 2019-09-02 18:16:27
没什么。示意图坏了。应该说是...for $id in f:contained/*/f:id/@value...
我将确认这是否在我们即将发布的技术修正列表中。
https://stackoverflow.com/questions/57759578
复制相似问题