From 809f6dba68de313aef0fc7d4c179e71dc5f144fd Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Fri, 9 Feb 2024 12:29:12 +0530 Subject: [PATCH 1/5] [R4][AllergyIntolerance] Support search by _lastUpdated --- content/millennium/r4/clinical/summary/allergy-intolerance.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/millennium/r4/clinical/summary/allergy-intolerance.md b/content/millennium/r4/clinical/summary/allergy-intolerance.md index ec71434f0..eb769a57b 100644 --- a/content/millennium/r4/clinical/summary/allergy-intolerance.md +++ b/content/millennium/r4/clinical/summary/allergy-intolerance.md @@ -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: @@ -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 %> @@ -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 From fa5b13d4138b9c8c9feaebf1337ca08df7c8635f Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Fri, 9 Feb 2024 16:28:10 +0530 Subject: [PATCH 2/5] [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..4e78638f4 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` | 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. @@ -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 a4e0d997115d3404032bb5f3b82ec3aaf0f37f38 Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Thu, 15 Feb 2024 16:49:12 +0530 Subject: [PATCH 3/5] immunization file 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 4e78638f4..86f6ecee6 100644 --- a/content/millennium/r4/clinical/medications/immunization.md +++ b/content/millennium/r4/clinical/medications/immunization.md @@ -96,7 +96,7 @@ _Implementation Notes_ - 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 + - It can be provided with only a single reference, and must use the `ge` and `gt` prefix - The time component is optional. - The `date` and `_lastUpdated` parameters may not be provided together. - When searching with the `target-disease` parameter: From 6d8e07da34aa121726098ffe4d910cdb2555a395 Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Thu, 15 Feb 2024 16:56:36 +0530 Subject: [PATCH 4/5] immunization file 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 86f6ecee6..0c7b85742 100644 --- a/content/millennium/r4/clinical/medications/immunization.md +++ b/content/millennium/r4/clinical/medications/immunization.md @@ -96,7 +96,7 @@ _Implementation Notes_ - 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 `ge` and `gt` prefix + - It can be provided with only a single reference, and must use the `ge` or `gt` prefix - The time component is optional. - The `date` and `_lastUpdated` parameters may not be provided together. - When searching with the `target-disease` parameter: From fd6fa8de4001ad7ddcdb3efa07b91817b0253d13 Mon Sep 17 00:00:00 2001 From: Someshwara Nazare Date: Thu, 15 Feb 2024 17:09:17 +0530 Subject: [PATCH 5/5] immunization file 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 0c7b85742..4e78638f4 100644 --- a/content/millennium/r4/clinical/medications/immunization.md +++ b/content/millennium/r4/clinical/medications/immunization.md @@ -96,7 +96,7 @@ _Implementation Notes_ - 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 `ge` or `gt` prefix + - 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: