Images examples do not validate
Description
Verduidelijking van Impact
Proposed solution (NL)
De validator output geeft 3 verschillende errors:
1. "Could not match discriminator"
--> Fout in het profiel. Slicing is niet correct omdat er geen discriminator is voor de validator. Voorstel is om de slicing weg te halen en de mapping op .identifier niveau te plaatsen. Deze wijziging wordt in gedocumenteerd.
2. "Reference is remote..."
--> Verwijderen individuele resources. De Bundle example klopt wel.
3. "Extension is not allowed at this place"
--> De exensie staat op een verkeerde plek in de voorbeeld.
Punt 2 en 3 zijn verwerkt in branch MM-954.
Proposed solution (EN)
Release notes (NL)
Removed several stand-alone examples for the Images standard which were already present in an example Bundle, as they only have meaning within a Bundle context.
Removed an illegal extension from one of the Images examples.
Release notes (EN)
Attachments
is related to
Activity
Niek van Galen April 28, 2020 at 12:27 PM
Wijziging gepubliceerd en ticket gesloten.
Pieter Edelman March 30, 2020 at 8:11 AMEdited
Besproken dat het wat betreft punt 1 het beste is om de "masterIdentifier"-slice weg te halen, aangezien er niks is waarop een discriminator gemaakt kan worden. De mapping voor masterIdentifier wordt direct op .identifier geplaatst.
Pieter Edelman March 30, 2020 at 8:09 AMEdited
Besproken dat het wat punt 2 het beste is om de losse resources te verwijderen uit de examples.
Ardon Toonstra March 26, 2020 at 1:58 PM
De validator output geeft 3 verschillende errors:
Could not match discriminator
--> Fout in het profiel. Slicing is niet correct. Voorstel is om te discrimineren op identifier.type.text of iets dergelijk. Wellicht een nieuw issue voor maken."Reference is remote..."
--> Dit komt omdat dat resources individueel worden gevalideerd en niet in de Bundle. De resources zijn ook in een Bundle voorbeeld gegeven, dan speelt deze error niet. Mijn inziens kan deze error worden genegeerd of de individuele resources verwijderen.Extension is not allowed at this place
Fout, dit is nu opgelost.
Eduard de Rijcke March 23, 2020 at 7:57 AMEdited
Er zijn drie opties voor de melding:
De huidige example ombouwen tot een image bundel.
Het profiel aanpassen (Bundeled uitzetten).
De foutmelding negeren.
Dit ga ik even in de HL7 groep gooien welke oplossing het beste is. In overleg besloten om dit issue te verplaatsen naar de april release.
IG Publisher:
images-List-images-01.xml
Path
Severity
Message
List/images-list-images-01: List.extension[0].value.ofType(Reference)
error
Reference is remote which isn't supported by the specified aggregation mode(s) for the reference
List/images-list-images-01: List.subject
error
Reference is remote which isn't supported by the specified aggregation mode(s) for the reference
List/images-list-images-01: List.note[0].text
warning
value should not start or finish with whitespace
List/images-list-images-01: List.entry[0].item
error
Reference is remote which isn't supported by the specified aggregation mode(s) for the reference
List/images-list-images-01: List.entry[1].item
error
Reference is remote which isn't supported by the specified aggregation mode(s) for the reference
----
images-Media-01.xml
Path
Severity
Message
Media/images-media-01: Media.identifier[0]
error
Could not match discriminator ([system]) for slice Media.identifier:masterIdentifier in profile http://nictiz.nl/fhir/StructureDefinition/images-Media - the discriminator [system] does not have fixed value, binding or existence assertions
Media/images-media-01: Media
information
Profile http://nictiz.nl/fhir/StructureDefinition/images-Media, Element 'Media.identifier[masterIdentifier]'': Unable to check minimum required (1) due to lack of slicing validation
Media/images-media-01: Media
error
The extension http://nictiz.nl/fhir/StructureDefinition/images-recipient is not allowed to be used at this point (allowed = e:List; this element is [[Media])
Media/images-media-01: Media.subject
error
Reference is remote which isn't supported by the specified aggregation mode(s) for the reference
----
images-Media-02.xml
Path
Severity
Message
Media/images-media-02: Media.identifier[0]
error
Could not match discriminator ([system]) for slice Media.identifier:masterIdentifier in profile http://nictiz.nl/fhir/StructureDefinition/images-Media - the discriminator [system] does not have fixed value, binding or existence assertions
*Media/images-media-02: Media
information
Profile http://nictiz.nl/fhir/StructureDefinition/images-Media, Element 'Media.identifier[masterIdentifier]'': Unable to check minimum required (1) due to lack of slicing validation
Media/images-media-02: Media.subject
error
Reference is remote which isn't supported by the specified aggregation mode(s) for the reference