Package dev.dsf.fhir.search.parameters
Class QuestionnaireResponseSubject
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>
dev.dsf.fhir.search.parameters.QuestionnaireResponseSubject
- All Implemented Interfaces:
MatcherParameter,SearchQuerySortParameter,SearchQueryIncludeParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>,SearchQueryParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>
@IncludeParameterDefinition(resourceType=org.hl7.fhir.r4.model.QuestionnaireResponse.class,
parameterName="subject",
targetResourceTypes={org.hl7.fhir.r4.model.Organization.class,org.hl7.fhir.r4.model.Practitioner.class,org.hl7.fhir.r4.model.PractitionerRole.class})
@SearchParameterDefinition(name="subject",
definition="http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-subject",
type=REFERENCE,
documentation="The subject of the questionnaire response")
public class QuestionnaireResponseSubject
extends AbstractReferenceParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>
-
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.QuestionnaireResponse resource, DaoProvider daoProvider) protected StringgetIncludeSql(IncludeParts includeParts) protected StringgetSortSql(String sortDirectionWithSpacePrefix) intprotected 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.QuestionnaireResponse resource) Methods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter
configureInclude, doConfigure, getBundleUriQueryParameterName, getBundleUriQueryParameterValue, getNameModifiers, isDefined, resolveReferencesForMatchingMethods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
configure, configureSort, getParameterName, matches, notDefined
-
Field Details
-
PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
QuestionnaireResponseSubject
public QuestionnaireResponseSubject()
-
-
Method Details
-
getIncludeParameterValues
-
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.QuestionnaireResponse resource, DaoProvider daoProvider) throws SQLException - Specified by:
doResolveReferencesForMatchingin classAbstractReferenceParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>- Throws:
SQLException
-
resourceMatches
protected boolean resourceMatches(org.hl7.fhir.r4.model.QuestionnaireResponse resource) - Specified by:
resourceMatchesin classAbstractSearchParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>
-
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>
-
getIncludeSql
- Specified by:
getIncludeSqlin classAbstractReferenceParameter<org.hl7.fhir.r4.model.QuestionnaireResponse>
-
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.QuestionnaireResponse>- Parameters:
includeParts- notnullresource- notnullconnection- notnull
-