FHIR Chat · groupingId in ImplementationGuide · CARIN IG for Blue Button®

Stream: CARIN IG for Blue Button®

Topic: groupingId in ImplementationGuide


view this post on Zulip Paul Church (Apr 29 2021 at 19:16):

In the published CARIN BB IG, the ImplementationGuide resource has values like "_term_valueset" and "_ex_example" in the definition.resource.groupingId field.

This is not valid FHIR. That field has the Id data type, which is limited to a regex of [A-Za-z0-9\-\.]{1,64} so underscores are not allowed.

I verified this with https://inferno.healthit.gov/validator/ and it returns errors for all of these values.

view this post on Zulip Corey Spears (May 02 2021 at 22:53):

I am afraid I am not seeing what you are referring to. I have placed the content of STU1 ImplementationGuide-hl7.fhir.us.carin-bb.json into the Inferno validator and it did not return any errors.
Can you please provide an exact citation of what you are seeing? Please include the file, location, and quote.

view this post on Zulip Paul Church (May 03 2021 at 00:14):

I downloaded http://hl7.org/fhir/us/carin-bb/definitions.json.zip

From this zip I extracted ImplementationGuide-hl7.fhir.us.carin-bb.json

I copied the entire contents of this file (one ImplementationGuide resource) into https://inferno.healthit.gov/validator/

It returns 113 errors, all of them basically the same issue:
ImplementationGuide.definition.resource[86].groupingId: id value '_dyn_capabilitystatement' is not valid on line 1.

view this post on Zulip Paul Church (May 03 2021 at 00:31):

The Google implementation of validation agrees with this and returns a similar error

view this post on Zulip Corey Spears (May 03 2021 at 03:26):

I can reproduce the problem with the file you mentioned. This is quite odd because it does not show up in the ImplementationGuide-hl7.fhir.us.carin-bb.json file from http://hl7.org/fhir/us/carin-bb/full-ig.zip
There are no groupings or groupingIds in that file. I am not defining any groupings in the IG input (using FSH), so I have no idea why these are showing up in the definitions version of this file. I will have to dig further.

view this post on Zulip Corey Spears (May 26 2021 at 02:12):

@Paul Church Cross-post. Looks like it is a core FHIR issue.
https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Differences.20and.20issues.20in.20generated.20ImplementationGuide.20json


Last updated: Apr 12 2022 at 19:14 UTC