PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.examples@5.0.0-snapshot3
    http://hl7.org/fhir/StructureDefinition/NutritionIntake
{
  "description": "A record of food or fluid that is being consumed by a patient.  A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed.   The consumption information may come from sources such as the patient's memory, from a nutrition label,  or from a clinician documenting observed intake.",
  "_filename": "StructureDefinition-NutritionIntake.json",
  "package_name": "hl7.fhir.r5.examples",
  "date": "2022-12-14T07:12:54+11:00",
  "derivation": "specialization",
  "meta": {
    "lastUpdated": "2022-12-14T07:12:54.019+11:00"
  },
  "publisher": "Health Level Seven International (Orders and Observations)",
  "fhirVersion": "5.0.0-snapshot3",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "World"
    } ]
  } ],
  "name": "NutritionIntake",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "NutritionIntake",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "5.0.0-snapshot3",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "valueString": "Clinical.Care Provision"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 1
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode": "patient"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "oo"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        } ],
        "expression": "text.`div`.exists()"
      } ],
      "path": "NutritionIntake",
      "min": 0,
      "definition": "A record of food or fluid that is being consumed by a patient.   A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed.   The consumption information may come from sources such as the patient's memory, from a nutrition label,  or from a clinician documenting observed intake.",
      "isModifier": false,
      "short": "Record of food or fluid being taken by a patient",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "clinical.careprovision",
        "identity": "w5"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake"
      },
      "isSummary": false
    }, {
      "path": "NutritionIntake.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.id",
      "comment": "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.implicitRules",
      "min": 0,
      "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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.implicitRules",
      "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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "IETF language tag"
      },
      "max": "1",
      "id": "NutritionIntake.language",
      "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource and can 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.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": false,
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "NutritionIntake.text",
      "comment": "Contained resources do not have a 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 information is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "NutritionIntake.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "mustSupport": false,
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "NutritionIntake.contained",
      "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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "mustSupport": false,
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "NutritionIntake.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "mustSupport": false,
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "NutritionIntake.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.identifier",
      "min": 0,
      "definition": "Identifiers associated with this Nutrition Intake that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.",
      "isModifier": false,
      "short": "External identifier",
      "mapping": [ {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.identifier",
      "comment": "This is a business identifier, not a resource identifier.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.instantiatesCanonical",
      "min": 0,
      "definition": "Instantiates FHIR protocol or definition.",
      "isModifier": false,
      "short": "Instantiates FHIR protocol or definition",
      "type": [ {
        "code": "canonical",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern",
          "valueCanonical": "http://hl7.org/fhir/StructureDefinition/Definition"
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition", "http://hl7.org/fhir/StructureDefinition/EventDefinition", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/MessageDefinition", "http://hl7.org/fhir/StructureDefinition/ObservationDefinition", "http://hl7.org/fhir/StructureDefinition/OperationDefinition", "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire", "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic", "http://hl7.org/fhir/StructureDefinition/TestScript" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.instantiatesCanonical",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.instantiatesCanonical"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.instantiatesUri",
      "min": 0,
      "definition": "Instantiates external protocol or definition.",
      "isModifier": false,
      "short": "Instantiates external protocol or definition",
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.instantiatesUri",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.instantiatesUri"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.basedOn",
      "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
      "min": 0,
      "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.",
      "isModifier": false,
      "short": "Fulfils plan, proposal or order",
      "mapping": [ {
        "map": "Event.basedOn",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/NutritionOrder", "http://hl7.org/fhir/StructureDefinition/CarePlan", "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.basedOn",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.basedOn"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.partOf",
      "requirements": "This should not be used when indicating which resource a NutritionIntake has been derived from.  If that is the use case, then NutritionIntake.derivedFrom should be used.",
      "min": 0,
      "definition": "A larger event of which this particular event is a component or step.",
      "isModifier": false,
      "short": "Part of referenced event",
      "mapping": [ {
        "map": "Event.partOf",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/NutritionIntake", "http://hl7.org/fhir/StructureDefinition/Procedure", "http://hl7.org/fhir/StructureDefinition/Observation" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.partOf",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.partOf"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.status",
      "min": 1,
      "definition": "A code representing the patient or other source's judgment about the state of the intake that this assertion is about.  Generally, this will be active or completed.",
      "isModifier": true,
      "short": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown",
      "mapping": [ {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/event-status|5.0.0-snapshot3",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionIntakeStatus"
        } ],
        "description": "A coded concept indicating the current status of a NutritionIntake."
      },
      "max": "1",
      "id": "NutritionIntake.status",
      "comment": "NutritionIntake is a statement at a point in time.  The status is only representative at the point when it was asserted.  The value set for NutritionIntake.status contains codes that assert the status of the consumption of the food or fluid by the patient (for example, stopped or on hold) as well as codes that assert the status of the Nutrition Intake itself (for example, entered in error).\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.status"
      },
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.statusReason",
      "min": 0,
      "definition": "Captures the reason for the current state of the NutritionIntake.",
      "isModifier": false,
      "short": "Reason for current status",
      "mapping": [ {
        "map": "Event.statusReason",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/clinicalimpression-status-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionIntakeStatusReason"
        } ],
        "description": "A coded concept indicating the reason for the status of the statement."
      },
      "max": "*",
      "id": "NutritionIntake.statusReason",
      "comment": "This is generally only used for \"exception\" statuses such as \"not-taken\", \"on-hold\", \"cancelled\" or \"entered-in-error\". The reason for performing the event at all is captured in reasonCode, not here.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.statusReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.code",
      "min": 0,
      "definition": "Overall type of nutrition intake.",
      "isModifier": false,
      "short": "Code representing an overall type of nutrition intake",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/diet-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionIntakeCategory"
        } ],
        "description": "A coded concept identifying an overall type of diet or nutrition that is represented by this intake.  See consumedItem for more details."
      },
      "max": "1",
      "id": "NutritionIntake.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.subject",
      "min": 1,
      "definition": "The person, animal or group who is/was consuming the food or fluid.",
      "isModifier": false,
      "short": "Who is/was consuming the food or fluid",
      "mapping": [ {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Group" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.subject",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.subject"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.encounter",
      "min": 0,
      "definition": "The encounter that establishes the context for this NutritionIntake.",
      "isModifier": false,
      "short": "Encounter associated with NutritionIntake",
      "mapping": [ {
        "map": "Event.context",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.encounter",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.encounter"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.occurrence[x]",
      "min": 0,
      "definition": "The interval of time during which it is being asserted that the patient is/was consuming the food or fluid.",
      "isModifier": false,
      "short": "The date/time or interval when the food or fluid is/was consumed",
      "mapping": [ {
        "map": "Event.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "FiveWs.done[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.occurrence[x]",
      "comment": "This attribute reflects the period over which the patient consumed the food fluid and is expected to be populated on the majority of NutritionIntake. If the food or fluid is still being taken and is expected to continue indefinitely at the time the usage is recorded, the \"end\" date will be omitted.  If the end date is known, then it is included as the \"end date\".  The date/time attribute supports a variety of dates - year, year/month and exact date.  If something more than this is required, this should be conveyed as text.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.occurrence[x]"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.recorded",
      "min": 0,
      "definition": "The date when the Nutrition Intake was asserted by the information source.",
      "isModifier": false,
      "short": "When the intake was recorded",
      "mapping": [ {
        "map": "FiveWs.recorded",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.recorded",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.recorded"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.reported[x]",
      "min": 0,
      "definition": "The person or organization that provided the information about the consumption of this food or fluid. Note: Use derivedFrom when a NutritionIntake is derived from other resources.",
      "isModifier": false,
      "short": "Person or organization that provided the information about the consumption of this food or fluid",
      "mapping": [ {
        "map": "FiveWs.source",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.reported[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.reported[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem",
      "min": 1,
      "definition": "What food or fluid product or item was consumed.",
      "isModifier": false,
      "short": "What food or fluid product or item was consumed",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.consumedItem",
      "base": {
        "max": "*",
        "min": 1,
        "path": "NutritionIntake.consumedItem"
      },
      "isSummary": false
    }, {
      "path": "NutritionIntake.consumedItem.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "NutritionIntake.consumedItem.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.consumedItem.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "NutritionIntake.consumedItem.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.consumedItem.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "min": 0,
      "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "NutritionIntake.consumedItem.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.type",
      "min": 1,
      "definition": "Indicates what a category of item that was consumed: eg., food, fluid, enteral, etc.",
      "isModifier": false,
      "short": "The type of food or fluid product",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/edible-substance-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FoodType"
        } ],
        "description": "Types of food."
      },
      "max": "1",
      "id": "NutritionIntake.consumedItem.type",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.consumedItem.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.nutritionProduct",
      "min": 1,
      "definition": "Identifies the food or fluid product that was consumed. This is potentially a link to a resource representing the details of the food product (TBD) or a simple attribute carrying a code that identifies the food from a known list of foods.",
      "isModifier": false,
      "short": "Code that identifies the food or fluid product that was consumed",
      "mapping": [ {
        "map": "Event.code",
        "identity": "workflow"
      }, {
        "map": "FiveWs.what[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/NutritionProduct" ]
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/food-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FoodProduct"
        } ],
        "description": "Specific food that can be consumed by a patient."
      },
      "max": "1",
      "id": "NutritionIntake.consumedItem.nutritionProduct",
      "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of a new nutritionProduct resource is recommended.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.consumedItem.nutritionProduct"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.schedule",
      "min": 0,
      "definition": "Scheduled frequency of consumption.",
      "isModifier": false,
      "short": "Scheduled frequency of consumption",
      "type": [ {
        "code": "Timing"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.schedule",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.consumedItem.schedule"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.amount",
      "min": 0,
      "definition": "Quantity of the specified food.",
      "isModifier": false,
      "short": "Quantity of the specified food",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.amount",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.consumedItem.amount"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.rate",
      "min": 0,
      "definition": "Rate at which enteral feeding was administered.",
      "isModifier": false,
      "short": "Rate at which enteral feeding was administered",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.rate",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.consumedItem.rate"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.notConsumed",
      "min": 0,
      "definition": "Indicator when a patient is in a setting where it is helpful to know if food was not consumed, such as it was refused, held (as in tube feedings), or otherwise not provided. If a consumption is being recorded from an app, such as MyFitnessPal, this indicator will likely not be used.",
      "isModifier": false,
      "short": "Flag to indicate if the food or fluid item was refused or otherwise not consumed",
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.notConsumed",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.consumedItem.notConsumed"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.consumedItem.notConsumedReason",
      "min": 0,
      "definition": "Document the reason the food or fluid was not consumed, such as refused, held, etc.",
      "isModifier": false,
      "short": "Reason food or fluid was not consumed",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/not-consumed-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NotConsumedReason"
        } ],
        "description": "Reasons for why something was not consumed."
      },
      "max": "1",
      "id": "NutritionIntake.consumedItem.notConsumedReason",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.consumedItem.notConsumedReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.ingredientLabel",
      "min": 0,
      "definition": "Total nutrient amounts for the whole meal, product, serving, etc.",
      "isModifier": false,
      "short": "Total nutrient for the whole meal, product, serving",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.ingredientLabel",
      "comment": "Individual item nutrients are not currently included in the resource and will likely end up as a reference in nutritionProduct to represent the individual items.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.ingredientLabel"
      },
      "isSummary": false
    }, {
      "path": "NutritionIntake.ingredientLabel.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "NutritionIntake.ingredientLabel.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.ingredientLabel.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "NutritionIntake.ingredientLabel.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.ingredientLabel.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "min": 0,
      "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "NutritionIntake.ingredientLabel.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.ingredientLabel.nutrient",
      "min": 1,
      "definition": "Total nutrient consumed. This could be a macronutrient (protein, fat, carbohydrate), or a vitamin and mineral.",
      "isModifier": false,
      "short": "Total nutrient consumed",
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Substance" ]
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/nutrient-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutrientType"
        } ],
        "description": "Types of nutrients that can be found in a nutrition product."
      },
      "max": "1",
      "id": "NutritionIntake.ingredientLabel.nutrient",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.ingredientLabel.nutrient"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.ingredientLabel.amount",
      "min": 1,
      "definition": "Total amount of nutrient consumed.",
      "isModifier": false,
      "short": "Total amount of nutrient consumed",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.ingredientLabel.amount",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.ingredientLabel.amount"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.performer",
      "min": 0,
      "definition": "Who performed the intake and how they were involved.",
      "isModifier": false,
      "short": "Who was performed in the intake",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.performer",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.performer"
      },
      "isSummary": false
    }, {
      "path": "NutritionIntake.performer.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "NutritionIntake.performer.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.performer.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "NutritionIntake.performer.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "NutritionIntake.performer.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "min": 0,
      "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "NutritionIntake.performer.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.performer.function",
      "min": 0,
      "definition": "Type of performer.",
      "isModifier": false,
      "short": "Type of performer",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/performer-role",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionPerformerType"
        } ],
        "description": "Type of performance."
      },
      "max": "1",
      "id": "NutritionIntake.performer.function",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.performer.function"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.performer.actor",
      "min": 1,
      "definition": "Who performed the intake.",
      "isModifier": false,
      "short": "Who performed the intake",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/CareTeam", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.performer.actor",
      "base": {
        "max": "1",
        "min": 1,
        "path": "NutritionIntake.performer.actor"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.location",
      "min": 0,
      "definition": "Where the intake occurred.",
      "isModifier": false,
      "short": "Where the intake occurred",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.location",
      "base": {
        "max": "1",
        "min": 0,
        "path": "NutritionIntake.location"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.derivedFrom",
      "min": 0,
      "definition": "Allows linking the NutritionIntake to the underlying NutritionOrder, or to other information, such as AllergyIntolerance, that supports or is used to derive the NutritionIntake.",
      "isModifier": false,
      "short": "Additional supporting information",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.derivedFrom",
      "comment": "Likely references would be to AllergyIntolerance,  Observation or QuestionnaireAnswers.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.derivedFrom"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.reason",
      "min": 0,
      "definition": "A reason, Condition or observation for why the food or fluid is /was consumed.",
      "isModifier": false,
      "short": "Reason for why the food or fluid is /was consumed",
      "mapping": [ {
        "map": "Event.reason",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/condition-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IntakeReason"
        } ],
        "description": "Reason for why something was ingested."
      },
      "max": "*",
      "id": "NutritionIntake.reason",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "NutritionIntake.note",
      "min": 0,
      "definition": "Provides extra information about the Nutrition Intake that is not conveyed by the other attributes.",
      "isModifier": false,
      "short": "Further information about the consumption",
      "mapping": [ {
        "map": "Event.note",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "NutritionIntake.note"
      },
      "isSummary": false
    } ]
  },
  "status": "draft",
  "id": "71ca679e-5da5-4a86-8f22-73206b19dbbf",
  "kind": "resource",
  "url": "http://hl7.org/fhir/StructureDefinition/NutritionIntake",
  "version": "5.0.0-snapshot3",
  "differential": {
    "element": [ {
      "path": "NutritionIntake",
      "min": 0,
      "definition": "A record of food or fluid that is being consumed by a patient.   A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed.   The consumption information may come from sources such as the patient's memory, from a nutrition label,  or from a clinician documenting observed intake.",
      "isModifier": false,
      "short": "Record of food or fluid being taken by a patient",
      "mapping": [ {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "clinical.careprovision",
        "identity": "w5"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake"
    }, {
      "path": "NutritionIntake.identifier",
      "min": 0,
      "definition": "Identifiers associated with this Nutrition Intake that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.",
      "isModifier": false,
      "short": "External identifier",
      "mapping": [ {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.identifier",
      "comment": "This is a business identifier, not a resource identifier.",
      "isSummary": true
    }, {
      "path": "NutritionIntake.instantiatesCanonical",
      "min": 0,
      "definition": "Instantiates FHIR protocol or definition.",
      "isModifier": false,
      "short": "Instantiates FHIR protocol or definition",
      "type": [ {
        "code": "canonical",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern",
          "valueCanonical": "http://hl7.org/fhir/StructureDefinition/Definition"
        } ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", "http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition", "http://hl7.org/fhir/StructureDefinition/EventDefinition", "http://hl7.org/fhir/StructureDefinition/Measure", "http://hl7.org/fhir/StructureDefinition/MessageDefinition", "http://hl7.org/fhir/StructureDefinition/ObservationDefinition", "http://hl7.org/fhir/StructureDefinition/OperationDefinition", "http://hl7.org/fhir/StructureDefinition/PlanDefinition", "http://hl7.org/fhir/StructureDefinition/Questionnaire", "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic", "http://hl7.org/fhir/StructureDefinition/TestScript" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.instantiatesCanonical",
      "isSummary": false
    }, {
      "path": "NutritionIntake.instantiatesUri",
      "min": 0,
      "definition": "Instantiates external protocol or definition.",
      "isModifier": false,
      "short": "Instantiates external protocol or definition",
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.instantiatesUri",
      "isSummary": false
    }, {
      "path": "NutritionIntake.basedOn",
      "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
      "min": 0,
      "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.",
      "isModifier": false,
      "short": "Fulfils plan, proposal or order",
      "mapping": [ {
        "map": "Event.basedOn",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/NutritionOrder", "http://hl7.org/fhir/StructureDefinition/CarePlan", "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.basedOn",
      "isSummary": true
    }, {
      "path": "NutritionIntake.partOf",
      "requirements": "This should not be used when indicating which resource a NutritionIntake has been derived from.  If that is the use case, then NutritionIntake.derivedFrom should be used.",
      "min": 0,
      "definition": "A larger event of which this particular event is a component or step.",
      "isModifier": false,
      "short": "Part of referenced event",
      "mapping": [ {
        "map": "Event.partOf",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/NutritionIntake", "http://hl7.org/fhir/StructureDefinition/Procedure", "http://hl7.org/fhir/StructureDefinition/Observation" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.partOf",
      "isSummary": true
    }, {
      "path": "NutritionIntake.status",
      "min": 1,
      "definition": "A code representing the patient or other source's judgment about the state of the intake that this assertion is about.  Generally, this will be active or completed.",
      "isModifier": true,
      "short": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown",
      "mapping": [ {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/event-status|5.0.0-snapshot3",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionIntakeStatus"
        } ],
        "description": "A coded concept indicating the current status of a NutritionIntake."
      },
      "max": "1",
      "id": "NutritionIntake.status",
      "comment": "NutritionIntake is a statement at a point in time.  The status is only representative at the point when it was asserted.  The value set for NutritionIntake.status contains codes that assert the status of the consumption of the food or fluid by the patient (for example, stopped or on hold) as well as codes that assert the status of the Nutrition Intake itself (for example, entered in error).\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "path": "NutritionIntake.statusReason",
      "min": 0,
      "definition": "Captures the reason for the current state of the NutritionIntake.",
      "isModifier": false,
      "short": "Reason for current status",
      "mapping": [ {
        "map": "Event.statusReason",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/clinicalimpression-status-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionIntakeStatusReason"
        } ],
        "description": "A coded concept indicating the reason for the status of the statement."
      },
      "max": "*",
      "id": "NutritionIntake.statusReason",
      "comment": "This is generally only used for \"exception\" statuses such as \"not-taken\", \"on-hold\", \"cancelled\" or \"entered-in-error\". The reason for performing the event at all is captured in reasonCode, not here.",
      "isSummary": false
    }, {
      "path": "NutritionIntake.code",
      "min": 0,
      "definition": "Overall type of nutrition intake.",
      "isModifier": false,
      "short": "Code representing an overall type of nutrition intake",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/diet-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionIntakeCategory"
        } ],
        "description": "A coded concept identifying an overall type of diet or nutrition that is represented by this intake.  See consumedItem for more details."
      },
      "max": "1",
      "id": "NutritionIntake.code",
      "isSummary": true
    }, {
      "path": "NutritionIntake.subject",
      "min": 1,
      "definition": "The person, animal or group who is/was consuming the food or fluid.",
      "isModifier": false,
      "short": "Who is/was consuming the food or fluid",
      "mapping": [ {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Group" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.subject",
      "isSummary": true
    }, {
      "path": "NutritionIntake.encounter",
      "min": 0,
      "definition": "The encounter that establishes the context for this NutritionIntake.",
      "isModifier": false,
      "short": "Encounter associated with NutritionIntake",
      "mapping": [ {
        "map": "Event.context",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.encounter",
      "isSummary": true
    }, {
      "path": "NutritionIntake.occurrence[x]",
      "min": 0,
      "definition": "The interval of time during which it is being asserted that the patient is/was consuming the food or fluid.",
      "isModifier": false,
      "short": "The date/time or interval when the food or fluid is/was consumed",
      "mapping": [ {
        "map": "Event.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "FiveWs.done[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.occurrence[x]",
      "comment": "This attribute reflects the period over which the patient consumed the food fluid and is expected to be populated on the majority of NutritionIntake. If the food or fluid is still being taken and is expected to continue indefinitely at the time the usage is recorded, the \"end\" date will be omitted.  If the end date is known, then it is included as the \"end date\".  The date/time attribute supports a variety of dates - year, year/month and exact date.  If something more than this is required, this should be conveyed as text.",
      "isSummary": true
    }, {
      "path": "NutritionIntake.recorded",
      "min": 0,
      "definition": "The date when the Nutrition Intake was asserted by the information source.",
      "isModifier": false,
      "short": "When the intake was recorded",
      "mapping": [ {
        "map": "FiveWs.recorded",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.recorded",
      "isSummary": true
    }, {
      "path": "NutritionIntake.reported[x]",
      "min": 0,
      "definition": "The person or organization that provided the information about the consumption of this food or fluid. Note: Use derivedFrom when a NutritionIntake is derived from other resources.",
      "isModifier": false,
      "short": "Person or organization that provided the information about the consumption of this food or fluid",
      "mapping": [ {
        "map": "FiveWs.source",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.reported[x]",
      "isSummary": false
    }, {
      "path": "NutritionIntake.consumedItem",
      "min": 1,
      "definition": "What food or fluid product or item was consumed.",
      "isModifier": false,
      "short": "What food or fluid product or item was consumed",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.consumedItem",
      "isSummary": false
    }, {
      "path": "NutritionIntake.consumedItem.type",
      "min": 1,
      "definition": "Indicates what a category of item that was consumed: eg., food, fluid, enteral, etc.",
      "isModifier": false,
      "short": "The type of food or fluid product",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/edible-substance-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FoodType"
        } ],
        "description": "Types of food."
      },
      "max": "1",
      "id": "NutritionIntake.consumedItem.type",
      "isSummary": true
    }, {
      "path": "NutritionIntake.consumedItem.nutritionProduct",
      "min": 1,
      "definition": "Identifies the food or fluid product that was consumed. This is potentially a link to a resource representing the details of the food product (TBD) or a simple attribute carrying a code that identifies the food from a known list of foods.",
      "isModifier": false,
      "short": "Code that identifies the food or fluid product that was consumed",
      "mapping": [ {
        "map": "Event.code",
        "identity": "workflow"
      }, {
        "map": "FiveWs.what[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/NutritionProduct" ]
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/food-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FoodProduct"
        } ],
        "description": "Specific food that can be consumed by a patient."
      },
      "max": "1",
      "id": "NutritionIntake.consumedItem.nutritionProduct",
      "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of a new nutritionProduct resource is recommended.",
      "isSummary": true
    }, {
      "path": "NutritionIntake.consumedItem.schedule",
      "min": 0,
      "definition": "Scheduled frequency of consumption.",
      "isModifier": false,
      "short": "Scheduled frequency of consumption",
      "type": [ {
        "code": "Timing"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.schedule",
      "isSummary": false
    }, {
      "path": "NutritionIntake.consumedItem.amount",
      "min": 0,
      "definition": "Quantity of the specified food.",
      "isModifier": false,
      "short": "Quantity of the specified food",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.amount",
      "isSummary": true
    }, {
      "path": "NutritionIntake.consumedItem.rate",
      "min": 0,
      "definition": "Rate at which enteral feeding was administered.",
      "isModifier": false,
      "short": "Rate at which enteral feeding was administered",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.rate",
      "isSummary": true
    }, {
      "path": "NutritionIntake.consumedItem.notConsumed",
      "min": 0,
      "definition": "Indicator when a patient is in a setting where it is helpful to know if food was not consumed, such as it was refused, held (as in tube feedings), or otherwise not provided. If a consumption is being recorded from an app, such as MyFitnessPal, this indicator will likely not be used.",
      "isModifier": false,
      "short": "Flag to indicate if the food or fluid item was refused or otherwise not consumed",
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.consumedItem.notConsumed",
      "isSummary": false
    }, {
      "path": "NutritionIntake.consumedItem.notConsumedReason",
      "min": 0,
      "definition": "Document the reason the food or fluid was not consumed, such as refused, held, etc.",
      "isModifier": false,
      "short": "Reason food or fluid was not consumed",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/not-consumed-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NotConsumedReason"
        } ],
        "description": "Reasons for why something was not consumed."
      },
      "max": "1",
      "id": "NutritionIntake.consumedItem.notConsumedReason",
      "isSummary": false
    }, {
      "path": "NutritionIntake.ingredientLabel",
      "min": 0,
      "definition": "Total nutrient amounts for the whole meal, product, serving, etc.",
      "isModifier": false,
      "short": "Total nutrient for the whole meal, product, serving",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.ingredientLabel",
      "comment": "Individual item nutrients are not currently included in the resource and will likely end up as a reference in nutritionProduct to represent the individual items.",
      "isSummary": false
    }, {
      "path": "NutritionIntake.ingredientLabel.nutrient",
      "min": 1,
      "definition": "Total nutrient consumed. This could be a macronutrient (protein, fat, carbohydrate), or a vitamin and mineral.",
      "isModifier": false,
      "short": "Total nutrient consumed",
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Substance" ]
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/nutrient-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutrientType"
        } ],
        "description": "Types of nutrients that can be found in a nutrition product."
      },
      "max": "1",
      "id": "NutritionIntake.ingredientLabel.nutrient",
      "isSummary": false
    }, {
      "path": "NutritionIntake.ingredientLabel.amount",
      "min": 1,
      "definition": "Total amount of nutrient consumed.",
      "isModifier": false,
      "short": "Total amount of nutrient consumed",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.ingredientLabel.amount",
      "isSummary": false
    }, {
      "path": "NutritionIntake.performer",
      "min": 0,
      "definition": "Who performed the intake and how they were involved.",
      "isModifier": false,
      "short": "Who was performed in the intake",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.performer",
      "isSummary": false
    }, {
      "path": "NutritionIntake.performer.function",
      "min": 0,
      "definition": "Type of performer.",
      "isModifier": false,
      "short": "Type of performer",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/performer-role",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "NutritionPerformerType"
        } ],
        "description": "Type of performance."
      },
      "max": "1",
      "id": "NutritionIntake.performer.function",
      "isSummary": false
    }, {
      "path": "NutritionIntake.performer.actor",
      "min": 1,
      "definition": "Who performed the intake.",
      "isModifier": false,
      "short": "Who performed the intake",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/CareTeam", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.performer.actor",
      "isSummary": false
    }, {
      "path": "NutritionIntake.location",
      "min": 0,
      "definition": "Where the intake occurred.",
      "isModifier": false,
      "short": "Where the intake occurred",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "mustSupport": false,
      "max": "1",
      "id": "NutritionIntake.location",
      "isSummary": false
    }, {
      "path": "NutritionIntake.derivedFrom",
      "min": 0,
      "definition": "Allows linking the NutritionIntake to the underlying NutritionOrder, or to other information, such as AllergyIntolerance, that supports or is used to derive the NutritionIntake.",
      "isModifier": false,
      "short": "Additional supporting information",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.derivedFrom",
      "comment": "Likely references would be to AllergyIntolerance,  Observation or QuestionnaireAnswers.",
      "isSummary": false
    }, {
      "path": "NutritionIntake.reason",
      "min": 0,
      "definition": "A reason, Condition or observation for why the food or fluid is /was consumed.",
      "isModifier": false,
      "short": "Reason for why the food or fluid is /was consumed",
      "mapping": [ {
        "map": "Event.reason",
        "identity": "workflow"
      }, {
        "map": "FiveWs.why[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": false,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/condition-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IntakeReason"
        } ],
        "description": "Reason for why something was ingested."
      },
      "max": "*",
      "id": "NutritionIntake.reason",
      "isSummary": false
    }, {
      "path": "NutritionIntake.note",
      "min": 0,
      "definition": "Provides extra information about the Nutrition Intake that is not conveyed by the other attributes.",
      "isModifier": false,
      "short": "Further information about the consumption",
      "mapping": [ {
        "map": "Event.note",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Annotation"
      } ],
      "mustSupport": false,
      "max": "*",
      "id": "NutritionIntake.note",
      "isSummary": false
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/fhir",
      "system": "url"
    } ]
  }, {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/orders/index.cfm",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}