Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
[R4][AllergyIntolerance] Support search by _lastUpdated
Browse files Browse the repository at this point in the history
  • Loading branch information
Someshnsn committed Feb 15, 2024
1 parent 9ad3311 commit 809f6db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/millennium/r4/clinical/summary/allergy-intolerance.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Search for AllergyIntolerances that meet supplied query parameters:
`patient` | This or `_id` | [`reference`] | Who the sensitivity is for. Example: `patient=12345`
`clinical-status` | No | [`token`] | The clinical status of the allergy or intolerance. Example: `active`, `inactive`, `resolved`
`_revinclude` | No | [`token`] | Provenance resource entries to be returned as part of the bundle. Example: `_revinclude=Provenance:target`
`_lastUpdated` | No | [`date`] | Date range in which the allergy or intolerance was last updated. Either 1 or 2 date/times can be given. Example: `_lastUpdated=gt2014-09-24` or `_lastUpdated=lt2015-09-24T12:00:00.000Z`

Notes:

Expand All @@ -97,6 +98,8 @@ Notes:

- When `_revinclude` is provided in a request to the closed endpoint, the OAuth2 token must include the scope corresponding to the Authorization Type, such as `user/Provenance.read`, `patient/Provenance.read` or `system/Provenance.read`.

- The `_lastUpdated` parameters may be provided up to two times, and must use the `eq`, `ge`, `gt`, `le`, or `lt` prefixes. When a value is provided without a prefix, an implied `eq` prefix is used. When provided twice, the lower value must have a `ge` or `gt` prefix and the higher value must have an `le` or `lt` prefix.

### Headers

<%= headers fhir_json: true %>
Expand Down Expand Up @@ -308,6 +311,7 @@ The common [errors] and [OperationOutcomes] may be returned.

[`reference`]: https://hl7.org/fhir/r4/search.html#reference
[`token`]: https://hl7.org/fhir/R4/search.html#token
[`date`]: http://hl7.org/fhir/R4/search.html#date
[errors]: ../../../#client-errors
[OperationOutcomes]: ../../../#operation-outcomes
[Precision Extension]: https://fhir-ehr.cerner.com/r4/StructureDefinition/precision?_format=json
Expand Down

0 comments on commit 809f6db

Please sign in to comment.