Improved generic client docs to remind of client.search.byUrl for params like _has. (#2440)

This commit is contained in:
Diederik Muylwyk 2021-03-03 18:34:18 -05:00 committed by GitHub
parent 70c2808ecd
commit 8dcac3e8b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ If a composite parameter is being searched on, the parameter takes a "left" and
## Search - By plain URL
You can also perform a search using a String URL, instead of using the fluent method calls to build the URL. This can be useful if you have a URL you retrieved from somewhere else that you want to use as a search.
You can also perform a search using a String URL, instead of using the fluent method calls to build the URL.
This can be useful if you have a URL you retrieved from somewhere else that you want to use as a search. This can also be useful if you need to make a search that isn't presently supported by one of the existing fluent methods (e.g. reverse chaining with `_has`).
```java
{{snippet:classpath:/ca/uhn/hapi/fhir/docs/GenericClientExample.java|searchUrl}}