Package dev.dsf.fhir.search.parameters
Class PatientActive
java.lang.Object
dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter<R>
dev.dsf.fhir.search.parameters.basic.AbstractBooleanParameter<org.hl7.fhir.r4.model.Patient>
dev.dsf.fhir.search.parameters.PatientActive
- All Implemented Interfaces:
MatcherParameter,SearchQueryParameter<org.hl7.fhir.r4.model.Patient>
@SearchParameterDefinition(name="active",
definition="http://hl7.org/fhir/SearchParameter/Patient-active",
type=TOKEN,
documentation="Whether the patient record is active [true|false]")
public class PatientActive
extends AbstractBooleanParameter<org.hl7.fhir.r4.model.Patient>
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.dsf.fhir.search.SearchQueryParameter
SearchQueryParameter.SearchParameterDefinition -
Field Summary
FieldsFields inherited from class dev.dsf.fhir.search.parameters.basic.AbstractBooleanParameter
valueFields 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.AbstractBooleanParameter
configureSearchParameter, isDefined, modifyBundleUriMethods inherited from class dev.dsf.fhir.search.parameters.basic.AbstractSearchParameter
addError, configure, configureIncludeParameter, getBaseAndModifiedParameterNames, getErrors, getFirst, getIncludeParameters, getModifiedParameterNames, getParameterName, getSortParameter, 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
-
PatientActive
public PatientActive()
-
-
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<org.hl7.fhir.r4.model.Patient>
-