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

Commit

Permalink
Review and Updates for NutritionOrder (#1008)
Browse files Browse the repository at this point in the history
* formatting and fixes for nutritionorder

* PRODOC-203261: Style and formatting edits.

---------

Co-authored-by: Deitrich, Casey <[email protected]>
  • Loading branch information
RicardoCrespo-ora and Deitrich, Casey authored Nov 7, 2023
1 parent bcd02de commit b5db731
Showing 1 changed file with 13 additions and 24 deletions.
37 changes: 13 additions & 24 deletions content/millennium/r4/clinical/care-provision/nutrition-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The NutritionOrder resource returns requests or orders to supply a diet or suppl

The following fields are returned if valued:

* [NutritionOrder id](https://hl7.org/fhir/r4/resource-definitions.html#Resource.id)
* [NutritionOrder ID](https://hl7.org/fhir/r4/resource-definitions.html#Resource.id)
* [Status](https://www.hl7.org/fhir/r4/nutritionorder-definitions.html#NutritionOrder.status)
* [Intent](https://www.hl7.org/fhir/r4/nutritionorder-definitions.html#NutritionOrder.intent)
* [Extensions including basedOn](#extensions)
Expand Down Expand Up @@ -43,7 +43,7 @@ The following fields are returned if valued:

## Search

Search for NutritionOrders that meet supplied query parameters:
Search for nutrition orders that meet the supplied query parameters.

GET /NutritionOrder?:parameters

Expand All @@ -53,20 +53,20 @@ Search for NutritionOrders that meet supplied query parameters:

### Parameters

Name | Required? | Type | Description
Name | Required | Type | Description
-------------------|--------------------------------|---------------|-----------------------------------------------------------------------
`_id` | This or `patient` | [`token`] | The logical resource id associated with the resource.
`patient` | This or `_id` or `subject` | [`reference`] | Who the nutrition order is for. Example: `12345`
`_id` | Conditionally | [`token`] | The logical resource ID associated with the resource. This parameter is required if `subject` is not used. Example: `11111111`
`patient` | Conditionally | [`reference`] | Who the nutrition order is for. This parameter is required if the `_id` parameter is not used. Example: `12345`
`status` | No | [`token`] | The status of the nutrition order. Example: `active`
`_lastUpdated` | No | [`date`] | An explicit or implied date-time range within which the most recent clinically relevant update was made to the nutrition order. Must include a time, and must be prefixed by ‘ge’ or ‘le’. Example: `ge2014-05-19T20:54:02.000Z`
[`_count`] | No | [`number`] | The maximum number of nutrition orders to include in a page.
`_lastUpdated` | No | [`date`] | An explicit or implied date and time range during which the most recent clinically relevant update was made to the nutrition order. Must include a time, and must be prefixed by ‘ge’ or ‘le’. Example: `ge2014-05-19T20:54:02.000Z`
[`_count`] | No | [`number`] | The maximum number of nutrition orders to include on a page.

Notes:

* If `_id` is provided, no other parameters may be provided.
* The `_lastUpdated` parameter may be provided:
* once with a prefix `ge` or `le` representing the earliest date or latest date. (e.g. `date=ge2015-01-01`, `date=le2016-01-01`)
* twice with the prefixes `ge`, `le` to indicate a specific range. (e.g. `date=ge2015-01-01&date=le2016-01-01`)
* If `_id` is provided, no other parameters are required.
* The `_lastUpdated` parameter may be provided in the following formats:
* Once with a prefix of ‘ge’ or ‘le’ representing the earliest date or latest date (for example, `date=ge2015-01-01` or `date=le2016-01-01`).
* Twice with the prefixes of ‘ge’ and ‘le’ to indicate a specific range (for example, `date=ge2015-01-01&date=le2016-01-01`).

### Headers

Expand Down Expand Up @@ -101,9 +101,9 @@ Notes:

The common [errors] and [OperationOutcomes] may be returned.

## Retrieve by id
## Retrieve by ID

List an individual NutritionOrder by its id:
List an individual nutrition order by its ID.

GET /NutritionOrder/:id

Expand All @@ -128,17 +128,6 @@ List an individual NutritionOrder by its id:

<%= disclaimer %>

#### Request

GET https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/NutritionOrder/313790117

#### Response

<%= headers status: 200 %>
<%= json(:r4_nutrition_order_child_entry) %>

<%= disclaimer %>

#### Patient Authorization Request

GET https://fhir-ehr.cerner.com/4/ec2458f2-1e24-41c8-b71b-0e701af7583d/NutritionOrder/313790117
Expand Down

0 comments on commit b5db731

Please sign in to comment.