FHIR Chat · Int type question in R4 StructureDef · conformance

Stream: conformance

Topic: Int type question in R4 StructureDef


view this post on Zulip Gino Canessa (Feb 21 2020 at 23:05):

I'm switching tooling over to use the fancy NPM structure defs, and noticed that in R4 positiveInt and unsignedInt are represented with a FHIR type of http://hl7.org/fhirpath/System.String, instead of in R2-R3, where they were typed by various integer types (e.g., xsd:positiveInteger).

Is this an intentional change, or something that got lost in translation?

view this post on Zulip Grahame Grieve (Feb 21 2020 at 23:09):

intentional

view this post on Zulip Grahame Grieve (Feb 21 2020 at 23:09):

I can find the task if you want

view this post on Zulip Gino Canessa (Feb 21 2020 at 23:14):

No worries, just wanted to make sure I wasn't crazy when I saw the output :-)
Thanks!

view this post on Zulip Josh Mandel (Feb 21 2020 at 23:20):

I'm having trouble interpreting snapshot vs differential in this definition:

Snapshot has:

      {
        "id": "positiveInt.value",
        <snip>
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUri": "string"
              },

... while differential has:

      {
        "id": "positiveInt.value",
        <snip>
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUri": "positiveInt"
              },

view this post on Zulip Josh Mandel (Feb 21 2020 at 23:20):

Is there a reason one says string and the other says positiveInt?

view this post on Zulip Josh Mandel (Feb 21 2020 at 23:20):

(From package/StructureDefinition-positiveInt.json in http://build.fhir.org/hl7.fhir.r5.core.tgz)

view this post on Zulip Grahame Grieve (Feb 21 2020 at 23:34):

it should both be Integer

view this post on Zulip Josh Mandel (Feb 21 2020 at 23:36):

So string should say integer instead; and also positiveInt should say integer instead?

view this post on Zulip Josh Mandel (Feb 21 2020 at 23:37):

(Do you stand by your answer to Gino's question above?)

view this post on Zulip Grahame Grieve (Feb 21 2020 at 23:38):

oh no, hang on

view this post on Zulip Grahame Grieve (Feb 21 2020 at 23:39):

they should both have the type http://hl7.org/fhirpath/System.Integer and the value of http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type should be positiveInt for both

view this post on Zulip Josh Mandel (Feb 21 2020 at 23:43):

OK, so that's something that maybe went wrong in the technical correction when we revamped this?

view this post on Zulip Grahame Grieve (Feb 22 2020 at 00:24):

yes

view this post on Zulip Gino Canessa (Feb 22 2020 at 23:33):

So will there be new versions posted, or should I handle this on my side?

view this post on Zulip Grahame Grieve (Feb 23 2020 at 02:58):

there will be new versions posted eventually but don't hold your breath

view this post on Zulip Gino Canessa (Feb 24 2020 at 15:56):

1) do you want me to create a jira for this?
2) is there a 'known issues' page or anything like that?

view this post on Zulip Grahame Grieve (Feb 24 2020 at 19:32):

I have a private known issues page. I guess I should move it to Confluence somewhere

view this post on Zulip Gino Canessa (Feb 24 2020 at 19:33):

Josh had suggested creating an issue for FMG: FHIR#26374

view this post on Zulip Grahame Grieve (Feb 25 2020 at 03:19):

https://confluence.hl7.org/display/FHIR/Known+Issues+with+the+published+FHIR+Specifications


Last updated: Apr 12 2022 at 19:14 UTC