FHIR Chat · Bad link created by publisher on sliced by type extensions. · IG creation

Stream: IG creation

Topic: Bad link created by publisher on sliced by type extensions.


view this post on Zulip Jean Duteau (Mar 27 2020 at 21:41):

I have an extension that sets some constraints on the specific type chosen as the value. In this case, it is valueAttachment and I then have some constraints on url, title, and contentType. The link that is created by the publisher (or template?) is incorrect:
This is the link that is created "StructureDefinition-AdditionalDocumentInformation-definitions.html#Extension.extension:document.valueAttachment.contentType" when it should be "StructureDefinition-AdditionalDocumentInformation-definitions.html#Extension.extension:document.value%5Bx%5D:valueAttachment.contentType" (i.e. ...value[x]:valueAttachment...)

view this post on Zulip Lloyd McKenzie (Mar 27 2020 at 22:29):

This is a misalignment between snapshot id and differential id. @Grahame Grieve ?

view this post on Zulip Jean Duteau (Mar 30 2020 at 19:30):

is there something I can do in my profiles to get rid of this error or is this purely a generator thing?

view this post on Zulip Grahame Grieve (Apr 07 2020 at 00:45):

hmm finally getting to this

view this post on Zulip Grahame Grieve (Apr 07 2020 at 00:46):

it's almost certainly a generator thing, but I'll have to debug. Can I reproduce this?

view this post on Zulip Jean Duteau (Apr 07 2020 at 04:30):

Yes:

Extension: AdditionalDocumentInformation
Description: "A set of information to indicate what additional documentation exists."
* extension contains availableFlag 1..1 MS and document 0..* MS
* extension[availableFlag].value[x] only boolean
* extension[document].value[x] only Attachment
* extension[document].valueAttachment.contentType MS
* extension[document].valueAttachment.url 1..1 MS
* extension[document].valueAttachment.title 1..1 MS

view this post on Zulip Grahame Grieve (Apr 07 2020 at 04:31):

ok, but that will take me ages to set up.... there's not a pre-existing thing I can just run on?

view this post on Zulip Jean Duteau (Apr 07 2020 at 04:32):

the IG I have it on isn't HL7 available. let me see if I can add it to a Pharmacy IG so you can see...

view this post on Zulip Grahame Grieve (Apr 07 2020 at 06:50):

ok thanks for making it easy. Fixed next release


Last updated: Apr 12 2022 at 19:14 UTC