You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 IStructureDefinitionSummary from both providers for Observation
Compare the IsSummary property for the elements modifierExtension and id
It will be true for the info returned by the PocoSDSP and false for the SDSP.
Retrieve an IStructureDefinitionSummary from both provider for Observation.referenceRange
The BackboneElement will be abstract for ISDSP and not abstract for the PocoSDSP.
The same is true for Order in 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?).
The text was updated successfully, but these errors were encountered:
I discovered this while writing unit tests for the new CAR compiler. This shows we are not yet testing this logic fully in the SDK. I can donate the unit test code to compare two ISDS instances (it originates from Vonk) to turn this into a SDK unit-test.
Describe the bug
We currently ship two implementations of
IStructureDefinitionSummaryProvider
:PocoStructureDefinitionSummaryProvider
andStructureDefinitionSummaryProvider
.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:
IStructureDefinitionSummary
from both providers for ObservationIsSummary
property for the elementsmodifierExtension
andid
true
for the info returned by thePocoSDSP
andfalse
for theSDSP
.IStructureDefinitionSummary
from both provider for Observation.referenceRangeabstract
forISDSP
and not abstract for thePocoSDSP
.Order
in all elements.Expected behavior
The information should be the same, maybe except for
Order
, since that should just retain the same sequence.Version used:
Additional context
The differences exist because the
InSummary
for 'id' (calledElementId
in the POCO) is hardwired to be "true", while it is false in the StructureDefinition. The same is true formodifierExtension
(which is surprising - shouldn't they indeed be in summary?).The text was updated successfully, but these errors were encountered: