Package dev.dsf.fhir.search.parameters
Class PractitionerRoleOrganization
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractReferenceParameter<org.hl7.fhir.r4.model.PractitionerRole>
dev.dsf.fhir.search.parameters.PractitionerRoleOrganization
- All Implemented Interfaces:
MatcherParameter,SearchQuerySortParameter,SearchQueryIncludeParameter<org.hl7.fhir.r4.model.PractitionerRole>,SearchQueryParameter<org.hl7.fhir.r4.model.PractitionerRole>
@IncludeParameterDefinition(resourceType=org.hl7.fhir.r4.model.PractitionerRole.class,
parameterName="organization",
targetResourceTypes=org.hl7.fhir.r4.model.Organization.class)
@SearchParameterDefinition(name="organization",
definition="http://hl7.org/fhir/SearchParameter/PractitionerRole-organization",
type=REFERENCE,
documentation="The identity of the organization the practitioner represents / acts on behalf of")
public class PractitionerRoleOrganization
extends AbstractReferenceParameter<org.hl7.fhir.r4.model.PractitionerRole>
-
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.PractitionerRole 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.PractitionerRole 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
-
PractitionerRoleOrganization
public PractitionerRoleOrganization()
-
-
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.PractitionerRole resource, DaoProvider daoProvider) throws SQLException - Specified by:
doResolveReferencesForMatchingin classAbstractReferenceParameter<org.hl7.fhir.r4.model.PractitionerRole>- Throws:
SQLException
-
resourceMatches
protected boolean resourceMatches(org.hl7.fhir.r4.model.PractitionerRole resource) - Specified by:
resourceMatchesin classAbstractSearchParameter<org.hl7.fhir.r4.model.PractitionerRole>
-
getSortSql
- Specified by:
getSortSqlin classAbstractSearchParameter<org.hl7.fhir.r4.model.PractitionerRole>
-
getIncludeSql
- Specified by:
getIncludeSqlin classAbstractReferenceParameter<org.hl7.fhir.r4.model.PractitionerRole>
-
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.PractitionerRole>- Parameters:
includeParts- notnullresource- notnullconnection- notnull
-