Stream: implementers
Topic: Implementation of Summary
Yunwei Wang (Sep 24 2018 at 19:17):
I am trying to implement _summary search parameter. The spec says that "This subset SHOULD consist solely of all supported elements that are marked as "summary" in the base definition of the resource(s)". Is there a way to grammatically decide which elements are summary elements? I worried if I hard coded adding summary elements (or removing non summary fields), that would break if the spec changes.
Lloyd McKenzie (Sep 24 2018 at 19:23):
isSummary is declared as a property in the StructureDefinitions.
Yunwei Wang (Sep 24 2018 at 19:26):
I know that. But I don't know how to get it in C#. Maybe I should move this topic to .net stream.
Michele Mottini (Sep 24 2018 at 19:45):
If you are using the FHIR .NET library there is an attribute specifying which property is part of the summary
Last updated: Apr 12 2022 at 19:14 UTC