FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r5.r3
Resource TypeStructureDefinition
IdStructureDefinition-profile-NutritionOrder.json
FHIR VersionR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition profile-NutritionOrder

NameFlagsCard.TypeDescription & Constraintsdoco
.. NutritionOrder 0..*NutritionOrderDiet, formula or nutritional supplement request
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:instantiatesCanonical 0..*uriR5: Instantiates FHIR protocol or definition (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiatesCanonical
.... extension:instantiatesUri 0..*uriR5: Instantiates external protocol or definition (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiatesUri
.... extension:instantiates 0..*uriR5: Instantiates protocol or definition (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiates
.... extension:basedOn 0..*Reference(Cross-version Profile for R5.CarePlan for use in FHIR STU3(0.1.0) | CarePlan | Cross-version Profile for R5.NutritionOrder for use in FHIR STU3(0.1.0) | NutritionOrder | Cross-version Profile for R5.ServiceRequest for use in FHIR STU3(0.1.0) | ReferralRequest)R5: What this order fulfills (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.basedOn
.... extension:groupIdentifier 0..1IdentifierR5: Composite Request ID (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.groupIdentifier
.... extension:priority 0..1codeR5: routine | urgent | asap | stat (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.priority
Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
.... extension:supportingInformation 0..*Reference(Cross-version Profile for R5.Resource for use in FHIR STU3(0.1.0) | Resource)R5: Information to support fulfilling of the nutrition order (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supportingInformation
.... extension:performer 0..*(Complex)R5: Who is desired to perform the administration of what is being ordered (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.performer
.... extension:outsideFoodAllowed 0..1booleanR5: Capture when a food item is brought in by the patient and/or family (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.outsideFoodAllowed
.... extension:note 0..*AnnotationR5: Comments (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.note
... Slices for modifierExtension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... modifierExtension:intent 1..1codeR5: proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.intent
Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a nutrition order.
... status
.... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:status 1..1codeR5: draft | active | on-hold | revoked | completed | entered-in-error | unknown additional codes
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.status
Binding: CarePlanStatus (required): Codes identifying the lifecycle stage of the nutrition order.
... patient
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:subject 0..1?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]]R5: Who requires the diet, formula or nutritional supplement additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... encounter
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:encounter 0..1?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]]R5: encounter additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... orderer
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:orderer 0..1?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]]R5: orderer additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... allergyIntolerance
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:allergyIntolerance 0..*?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]]R5: allergyIntolerance additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... oralDiet
.... schedule
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:timing 0..*TimingR5: Scheduled frequency of diet (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.timing
...... extension:asNeeded 0..1booleanR5: Take 'as needed' (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.asNeeded
...... extension:asNeededFor 0..1CodeableConceptR5: Take 'as needed' for x (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.asNeededFor
... supplement
.... type
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:type 0..1Reference(Cross-version Profile for R5.NutritionProduct for use in FHIR STU3(0.1.0) | Basic)R5: type additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.type
.... schedule
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:timing 0..*TimingR5: Scheduled frequency of diet (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.timing
...... extension:asNeeded 0..1booleanR5: Take 'as needed' (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.asNeeded
...... extension:asNeededFor 0..1CodeableConceptR5: Take 'as needed' for x (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.asNeededFor
... enteralFormula
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... extension:deliveryDevice 0..*(Complex)R5: Intended type of device for the administration (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.deliveryDevice
..... extension:quantity 0..1SimpleQuantityR5: Amount of additive to be given or mixed in (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.additive.quantity
.... baseFormulaType
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:baseFormulaType 0..1Reference(Cross-version Profile for R5.NutritionProduct for use in FHIR STU3(0.1.0) | Basic)R5: baseFormulaType additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.baseFormulaType
.... additiveType
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:type 0..1Reference(Cross-version Profile for R5.NutritionProduct for use in FHIR STU3(0.1.0) | Basic)R5: type additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.additive.type
.... administration
..... schedule
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
....... extension:timing 0..*TimingR5: Scheduled frequency of enteral formula (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.timing
....... extension:asNeeded 0..1booleanR5: Take 'as needed' (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.asNeeded
....... extension:asNeededFor 0..1CodeableConceptR5: Take 'as needed' for x (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.asNeededFor

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "profile-NutritionOrder",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "extension": [
        {
          "url": "packageId",
          "valueId": "hl7.fhir.uv.xver-r5.r3"
        },
        {
          "url": "version",
          "valueString": "0.1.0"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/package-source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/5.0/StructureDefinition/profile-NutritionOrder",
  "version": "0.1.0",
  "name": "Profile_R5_NutritionOrder_R3",
  "title": "Cross-version Profile for R5.NutritionOrder for use in FHIR STU3",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T16:05:13.0696163-05:00",
  "publisher": "FHIR Infrastructure",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This cross-version profile allows R5 NutritionOrder content to be represented via FHIR STU3 NutritionOrder resources.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow 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": "NutritionOrder",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "NutritionOrder",
        "path": "NutritionOrder",
        "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.",
        "comment": "Referenced by an Order Request (workflow).",
        "alias": [
          "Nutrition Order",
          "Diet Order",
          "Diet",
          "Nutritional Supplement",
          "Enteral Nutrition"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder",
          "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": "http://hl7.org/fhir/StructureDefinition/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": "http://hl7.org/fhir/StructureDefinition/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": "http://hl7.org/fhir/StructureDefinition/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": "http://hl7.org/fhir/StructureDefinition/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)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "workflow",
            "map": "Request"
          },
          {
            "identity": "rim",
            "map": "SupplyRequest"
          },
          {
            "identity": "w5",
            "map": "clinical.careprovision"
          }
        ]
      },
      {
        "id": "NutritionOrder.id",
        "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.",
        "comment": "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": "NutritionOrder.meta",
        "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",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "id": "NutritionOrder.implicitRules",
        "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.",
        "comment": "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "id": "NutritionOrder.language",
        "path": "NutritionOrder.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comment": "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|3.0.2"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "extensible",
          "description": "A human language.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/languages|3.0.2"
          }
        }
      },
      {
        "id": "NutritionOrder.text",
        "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.",
        "comment": "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": "NutritionOrder.contained",
        "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.",
        "comment": "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": "NutritionOrder.extension",
        "path": "NutritionOrder.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:instantiatesCanonical",
        "path": "NutritionOrder.extension",
        "sliceName": "instantiatesCanonical",
        "short": "R5: Instantiates FHIR protocol or definition (new)",
        "definition": "R5: `NutritionOrder.instantiatesCanonical` (new:canonical(ActivityDefinition,PlanDefinition))",
        "comment": "Element `NutritionOrder.instantiatesCanonical` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.instantiatesCanonical` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nNote: This is a business identifier, not a resource identifier (see [discussion](https://hl7.org/fhir/resource.htm#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiatesCanonical|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:instantiatesUri",
        "path": "NutritionOrder.extension",
        "sliceName": "instantiatesUri",
        "short": "R5: Instantiates external protocol or definition (new)",
        "definition": "R5: `NutritionOrder.instantiatesUri` (new:uri)",
        "comment": "Element `NutritionOrder.instantiatesUri` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.instantiatesUri` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nThis might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiatesUri|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:instantiates",
        "path": "NutritionOrder.extension",
        "sliceName": "instantiates",
        "short": "R5: Instantiates protocol or definition (new)",
        "definition": "R5: `NutritionOrder.instantiates` (new:uri)",
        "comment": "Element `NutritionOrder.instantiates` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.instantiates` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiates|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:basedOn",
        "path": "NutritionOrder.extension",
        "sliceName": "basedOn",
        "short": "R5: What this order fulfills (new)",
        "definition": "R5: `NutritionOrder.basedOn` (new:Reference(CarePlan,NutritionOrder,ServiceRequest))",
        "comment": "Element `NutritionOrder.basedOn` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.basedOn` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.basedOn|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:groupIdentifier",
        "path": "NutritionOrder.extension",
        "sliceName": "groupIdentifier",
        "short": "R5: Composite Request ID (new)",
        "definition": "R5: `NutritionOrder.groupIdentifier` (new:Identifier)",
        "comment": "Element `NutritionOrder.groupIdentifier` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.groupIdentifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.groupIdentifier|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:priority",
        "path": "NutritionOrder.extension",
        "sliceName": "priority",
        "short": "R5: routine | urgent | asap | stat (new)",
        "definition": "R5: `NutritionOrder.priority` (new:code)",
        "comment": "Element `NutritionOrder.priority` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.priority` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.priority|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:supportingInformation",
        "path": "NutritionOrder.extension",
        "sliceName": "supportingInformation",
        "short": "R5: Information to support fulfilling of the nutrition order (new)",
        "definition": "R5: `NutritionOrder.supportingInformation` (new:Reference(Resource))",
        "comment": "Element `NutritionOrder.supportingInformation` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supportingInformation` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supportingInformation|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:performer",
        "path": "NutritionOrder.extension",
        "sliceName": "performer",
        "short": "R5: Who is desired to perform the administration of what is being ordered (new)",
        "definition": "R5: `NutritionOrder.performer` (new:CodeableReference(CareTeam,Practitioner,PractitionerRole,RelatedPerson,Patient,Organization))",
        "comment": "Element `NutritionOrder.performer` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.performer` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.performer|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:outsideFoodAllowed",
        "path": "NutritionOrder.extension",
        "sliceName": "outsideFoodAllowed",
        "short": "R5: Capture when a food item is brought in by the patient and/or family (new)",
        "definition": "R5: `NutritionOrder.outsideFoodAllowed` (new:boolean)",
        "comment": "Element `NutritionOrder.outsideFoodAllowed` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.outsideFoodAllowed` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.outsideFoodAllowed|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.extension:note",
        "path": "NutritionOrder.extension",
        "sliceName": "note",
        "short": "R5: Comments (new)",
        "definition": "R5: `NutritionOrder.note` (new:Annotation)",
        "comment": "Element `NutritionOrder.note` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.note` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nThis element SHALL NOT be used to supply free text instructions for the diet which are represented in the `.oralDiet.instruction`, `supplement.instruction`, or `enteralFormula.administrationInstruction` elements.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.note|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.modifierExtension",
        "path": "NutritionOrder.modifierExtension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true
      },
      {
        "id": "NutritionOrder.modifierExtension:intent",
        "path": "NutritionOrder.modifierExtension",
        "sliceName": "intent",
        "short": "R5: proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option (new)",
        "definition": "R5: `NutritionOrder.intent` (new:code)",
        "comment": "Element `NutritionOrder.intent` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.intent` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nWhen resources map to this element, they are free to define as many codes as necessary to cover their space and will map to \"proposal, plan or order\".  Can have multiple codes that map to one of these.  E.g. \"original order\", \"encoded order\", \"reflex order\" would all map to \"order\".  Expectation is that the set of codes is mutually exclusive or a strict all-encompassing hierarchy.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.intent|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true
      },
      {
        "id": "NutritionOrder.identifier",
        "path": "NutritionOrder.identifier",
        "short": "Identifiers assigned to this order",
        "definition": "Identifiers assigned to this order by the order sender or by the order receiver.",
        "comment": "The Identifier.type element can be to indicate filler vs. placer if needed.  This is explained in further detail [here](http://hl7.org/fhir/STU3/procedurerequest.html#notes).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.identifier"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "id": "NutritionOrder.status",
        "path": "NutritionOrder.status",
        "short": "proposed | draft | planned | requested | active | on-hold | completed | cancelled | entered-in-error",
        "definition": "The workflow status of the nutrition order/request.",
        "comment": "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.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.status",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "NutritionOrderStatus"
            }
          ],
          "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|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.status"
          },
          {
            "identity": "rim",
            "map": ".statusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "NutritionOrder.status.id",
        "path": "NutritionOrder.status.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",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "NutritionOrder.status.extension",
        "path": "NutritionOrder.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.status.extension:status",
        "path": "NutritionOrder.status.extension",
        "sliceName": "status",
        "short": "R5: draft | active | on-hold | revoked | completed | entered-in-error | unknown additional codes",
        "definition": "R5: `NutritionOrder.status` additional codes",
        "comment": "Element `NutritionOrder.status` is mapped to FHIR STU3 element `NutritionOrder.status` as `RelatedTo`.\nThe mappings for `NutritionOrder.status` do not allow expression of the necessary codes, per the bindings on the source and target.\nThe target context `NutritionOrder.status` is a modifier element, so this extension does not need to be defined as a modifier.\nTypically 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.  This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.status|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.status.value",
        "path": "NutritionOrder.status.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for code",
        "definition": "Primitive value for code",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
                "valueString": "[^\\s]+([\\s]?[^\\s]+)*"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:token"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:token"
                }
              ]
            }
          }
        ]
      },
      {
        "id": "NutritionOrder.patient",
        "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",
        "base": {
          "path": "NutritionOrder.patient",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.subject.reference(Patient)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "id": "NutritionOrder.patient.id",
        "path": "NutritionOrder.patient.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": "NutritionOrder.patient.extension",
        "path": "NutritionOrder.patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.patient.extension:subject",
        "path": "NutritionOrder.patient.extension",
        "sliceName": "subject",
        "short": "R5: Who requires the diet, formula or nutritional supplement additional types",
        "definition": "R5: `NutritionOrder.subject` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.subject` is mapped to FHIR STU3 element `NutritionOrder.patient` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.subject` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.subject` with unmapped reference targets: Group, Patient.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.patient.reference",
        "path": "NutritionOrder.patient.reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ref-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.patient.identifier",
        "path": "NutritionOrder.patient.identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "NutritionOrder.patient.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.patient.display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter",
        "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",
        "base": {
          "path": "NutritionOrder.encounter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.context.reference(Encounter)"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter.id",
        "path": "NutritionOrder.encounter.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": "NutritionOrder.encounter.extension",
        "path": "NutritionOrder.encounter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter.extension:encounter",
        "path": "NutritionOrder.encounter.extension",
        "sliceName": "encounter",
        "short": "R5: encounter additional types",
        "definition": "R5: `NutritionOrder.encounter` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.encounter` is mapped to FHIR STU3 element `NutritionOrder.encounter` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.encounter` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.encounter` with unmapped reference targets: Encounter.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter.reference",
        "path": "NutritionOrder.encounter.reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ref-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter.identifier",
        "path": "NutritionOrder.encounter.identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.encounter.display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.dateTime",
        "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",
        "base": {
          "path": "NutritionOrder.dateTime",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.authoredOn"
          },
          {
            "identity": "rim",
            "map": "author.time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer",
        "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",
        "base": {
          "path": "NutritionOrder.orderer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request.requester"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer.id",
        "path": "NutritionOrder.orderer.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": "NutritionOrder.orderer.extension",
        "path": "NutritionOrder.orderer.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer.extension:orderer",
        "path": "NutritionOrder.orderer.extension",
        "sliceName": "orderer",
        "short": "R5: orderer additional types",
        "definition": "R5: `NutritionOrder.orderer` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.orderer` is mapped to FHIR STU3 element `NutritionOrder.orderer` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.orderer` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.orderer` with unmapped reference targets: Practitioner, PractitionerRole.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer.reference",
        "path": "NutritionOrder.orderer.reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ref-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer.identifier",
        "path": "NutritionOrder.orderer.identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.orderer.display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.allergyIntolerance",
        "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.",
        "comment": "Information on a patient's food allergies and intolerances to inform healthcare personnel about the type of foods that the patient shouldn't receive or consume.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.allergyIntolerance",
          "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": "NutritionOrder.allergyIntolerance.id",
        "path": "NutritionOrder.allergyIntolerance.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": "NutritionOrder.allergyIntolerance.extension",
        "path": "NutritionOrder.allergyIntolerance.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.allergyIntolerance.extension:allergyIntolerance",
        "path": "NutritionOrder.allergyIntolerance.extension",
        "sliceName": "allergyIntolerance",
        "short": "R5: allergyIntolerance additional types",
        "definition": "R5: `NutritionOrder.allergyIntolerance` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.allergyIntolerance` is mapped to FHIR STU3 element `NutritionOrder.allergyIntolerance` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.allergyIntolerance` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.allergyIntolerance` with unmapped reference targets: AllergyIntolerance.\nInformation on a patient's food allergies and intolerances to inform healthcare personnel about the type of foods that the patient shouldn't receive or consume.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.allergyIntolerance.reference",
        "path": "NutritionOrder.allergyIntolerance.reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ref-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.allergyIntolerance.identifier",
        "path": "NutritionOrder.allergyIntolerance.identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "NutritionOrder.allergyIntolerance.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.allergyIntolerance.display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.foodPreferenceModifier",
        "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.",
        "comment": "Information on a patient's food preferences that inform healthcare personnel about the food that the patient should receive or consume.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.foodPreferenceModifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PatientDiet"
            }
          ],
          "strength": "example",
          "description": "Medical, cultural or ethical food preferences to help with catering requirements",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/encounter-diet|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=NutritionModificationType]"
          }
        ]
      },
      {
        "id": "NutritionOrder.excludeFoodModifier",
        "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.",
        "comment": "Information on a patient's food allergies, intolerances and preferences to inform healthcare personnel about the type  of foods that the patient shouldn't receive or consume.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.excludeFoodModifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "FoodType"
            }
          ],
          "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|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet",
        "path": "NutritionOrder.oralDiet",
        "short": "Oral diet components",
        "definition": "Diet given orally in contrast to enteral (tube) feeding.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.oralDiet",
          "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": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "oralDiet .outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=OralDietSupplyType]"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.id",
        "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). 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": "NutritionOrder.oralDiet.extension",
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.modifierExtension",
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.type",
        "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": "*",
        "base": {
          "path": "NutritionOrder.oralDiet.type",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "OralDiet"
            }
          ],
          "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|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule",
        "path": "NutritionOrder.oralDiet.schedule",
        "short": "Scheduled frequency of diet",
        "definition": "The time period and frequency at which the diet should be given.  The diet should be given for the combination of all schedules if more than one schedule is present.",
        "alias": [
          "Frequency"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.oralDiet.schedule",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".expectedUseTime"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.id",
        "path": "NutritionOrder.oralDiet.schedule.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": "NutritionOrder.oralDiet.schedule.extension",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension:timing",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "sliceName": "timing",
        "short": "R5: Scheduled frequency of diet (new)",
        "definition": "R5: `NutritionOrder.oralDiet.schedule.timing` (new:Timing)",
        "comment": "Element `NutritionOrder.oralDiet.schedule.timing` has a context of NutritionOrder.oralDiet.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.oralDiet.schedule.timing` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.timing|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension:asNeeded",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "sliceName": "asNeeded",
        "short": "R5: Take 'as needed' (new)",
        "definition": "R5: `NutritionOrder.oralDiet.schedule.asNeeded` (new:boolean)",
        "comment": "Element `NutritionOrder.oralDiet.schedule.asNeeded` has a context of NutritionOrder.oralDiet.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.oralDiet.schedule.asNeeded` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.asNeeded|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension:asNeededFor",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "sliceName": "asNeededFor",
        "short": "R5: Take 'as needed' for x (new)",
        "definition": "R5: `NutritionOrder.oralDiet.schedule.asNeededFor` (new:CodeableConcept)",
        "comment": "Element `NutritionOrder.oralDiet.schedule.asNeededFor` has a context of NutritionOrder.oralDiet.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.oralDiet.schedule.asNeededFor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.asNeededFor|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.event",
        "path": "NutritionOrder.oralDiet.schedule.event",
        "short": "When the event occurs",
        "definition": "Identifies specific times when the event occurs.",
        "requirements": "In an MAR, for instance, you need to take a general specification, and turn it into a precise specification.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "QLIST<TS>"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat",
        "path": "NutritionOrder.oralDiet.schedule.repeat",
        "short": "When the event is to occur",
        "definition": "A set of rules that describe when the event is scheduled.",
        "requirements": "Many timing schedules are determined by regular repetitions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "tim-9",
            "severity": "error",
            "human": "If there's an offset, there must be a when (and not C, CM, CD, CV)",
            "expression": "offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))",
            "xpath": "not(exists(f:offset)) or exists(f:when)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-5",
            "severity": "error",
            "human": "period SHALL be a non-negative value",
            "expression": "period.exists() implies period >= 0",
            "xpath": "f:period/@value >= 0 or not(f:period/@value)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-6",
            "severity": "error",
            "human": "If there's a periodMax, there must be a period",
            "expression": "periodMax.empty() or period.exists()",
            "xpath": "not(exists(f:periodMax)) or exists(f:period)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-7",
            "severity": "error",
            "human": "If there's a durationMax, there must be a duration",
            "expression": "durationMax.empty() or duration.exists()",
            "xpath": "not(exists(f:durationMax)) or exists(f:duration)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-8",
            "severity": "error",
            "human": "If there's a countMax, there must be a count",
            "expression": "countMax.empty() or count.exists()",
            "xpath": "not(exists(f:countMax)) or exists(f:count)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-1",
            "severity": "error",
            "human": "if there's a duration, there needs to be duration units",
            "expression": "duration.empty() or durationUnit.exists()",
            "xpath": "not(exists(f:duration)) or exists(f:durationUnit)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-10",
            "severity": "error",
            "human": "If there's a timeOfDay, there cannot be be a when, or vice versa",
            "expression": "timeOfDay.empty() or when.empty()",
            "xpath": "not(exists(f:timeOfDay)) or not(exists(f:when))",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-2",
            "severity": "error",
            "human": "if there's a period, there needs to be period units",
            "expression": "period.empty() or periodUnit.exists()",
            "xpath": "not(exists(f:period)) or exists(f:periodUnit)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-4",
            "severity": "error",
            "human": "duration SHALL be a non-negative value",
            "expression": "duration.exists() implies duration >= 0",
            "xpath": "f:duration/@value >= 0 or not(f:duration/@value)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "Implies PIVL or EIVL"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.id",
        "path": "NutritionOrder.oralDiet.schedule.repeat.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": "NutritionOrder.oralDiet.schedule.repeat.extension",
        "path": "NutritionOrder.oralDiet.schedule.repeat.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.schedule.repeat.bounds[x]",
        "path": "NutritionOrder.oralDiet.schedule.repeat.bounds[x]",
        "short": "Length/Range of lengths, or (Start and/or end) limits",
        "definition": "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.bounds[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          },
          {
            "code": "Range"
          },
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "IVL(TS) used in a QSI"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.count",
        "path": "NutritionOrder.oralDiet.schedule.repeat.count",
        "short": "Number of times to repeat",
        "definition": "A total count of the desired number of repetitions.",
        "comment": "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.",
        "requirements": "Repetitions may be limited by end time or total occurrences.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.count",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.count"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.countMax",
        "path": "NutritionOrder.oralDiet.schedule.repeat.countMax",
        "short": "Maximum number of times to repeat",
        "definition": "A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.countMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.count"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.duration",
        "path": "NutritionOrder.oralDiet.schedule.repeat.duration",
        "short": "How long when it happens",
        "definition": "How long this thing happens for when it happens.",
        "comment": "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
        "requirements": "Some activities are not instantaneous and need to be maintained for a period of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.duration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.durationMax",
        "path": "NutritionOrder.oralDiet.schedule.repeat.durationMax",
        "short": "How long when it happens (Max)",
        "definition": "The upper limit of how long this thing happens for when it happens.",
        "comment": "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
        "requirements": "Some activities are not instantaneous and need to be maintained for a period of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.durationMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.durationUnit",
        "path": "NutritionOrder.oralDiet.schedule.repeat.durationUnit",
        "short": "s | min | h | d | wk | mo | a - unit of time (UCUM)",
        "definition": "The units of time for the duration, in UCUM units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.durationUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UnitsOfTime"
            }
          ],
          "strength": "required",
          "description": "A unit of time (units from UCUM).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/units-of-time|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase.unit"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.frequency",
        "path": "NutritionOrder.oralDiet.schedule.repeat.frequency",
        "short": "Event occurs frequency times per period",
        "definition": "The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.frequency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "defaultValueInteger": 1,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.frequencyMax",
        "path": "NutritionOrder.oralDiet.schedule.repeat.frequencyMax",
        "short": "Event occurs up to frequencyMax times per period",
        "definition": "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.frequencyMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.period",
        "path": "NutritionOrder.oralDiet.schedule.repeat.period",
        "short": "Event occurs frequency times per period",
        "definition": "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.periodMax",
        "path": "NutritionOrder.oralDiet.schedule.repeat.periodMax",
        "short": "Upper limit of period (3-4 hours)",
        "definition": "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.periodMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.periodUnit",
        "path": "NutritionOrder.oralDiet.schedule.repeat.periodUnit",
        "short": "s | min | h | d | wk | mo | a - unit of time (UCUM)",
        "definition": "The units of time for the period in UCUM units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.periodUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UnitsOfTime"
            }
          ],
          "strength": "required",
          "description": "A unit of time (units from UCUM).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/units-of-time|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase.unit"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.dayOfWeek",
        "path": "NutritionOrder.oralDiet.schedule.repeat.dayOfWeek",
        "short": "mon | tue | wed | thu | fri | sat | sun",
        "definition": "If one or more days of week is provided, then the action happens only on the specified day(s).",
        "comment": "If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.dayOfWeek",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DayOfWeek"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/days-of-week|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.timeOfDay",
        "path": "NutritionOrder.oralDiet.schedule.repeat.timeOfDay",
        "short": "Time of day for action",
        "definition": "Specified time of day for action to take place.",
        "comment": "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.timeOfDay",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "time"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.when",
        "path": "NutritionOrder.oralDiet.schedule.repeat.when",
        "short": "Regular life events the event is tied to",
        "definition": "Real world events that the occurrence of the event should be tied to.",
        "comment": "When more than one event is listed, the event is tied to the union of the specified events.",
        "requirements": "Timings are frequently determined by occurrences such as waking, eating and sleep.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.when",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EventTiming"
            }
          ],
          "strength": "required",
          "description": "Real world event relating to the schedule.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/event-timing|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "EIVL.event"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.repeat.offset",
        "path": "NutritionOrder.oralDiet.schedule.repeat.offset",
        "short": "Minutes from event (before or after)",
        "definition": "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.offset",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "EIVL.offset"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.code",
        "path": "NutritionOrder.oralDiet.schedule.code",
        "short": "BID | TID | QID | AM | PM | QD | QOD | Q4H | Q6H +",
        "definition": "A code for the timing schedule. Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).",
        "comment": "BID etc are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\".  If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or the a structured representation should be used (in this case, specifying the two event times).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "TimingAbbreviation"
            }
          ],
          "strength": "preferred",
          "description": "Code for a known / defined timing pattern.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/timing-abbreviation|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "QSC.code"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.nutrient",
        "path": "NutritionOrder.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": "*",
        "base": {
          "path": "NutritionOrder.oralDiet.nutrient",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.nutrient.id",
        "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). 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": "NutritionOrder.oralDiet.nutrient.extension",
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.nutrient.modifierExtension",
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.nutrient.modifier",
        "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",
        "base": {
          "path": "NutritionOrder.oralDiet.nutrient.modifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "NutrientModifier"
            }
          ],
          "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|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.nutrient.amount",
        "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",
        "base": {
          "path": "NutritionOrder.oralDiet.nutrient.amount",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.texture",
        "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": "*",
        "base": {
          "path": "NutritionOrder.oralDiet.texture",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".inboundRelationship [typeCode =COMP], target [classCode=PROC, moodCode=EVN, code=DietTextureModificationType]"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.texture.id",
        "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). 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": "NutritionOrder.oralDiet.texture.extension",
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.texture.modifierExtension",
        "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.",
        "comment": "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": "NutritionOrder.oralDiet.texture.modifier",
        "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.",
        "comment": "Coupled with the foodType (Meat).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.oralDiet.texture.modifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "TextureModifier"
            }
          ],
          "strength": "example",
          "description": "Codes for food consistency types or texture modifications to apply to foods.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/texture-code|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.texture.foodType",
        "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.",
        "comment": "Coupled with the textureModifier; could be (All Foods).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.oralDiet.texture.foodType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "TextureModifiedFoodType"
            }
          ],
          "strength": "example",
          "description": "Codes for types of foods that are texture modified.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/modified-foodtype|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.fluidConsistencyType",
        "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": "*",
        "base": {
          "path": "NutritionOrder.oralDiet.fluidConsistencyType",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "FluidConsistencyType"
            }
          ],
          "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|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".code  (Not differentiated from dietTextureModificationType in HL7 v3)"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.instruction",
        "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.",
        "comment": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.oralDiet.instruction",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement",
        "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": "*",
        "base": {
          "path": "NutritionOrder.supplement",
          "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": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=SUPPLEMENT]"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.id",
        "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). 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": "NutritionOrder.supplement.extension",
        "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.",
        "comment": "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": "NutritionOrder.supplement.modifierExtension",
        "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.",
        "comment": "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": "NutritionOrder.supplement.type",
        "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",
        "base": {
          "path": "NutritionOrder.supplement.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "SupplementType"
            }
          ],
          "strength": "example",
          "description": "Codes for nutritional supplements to be provided to the patient",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/supplement-type|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalSupplementType)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.type.id",
        "path": "NutritionOrder.supplement.type.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": "NutritionOrder.supplement.type.extension",
        "path": "NutritionOrder.supplement.type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.type.extension:type",
        "path": "NutritionOrder.supplement.type.extension",
        "sliceName": "type",
        "short": "R5: type additional types",
        "definition": "R5: `NutritionOrder.supplement.type` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/NutritionProduct)) additional types from child elements (reference)",
        "comment": "Element `NutritionOrder.supplement.type` is mapped to FHIR STU3 element `NutritionOrder.supplement.type` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.supplement.type` do not cover the following types: CodeableReference.\nThe mappings for `NutritionOrder.supplement.type` do not cover the following types based on type expansion: reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.type|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.type.coding",
        "path": "NutritionOrder.supplement.type.coding",
        "short": "Code defined by a terminology system",
        "definition": "A reference to a code defined by a terminology system.",
        "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CodeableConcept.coding",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.supplement.type.text",
        "short": "Plain text representation of the concept",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comment": "Very often the text is the same as a displayName of one of the codings.",
        "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableConcept.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.productName",
        "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",
        "base": {
          "path": "NutritionOrder.supplement.productName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule",
        "path": "NutritionOrder.supplement.schedule",
        "short": "Scheduled frequency of supplement",
        "definition": "The time period and frequency at which the supplement(s) should be given.  The supplement should be given for the combination of all schedules if more than one schedule is present.",
        "alias": [
          "Frequency"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.supplement.schedule",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.id",
        "path": "NutritionOrder.supplement.schedule.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": "NutritionOrder.supplement.schedule.extension",
        "path": "NutritionOrder.supplement.schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension:timing",
        "path": "NutritionOrder.supplement.schedule.extension",
        "sliceName": "timing",
        "short": "R5: Scheduled frequency of diet (new)",
        "definition": "R5: `NutritionOrder.supplement.schedule.timing` (new:Timing)",
        "comment": "Element `NutritionOrder.supplement.schedule.timing` has a context of NutritionOrder.supplement.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supplement.schedule.timing` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.timing|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension:asNeeded",
        "path": "NutritionOrder.supplement.schedule.extension",
        "sliceName": "asNeeded",
        "short": "R5: Take 'as needed' (new)",
        "definition": "R5: `NutritionOrder.supplement.schedule.asNeeded` (new:boolean)",
        "comment": "Element `NutritionOrder.supplement.schedule.asNeeded` has a context of NutritionOrder.supplement.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supplement.schedule.asNeeded` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.asNeeded|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension:asNeededFor",
        "path": "NutritionOrder.supplement.schedule.extension",
        "sliceName": "asNeededFor",
        "short": "R5: Take 'as needed' for x (new)",
        "definition": "R5: `NutritionOrder.supplement.schedule.asNeededFor` (new:CodeableConcept)",
        "comment": "Element `NutritionOrder.supplement.schedule.asNeededFor` has a context of NutritionOrder.supplement.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supplement.schedule.asNeededFor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.asNeededFor|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.event",
        "path": "NutritionOrder.supplement.schedule.event",
        "short": "When the event occurs",
        "definition": "Identifies specific times when the event occurs.",
        "requirements": "In an MAR, for instance, you need to take a general specification, and turn it into a precise specification.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "QLIST<TS>"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat",
        "path": "NutritionOrder.supplement.schedule.repeat",
        "short": "When the event is to occur",
        "definition": "A set of rules that describe when the event is scheduled.",
        "requirements": "Many timing schedules are determined by regular repetitions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "tim-9",
            "severity": "error",
            "human": "If there's an offset, there must be a when (and not C, CM, CD, CV)",
            "expression": "offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))",
            "xpath": "not(exists(f:offset)) or exists(f:when)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-5",
            "severity": "error",
            "human": "period SHALL be a non-negative value",
            "expression": "period.exists() implies period >= 0",
            "xpath": "f:period/@value >= 0 or not(f:period/@value)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-6",
            "severity": "error",
            "human": "If there's a periodMax, there must be a period",
            "expression": "periodMax.empty() or period.exists()",
            "xpath": "not(exists(f:periodMax)) or exists(f:period)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-7",
            "severity": "error",
            "human": "If there's a durationMax, there must be a duration",
            "expression": "durationMax.empty() or duration.exists()",
            "xpath": "not(exists(f:durationMax)) or exists(f:duration)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-8",
            "severity": "error",
            "human": "If there's a countMax, there must be a count",
            "expression": "countMax.empty() or count.exists()",
            "xpath": "not(exists(f:countMax)) or exists(f:count)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-1",
            "severity": "error",
            "human": "if there's a duration, there needs to be duration units",
            "expression": "duration.empty() or durationUnit.exists()",
            "xpath": "not(exists(f:duration)) or exists(f:durationUnit)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-10",
            "severity": "error",
            "human": "If there's a timeOfDay, there cannot be be a when, or vice versa",
            "expression": "timeOfDay.empty() or when.empty()",
            "xpath": "not(exists(f:timeOfDay)) or not(exists(f:when))",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-2",
            "severity": "error",
            "human": "if there's a period, there needs to be period units",
            "expression": "period.empty() or periodUnit.exists()",
            "xpath": "not(exists(f:period)) or exists(f:periodUnit)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-4",
            "severity": "error",
            "human": "duration SHALL be a non-negative value",
            "expression": "duration.exists() implies duration >= 0",
            "xpath": "f:duration/@value >= 0 or not(f:duration/@value)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "Implies PIVL or EIVL"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.id",
        "path": "NutritionOrder.supplement.schedule.repeat.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": "NutritionOrder.supplement.schedule.repeat.extension",
        "path": "NutritionOrder.supplement.schedule.repeat.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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.",
        "comment": "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": "NutritionOrder.supplement.schedule.repeat.bounds[x]",
        "path": "NutritionOrder.supplement.schedule.repeat.bounds[x]",
        "short": "Length/Range of lengths, or (Start and/or end) limits",
        "definition": "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.bounds[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          },
          {
            "code": "Range"
          },
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "IVL(TS) used in a QSI"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.count",
        "path": "NutritionOrder.supplement.schedule.repeat.count",
        "short": "Number of times to repeat",
        "definition": "A total count of the desired number of repetitions.",
        "comment": "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.",
        "requirements": "Repetitions may be limited by end time or total occurrences.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.count",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.count"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.countMax",
        "path": "NutritionOrder.supplement.schedule.repeat.countMax",
        "short": "Maximum number of times to repeat",
        "definition": "A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.countMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.count"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.duration",
        "path": "NutritionOrder.supplement.schedule.repeat.duration",
        "short": "How long when it happens",
        "definition": "How long this thing happens for when it happens.",
        "comment": "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
        "requirements": "Some activities are not instantaneous and need to be maintained for a period of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.duration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.durationMax",
        "path": "NutritionOrder.supplement.schedule.repeat.durationMax",
        "short": "How long when it happens (Max)",
        "definition": "The upper limit of how long this thing happens for when it happens.",
        "comment": "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
        "requirements": "Some activities are not instantaneous and need to be maintained for a period of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.durationMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.durationUnit",
        "path": "NutritionOrder.supplement.schedule.repeat.durationUnit",
        "short": "s | min | h | d | wk | mo | a - unit of time (UCUM)",
        "definition": "The units of time for the duration, in UCUM units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.durationUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UnitsOfTime"
            }
          ],
          "strength": "required",
          "description": "A unit of time (units from UCUM).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/units-of-time|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase.unit"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.frequency",
        "path": "NutritionOrder.supplement.schedule.repeat.frequency",
        "short": "Event occurs frequency times per period",
        "definition": "The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.frequency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "defaultValueInteger": 1,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.frequencyMax",
        "path": "NutritionOrder.supplement.schedule.repeat.frequencyMax",
        "short": "Event occurs up to frequencyMax times per period",
        "definition": "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.frequencyMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.period",
        "path": "NutritionOrder.supplement.schedule.repeat.period",
        "short": "Event occurs frequency times per period",
        "definition": "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.periodMax",
        "path": "NutritionOrder.supplement.schedule.repeat.periodMax",
        "short": "Upper limit of period (3-4 hours)",
        "definition": "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.periodMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.periodUnit",
        "path": "NutritionOrder.supplement.schedule.repeat.periodUnit",
        "short": "s | min | h | d | wk | mo | a - unit of time (UCUM)",
        "definition": "The units of time for the period in UCUM units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.periodUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UnitsOfTime"
            }
          ],
          "strength": "required",
          "description": "A unit of time (units from UCUM).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/units-of-time|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase.unit"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.dayOfWeek",
        "path": "NutritionOrder.supplement.schedule.repeat.dayOfWeek",
        "short": "mon | tue | wed | thu | fri | sat | sun",
        "definition": "If one or more days of week is provided, then the action happens only on the specified day(s).",
        "comment": "If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.dayOfWeek",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DayOfWeek"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/days-of-week|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.timeOfDay",
        "path": "NutritionOrder.supplement.schedule.repeat.timeOfDay",
        "short": "Time of day for action",
        "definition": "Specified time of day for action to take place.",
        "comment": "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.timeOfDay",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "time"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.when",
        "path": "NutritionOrder.supplement.schedule.repeat.when",
        "short": "Regular life events the event is tied to",
        "definition": "Real world events that the occurrence of the event should be tied to.",
        "comment": "When more than one event is listed, the event is tied to the union of the specified events.",
        "requirements": "Timings are frequently determined by occurrences such as waking, eating and sleep.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.when",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EventTiming"
            }
          ],
          "strength": "required",
          "description": "Real world event relating to the schedule.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/event-timing|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "EIVL.event"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.repeat.offset",
        "path": "NutritionOrder.supplement.schedule.repeat.offset",
        "short": "Minutes from event (before or after)",
        "definition": "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.offset",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "EIVL.offset"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.code",
        "path": "NutritionOrder.supplement.schedule.code",
        "short": "BID | TID | QID | AM | PM | QD | QOD | Q4H | Q6H +",
        "definition": "A code for the timing schedule. Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).",
        "comment": "BID etc are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\".  If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or the a structured representation should be used (in this case, specifying the two event times).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "TimingAbbreviation"
            }
          ],
          "strength": "preferred",
          "description": "Code for a known / defined timing pattern.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/timing-abbreviation|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "QSC.code"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.quantity",
        "path": "NutritionOrder.supplement.quantity",
        "short": "Amount of the nutritional supplement",
        "definition": "The amount of the nutritional supplement to be given.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.supplement.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.instruction",
        "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.",
        "comment": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.supplement.instruction",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula",
          "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": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SPLY, moodCode=RQO, code=FORMULA]"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.id",
        "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). 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": "NutritionOrder.enteralFormula.extension",
        "path": "NutritionOrder.enteralFormula.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.extension:deliveryDevice",
        "path": "NutritionOrder.enteralFormula.extension",
        "sliceName": "deliveryDevice",
        "short": "R5: Intended type of device for the administration (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.deliveryDevice` (new:CodeableReference(DeviceDefinition))",
        "comment": "Element `NutritionOrder.enteralFormula.deliveryDevice` has a context of NutritionOrder.enteralFormula based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.deliveryDevice` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.deliveryDevice|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.enteralFormula.extension:quantity",
        "path": "NutritionOrder.enteralFormula.extension",
        "sliceName": "quantity",
        "short": "R5: Amount of additive to be given or mixed in (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.additive.quantity` (new:Quantity[SimpleQuantity])",
        "comment": "Element `NutritionOrder.enteralFormula.additive.quantity` has a context of NutritionOrder.enteralFormula based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.additive.quantity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.additive.quantity|0.1.0"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "NutritionOrder.enteralFormula.modifierExtension",
        "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.",
        "comment": "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": "NutritionOrder.enteralFormula.baseFormulaType",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.baseFormulaType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EnteralFormulaType"
            }
          ],
          "strength": "example",
          "description": "Codes for type of enteral formula to be administered to patient.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/entformula-type|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".participation{typeCode=PRD].role{classCode=MANU), manufacturedFoodKind; .code (NutritionalFormulaType)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaType.id",
        "path": "NutritionOrder.enteralFormula.baseFormulaType.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": "NutritionOrder.enteralFormula.baseFormulaType.extension",
        "path": "NutritionOrder.enteralFormula.baseFormulaType.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaType.extension:baseFormulaType",
        "path": "NutritionOrder.enteralFormula.baseFormulaType.extension",
        "sliceName": "baseFormulaType",
        "short": "R5: baseFormulaType additional types",
        "definition": "R5: `NutritionOrder.enteralFormula.baseFormulaType` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/NutritionProduct)) additional types from child elements (reference)",
        "comment": "Element `NutritionOrder.enteralFormula.baseFormulaType` is mapped to FHIR STU3 element `NutritionOrder.enteralFormula.baseFormulaType` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.enteralFormula.baseFormulaType` do not cover the following types: CodeableReference.\nThe mappings for `NutritionOrder.enteralFormula.baseFormulaType` do not cover the following types based on type expansion: reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.baseFormulaType|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaType.coding",
        "path": "NutritionOrder.enteralFormula.baseFormulaType.coding",
        "short": "Code defined by a terminology system",
        "definition": "A reference to a code defined by a terminology system.",
        "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CodeableConcept.coding",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaType.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.enteralFormula.baseFormulaType.text",
        "short": "Plain text representation of the concept",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comment": "Very often the text is the same as a displayName of one of the codings.",
        "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableConcept.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaProductName",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.baseFormulaProductName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.additiveType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EnteralFormulaAdditiveType"
            }
          ],
          "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|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A (not differentiated from NutritionalFormulaType in HL7 v3)"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType.id",
        "path": "NutritionOrder.enteralFormula.additiveType.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": "NutritionOrder.enteralFormula.additiveType.extension",
        "path": "NutritionOrder.enteralFormula.additiveType.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType.extension:type",
        "path": "NutritionOrder.enteralFormula.additiveType.extension",
        "sliceName": "type",
        "short": "R5: type additional types",
        "definition": "R5: `NutritionOrder.enteralFormula.additive.type` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/NutritionProduct)) additional types from child elements (reference)",
        "comment": "Element `NutritionOrder.enteralFormula.additive.type` is mapped to FHIR STU3 element `NutritionOrder.enteralFormula.additiveType` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.enteralFormula.additive.type` do not cover the following types: CodeableReference.\nThe mappings for `NutritionOrder.enteralFormula.additive.type` do not cover the following types based on type expansion: reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.additive.type|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType.coding",
        "path": "NutritionOrder.enteralFormula.additiveType.coding",
        "short": "Code defined by a terminology system",
        "definition": "A reference to a code defined by a terminology system.",
        "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "CodeableConcept.coding",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "NutritionOrder.enteralFormula.additiveType.text",
        "short": "Plain text representation of the concept",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comment": "Very often the text is the same as a displayName of one of the codings.",
        "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CodeableConcept.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveProductName",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.additiveProductName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.caloricDensity",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.caloricDensity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".quantity (caloricDensity)"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.routeofAdministration",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.routeofAdministration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EnteralRouteOfAdministration"
            }
          ],
          "strength": "extensible",
          "description": "Codes specifying the route of administration of enteral formula.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/enteral-route|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": ".routeCode"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration",
        "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.",
        "comment": "See implementation notes below for further discussion on how to order continuous vs bolus enteral feeding using this resource.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "NutritionOrder.enteralFormula.administration",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship [typeCode =COMP], target [classCode=SBADM, moodCode=RQO]"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.id",
        "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). 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": "NutritionOrder.enteralFormula.administration.extension",
        "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.",
        "comment": "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": "NutritionOrder.enteralFormula.administration.modifierExtension",
        "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.",
        "comment": "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": "NutritionOrder.enteralFormula.administration.schedule",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.administration.schedule",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Timing"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveUseTime"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.id",
        "path": "NutritionOrder.enteralFormula.administration.schedule.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": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension:timing",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "sliceName": "timing",
        "short": "R5: Scheduled frequency of enteral formula (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.administration.schedule.timing` (new:Timing)",
        "comment": "Element `NutritionOrder.enteralFormula.administration.schedule.timing` has a context of NutritionOrder.enteralFormula.administration.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.administration.schedule.timing` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.timing|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension:asNeeded",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "sliceName": "asNeeded",
        "short": "R5: Take 'as needed' (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.administration.schedule.asNeeded` (new:boolean)",
        "comment": "Element `NutritionOrder.enteralFormula.administration.schedule.asNeeded` has a context of NutritionOrder.enteralFormula.administration.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.administration.schedule.asNeeded` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.asNeeded|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension:asNeededFor",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "sliceName": "asNeededFor",
        "short": "R5: Take 'as needed' for x (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.administration.schedule.asNeededFor` (new:CodeableConcept)",
        "comment": "Element `NutritionOrder.enteralFormula.administration.schedule.asNeededFor` has a context of NutritionOrder.enteralFormula.administration.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.administration.schedule.asNeededFor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.asNeededFor|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.event",
        "path": "NutritionOrder.enteralFormula.administration.schedule.event",
        "short": "When the event occurs",
        "definition": "Identifies specific times when the event occurs.",
        "requirements": "In an MAR, for instance, you need to take a general specification, and turn it into a precise specification.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "QLIST<TS>"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat",
        "short": "When the event is to occur",
        "definition": "A set of rules that describe when the event is scheduled.",
        "requirements": "Many timing schedules are determined by regular repetitions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Element"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "tim-9",
            "severity": "error",
            "human": "If there's an offset, there must be a when (and not C, CM, CD, CV)",
            "expression": "offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))",
            "xpath": "not(exists(f:offset)) or exists(f:when)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-5",
            "severity": "error",
            "human": "period SHALL be a non-negative value",
            "expression": "period.exists() implies period >= 0",
            "xpath": "f:period/@value >= 0 or not(f:period/@value)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-6",
            "severity": "error",
            "human": "If there's a periodMax, there must be a period",
            "expression": "periodMax.empty() or period.exists()",
            "xpath": "not(exists(f:periodMax)) or exists(f:period)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-7",
            "severity": "error",
            "human": "If there's a durationMax, there must be a duration",
            "expression": "durationMax.empty() or duration.exists()",
            "xpath": "not(exists(f:durationMax)) or exists(f:duration)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-8",
            "severity": "error",
            "human": "If there's a countMax, there must be a count",
            "expression": "countMax.empty() or count.exists()",
            "xpath": "not(exists(f:countMax)) or exists(f:count)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-1",
            "severity": "error",
            "human": "if there's a duration, there needs to be duration units",
            "expression": "duration.empty() or durationUnit.exists()",
            "xpath": "not(exists(f:duration)) or exists(f:durationUnit)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-10",
            "severity": "error",
            "human": "If there's a timeOfDay, there cannot be be a when, or vice versa",
            "expression": "timeOfDay.empty() or when.empty()",
            "xpath": "not(exists(f:timeOfDay)) or not(exists(f:when))",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-2",
            "severity": "error",
            "human": "if there's a period, there needs to be period units",
            "expression": "period.empty() or periodUnit.exists()",
            "xpath": "not(exists(f:period)) or exists(f:periodUnit)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "key": "tim-4",
            "severity": "error",
            "human": "duration SHALL be a non-negative value",
            "expression": "duration.exists() implies duration >= 0",
            "xpath": "f:duration/@value >= 0 or not(f:duration/@value)",
            "source": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "Implies PIVL or EIVL"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.id",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.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": "NutritionOrder.enteralFormula.administration.schedule.repeat.extension",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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.",
        "comment": "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": "NutritionOrder.enteralFormula.administration.schedule.repeat.bounds[x]",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.bounds[x]",
        "short": "Length/Range of lengths, or (Start and/or end) limits",
        "definition": "Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.bounds[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          },
          {
            "code": "Range"
          },
          {
            "code": "Period"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "IVL(TS) used in a QSI"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.count",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.count",
        "short": "Number of times to repeat",
        "definition": "A total count of the desired number of repetitions.",
        "comment": "If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.",
        "requirements": "Repetitions may be limited by end time or total occurrences.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.count",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.count"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.countMax",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.countMax",
        "short": "Maximum number of times to repeat",
        "definition": "A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.countMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.count"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.duration",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.duration",
        "short": "How long when it happens",
        "definition": "How long this thing happens for when it happens.",
        "comment": "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
        "requirements": "Some activities are not instantaneous and need to be maintained for a period of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.duration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.durationMax",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.durationMax",
        "short": "How long when it happens (Max)",
        "definition": "The upper limit of how long this thing happens for when it happens.",
        "comment": "For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).",
        "requirements": "Some activities are not instantaneous and need to be maintained for a period of time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.durationMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.durationUnit",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.durationUnit",
        "short": "s | min | h | d | wk | mo | a - unit of time (UCUM)",
        "definition": "The units of time for the duration, in UCUM units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.durationUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UnitsOfTime"
            }
          ],
          "strength": "required",
          "description": "A unit of time (units from UCUM).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/units-of-time|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase.unit"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.frequency",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.frequency",
        "short": "Event occurs frequency times per period",
        "definition": "The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.frequency",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "defaultValueInteger": 1,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.frequencyMax",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.frequencyMax",
        "short": "Event occurs up to frequencyMax times per period",
        "definition": "If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.frequencyMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.period",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.period",
        "short": "Event occurs frequency times per period",
        "definition": "Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.periodMax",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.periodMax",
        "short": "Upper limit of period (3-4 hours)",
        "definition": "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.periodMax",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.periodUnit",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.periodUnit",
        "short": "s | min | h | d | wk | mo | a - unit of time (UCUM)",
        "definition": "The units of time for the period in UCUM units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.periodUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "UnitsOfTime"
            }
          ],
          "strength": "required",
          "description": "A unit of time (units from UCUM).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/units-of-time|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "PIVL.phase.unit"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.dayOfWeek",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.dayOfWeek",
        "short": "mon | tue | wed | thu | fri | sat | sun",
        "definition": "If one or more days of week is provided, then the action happens only on the specified day(s).",
        "comment": "If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.dayOfWeek",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DayOfWeek"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/days-of-week|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.timeOfDay",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.timeOfDay",
        "short": "Time of day for action",
        "definition": "Specified time of day for action to take place.",
        "comment": "When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.timeOfDay",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "time"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.when",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.when",
        "short": "Regular life events the event is tied to",
        "definition": "Real world events that the occurrence of the event should be tied to.",
        "comment": "When more than one event is listed, the event is tied to the union of the specified events.",
        "requirements": "Timings are frequently determined by occurrences such as waking, eating and sleep.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing.repeat.when",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EventTiming"
            }
          ],
          "strength": "required",
          "description": "Real world event relating to the schedule.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/event-timing|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "EIVL.event"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.repeat.offset",
        "path": "NutritionOrder.enteralFormula.administration.schedule.repeat.offset",
        "short": "Minutes from event (before or after)",
        "definition": "The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.repeat.offset",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "EIVL.offset"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.code",
        "path": "NutritionOrder.enteralFormula.administration.schedule.code",
        "short": "BID | TID | QID | AM | PM | QD | QOD | Q4H | Q6H +",
        "definition": "A code for the timing schedule. Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).",
        "comment": "BID etc are defined as 'at institutionally specified times'. For example, an institution may choose that BID is \"always at 7am and 6pm\".  If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or the a structured representation should be used (in this case, specifying the two event times).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "TimingAbbreviation"
            }
          ],
          "strength": "preferred",
          "description": "Code for a known / defined timing pattern.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/timing-abbreviation|3.0.2"
          }
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "QSC.code"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.quantity",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.administration.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".doseQuantity"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.rate[x]",
        "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.",
        "comment": "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.administration.rate[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          },
          {
            "code": "Ratio"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".rateQuantity"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.maxVolumeToDeliver",
        "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",
        "base": {
          "path": "NutritionOrder.enteralFormula.maxVolumeToDeliver",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".maxDoseQuantity"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administrationInstruction",
        "path": "NutritionOrder.enteralFormula.administrationInstruction",
        "short": "Formula feeding instructions expressed as text",
        "definition": "Free text formula administration, feeding instructions or additional instructions or information.",
        "comment": "Free text dosage instructions can be used for cases where the instructions are too complex to code.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "NutritionOrder.enteralFormula.administrationInstruction",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "NutritionOrder",
        "path": "NutritionOrder"
      },
      {
        "id": "NutritionOrder.extension",
        "path": "NutritionOrder.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.extension:instantiatesCanonical",
        "path": "NutritionOrder.extension",
        "sliceName": "instantiatesCanonical",
        "short": "R5: Instantiates FHIR protocol or definition (new)",
        "definition": "R5: `NutritionOrder.instantiatesCanonical` (new:canonical(ActivityDefinition,PlanDefinition))",
        "comment": "Element `NutritionOrder.instantiatesCanonical` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.instantiatesCanonical` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nNote: This is a business identifier, not a resource identifier (see [discussion](https://hl7.org/fhir/resource.htm#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiatesCanonical|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:instantiatesUri",
        "path": "NutritionOrder.extension",
        "sliceName": "instantiatesUri",
        "short": "R5: Instantiates external protocol or definition (new)",
        "definition": "R5: `NutritionOrder.instantiatesUri` (new:uri)",
        "comment": "Element `NutritionOrder.instantiatesUri` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.instantiatesUri` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nThis might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiatesUri|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:instantiates",
        "path": "NutritionOrder.extension",
        "sliceName": "instantiates",
        "short": "R5: Instantiates protocol or definition (new)",
        "definition": "R5: `NutritionOrder.instantiates` (new:uri)",
        "comment": "Element `NutritionOrder.instantiates` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.instantiates` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.instantiates|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:basedOn",
        "path": "NutritionOrder.extension",
        "sliceName": "basedOn",
        "short": "R5: What this order fulfills (new)",
        "definition": "R5: `NutritionOrder.basedOn` (new:Reference(CarePlan,NutritionOrder,ServiceRequest))",
        "comment": "Element `NutritionOrder.basedOn` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.basedOn` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.basedOn|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:groupIdentifier",
        "path": "NutritionOrder.extension",
        "sliceName": "groupIdentifier",
        "short": "R5: Composite Request ID (new)",
        "definition": "R5: `NutritionOrder.groupIdentifier` (new:Identifier)",
        "comment": "Element `NutritionOrder.groupIdentifier` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.groupIdentifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.groupIdentifier|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:priority",
        "path": "NutritionOrder.extension",
        "sliceName": "priority",
        "short": "R5: routine | urgent | asap | stat (new)",
        "definition": "R5: `NutritionOrder.priority` (new:code)",
        "comment": "Element `NutritionOrder.priority` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.priority` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.priority|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:supportingInformation",
        "path": "NutritionOrder.extension",
        "sliceName": "supportingInformation",
        "short": "R5: Information to support fulfilling of the nutrition order (new)",
        "definition": "R5: `NutritionOrder.supportingInformation` (new:Reference(Resource))",
        "comment": "Element `NutritionOrder.supportingInformation` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supportingInformation` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supportingInformation|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:performer",
        "path": "NutritionOrder.extension",
        "sliceName": "performer",
        "short": "R5: Who is desired to perform the administration of what is being ordered (new)",
        "definition": "R5: `NutritionOrder.performer` (new:CodeableReference(CareTeam,Practitioner,PractitionerRole,RelatedPerson,Patient,Organization))",
        "comment": "Element `NutritionOrder.performer` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.performer` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.performer|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:outsideFoodAllowed",
        "path": "NutritionOrder.extension",
        "sliceName": "outsideFoodAllowed",
        "short": "R5: Capture when a food item is brought in by the patient and/or family (new)",
        "definition": "R5: `NutritionOrder.outsideFoodAllowed` (new:boolean)",
        "comment": "Element `NutritionOrder.outsideFoodAllowed` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.outsideFoodAllowed` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.outsideFoodAllowed|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.extension:note",
        "path": "NutritionOrder.extension",
        "sliceName": "note",
        "short": "R5: Comments (new)",
        "definition": "R5: `NutritionOrder.note` (new:Annotation)",
        "comment": "Element `NutritionOrder.note` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.note` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nThis element SHALL NOT be used to supply free text instructions for the diet which are represented in the `.oralDiet.instruction`, `supplement.instruction`, or `enteralFormula.administrationInstruction` elements.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.note|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.modifierExtension",
        "path": "NutritionOrder.modifierExtension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.modifierExtension:intent",
        "path": "NutritionOrder.modifierExtension",
        "sliceName": "intent",
        "short": "R5: proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option (new)",
        "definition": "R5: `NutritionOrder.intent` (new:code)",
        "comment": "Element `NutritionOrder.intent` has a context of NutritionOrder based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.intent` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nWhen resources map to this element, they are free to define as many codes as necessary to cover their space and will map to \"proposal, plan or order\".  Can have multiple codes that map to one of these.  E.g. \"original order\", \"encoded order\", \"reflex order\" would all map to \"order\".  Expectation is that the set of codes is mutually exclusive or a strict all-encompassing hierarchy.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.intent|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.status.extension",
        "path": "NutritionOrder.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "max": "*"
      },
      {
        "id": "NutritionOrder.status.extension:status",
        "path": "NutritionOrder.status.extension",
        "sliceName": "status",
        "short": "R5: draft | active | on-hold | revoked | completed | entered-in-error | unknown additional codes",
        "definition": "R5: `NutritionOrder.status` additional codes",
        "comment": "Element `NutritionOrder.status` is mapped to FHIR STU3 element `NutritionOrder.status` as `RelatedTo`.\nThe mappings for `NutritionOrder.status` do not allow expression of the necessary codes, per the bindings on the source and target.\nThe target context `NutritionOrder.status` is a modifier element, so this extension does not need to be defined as a modifier.\nTypically 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.  This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.status|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.patient.extension",
        "path": "NutritionOrder.patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.patient.extension:subject",
        "path": "NutritionOrder.patient.extension",
        "sliceName": "subject",
        "short": "R5: Who requires the diet, formula or nutritional supplement additional types",
        "definition": "R5: `NutritionOrder.subject` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.subject` is mapped to FHIR STU3 element `NutritionOrder.patient` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.subject` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.subject` with unmapped reference targets: Group, Patient.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.encounter.extension",
        "path": "NutritionOrder.encounter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.encounter.extension:encounter",
        "path": "NutritionOrder.encounter.extension",
        "sliceName": "encounter",
        "short": "R5: encounter additional types",
        "definition": "R5: `NutritionOrder.encounter` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.encounter` is mapped to FHIR STU3 element `NutritionOrder.encounter` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.encounter` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.encounter` with unmapped reference targets: Encounter.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.orderer.extension",
        "path": "NutritionOrder.orderer.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.orderer.extension:orderer",
        "path": "NutritionOrder.orderer.extension",
        "sliceName": "orderer",
        "short": "R5: orderer additional types",
        "definition": "R5: `NutritionOrder.orderer` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.orderer` is mapped to FHIR STU3 element `NutritionOrder.orderer` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.orderer` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.orderer` with unmapped reference targets: Practitioner, PractitionerRole.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.allergyIntolerance.extension",
        "path": "NutritionOrder.allergyIntolerance.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.allergyIntolerance.extension:allergyIntolerance",
        "path": "NutritionOrder.allergyIntolerance.extension",
        "sliceName": "allergyIntolerance",
        "short": "R5: allergyIntolerance additional types",
        "definition": "R5: `NutritionOrder.allergyIntolerance` additional types from child elements (display, identifier, reference, type)",
        "comment": "Element `NutritionOrder.allergyIntolerance` is mapped to FHIR STU3 element `NutritionOrder.allergyIntolerance` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.allergyIntolerance` do not cover the following types based on type expansion: display, identifier, reference, type.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `NutritionOrder.allergyIntolerance` with unmapped reference targets: AllergyIntolerance.\nInformation on a patient's food allergies and intolerances to inform healthcare personnel about the type of foods that the patient shouldn't receive or consume.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension:timing",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "sliceName": "timing",
        "short": "R5: Scheduled frequency of diet (new)",
        "definition": "R5: `NutritionOrder.oralDiet.schedule.timing` (new:Timing)",
        "comment": "Element `NutritionOrder.oralDiet.schedule.timing` has a context of NutritionOrder.oralDiet.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.oralDiet.schedule.timing` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.timing|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension:asNeeded",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "sliceName": "asNeeded",
        "short": "R5: Take 'as needed' (new)",
        "definition": "R5: `NutritionOrder.oralDiet.schedule.asNeeded` (new:boolean)",
        "comment": "Element `NutritionOrder.oralDiet.schedule.asNeeded` has a context of NutritionOrder.oralDiet.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.oralDiet.schedule.asNeeded` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.asNeeded|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.oralDiet.schedule.extension:asNeededFor",
        "path": "NutritionOrder.oralDiet.schedule.extension",
        "sliceName": "asNeededFor",
        "short": "R5: Take 'as needed' for x (new)",
        "definition": "R5: `NutritionOrder.oralDiet.schedule.asNeededFor` (new:CodeableConcept)",
        "comment": "Element `NutritionOrder.oralDiet.schedule.asNeededFor` has a context of NutritionOrder.oralDiet.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.oralDiet.schedule.asNeededFor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.oralDiet.schedule.asNeededFor|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.type.extension",
        "path": "NutritionOrder.supplement.type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.supplement.type.extension:type",
        "path": "NutritionOrder.supplement.type.extension",
        "sliceName": "type",
        "short": "R5: type additional types",
        "definition": "R5: `NutritionOrder.supplement.type` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/NutritionProduct)) additional types from child elements (reference)",
        "comment": "Element `NutritionOrder.supplement.type` is mapped to FHIR STU3 element `NutritionOrder.supplement.type` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.supplement.type` do not cover the following types: CodeableReference.\nThe mappings for `NutritionOrder.supplement.type` do not cover the following types based on type expansion: reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.type|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension",
        "path": "NutritionOrder.supplement.schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension:timing",
        "path": "NutritionOrder.supplement.schedule.extension",
        "sliceName": "timing",
        "short": "R5: Scheduled frequency of diet (new)",
        "definition": "R5: `NutritionOrder.supplement.schedule.timing` (new:Timing)",
        "comment": "Element `NutritionOrder.supplement.schedule.timing` has a context of NutritionOrder.supplement.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supplement.schedule.timing` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.timing|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension:asNeeded",
        "path": "NutritionOrder.supplement.schedule.extension",
        "sliceName": "asNeeded",
        "short": "R5: Take 'as needed' (new)",
        "definition": "R5: `NutritionOrder.supplement.schedule.asNeeded` (new:boolean)",
        "comment": "Element `NutritionOrder.supplement.schedule.asNeeded` has a context of NutritionOrder.supplement.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supplement.schedule.asNeeded` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.asNeeded|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.supplement.schedule.extension:asNeededFor",
        "path": "NutritionOrder.supplement.schedule.extension",
        "sliceName": "asNeededFor",
        "short": "R5: Take 'as needed' for x (new)",
        "definition": "R5: `NutritionOrder.supplement.schedule.asNeededFor` (new:CodeableConcept)",
        "comment": "Element `NutritionOrder.supplement.schedule.asNeededFor` has a context of NutritionOrder.supplement.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.supplement.schedule.asNeededFor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.supplement.schedule.asNeededFor|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.extension",
        "path": "NutritionOrder.enteralFormula.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.enteralFormula.extension:deliveryDevice",
        "path": "NutritionOrder.enteralFormula.extension",
        "sliceName": "deliveryDevice",
        "short": "R5: Intended type of device for the administration (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.deliveryDevice` (new:CodeableReference(DeviceDefinition))",
        "comment": "Element `NutritionOrder.enteralFormula.deliveryDevice` has a context of NutritionOrder.enteralFormula based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.deliveryDevice` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.deliveryDevice|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.extension:quantity",
        "path": "NutritionOrder.enteralFormula.extension",
        "sliceName": "quantity",
        "short": "R5: Amount of additive to be given or mixed in (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.additive.quantity` (new:Quantity[SimpleQuantity])",
        "comment": "Element `NutritionOrder.enteralFormula.additive.quantity` has a context of NutritionOrder.enteralFormula based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.additive.quantity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.additive.quantity|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaType.extension",
        "path": "NutritionOrder.enteralFormula.baseFormulaType.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.enteralFormula.baseFormulaType.extension:baseFormulaType",
        "path": "NutritionOrder.enteralFormula.baseFormulaType.extension",
        "sliceName": "baseFormulaType",
        "short": "R5: baseFormulaType additional types",
        "definition": "R5: `NutritionOrder.enteralFormula.baseFormulaType` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/NutritionProduct)) additional types from child elements (reference)",
        "comment": "Element `NutritionOrder.enteralFormula.baseFormulaType` is mapped to FHIR STU3 element `NutritionOrder.enteralFormula.baseFormulaType` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.enteralFormula.baseFormulaType` do not cover the following types: CodeableReference.\nThe mappings for `NutritionOrder.enteralFormula.baseFormulaType` do not cover the following types based on type expansion: reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.baseFormulaType|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType.extension",
        "path": "NutritionOrder.enteralFormula.additiveType.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.enteralFormula.additiveType.extension:type",
        "path": "NutritionOrder.enteralFormula.additiveType.extension",
        "sliceName": "type",
        "short": "R5: type additional types",
        "definition": "R5: `NutritionOrder.enteralFormula.additive.type` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/NutritionProduct)) additional types from child elements (reference)",
        "comment": "Element `NutritionOrder.enteralFormula.additive.type` is mapped to FHIR STU3 element `NutritionOrder.enteralFormula.additiveType` as `SourceIsBroaderThanTarget`.\nThe mappings for `NutritionOrder.enteralFormula.additive.type` do not cover the following types: CodeableReference.\nThe mappings for `NutritionOrder.enteralFormula.additive.type` do not cover the following types based on type expansion: reference.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.additive.type|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension:timing",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "sliceName": "timing",
        "short": "R5: Scheduled frequency of enteral formula (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.administration.schedule.timing` (new:Timing)",
        "comment": "Element `NutritionOrder.enteralFormula.administration.schedule.timing` has a context of NutritionOrder.enteralFormula.administration.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.administration.schedule.timing` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.timing|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension:asNeeded",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "sliceName": "asNeeded",
        "short": "R5: Take 'as needed' (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.administration.schedule.asNeeded` (new:boolean)",
        "comment": "Element `NutritionOrder.enteralFormula.administration.schedule.asNeeded` has a context of NutritionOrder.enteralFormula.administration.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.administration.schedule.asNeeded` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.asNeeded|0.1.0"
          }
        ]
      },
      {
        "id": "NutritionOrder.enteralFormula.administration.schedule.extension:asNeededFor",
        "path": "NutritionOrder.enteralFormula.administration.schedule.extension",
        "sliceName": "asNeededFor",
        "short": "R5: Take 'as needed' for x (new)",
        "definition": "R5: `NutritionOrder.enteralFormula.administration.schedule.asNeededFor` (new:CodeableConcept)",
        "comment": "Element `NutritionOrder.enteralFormula.administration.schedule.asNeededFor` has a context of NutritionOrder.enteralFormula.administration.schedule based on following the parent source element upwards and mapping to `NutritionOrder`.\nElement `NutritionOrder.enteralFormula.administration.schedule.asNeededFor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/5.0/StructureDefinition/extension-NutritionOrder.enteralFormula.administration.schedule.asNeededFor|0.1.0"
          }
        ]
      }
    ]
  }
}