From 37b8c934c94c6c90abcf802b86bcd25c3327eb14 Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Sun, 4 Feb 2024 23:52:44 +0100 Subject: [PATCH] Add value --- .../src/main/resources/vm/jpa_resource_provider.vm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hapi-tinder-plugin/src/main/resources/vm/jpa_resource_provider.vm b/hapi-tinder-plugin/src/main/resources/vm/jpa_resource_provider.vm index c7ed9112b343..53b9842104d2 100644 --- a/hapi-tinder-plugin/src/main/resources/vm/jpa_resource_provider.vm +++ b/hapi-tinder-plugin/src/main/resources/vm/jpa_resource_provider.vm @@ -70,7 +70,7 @@ public class ${className}ResourceProvider extends UriAndListParam theSearchForProfile, @Description(shortDefinition="Search the contents of the resource's data using a list") - @OptionalParam(name= Constants.PARAM_LIST) + @OptionalParam(name=ca.uhn.fhir.rest.api.Constants.PARAM_LIST) StringAndListParam theList, @Description(shortDefinition="Search for resources which have the given source value (Resource.meta.source)") @@ -153,6 +153,7 @@ public class ${className}ResourceProvider extends paramMap.add(ca.uhn.fhir.rest.api.Constants.PARAM_SECURITY, theSearchForSecurity); paramMap.add(ca.uhn.fhir.rest.api.Constants.PARAM_PROFILE, theSearchForProfile); paramMap.add(ca.uhn.fhir.rest.api.Constants.PARAM_SOURCE, theSearchForSource); + paramMap.add(ca.uhn.fhir.rest.api.Constants.PARAM_LIST, theList); paramMap.add("_has", theHas); #foreach ( $param in $searchParams ) paramMap.add("${param.name}", the${param.nameCapitalized});