Skip to content

Commit

Permalink
Now Uri queries with above and below modifiers can provide multiple urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuncay Namli committed Oct 11, 2024
1 parent 3aea889 commit 9fe3311
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ object UriQueryBuilder extends IFhirQueryBuilder {
case FHIR_PREFIXES_MODIFIERS.BELOW =>
//if (values.length > 1)
// throw new InvalidParameterException(s"Only single url value should be provided when modifier ${FHIR_PREFIXES_MODIFIERS.BELOW} is used for FHIR url type parameters!")
orQueries(values.map(v => getQueryForBelowModifier(v, path))
orQueries(values.map(v => getQueryForBelowModifier(v, path)))
case oth =>
throw new InvalidParameterException(s"Modifier ${oth} is not valid or supported by onFhir.io for FHIR url type parameters!")
}
Expand Down

0 comments on commit 9fe3311

Please sign in to comment.