DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Nutritionorder.profile.json

Raw JSON (canonical form)

StructureDefinition for nutritionorder

{
  "resourceType": "StructureDefinition",
  "id": "NutritionOrder",
  "meta": {
    "lastUpdated": "2015-10-24T07:41:03.495+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/NutritionOrder",
  "name": "NutritionOrder",
  "status": "draft",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://www.hl7.org/Special/committees/orders/index.cfm"
        }
      ]
    }
  ],
  "date": "2015-10-24T07:41:03+11:00",
  "description": "Base StructureDefinition for NutritionOrder Resource",
  "fhirVersion": "1.0.2",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "NutritionOrder",
        "short": "A request for a diet, formula or nutritional supplement",
        "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": [
          "Diet Order",
          "Diet",
          "Nutritional Supplement",
          "Enteral Nutrition"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "DomainResource"
          }
        ],
        "constraint": [
          {
            "key": "nor-1",
            "severity": "warning",
            "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class",
            "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "SupplyRequest"
          },
          {
            "identity": "w5",
            "map": "clinical.careprovision"
          }
        ]
      },
      {
        "path": "NutritionOrder.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. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "path": "NutritionOrder.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",
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "path": "NutritionOrder.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",
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "NutritionOrder.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",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language.",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "NutritionOrder.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.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "path": "NutritionOrder.identifier",
        "short": "Identifiers assigned to this order",
        "definition": "Identifiers assigned to this order by the order sender or by the order receiver.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.status",
        "short": "proposed | draft | planned | requested | active | on-hold | completed | cancelled",
        "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-order-status"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=RSON].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.oralDiet.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.oralDiet.nutrient",
        "short": "Required  nutrient modifications",
        "definition": "Class that defines the quantity and type of nutrient modifications required for the oral diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind"
          }
        ]
      },
      {
        "path": "NutritionOrder.oralDiet.nutrient.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.oralDiet.texture.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.supplement.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.enteralFormula.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.enteralFormula.administration.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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": [
      {
        "path": "NutritionOrder",
        "short": "A request for a diet, formula or nutritional supplement",
        "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": [
          "Diet Order",
          "Diet",
          "Nutritional Supplement",
          "Enteral Nutrition"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "DomainResource"
          }
        ],
        "constraint": [
          {
            "key": "nor-1",
            "severity": "warning",
            "human": "Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class",
            "xpath": "exists(f:oralDiet) or exists(f:supplement) or exists(f:enteralFormula)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "SupplyRequest"
          },
          {
            "identity": "w5",
            "map": "clinical.careprovision"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "path": "NutritionOrder.identifier",
        "short": "Identifiers assigned to this order",
        "definition": "Identifiers assigned to this order by the order sender or by the order receiver.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.status",
        "short": "proposed | draft | planned | requested | active | on-hold | completed | cancelled",
        "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-order-status"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "NutritionOrder.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",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=RSON].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.oralDiet.nutrient",
        "short": "Required  nutrient modifications",
        "definition": "Class that defines the quantity and type of nutrient modifications required for the oral diet.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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)"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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]"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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"
          }
        ]
      },
      {
        "path": "NutritionOrder.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.