Process of Adding New Search Parameters? #516
-
What would be the process for adding New/Custom Search Parameters? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In Spark you can do this in code in the There is a simpler example using Spark's NuGet packages here: https://github.com/incendilabs/spark-example. You can add the |
Beta Was this translation helpful? Give feedback.
In Spark you can do this in code in the
ConfigureServices()
of yourStartup.cs file
. Use the extension methodAddCustomSearchParameters
:spark/src/Spark.Engine/Extensions/NetCore/IServiceCollectionExtensions.cs
Line 258 in 02125be
There is a simpler example using Spark's NuGet packages here: https://github.com/incendilabs/spark-example. You can add the
services.AddCustomSearchParameters(...)
statement below theAddFhir()
statement here: https://github.com/incendilabs/spark-example/blob/2a7c9edc2bfbd74dd65ebe7b5ec5c80a5f3cf127/Start…