Search Prefixes
When you search FHIR® resources on the 1up FHIR Server, you can use prefixes for date and numeric type attributes.
The 1up FHIR Server supports the following prefixes.
|
Prefix |
Usage |
|---|---|
gt
|
Greater than |
ge
|
Greater than or equal to |
lt
|
Less than |
le
|
Less than or equal to |
The following is an example request to get ExplanationOfBenefit resources with a billable period in the month of April 2022.
https://{baseUrl}/r4/ExplanationOfBenefit?billablePeriod.end=le2022-04-30&billablePeriod.start=ge2022-04-01
In this example, the request includes the billablePeriod.end and billablePeriod.start parameters to return resources between the specified dates. The billablePeriod.end parameter includes the less than or equal to (le) prefix and the billablePeriod.start parameter includes the greater than or equal to (ge) prefix.