firely-net-sdk icon indicating copy to clipboard operation
firely-net-sdk copied to clipboard

Missing profiles for an extension should not produce validation errors, but warnings

Open ewoutkramer opened this issue 2 years ago • 1 comments

Describe the bug When an extension refers to a profile that cannot be found, the validator treats this as an error. We do this on several occasions (e.g. when a valueset cannot be found), but in the specific case of an extension, this should not generate an error.

To Reproduce Create an instance of a Patient, with an extensions referring to, say, http://www.miniaf.alp/extension/written-signature. Validate.

Expected behavior For extensions, this should be a warning. For modifierExtensions this should be an error (I think)

Additional context This was found while Rene Spronk was creating snippets for our upcoming training. We can contact him for the actual example or extension definition.

ewoutkramer avatar Jun 17 '22 14:06 ewoutkramer

See also FirelyTeam/firely-validator-api#169 and FirelyTeam/firely-net-sdk#2105

marcovisserFurore avatar Jul 14 '22 08:07 marcovisserFurore

This was fixed by https://github.com/FirelyTeam/firely-net-sdk/pull/2187, closing.

ewoutkramer avatar Mar 03 '23 10:03 ewoutkramer