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
That's a good question that I do not really have a good answer to. I see this is code that was written before my time, and generally I have just let the stuff that supposedly work just stay that way.
Have you verified that they do indeed get stored differently to the searchindex? Admittedly it has passed some time since I last looked at this part of the code.
Yes, they are stored differently.
In patient resource, gender is code<T> type, and the storage structure in searchindex is { gender : { code : "male" } }.
In codesystem resource, the code of concept is code type, and the storage structure in searchindex is { code : [ "01" , "02"] }.
In the search standard of fhir, the types of code and code are both token types, so should the mode of code be used when storing?
spark/src/Spark.Engine/Search/ElementIndexer.cs
Lines 476 to 479 in d9889ad
spark/src/Spark.Engine/Search/ElementIndexer.cs
Lines 494 to 507 in d9889ad
Why is the storage design different between
Code
andCode<T>
?The text was updated successfully, but these errors were encountered: