From 6482c61b08a87f00e3afa3535068afc1a61fa962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CSurya?= Date: Sat, 10 Feb 2024 21:41:30 +0530 Subject: [PATCH] added new search parameter for R4 condition and procedure --- content/millennium/r4/clinical/summary/condition.md | 5 ++++- content/millennium/r4/clinical/summary/procedure.md | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/content/millennium/r4/clinical/summary/condition.md b/content/millennium/r4/clinical/summary/condition.md index a4631c104..a75372082 100644 --- a/content/millennium/r4/clinical/summary/condition.md +++ b/content/millennium/r4/clinical/summary/condition.md @@ -71,7 +71,8 @@ _Implementation Notes_ `category` | No | [`token`] | The category of the condition. Categories problem-list-item, encounter-diagnosis and health-concern are supported as of now. Example: `problem-list-item`, `encounter-diagnosis`, `health-concern` `_revinclude` | No | [`token`] | Provenance resource entries to be returned as part of the bundle. Example:`_revinclude=Provenance:target` `encounter` | No | [`reference`] | The encounter ID/s for the patient. Encounter-diagnosis conditions that match the encounter ID/s and all problem-list-item conditions of the patient are returned. Example: `encounter=97733489` - + `_lastUpdated` | No | [`date`] | Date range in which the conditions was last updated. Example: `_lastUpdated=gt2014-09-24` or `_lastUpdated=lt2015-09-24T12:00:00.000Z` + Notes: * If `_id` is provided, no other parameters may be provided. @@ -80,6 +81,7 @@ Notes: * be provided with the `_id/patient` parameter. Example: `_id=82c1c95c-83bb-47d2-86d7-7961aa996082&_revinclude=Provenance:target` * 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`. * When `encounter` is provided, encounter-diagnosis for the matched encounter/s and all problem-list-item conditions of the patient will be returned. No HealthConcerns are returned. +* 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 @@ -312,6 +314,7 @@ The `ETag` response header indicates the current `If-Match` version to use on su The common [errors] and [OperationOutcomes] may be returned. +[`date`]: https://hl7.org/fhir/R4/search.html#date [`reference`]: https://hl7.org/fhir/r4/search.html#reference [`token`]: https://hl7.org/fhir/R4/search.html#token [errors]: ../../../#client-errors diff --git a/content/millennium/r4/clinical/summary/procedure.md b/content/millennium/r4/clinical/summary/procedure.md index b956e54d8..028cd4e8f 100644 --- a/content/millennium/r4/clinical/summary/procedure.md +++ b/content/millennium/r4/clinical/summary/procedure.md @@ -65,7 +65,8 @@ Search for procedures that meet supplied query parameters. `subject` | Conditionally | [`reference`] | Who the procedure is for. This parameter is required if `_id` or `patient` is not used. Example: `Patient/12345` `date` | No | [`dateTime`] | The date range that the procedure's `performedPeriod` or `performedDateTime` falls within. Example: `date=gt2015-09-24T12:00:00.000Z&date=le2020-07-15T16:00:00.000Z` `_revinclude` | No | [`token`] | The Provenance resource entries to be returned as part of the bundle. Example:_revinclude=Provenance:target - + `_lastUpdated` | No | [`date`] | Date range in which the procedures was last updated. Example: `_lastUpdated=gt2014-09-24` or `_lastUpdated=lt2015-09-24T12:00:00.000Z` + Notes: * The `date` parameter: @@ -76,6 +77,8 @@ Notes: * May be provided in combination with the `_id` or `patient` parameter. Example: `_id=570007845&_revinclude=Provenance:target` or `patient=12345&_revinclude=Provenance:target`. * When provided in a request to a closed endpoint, the OAuth2 token must include the `user/Provenance.read` scope. * Currently, the `patient/Provenance.read` scope is not supported; hence, `_revinclude` cannot be used for patient persona. +* 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. +* The `date` and `_lastUpdated` parameters may not be provided together. ### Headers @@ -209,6 +212,7 @@ X-Request-Id: 2e11665d-618d-4017-9a90-c3c1afeeac00 The `ETag` response header indicates the current `If-Match` version to use on a subsequent update. +[`date`]: https://hl7.org/fhir/R4/search.html#date [`reference`]: https://hl7.org/fhir/r4/search.html#reference [`token`]: https://hl7.org/fhir/R4/search.html#token [`dateTime`]: https://hl7.org/fhir/r4/datatypes.html#dateTime