FHIR Chat · R4B Type Change Question · committers

Stream: committers

Topic: R4B Type Change Question


view this post on Zulip Gino Canessa (Mar 29 2021 at 15:27):

I'm working through R4B and have a question about changes in the type system. For example, I'll use StructureDefinition-bmi.json. The field Observation.id has the following in R4:

                "type": [{
                    "extension": [{
                        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                        "valueUrl": "string"
                    }],
                    "code": "http://hl7.org/fhirpath/System.String"
                }],

and the same field in R4B has:

                "type": [{
                    "extension": [{
                        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                        "valueUri": "id"
                    }],
                    "code": "http://hl7.org/fhirpath/System.String"
                }],

This changes both the type of value on the extension (url to uri) and the type being referenced (string to id). Is this expected/allowed?

view this post on Zulip Lloyd McKenzie (Mar 29 2021 at 16:08):

@Grahame Grieve

view this post on Zulip Gino Canessa (Mar 29 2021 at 16:11):

(as a note, I am trying to keep track to file tickets for all of these, but there are many things like this throughout the spec - e.g., the format of contentReference values has changed, etc.)

view this post on Zulip Gino Canessa (Mar 29 2021 at 18:25):

As part of the follow-up (and in case anyone else is interested in looking at some output), here are text files I use to look at normalized versions of FHIR. Included are the R4 (4.0.1) and R4B (4.1.0) versions, and there are significant differences. Info-R4-R4B.zip

Part of that can be attributed to the fact that the R4 core package has 4,583 items while R4B core has only 2,688. So, the sheer number of missing definitions is quite high.

Conversely, the R4B expansions package has 589 items, while R4 only has 555.

I'm going to start filing tickets on obvious issues (e.g., CodeSystem-observation-statistics is missing the required status element), but will probably put a few more 'is this legal' type things here.

view this post on Zulip Grahame Grieve (Mar 30 2021 at 01:56):

hmm I will have to look into this

view this post on Zulip Gino Canessa (Apr 05 2021 at 17:08):

Hi @Grahame Grieve , just pinging on this so it doesn't drop off the radar.


Last updated: Apr 12 2022 at 19:14 UTC