Package dev.dsf.fhir.search.parameters
Class OrganizationAffiliationEndpoint
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>
dev.dsf.fhir.search.parameters.OrganizationAffiliationEndpoint
- All Implemented Interfaces:
MatcherParameter,SearchQuerySortParameter,SearchQueryIncludeParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>,SearchQueryParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>
@IncludeParameterDefinition(resourceType=org.hl7.fhir.r4.model.OrganizationAffiliation.class,
parameterName="endpoint",
targetResourceTypes=org.hl7.fhir.r4.model.Endpoint.class)
@SearchParameterDefinition(name="endpoint",
definition="http://hl7.org/fhir/SearchParameter/OrganizationAffiliation-endpoint",
type=REFERENCE,
documentation="Technical endpoints providing access to services operated for this role")
public class OrganizationAffiliationEndpoint
extends AbstractReferenceParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>
-
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
PARAMETER_NAME_IDENTIFIER_MODIFIER, valueAndTypeFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
parameterName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoResolveReferencesForMatching(org.hl7.fhir.r4.model.OrganizationAffiliation resource, DaoProvider daoProvider) protected StringgetIncludeSql(IncludeParts includeParts) protected StringgetSortSql(String sortDirectionWithSpacePrefix) intbooleanmatches(org.hl7.fhir.r4.model.Resource resource) protected 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) 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, notDefined
-
Field Details
-
RESOURCE_TYPE_NAME
- See Also:
-
PARAMETER_NAME
- See Also:
-
TARGET_RESOURCE_TYPE_NAME
- See Also:
-
-
Constructor Details
-
OrganizationAffiliationEndpoint
public OrganizationAffiliationEndpoint()
-
-
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.OrganizationAffiliation resource, DaoProvider daoProvider) throws SQLException - Specified by:
doResolveReferencesForMatchingin classAbstractReferenceParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>- Throws:
SQLException
-
matches
public boolean matches(org.hl7.fhir.r4.model.Resource resource) -
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>
-
getIncludeSql
- Specified by:
getIncludeSqlin classAbstractReferenceParameter<org.hl7.fhir.r4.model.OrganizationAffiliation>
-
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.OrganizationAffiliation>- Parameters:
includeParts- notnullresource- notnullconnection- notnull
-