Uses of Class
org.linuxforhealth.fhir.search.exception.FHIRSearchException
-
-
Uses of FHIRSearchException in org.linuxforhealth.fhir.operation.everything
Methods in org.linuxforhealth.fhir.operation.everything that throw FHIRSearchException Modifier and Type Method Description protected java.util.List<java.lang.String>
EverythingOperation. getOverridenIncludedResourceTypes(Parameters parameters, java.util.List<java.lang.String> defaultResourceTypes)
Get the list of resource types requested by the user via the _type parameter -
Uses of FHIRSearchException in org.linuxforhealth.fhir.persistence.jdbc.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.impl that throw FHIRSearchException Modifier and Type Method Description protected void
FHIRPersistenceJDBCImpl. addCanonicalCompositeParam(java.util.List<ExtractedParameterValue> allParameters)
Augment the given allParameters list with internal parameters that represent the relationship between the url and version parameters. -
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.compartment
Methods in org.linuxforhealth.fhir.search.compartment that throw FHIRSearchException Modifier and Type Method Description void
CompartmentHelper. checkValidCompartment(java.lang.String compartment)
checks that the compartment is valid and throws an exception if notvoid
CompartmentHelper. checkValidCompartmentAndResource(java.lang.String compartment, java.lang.String resourceType)
checks that the compartment and resource are valid and throws an exception if notjava.util.Set<java.lang.String>
CompartmentHelper. getCompartmentResourceTypeInclusionCriteria(java.lang.String compartment, java.lang.String resourceType)
gets the compartment and resource type inclusion criteria.java.util.Set<java.lang.String>
CompartmentHelper. getCompartmentResourceTypes(java.lang.String compartment)
get the resource types that can be in the compartment -
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.date
Methods in org.linuxforhealth.fhir.search.date that throw FHIRSearchException Modifier and Type Method Description static java.time.temporal.TemporalAccessor
DateTimeHandler. parse(java.lang.String value)
Parses the value into a set of bounds/value and adds to parameter value.static void
DateTimeHandler. parse(SearchConstants.Prefix prefix, QueryParameterValue parameterValue, java.lang.String v)
parses the value into a set of bounds/value and adds to parameter value. -
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.exception
Methods in org.linuxforhealth.fhir.search.exception that return FHIRSearchException Modifier and Type Method Description static FHIRSearchException
SearchExceptionUtil. buildNewChainedParameterException(java.lang.String name, java.lang.Exception e)
creates a new chained parameter exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewDateTimeFormatException(java.lang.Exception e)
build data time format exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewInvalidSearchException(java.lang.String msg)
creates an invalid search exception.static FHIRSearchException
SearchExceptionUtil. buildNewParseParameterException(java.lang.String name, java.lang.Exception e)
creates a new parse parameter exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewParseParametersException(java.lang.Exception e)
creates a new parse parameters exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewReverseChainedParameterException(java.lang.String name, java.lang.Exception e)
creates a new reverse chained parameter exceptionFHIRSearchException
FHIRSearchException. withIssue(java.util.Collection<OperationOutcome.Issue> issues)
FHIRSearchException
FHIRSearchException. withIssue(OperationOutcome.Issue... issues)
-
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.location
Methods in org.linuxforhealth.fhir.search.location that throw FHIRSearchException Modifier and Type Method Description BoundingBox
NearLocationHandler. createBoundingBox(double latitude, double longitude, double distance, java.lang.String unit)
build a bounding box given a latitude, longitude and distance.Bounding
NearLocationHandler. createBoundingRadius(double latitude, double longitude, double distance, java.lang.String unit)
create bounding radius.java.util.List<Bounding>
NearLocationHandler. generateLocationPositionsFromParameters(java.util.List<QueryParameter> queryParameters)
generates location positions for processing from parameters. -
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.location.util
Methods in org.linuxforhealth.fhir.search.location.util that throw FHIRSearchException Modifier and Type Method Description static void
LocationUtil. checkOverUnderNinety(java.lang.Double up, java.lang.Double down)
check if the location/area spans over the pole (either one). -
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.sort
Methods in org.linuxforhealth.fhir.search.sort that throw FHIRSearchException Modifier and Type Method Description void
Sort. checkIfUndefined(java.lang.String resourceTypeName, java.lang.String sortParmCode, SearchParameter sortParmProxy, FHIRSearchContext context)
Checks to see if undefined as a SearchParameter.void
Sort. checkSystemLevel(java.lang.String resourceTypeName, java.lang.String code, FHIRSearchContext context)
Check system level searches with DESC/ASC are ONLY with _id and _lastUpdated. -
Uses of FHIRSearchException in org.linuxforhealth.fhir.search.util
Methods in org.linuxforhealth.fhir.search.util that throw FHIRSearchException Modifier and Type Method Description QueryParameter
SearchHelper. buildInclusionCriteria(java.lang.String compartmentName, java.util.Set<java.lang.String> compartmentLogicalIds, java.lang.String resourceType)
Build a query parameter to encapsulate the inclusion criteria for a compartment querystatic void
SearchHelper. checkInclusionIterateParameters(java.lang.String resourceType, FHIRSearchContext context, boolean lenient)
Check if _include or _revinclude parameters with the :iterate modifier reference invalid resource types.static java.lang.String
SearchHelper. extractReferenceValue(java.lang.String valueString)
Convert the string to a reference value usable by the persistence layer.static java.lang.String
ReferenceUtil. getBaseUrl(Bundle.Entry entry)
Extract the base URL from the bundle entry if one is given, otherwise use the service base URL.static java.lang.String
ReferenceUtil. getBaseUrlFromBundle(Bundle.Entry entry)
https://www.hl7.org/fhir/references.html#literal See: a relative URL, which is relative to the Service Base URL, or, if processing a resource from a bundle, which is relative to the base URL implied by the Bundle.entry.fullUrl (see Resolving References in Bundles) If the fullUrl looks like this "fullUrl": "https://localhost:9443/fhir-server/api/v4/Observation/17546b5a5a9-872ecfe4-cb5e-4f8c-a381-5b13df536f87" then the returned String will look like this: "https://localhost:9443/fhir-server/api/v4/"static java.lang.String
ReferenceUtil. getServiceBaseUrl()
Get the service base URL using the originalRequestUri currently set in the FHIRRequestContextstatic java.lang.String
ReferenceUtil. getServiceBaseUrl(java.lang.String uri)
Get the service base URL from the given uri
-