From 11aa2b98b779f189a4a17d30fe4e9fad78ee630e Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Tue, 2 Jan 2024 16:42:09 +0530 Subject: [PATCH 1/2] [R4][Immunization] Support search by _lastUpdated --- content/millennium/r4/clinical/medications/immunization.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/millennium/r4/clinical/medications/immunization.md b/content/millennium/r4/clinical/medications/immunization.md index 5e281511e..79f6dd3ac 100644 --- a/content/millennium/r4/clinical/medications/immunization.md +++ b/content/millennium/r4/clinical/medications/immunization.md @@ -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` | N | [`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. @@ -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: From 9f6d92b61e229cb42848cd79722d7f3435c468be Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Wed, 31 Jan 2024 12:10:15 +0530 Subject: [PATCH 2/2] review changes --- content/millennium/r4/clinical/medications/immunization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/millennium/r4/clinical/medications/immunization.md b/content/millennium/r4/clinical/medications/immunization.md index 79f6dd3ac..4e78638f4 100644 --- a/content/millennium/r4/clinical/medications/immunization.md +++ b/content/millennium/r4/clinical/medications/immunization.md @@ -77,7 +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` | N | [`date`] | Date on which the immunization was last updated. Example: `_lastUpdated=gt2014-09-24` or `_lastUpdated=gt2014-09-24T12: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.