-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Description
spark/src/Spark.Engine/Search/ElementIndexer.cs
Lines 476 to 479 in d9889ad
| private List<Expression> ToExpressions(Code element) | |
| { | |
| return element != null ? ListOf(new StringValue(element.Value)) : null; | |
| } |
spark/src/Spark.Engine/Search/ElementIndexer.cs
Lines 494 to 507 in d9889ad
| private List<Expression> ToExpressions<T>(Code<T> element) where T : struct, Enum | |
| { | |
| if (element != null && element.Value.HasValue) | |
| { | |
| var values = new List<IndexValue> | |
| { | |
| new IndexValue("code", new StringValue(_fhirModel.GetLiteralForEnum((element.Value.Value as Enum)))) | |
| }; | |
| return ListOf(new CompositeValue(values)); | |
| } | |
| return null; | |
| } |
Why is the storage design different between
Code and Code<T>?Metadata
Metadata
Assignees
Labels
No labels