FHIR Chat · Problem in R4 structure definitions? · implementers

Stream: implementers

Topic: Problem in R4 structure definitions?


view this post on Zulip Michele Mottini (Oct 02 2018 at 16:32):

...looking at the R4 profile-types.xml I found a couple of things that seem wrong

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:32):

At line 154:

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:33):

      <element id="Element.id">
        <path value="Element.id"/>
        . . .
      <!-- Note: primitive values do not have an assigned type. e.g. this is compiler magic. XML,
JSON and RDF types provided by extension -->
        <type>
          <code>
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type">
              <valueString value="string"/>
            </extension>

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:33):

but Element.id is not a primitive value

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:34):

Same thing for Extension.Url

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:36):

Another thing: all the primitive values referenced to themselves as base:

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:36):

      <element id="integer.value">
        <base>
          <path value="integer.value"/>
          <min value="0"/>
          <max value="1"/>
        </base>

view this post on Zulip Michele Mottini (Oct 02 2018 at 16:37):

that seems wrong as well

view this post on Zulip Grahame Grieve (Oct 02 2018 at 20:02):

first -they are primitive values

view this post on Zulip Grahame Grieve (Oct 02 2018 at 20:02):

second - please make a task

view this post on Zulip Michele Mottini (Oct 02 2018 at 20:38):

Mhh...no, Element.id is not the same thing as boolean.value: it is OK for the second not to have a type (its type is boolean!), but Element.id most definitely has one - string

view this post on Zulip Michele Mottini (Oct 02 2018 at 20:38):

https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=19246 and https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=19247

view this post on Zulip Gabriel Bezerra (Mar 26 2019 at 13:05):

This is not seem reflected precisely in the website.

Should there be a task of fixing the website to be clear about the "primitiveness" of

view this post on Zulip Lloyd McKenzie (Mar 26 2019 at 14:59):

If you have specific proposals for being more clear, feel free to submit a change request.


Last updated: Apr 12 2022 at 19:14 UTC