FHIR Chat · Forge R4 22.0 Working with extensions · implementers

Stream: implementers

Topic: Forge R4 22.0 Working with extensions


view this post on Zulip Robin Bosman (Jul 02 2019 at 12:30):

Hello,
I am trying to add the official patient-nationality extension in a patient profile - seems easy enough but I cannot get it to work.
After a save and close/open of the profile, Forge tells me there is an invalide slice name 'no name' but I am unable to find where.
When I add other extensions in the profile it works fine though. be-patient.StructureDefinition.xml

view this post on Zulip Lloyd McKenzie (Jul 02 2019 at 14:17):

@Michel Rutten ?

view this post on Zulip Lloyd McKenzie (Jul 02 2019 at 14:17):

@Robin Bosman can you attach your instance?

view this post on Zulip Robin Bosman (Jul 02 2019 at 14:20):

@Lloyd McKenzie
instance attached

view this post on Zulip Robin Bosman (Jul 05 2019 at 07:33):

As an update/working theory : when working with R4 extensions: when I download an extension (https://simplifier.net/simplifier.core.r4.extensions/nationality/$download?format=xml ), the <name> is 'nationality' -> I guess this is incorrect and should be manually changed to 'Nationality' -> it seems to help!

view this post on Zulip Martijn Harthoorn (Jul 08 2019 at 12:27):

Here is the same extension in the spec:
http://hl7.org/fhir/extension-patient-nationality.xml.html

view this post on Zulip Michel Rutten (Jul 16 2019 at 11:56):

@Robin Bosman this appears to be a bug in Forge, the validation errors about missing slice names seem to be incorrect. Note that FHIR R4 introduces some new rules regarding type slicing. We discussed implications at DevDays with FHIR core team and I still need to update Forge accordingly. I'll try to fix this in the next release.


Last updated: Apr 12 2022 at 19:14 UTC