This commit is contained in:
Brian Lindsey 2024-09-26 10:43:18 -04:00 committed by GitHub
commit 8858eb6d2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 0 deletions

View File

@ -238,3 +238,25 @@ In order to improve sorting performance when chained sorts are needed, an [Uplif
# _include and _revinclude order
By default, all _revincludes will be performed first and then all _includes are performed afterwards. However, if any _revinclude parameters are modified with :iterate (or :recurse for earlier versions of FHIR) then all _include parameters will be evaluated first.
# %now and %today
The HAPI FHIR JPA Server supports the use of the special values `%now` and `%today` in search parameters. These values are replaced with the current time and current date respectively when the search is executed.
Given the current day is January 1, 2020 and the current time is 12PM an example of a `%today` and `%now` searches using this search parameter is:
```url
http://example.org/Observation?date=gt%today
```
```url
http://example.org/Observation?date=gt%now
```
These are equivalent to the following searches:
```url
http://example.org/Observation?date=gt2020-01-01
```
```url
http://example.org/Observation?date=gt2020-01-01T12:00:00
```