Nictiz / Nictiz-R4-zib2020

NL package of FHIR R4 conformance resources for zib (Zorginformatiebouwstenen, Clinical Information Models) release 2020.
Creative Commons Zero v1.0 Universal
3 stars 3 forks source link

Update ext-Comment context from Resource.descendants() to Element #427

Closed ahenket closed 9 months ago

ahenket commented 9 months ago

After testing with the Java validator with ext-Comment and a round on Zulip I found that it does not support context Resource.descendants(). A slight adjustment would do the trick:

Change

<context>
  <type value="fhirpath" />
  <expression value="Resource" />
</context>
<context>
  <type value="fhirpath" />
  <expression value="Resource.descendants()" />
</context>

to

<context>
  <type value="fhirpath" />
  <expression value="Resource" />
</context>
<context>
  <type value="fhirpath" />
  <expression value="Element" />
</context>

According to the Zulip replies from Lloyd and Grahame you could even remove the context on Resource.

pieter-edelman-nictiz commented 9 months ago

Continued in https://bits.nictiz.nl/browse/MM-5127