Package dev.dsf.fhir.search.parameters
Class ResourceProfile<R extends org.hl7.fhir.r4.model.Resource>
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractCanonicalUrlParameter<R>
dev.dsf.fhir.search.parameters.ResourceProfile<R>
- All Implemented Interfaces:
MatcherParameter,SearchQuerySortParameter,SearchQueryParameter<R>
@SearchParameterDefinition(name="_profile",
definition="http://hl7.org/fhir/SearchParameter/Resource-profile",
type=TOKEN,
documentation="Profiles this resource claims to conform to")
public class ResourceProfile<R extends org.hl7.fhir.r4.model.Resource>
extends AbstractCanonicalUrlParameter<R>
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.dsf.fhir.search.parameters.basic.AbstractCanonicalUrlParameter
AbstractCanonicalUrlParameter.CanonicalUrlAndSearchType, AbstractCanonicalUrlParameter.UriSearchTypeNested classes/interfaces inherited from interface dev.dsf.fhir.search.SearchQueryParameter
SearchQueryParameter.SearchParameterDefinition -
Field Summary
FieldsFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractCanonicalUrlParameter
valueAndTypeFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
parameterName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetSortSql(String sortDirectionWithSpacePrefix) intbooleanmatches(org.hl7.fhir.r4.model.Resource resource) voidmodifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], Array> arrayCreator) Methods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractCanonicalUrlParameter
doConfigure, getBundleUriQueryParameterName, getBundleUriQueryParameterValue, getNameModifiers, hasVersion, isDefinedMethods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
configure, configureSort, getParameterName, notDefinedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.fhir.search.MatcherParameter
resolveReferencesForMatching
-
Field Details
-
PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
ResourceProfile
-
-
Method Details
-
getFilterQuery
-
getSqlParameterCount
public int getSqlParameterCount() -
modifyStatement
public void modifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], throws SQLExceptionArray> arrayCreator) - Throws:
SQLException
-
matches
public boolean matches(org.hl7.fhir.r4.model.Resource resource) -
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<R extends org.hl7.fhir.r4.model.Resource>
-