-
Notifications
You must be signed in to change notification settings - Fork 354
Description
Describe the bug
We currently ship two implementations of IStructureDefinitionSummaryProvider: PocoStructureDefinitionSummaryProvider and StructureDefinitionSummaryProvider.
One would expect that the IStructureDefinitionSummary information provided by both for the same resource would yield the same results. This is however not the case.
To Reproduce
Steps to reproduce the behavior:
- Retrieve an
IStructureDefinitionSummaryfrom both providers for Observation - Compare the
IsSummaryproperty for the elementsmodifierExtensionandid - It will be
truefor the info returned by thePocoSDSPandfalsefor theSDSP. - Retrieve an
IStructureDefinitionSummaryfrom both provider for Observation.referenceRange - The BackboneElement will be
abstractforISDSPand not abstract for thePocoSDSP. - The same is true for
Orderin all elements.
Expected behavior
The information should be the same, maybe except for Order, since that should just retain the same sequence.
Version used:
- 2.0.1
Additional context
The differences exist because the InSummary for 'id' (called ElementId in the POCO) is hardwired to be "true", while it is false in the StructureDefinition. The same is true for modifierExtension (which is surprising - shouldn't they indeed be in summary?).