Uses of Class
com.ibm.fhir.search.exception.FHIRSearchException
-
-
Uses of FHIRSearchException in com.ibm.fhir.operation.everything
Methods in com.ibm.fhir.operation.everything that throw FHIRSearchException Modifier and Type Method Description protected List<String>
EverythingOperation. getOverridenIncludedResourceTypes(Parameters parameters)
-
Uses of FHIRSearchException in com.ibm.fhir.persistence.jdbc.impl
Methods in com.ibm.fhir.persistence.jdbc.impl that throw FHIRSearchException Modifier and Type Method Description protected void
FHIRPersistenceJDBCImpl. addCanonicalCompositeParam(List<ExtractedParameterValue> allParameters)
Augment the given allParameters list with ibm-internal parameters that represent the relationship between the url and version parameters.protected void
FHIRPersistenceJDBCImpl. addCompartmentParams(List<ExtractedParameterValue> allParameters, Resource fhirResource)
Augment the given allParameters list with ibm-internal parameters that represent relationships between the fhirResource to its compartments. -
Uses of FHIRSearchException in com.ibm.fhir.search.compartment
Methods in com.ibm.fhir.search.compartment that throw FHIRSearchException Modifier and Type Method Description static void
CompartmentUtil. checkValidCompartment(String compartment)
checks that the compartment is valid and throws an exception if notstatic void
CompartmentUtil. checkValidCompartmentAndResource(String compartment, String resourceType)
checks that the compartment and resource are valid and throws an exception if notstatic List<String>
CompartmentUtil. getCompartmentResourceTypeInclusionCriteria(String compartment, String resourceType)
gets the compartment and resource type inclusion criteria.static List<String>
CompartmentUtil. getCompartmentResourceTypes(String compartment)
gets the compartment -
Uses of FHIRSearchException in com.ibm.fhir.search.date
Methods in com.ibm.fhir.search.date that throw FHIRSearchException Modifier and Type Method Description static void
DateTimeHandler. parse(SearchConstants.Prefix prefix, QueryParameterValue parameterValue, String v)
parses the value into a set of bounds/value and adds to parameter value.static TemporalAccessor
DateTimeHandler. parse(String value)
Parses the value into a set of bounds/value and adds to parameter value. -
Uses of FHIRSearchException in com.ibm.fhir.search.exception
Methods in com.ibm.fhir.search.exception that return FHIRSearchException Modifier and Type Method Description static FHIRSearchException
SearchExceptionUtil. buildNewChainedParameterException(String name, Exception e)
creates a new chained parameter exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewDateTimeFormatException(Exception e)
build data time format exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewInvalidSearchException(String msg)
creates an invalid search exception.static FHIRSearchException
SearchExceptionUtil. buildNewParseParameterException(String name, Exception e)
creates a new parse parameter exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewParseParametersException(Exception e)
creates a new parse parameters exceptionstatic FHIRSearchException
SearchExceptionUtil. buildNewReverseChainedParameterException(String name, Exception e)
creates a new reverse chained parameter exceptionFHIRSearchException
FHIRSearchException. withIssue(OperationOutcome.Issue... issues)
FHIRSearchException
FHIRSearchException. withIssue(Collection<OperationOutcome.Issue> issues)
-
Uses of FHIRSearchException in com.ibm.fhir.search.location
Methods in com.ibm.fhir.search.location that throw FHIRSearchException Modifier and Type Method Description BoundingBox
NearLocationHandler. createBoundingBox(double latitude, double longitude, double distance, String unit)
build a bounding box given a latitude, longitude and distance.Bounding
NearLocationHandler. createBoundingRadius(double latitude, double longitude, double distance, String unit)
create bounding radius.List<Bounding>
NearLocationHandler. generateLocationPositionsFromParameters(List<QueryParameter> queryParameters)
generates location positions for processing from parameters. -
Uses of FHIRSearchException in com.ibm.fhir.search.location.util
Methods in com.ibm.fhir.search.location.util that throw FHIRSearchException Modifier and Type Method Description static void
LocationUtil. checkOverUnderNinety(Double up, Double down)
check if the location/area spans over the pole (either one). -
Uses of FHIRSearchException in com.ibm.fhir.search.sort
Methods in com.ibm.fhir.search.sort that throw FHIRSearchException Modifier and Type Method Description void
Sort. checkIfUndefined(String resourceTypeName, String sortParmCode, SearchParameter sortParmProxy, FHIRSearchContext context)
Checks to see if undefined as a SearchParameter.void
Sort. checkSystemLevel(String resourceTypeName, String code, FHIRSearchContext context)
Check system level searches with DESC/ASC are ONLY with _id and _lastUpdated. -
Uses of FHIRSearchException in com.ibm.fhir.search.util
Methods in com.ibm.fhir.search.util that throw FHIRSearchException Modifier and Type Method Description static QueryParameter
SearchUtil. buildInclusionCriteria(String compartmentName, Set<String> compartmentLogicalIds, String resourceType)
Build a query parameter to encapsulate the inclusion criteria for a compartment querystatic void
SearchUtil. checkInclusionIterateParameters(String resourceType, FHIRSearchContext context, boolean lenient)
Check if _include or _revinclude parameters with the :iterate modifier reference invalid resource types.static Map<String,Set<CompartmentReference>>
SearchUtil. extractCompartmentParameterValues(Resource fhirResource, Map<String,Set<String>> compartmentRefParams)
Extracts the parameter values defining compartment membership.static String
SearchUtil. extractReferenceValue(String valueString)
Convert the string to a reference value usable by the persistence layer.static 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 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 String
ReferenceUtil. getServiceBaseUrl()
Get the service base URL using the originalRequestUri currently set in the FHIRRequestContextstatic String
ReferenceUtil. getServiceBaseUrl(String uri)
Get the service base URL from the given uri
-