STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Nutritionrequest.profile.json

Raw JSON (canonical form)

StructureDefinition for nutritionrequest

{
  "resourceType": "StructureDefinition",
  "id": "NutritionRequest",
  "meta": {
    "lastUpdated": "2016-12-06T12:22:34.981+11:00"
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/NutritionRequest",
  "name": "NutritionRequest",
  "status": "draft",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/orders/index.cfm"
        }
      ]
    }
  ],
  "date": "2016-12-06T12:22:34+11:00",
  "description": "Base StructureDefinition for NutritionRequest Resource",
  "fhirVersion": "1.8.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "NutritionRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "NutritionRequest",
        "path": "NutritionRequest",
        "short": "Diet, formula or nutritional supplement request",
        "definition": "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.",
        "comments": "Referenced by an Order Request (workflow).",
        "alias": [
          "Nutrition Order",
          "Diet Order",
          "Diet",
          "Nutritional Supplement",
          "Enteral Nutrition"
        ],
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "xpath": "not(parent::f:contained and f:contained)",
            "source": "DomainResource"
          },
          {
            "key": "dom-1",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression": "contained.text.empty()",
            "xpath": "not(parent::f:contained and f:text)",
            "source": "DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source": "DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source": "DomainResource"
          },
          {
            "key": "nor-1",
            "severity": "warning",
            "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class",
            "expression": "oralDiet.exists() or supplement.exists() or enteralFormula.exists()",
            "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "rim",
            "map": "SupplyRequest"
          },
          {
            "identity": "w5",
            "map": "clinical.careprovision"
          }
        ]
      },
      {
        "id": "NutritionRequest.id",
        "path": "NutritionRequest.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "id": "NutritionRequest.meta",
        "path": "NutritionRequest.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "id": "NutritionRequest.implicitRules",
        "path": "NutritionRequest.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "id": "NutritionRequest.language",
        "path": "NutritionRequest.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages"
              }
            }
          ],
          "strength": "extensible",
          "description": "A human language.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id": "NutritionRequest.text",
        "path": "NutritionRequest.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "NutritionRequest.contained",
        "path": "NutritionRequest.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.extension",
        "path": "NutritionRequest.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.modifierExtension",
        "path": "NutritionRequest.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.identifier",
        "path": "NutritionRequest.identifier",
        "short": "Identifiers assigned to this order",
        "definition": "Identifiers assigned to this order by the order sender or by the order receiver.",
        "comments": "The Identifier.type element can be to indicate filler vs placer if needed.  This is explained in further detail [here](diagnosticrequest.html#notes).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "id": "NutritionRequest.status",
        "path": "NutritionRequest.status",
        "short": "proposed | draft | planned | requested | active | on-hold | completed | cancelled | entered-in-error",
        "definition": "The workflow status of the nutrition order/request.",
        "comments": "Typically the system placing the order sets the status to \"requested\". Thereafter, the order is maintained by the receiver that updates the status as the request is handled.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Codes specifying the state of the request. Describes the lifecycle of the nutrition order.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/nutrition-request-status"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "NutritionRequest.patient",
        "path": "NutritionRequest.patient",
        "short": "The person who requires the diet, formula or nutritional supplement",
        "definition": "The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "id": "NutritionRequest.encounter",
        "path": "NutritionRequest.encounter",
        "short": "The encounter associated with this nutrition order",
        "definition": "An encounter that provides additional information about the healthcare context in which this request is made.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "id": "NutritionRequest.dateTime",
        "path": "NutritionRequest.dateTime",
        "short": "Date and time the nutrition order was requested",
        "definition": "The date and time that this nutrition order was requested.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "author.time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "NutritionRequest.orderer",
        "path": "NutritionRequest.orderer",
        "short": "Who ordered the diet, formula or nutritional supplement",
        "definition": "The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "id": "NutritionRequest.allergyIntolerance",
        "path": "NutritionRequest.allergyIntolerance",
        "short": "List of the patient's food and nutrition-related allergies and intolerances",
        "definition": "A link to a record of allergies or intolerances  which should be included in the nutrition order.",
        "comments": "Information on a patient's food allergies and intolerances, inform healthcare personnel about the type of foods that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=RSON].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "NutritionRequest.foodPreferenceModifier",
        "path": "NutritionRequest.foodPreferenceModifier",
        "short": "Order-specific modifier about the type of food that should be given",
        "definition": "This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.",
        "comments": "Information on a patient's food preferences that inform healthcare personnel about the food that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Medical, cultural or ethical food preferences to help with catering requirements",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/encounter-diet"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=NutritionModificationType]"
          }
        ]
      },
      {
        "id": "NutritionRequest.excludeFoodModifier",
        "path": "NutritionRequest.excludeFoodModifier",
        "short": "Order-specific modifier about the type of food that should not be given",
        "definition": "This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or  Gluten-Free.  While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason.  This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.",
        "comments": "Information on a patient's food allergies and intolerances, and preferences inform healthcare personnel about the type  of foods that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes used to indicate the type of food that should NOT be given to the patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/food-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet",
        "path": "NutritionRequest.oralDiet",
        "short": "Oral diet components",
        "definition": "Diet given orally in contrast to enteral (tube) feeding.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "nor-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "children().count() > id.count()",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "oralDiet .outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=OralDietSupplyType]"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.id",
        "path": "NutritionRequest.oralDiet.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.extension",
        "path": "NutritionRequest.oralDiet.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.modifierExtension",
        "path": "NutritionRequest.oralDiet.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.type",
        "path": "NutritionRequest.oralDiet.type",
        "short": "Type of oral diet or diet restrictions that describe what can be consumed orally",
        "definition": "The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes used to indicate the type of diet being ordered for a patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/diet-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.schedule",
        "path": "NutritionRequest.oralDiet.schedule",
        "short": "Scheduled frequency of diet",
        "definition": "The time period and frequency at which the diet should be given.",
        "alias": [
          "frequency"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".expectedUseTime"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient",
        "path": "NutritionRequest.oralDiet.nutrient",
        "short": "Required  nutrient modifications",
        "definition": "Class that defines the quantity and type of nutrient modifications (for example carbohydrate, fiber or sodium) required for the oral diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "children().count() > id.count()",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.id",
        "path": "NutritionRequest.oralDiet.nutrient.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.extension",
        "path": "NutritionRequest.oralDiet.nutrient.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.modifierExtension",
        "path": "NutritionRequest.oralDiet.nutrient.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.modifier",
        "path": "NutritionRequest.oralDiet.nutrient.modifier",
        "short": "Type of nutrient that is being modified",
        "definition": "The nutrient that is being modified such as carbohydrate or sodium.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for types of nutrient that is being modified such as carbohydrate or sodium.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/nutrient-code"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.amount",
        "path": "NutritionRequest.oralDiet.nutrient.amount",
        "short": "Quantity of the specified nutrient",
        "definition": "The quantity of the specified nutrient to include in diet.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture",
        "path": "NutritionRequest.oralDiet.texture",
        "short": "Required  texture modifications",
        "definition": "Class that describes any texture modifications required for the patient to safely consume various types of solid foods.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "children().count() > id.count()",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=DietTextureModificationType]"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.id",
        "path": "NutritionRequest.oralDiet.texture.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.extension",
        "path": "NutritionRequest.oralDiet.texture.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.modifierExtension",
        "path": "NutritionRequest.oralDiet.texture.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.modifier",
        "path": "NutritionRequest.oralDiet.texture.modifier",
        "short": "Code to indicate how to alter the texture of the foods, e.g. pureed",
        "definition": "Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed.",
        "comments": "Coupled with the foodType (Meat).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for food consistency types or texture modifications to apply to foods.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/texture-code"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.foodType",
        "path": "NutritionRequest.oralDiet.texture.foodType",
        "short": "Concepts that are used to identify an entity that is ingested for nutritional purposes",
        "definition": "The food type(s) (e.g. meats, all foods)  that the texture modification applies to.  This could be all foods types.",
        "comments": "Coupled with the textureModifier; could be (All Foods).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for types of foods that are texture modified.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/modified-foodtype"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.fluidConsistencyType",
        "path": "NutritionRequest.oralDiet.fluidConsistencyType",
        "short": "The required consistency of fluids and liquids provided to the patient",
        "definition": "The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes used to represent the consistency of fluids and liquids provided to the patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/consistency-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code  (Not differentiated from dietTextureModificationType in HL7 v3)"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.instruction",
        "path": "NutritionRequest.oralDiet.instruction",
        "short": "Instructions or additional information about the oral diet",
        "definition": "Free text or additional instructions or information pertaining to the oral diet.",
        "comments": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement",
        "path": "NutritionRequest.supplement",
        "short": "Supplement components",
        "definition": "Oral nutritional products given in order to add further nutritional value to the patient's diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "nor-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "children().count() > id.count()",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=SUPPLEMENT]"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.id",
        "path": "NutritionRequest.supplement.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.extension",
        "path": "NutritionRequest.supplement.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.modifierExtension",
        "path": "NutritionRequest.supplement.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.type",
        "path": "NutritionRequest.supplement.type",
        "short": "Type of supplement product requested",
        "definition": "The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes for nutritional supplements to be provided to the patient",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/supplement-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalSupplementType)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.productName",
        "path": "NutritionRequest.supplement.productName",
        "short": "Product or brand name of the nutritional supplement",
        "definition": "The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.schedule",
        "path": "NutritionRequest.supplement.schedule",
        "short": "Scheduled frequency of supplement",
        "definition": "The time period and frequency at which the supplement(s) should be given.",
        "alias": [
          "frequency"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.quantity",
        "path": "NutritionRequest.supplement.quantity",
        "short": "Amount of the nutritional supplement",
        "definition": "The amount of the nutritional supplement to be given.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.instruction",
        "path": "NutritionRequest.supplement.instruction",
        "short": "Instructions or additional information about the oral supplement",
        "definition": "Free text or additional instructions or information pertaining to the oral supplement.",
        "comments": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula",
        "path": "NutritionRequest.enteralFormula",
        "short": "Enteral formula components",
        "definition": "Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "nor-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "children().count() > id.count()",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=FORMULA]"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.id",
        "path": "NutritionRequest.enteralFormula.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.extension",
        "path": "NutritionRequest.enteralFormula.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.modifierExtension",
        "path": "NutritionRequest.enteralFormula.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.baseFormulaType",
        "path": "NutritionRequest.enteralFormula.baseFormulaType",
        "short": "Type of enteral or infant formula",
        "definition": "The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes for type of enteral formula to be administered to patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/entformula-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalFormulaType)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.baseFormulaProductName",
        "path": "NutritionRequest.enteralFormula.baseFormulaProductName",
        "short": "Product or brand name of the enteral or infant formula",
        "definition": "The product or brand name of the enteral or infant formula product such as \"ACME Adult Standard Formula\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.additiveType",
        "path": "NutritionRequest.enteralFormula.additiveType",
        "short": "Type of modular component to add to the feeding",
        "definition": "Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/entformula-additive"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (not differentiated from NutritionalFormulaType in HL7 v3)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.additiveProductName",
        "path": "NutritionRequest.enteralFormula.additiveProductName",
        "short": "Product or brand name of the modular additive",
        "definition": "The product or brand name of the type of modular component to be added to the formula.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.caloricDensity",
        "path": "NutritionRequest.enteralFormula.caloricDensity",
        "short": "Amount of energy per specified volume that is required",
        "definition": "The amount of energy (Calories) that the formula should provide per specified volume, typically per mL or fluid oz.  For example, an infant may require a formula that provides 24 Calories per fluid ounce or an adult may require an enteral formula that provides 1.5 Calorie/mL.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity (caloricDensity)"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.routeofAdministration",
        "path": "NutritionRequest.enteralFormula.routeofAdministration",
        "short": "How the formula should enter the patient's gastrointestinal tract",
        "definition": "The route or physiological path of administration into the patient's gastrointestinal  tract for purposes of providing the formula feeding, e.g. nasogastric tube.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Codes specifying the route of administration of enteral formula.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/enteral-route"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".routeCode"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration",
        "path": "NutritionRequest.enteralFormula.administration",
        "short": "Formula feeding instruction as structured data",
        "definition": "Formula administration instructions as structured data.  This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding.  An example of this would be an instruction to increase the rate of continuous feeding every 2 hours.",
        "comments": "See implementation notes below for further discussion on how to order continuous vs bolus enteral feeding using this resource.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "children().count() > id.count()",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SBADM, moodCode=RQO]"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.id",
        "path": "NutritionRequest.enteralFormula.administration.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.extension",
        "path": "NutritionRequest.enteralFormula.administration.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.modifierExtension",
        "path": "NutritionRequest.enteralFormula.administration.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.schedule",
        "path": "NutritionRequest.enteralFormula.administration.schedule",
        "short": "Scheduled frequency of enteral feeding",
        "definition": "The time period and frequency at which the enteral formula should be delivered to the patient.",
        "alias": [
          "frequency"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveUseTime"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.quantity",
        "path": "NutritionRequest.enteralFormula.administration.quantity",
        "short": "The volume of formula to provide",
        "definition": "The volume of formula to provide to the patient per the specified administration schedule.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".doseQuantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.rate[x]",
        "path": "NutritionRequest.enteralFormula.administration.rate[x]",
        "short": "Speed with which the formula is provided per period of time",
        "definition": "The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.",
        "comments": "Ratio is used when the quantity value in the denominator is not \"1\", otherwise use Quantity. For example, the Ratio datatype is used for \"200 mL/4 hrs\" versus the Quantity datatype for \"50 mL/hr\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          },
          {
            "code": "Ratio"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".rateQuantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.maxVolumeToDeliver",
        "path": "NutritionRequest.enteralFormula.maxVolumeToDeliver",
        "short": "Upper limit on formula volume per unit of time",
        "definition": "The maximum total quantity of formula that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".maxDoseQuantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administrationInstruction",
        "path": "NutritionRequest.enteralFormula.administrationInstruction",
        "short": "Formula feeding instructions expressed as text",
        "definition": "Free text formula administration, feeding instructions or additional instructions or information.",
        "comments": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "NutritionRequest",
        "path": "NutritionRequest",
        "short": "Diet, formula or nutritional supplement request",
        "definition": "A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.",
        "comments": "Referenced by an Order Request (workflow).",
        "alias": [
          "Nutrition Order",
          "Diet Order",
          "Diet",
          "Nutritional Supplement",
          "Enteral Nutrition"
        ],
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "nor-1",
            "severity": "warning",
            "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class",
            "expression": "oralDiet.exists() or supplement.exists() or enteralFormula.exists()",
            "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "SupplyRequest"
          },
          {
            "identity": "w5",
            "map": "clinical.careprovision"
          }
        ]
      },
      {
        "id": "NutritionRequest.identifier",
        "path": "NutritionRequest.identifier",
        "short": "Identifiers assigned to this order",
        "definition": "Identifiers assigned to this order by the order sender or by the order receiver.",
        "comments": "The Identifier.type element can be to indicate filler vs placer if needed.  This is explained in further detail [here](diagnosticrequest.html#notes).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "id": "NutritionRequest.status",
        "path": "NutritionRequest.status",
        "short": "proposed | draft | planned | requested | active | on-hold | completed | cancelled | entered-in-error",
        "definition": "The workflow status of the nutrition order/request.",
        "comments": "Typically the system placing the order sets the status to \"requested\". Thereafter, the order is maintained by the receiver that updates the status as the request is handled.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "Codes specifying the state of the request. Describes the lifecycle of the nutrition order.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/nutrition-request-status"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "NutritionRequest.patient",
        "path": "NutritionRequest.patient",
        "short": "The person who requires the diet, formula or nutritional supplement",
        "definition": "The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "id": "NutritionRequest.encounter",
        "path": "NutritionRequest.encounter",
        "short": "The encounter associated with this nutrition order",
        "definition": "An encounter that provides additional information about the healthcare context in which this request is made.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "id": "NutritionRequest.dateTime",
        "path": "NutritionRequest.dateTime",
        "short": "Date and time the nutrition order was requested",
        "definition": "The date and time that this nutrition order was requested.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "author.time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "NutritionRequest.orderer",
        "path": "NutritionRequest.orderer",
        "short": "Who ordered the diet, formula or nutritional supplement",
        "definition": "The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "id": "NutritionRequest.allergyIntolerance",
        "path": "NutritionRequest.allergyIntolerance",
        "short": "List of the patient's food and nutrition-related allergies and intolerances",
        "definition": "A link to a record of allergies or intolerances  which should be included in the nutrition order.",
        "comments": "Information on a patient's food allergies and intolerances, inform healthcare personnel about the type of foods that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=RSON].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "NutritionRequest.foodPreferenceModifier",
        "path": "NutritionRequest.foodPreferenceModifier",
        "short": "Order-specific modifier about the type of food that should be given",
        "definition": "This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.",
        "comments": "Information on a patient's food preferences that inform healthcare personnel about the food that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Medical, cultural or ethical food preferences to help with catering requirements",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/encounter-diet"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=NutritionModificationType]"
          }
        ]
      },
      {
        "id": "NutritionRequest.excludeFoodModifier",
        "path": "NutritionRequest.excludeFoodModifier",
        "short": "Order-specific modifier about the type of food that should not be given",
        "definition": "This modifier is used to convey order-specific modifiers about the type of food that should NOT be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or  Gluten-Free.  While it should not be necessary to repeat allergy or intolerance information captured in the referenced allergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason.  This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings.",
        "comments": "Information on a patient's food allergies and intolerances, and preferences inform healthcare personnel about the type  of foods that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes used to indicate the type of food that should NOT be given to the patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/food-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet",
        "path": "NutritionRequest.oralDiet",
        "short": "Oral diet components",
        "definition": "Diet given orally in contrast to enteral (tube) feeding.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "nor-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "oralDiet .outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=OralDietSupplyType]"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.type",
        "path": "NutritionRequest.oralDiet.type",
        "short": "Type of oral diet or diet restrictions that describe what can be consumed orally",
        "definition": "The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes used to indicate the type of diet being ordered for a patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/diet-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.schedule",
        "path": "NutritionRequest.oralDiet.schedule",
        "short": "Scheduled frequency of diet",
        "definition": "The time period and frequency at which the diet should be given.",
        "alias": [
          "frequency"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".expectedUseTime"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient",
        "path": "NutritionRequest.oralDiet.nutrient",
        "short": "Required  nutrient modifications",
        "definition": "Class that defines the quantity and type of nutrient modifications (for example carbohydrate, fiber or sodium) required for the oral diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.modifier",
        "path": "NutritionRequest.oralDiet.nutrient.modifier",
        "short": "Type of nutrient that is being modified",
        "definition": "The nutrient that is being modified such as carbohydrate or sodium.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for types of nutrient that is being modified such as carbohydrate or sodium.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/nutrient-code"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.nutrient.amount",
        "path": "NutritionRequest.oralDiet.nutrient.amount",
        "short": "Quantity of the specified nutrient",
        "definition": "The quantity of the specified nutrient to include in diet.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture",
        "path": "NutritionRequest.oralDiet.texture",
        "short": "Required  texture modifications",
        "definition": "Class that describes any texture modifications required for the patient to safely consume various types of solid foods.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=DietTextureModificationType]"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.modifier",
        "path": "NutritionRequest.oralDiet.texture.modifier",
        "short": "Code to indicate how to alter the texture of the foods, e.g. pureed",
        "definition": "Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed.",
        "comments": "Coupled with the foodType (Meat).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for food consistency types or texture modifications to apply to foods.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/texture-code"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.texture.foodType",
        "path": "NutritionRequest.oralDiet.texture.foodType",
        "short": "Concepts that are used to identify an entity that is ingested for nutritional purposes",
        "definition": "The food type(s) (e.g. meats, all foods)  that the texture modification applies to.  This could be all foods types.",
        "comments": "Coupled with the textureModifier; could be (All Foods).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for types of foods that are texture modified.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/modified-foodtype"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.fluidConsistencyType",
        "path": "NutritionRequest.oralDiet.fluidConsistencyType",
        "short": "The required consistency of fluids and liquids provided to the patient",
        "definition": "The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes used to represent the consistency of fluids and liquids provided to the patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/consistency-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code  (Not differentiated from dietTextureModificationType in HL7 v3)"
          }
        ]
      },
      {
        "id": "NutritionRequest.oralDiet.instruction",
        "path": "NutritionRequest.oralDiet.instruction",
        "short": "Instructions or additional information about the oral diet",
        "definition": "Free text or additional instructions or information pertaining to the oral diet.",
        "comments": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement",
        "path": "NutritionRequest.supplement",
        "short": "Supplement components",
        "definition": "Oral nutritional products given in order to add further nutritional value to the patient's diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "nor-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=SUPPLEMENT]"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.type",
        "path": "NutritionRequest.supplement.type",
        "short": "Type of supplement product requested",
        "definition": "The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes for nutritional supplements to be provided to the patient",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/supplement-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalSupplementType)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.productName",
        "path": "NutritionRequest.supplement.productName",
        "short": "Product or brand name of the nutritional supplement",
        "definition": "The product or brand name of the nutritional supplement such as \"Acme Protein Shake\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.schedule",
        "path": "NutritionRequest.supplement.schedule",
        "short": "Scheduled frequency of supplement",
        "definition": "The time period and frequency at which the supplement(s) should be given.",
        "alias": [
          "frequency"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.quantity",
        "path": "NutritionRequest.supplement.quantity",
        "short": "Amount of the nutritional supplement",
        "definition": "The amount of the nutritional supplement to be given.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.supplement.instruction",
        "path": "NutritionRequest.supplement.instruction",
        "short": "Instructions or additional information about the oral supplement",
        "definition": "Free text or additional instructions or information pertaining to the oral supplement.",
        "comments": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula",
        "path": "NutritionRequest.enteralFormula",
        "short": "Enteral formula components",
        "definition": "Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "nor-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=FORMULA]"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.baseFormulaType",
        "path": "NutritionRequest.enteralFormula.baseFormulaType",
        "short": "Type of enteral or infant formula",
        "definition": "The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes for type of enteral formula to be administered to patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/entformula-type"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalFormulaType)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.baseFormulaProductName",
        "path": "NutritionRequest.enteralFormula.baseFormulaProductName",
        "short": "Product or brand name of the enteral or infant formula",
        "definition": "The product or brand name of the enteral or infant formula product such as \"ACME Adult Standard Formula\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.additiveType",
        "path": "NutritionRequest.enteralFormula.additiveType",
        "short": "Type of modular component to add to the feeding",
        "definition": "Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/entformula-additive"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (not differentiated from NutritionalFormulaType in HL7 v3)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.additiveProductName",
        "path": "NutritionRequest.enteralFormula.additiveProductName",
        "short": "Product or brand name of the modular additive",
        "definition": "The product or brand name of the type of modular component to be added to the formula.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.caloricDensity",
        "path": "NutritionRequest.enteralFormula.caloricDensity",
        "short": "Amount of energy per specified volume that is required",
        "definition": "The amount of energy (Calories) that the formula should provide per specified volume, typically per mL or fluid oz.  For example, an infant may require a formula that provides 24 Calories per fluid ounce or an adult may require an enteral formula that provides 1.5 Calorie/mL.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity (caloricDensity)"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.routeofAdministration",
        "path": "NutritionRequest.enteralFormula.routeofAdministration",
        "short": "How the formula should enter the patient's gastrointestinal tract",
        "definition": "The route or physiological path of administration into the patient's gastrointestinal  tract for purposes of providing the formula feeding, e.g. nasogastric tube.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Codes specifying the route of administration of enteral formula.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/enteral-route"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".routeCode"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration",
        "path": "NutritionRequest.enteralFormula.administration",
        "short": "Formula feeding instruction as structured data",
        "definition": "Formula administration instructions as structured data.  This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding.  An example of this would be an instruction to increase the rate of continuous feeding every 2 hours.",
        "comments": "See implementation notes below for further discussion on how to order continuous vs bolus enteral feeding using this resource.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SBADM, moodCode=RQO]"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.schedule",
        "path": "NutritionRequest.enteralFormula.administration.schedule",
        "short": "Scheduled frequency of enteral feeding",
        "definition": "The time period and frequency at which the enteral formula should be delivered to the patient.",
        "alias": [
          "frequency"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveUseTime"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.quantity",
        "path": "NutritionRequest.enteralFormula.administration.quantity",
        "short": "The volume of formula to provide",
        "definition": "The volume of formula to provide to the patient per the specified administration schedule.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".doseQuantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administration.rate[x]",
        "path": "NutritionRequest.enteralFormula.administration.rate[x]",
        "short": "Speed with which the formula is provided per period of time",
        "definition": "The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.",
        "comments": "Ratio is used when the quantity value in the denominator is not \"1\", otherwise use Quantity. For example, the Ratio datatype is used for \"200 mL/4 hrs\" versus the Quantity datatype for \"50 mL/hr\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          },
          {
            "code": "Ratio"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".rateQuantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.maxVolumeToDeliver",
        "path": "NutritionRequest.enteralFormula.maxVolumeToDeliver",
        "short": "Upper limit on formula volume per unit of time",
        "definition": "The maximum total quantity of formula that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".maxDoseQuantity"
          }
        ]
      },
      {
        "id": "NutritionRequest.enteralFormula.administrationInstruction",
        "path": "NutritionRequest.enteralFormula.administrationInstruction",
        "short": "Formula feeding instructions expressed as text",
        "definition": "Free text formula administration, feeding instructions or additional instructions or information.",
        "comments": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.