Package dev.dsf.fhir.search.parameters
Class MeasureDependsOn
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractCanonicalReferenceParameter<org.hl7.fhir.r4.model.Measure>
dev.dsf.fhir.search.parameters.MeasureDependsOn
- All Implemented Interfaces:
MatcherParameter,SearchQuerySortParameter,SearchQueryIncludeParameter<org.hl7.fhir.r4.model.Measure>,SearchQueryParameter<org.hl7.fhir.r4.model.Measure>
@IncludeParameterDefinition(resourceType=org.hl7.fhir.r4.model.Measure.class,
parameterName="depends-on",
targetResourceTypes=org.hl7.fhir.r4.model.Library.class)
@SearchParameterDefinition(name="depends-on",
definition="http://hl7.org/fhir/SearchParameter/Measure-depends-on",
type=REFERENCE,
documentation="What resource is being referenced")
public class MeasureDependsOn
extends AbstractCanonicalReferenceParameter<org.hl7.fhir.r4.model.Measure>
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter
AbstractReferenceParameter.ReferenceSearchType, AbstractReferenceParameter.ReferenceValueAndSearchTypeNested classes/interfaces inherited from interface dev.dsf.fhir.search.SearchQueryParameter
SearchQueryParameter.SearchParameterDefinition -
Field Summary
FieldsFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter
valueAndTypeFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
parameterName, resourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoResolveReferencesForMatching(org.hl7.fhir.r4.model.Measure resource, DaoProvider daoProvider) protected StringgetIncludeSql(IncludeParts includeParts) protected StringgetSortSql(String sortDirectionWithSpacePrefix) intbooleanprotected voidmodifyIncludeResource(IncludeParts includeParts, org.hl7.fhir.r4.model.Resource resource, Connection connection) Use this method to modify the include resources.voidmodifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], Array> arrayCreator) protected booleanresourceMatches(org.hl7.fhir.r4.model.Measure resource) Methods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractCanonicalReferenceParameter
doConfigureMethods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter
configureInclude, getBundleUriQueryParameterName, getBundleUriQueryParameterValue, getNameModifiers, resolveReferencesForMatchingMethods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
configure, configureSort, getParameterName, matches, notDefined
-
Field Details
-
PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
MeasureDependsOn
public MeasureDependsOn()
-
-
Method Details
-
getIncludeParameterValues
-
isDefined
public boolean isDefined()- Specified by:
isDefinedin interfaceSearchQueryParameter<org.hl7.fhir.r4.model.Measure>- Overrides:
isDefinedin classAbstractReferenceParameter<org.hl7.fhir.r4.model.Measure>
-
getFilterQuery
-
getSqlParameterCount
public int getSqlParameterCount() -
modifyStatement
public void modifyStatement(int parameterIndex, int subqueryParameterIndex, PreparedStatement statement, BiFunctionWithSqlException<String, Object[], throws SQLExceptionArray> arrayCreator) - Throws:
SQLException
-
doResolveReferencesForMatching
protected void doResolveReferencesForMatching(org.hl7.fhir.r4.model.Measure resource, DaoProvider daoProvider) throws SQLException - Specified by:
doResolveReferencesForMatchingin classAbstractReferenceParameter<org.hl7.fhir.r4.model.Measure>- Throws:
SQLException
-
resourceMatches
protected boolean resourceMatches(org.hl7.fhir.r4.model.Measure resource) - Specified by:
resourceMatchesin classAbstractSearchParameter<org.hl7.fhir.r4.model.Measure>
-
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<org.hl7.fhir.r4.model.Measure>
-
getIncludeSql
- Specified by:
getIncludeSqlin classAbstractReferenceParameter<org.hl7.fhir.r4.model.Measure>
-
modifyIncludeResource
protected void modifyIncludeResource(IncludeParts includeParts, org.hl7.fhir.r4.model.Resource resource, Connection connection) Description copied from class:AbstractReferenceParameterUse this method to modify the include resources. This method can be used if the resources returned by the include SQL are not complete and additional content needs to be retrieved from a not included column. For example the content of aBinaryresource might not be stored in the json column.- Specified by:
modifyIncludeResourcein classAbstractReferenceParameter<org.hl7.fhir.r4.model.Measure>- Parameters:
includeParts- notnullresource- notnullconnection- notnull
-