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

Commit

Permalink
[R4][AllergyIntolerance][Immunization] Support search by _lastUpdated (
Browse files Browse the repository at this point in the history
  • Loading branch information
Someshnsn authored Feb 15, 2024
1 parent 9ad3311 commit da8bbd9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/millennium/r4/clinical/medications/immunization.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Search for immunizations that meet supplied query parameters:
`_id` | Conditionally | [`token`] | The logical resource ID associated with the resource. This parameter is required if the `patient` parameter is not used. Example: `M12345`
`patient` | Conditionally | [`reference`] | The patient for the vaccination record. This parameter is required if the `_id` parameter is not used. Example: `12345`
`date` | No | [`date`] | The date range for the immunization administration or administrations. Example: `date=ge2020-01-01T08:00:00.000Z&date=le2020-01-31T17:00:00.000Z`
`_lastUpdated` | No | [`date`] | Date on which the immunization was last updated. Example: `_lastUpdated=gt2014-09-24` or `_lastUpdated=gt2014-09-24T12:00:00.000Z`
`target-disease` | No | [`token`] | The target disease that the dose is being administered against. Example: `http://hl7.org/fhir/sid/cvx|213`
`_revinclude` | No | [`token`] | The Provenance resource entries that are returned as part of the bundle.

Expand All @@ -94,6 +95,10 @@ _Implementation Notes_
- For two `date` occurrences:
- It must be provided with `le` and `ge` prefixes to search for vaccination records within a specific range.
- The time component is optional, but must be consistent. If one date has a time component, so must the other.
- When searching with `_lastUpdated` parameter:
- It can be provided with only a single reference, and must use the `gt` prefix
- The time component is optional.
- The `date` and `_lastUpdated` parameters may not be provided together.
- When searching with the `target-disease` parameter:
- Searching by Cerner Millennium proprietary codes is not supported.
- When searching with the `_revinclude` parameter:
Expand Down
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 da8bbd9

Please sign in to comment.