<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NutritionProduct" />
  <meta>
    <lastUpdated value="2021-01-02T08:58:31.578+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Base.Entities" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="business" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo" />
  </extension>
  <extension url="http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status">
    <valueCode value=".status = entered-in-error" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/NutritionProduct" />
  <version value="4.6.0" />
  <name value="NutritionProduct" />
  <status value="draft" />
  <date value="2021-01-02T08:58:31+11:00" />
  <publisher value="Health Level Seven International (Orders and Observations)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/orders/index.cfm" />
    </telecom>
  </contact>
  <description value="A food or fluid product that is consumed by patients." />
  <fhirVersion value="4.6.0" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="NutritionProduct" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="NutritionProduct">
      <path value="NutritionProduct" />
      <short value="A product used for nutritional purposes" />
      <definition value="A food or fluid product that is consumed by patients." />
      <min value="0" />
      <max value="*" />
      <mapping>
        <identity value="rim" />
        <map value="Act[moodCode=EVN]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="clinical.general" />
      </mapping>
    </element>
    <element id="NutritionProduct.status">
      <path value="NutritionProduct.status" />
      <short value="active | inactive | entered-in-error" />
      <definition value="The current state of the product." />
      <comment value="Unknown does not represent &quot;other&quot; - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="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 value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NutritionProductStatus" />
        </extension>
        <strength value="required" />
        <description value="Codes identifying the lifecycle stage of a product." />
        <valueSet value="http://hl7.org/fhir/ValueSet/nutritionproduct-status" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".status" />
      </mapping>
    </element>
    <element id="NutritionProduct.category">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/committee-notes">
        <valueString value="Should we have a category negation, as in &quot;not suitable for kosher diet&quot;?" />
      </extension>
      <path value="NutritionProduct.category" />
      <short value="A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)" />
      <definition value="Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc." />
      <alias value="class" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NutritionProductCategory" />
        </extension>
        <strength value="example" />
        <description value="Codes identifying classes of nutrition products." />
        <valueSet value="http://hl7.org/fhir/ValueSet/nutrition-product-category" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.class" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
    </element>
    <element id="NutritionProduct.code">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/todo">
        <valueString value="To discuss - what if a product has two codes?" />
      </extension>
      <path value="NutritionProduct.code" />
      <short value="A code designating a specific type of nutritional product" />
      <definition value="The code assigned to the product, for example a manufacturer number or other terminology." />
      <alias value="type" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NutritionProductCode" />
        </extension>
        <strength value="example" />
        <description value="Codes identifying specific types of nutrition products." />
        <valueSet value="http://hl7.org/fhir/ValueSet/edible-substance-type" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
    </element>
    <element id="NutritionProduct.manufacturer">
      <path value="NutritionProduct.manufacturer" />
      <short value="Manufacturer, representative or officially responsible for the product" />
      <definition value="The organisation (manufacturer, representative or legal authorisation holder) that is responsible for the device." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
    </element>
    <element id="NutritionProduct.nutrient">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="400,0" />
      </extension>
      <path value="NutritionProduct.nutrient" />
      <short value="The product's nutritional information expressed by the nutrients" />
      <definition value="The product's nutritional information expressed by the nutrients." />
      <comment value="Note: This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number." />
      <requirements value="Allows identification of the {{title}} as it is known by various participating systems and in a way that remains consistent across servers." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".identifier" />
      </mapping>
    </element>
    <element id="NutritionProduct.nutrient.item">
      <path value="NutritionProduct.nutrient.item" />
      <short value="The (relevant) nutrients in the product" />
      <definition value="The (relevant) nutrients in the product." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="NutritionProductNutrient" />
        </extension>
        <strength value="example" />
        <description value="Codes that identify nutrients that could be parts of nutrition products." />
        <valueSet value="http://hl7.org/fhir/ValueSet/nutrition-product-nutrient" />
      </binding>
    </element>
    <element id="NutritionProduct.nutrient.amount">
      <path value="NutritionProduct.nutrient.amount" />
      <short value="The amount of nutrient expressed in one or more units: X per pack / per serving / per dose" />
      <definition value="The amount of nutrient expressed in one or more units: X per pack / per serving / per dose." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Ratio" />
      </type>
    </element>
    <element id="NutritionProduct.ingredient">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="375,100" />
      </extension>
      <path value="NutritionProduct.ingredient" />
      <short value="Ingredients contained in this product" />
      <definition value="Ingredients contained in this product." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NutritionProduct.ingredient.item">
      <path value="NutritionProduct.ingredient.item" />
      <short value="The ingredient contained in the product" />
      <definition value="The ingredient contained in the product." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionProduct" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="NutritionProduct.ingredient.amount">
      <path value="NutritionProduct.ingredient.amount" />
      <short value="The amount of ingredient that is in the product" />
      <definition value="The amount of ingredient that is in the product." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Ratio" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="NutritionProduct.knownAllergen">
      <path value="NutritionProduct.knownAllergen" />
      <short value="Known or suspected allergens that are a part of this product" />
      <definition value="Allergens that are known or suspected to be a part of this nutrition product." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="CodeableReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="AllergenClass" />
        </extension>
        <strength value="example" />
        <description value="Codes that identify substances that can be an allergen." />
        <valueSet value="http://hl7.org/fhir/ValueSet/allergen-class" />
      </binding>
    </element>
    <element id="NutritionProduct.productCharacteristic">
      <path value="NutritionProduct.productCharacteristic" />
      <short value="Specifies descriptive properties of the nutrition product" />
      <definition value="Specifies descriptive properties of the nutrition product." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NutritionProduct.productCharacteristic.type">
      <path value="NutritionProduct.productCharacteristic.type" />
      <short value="Code specifying the type of characteristic" />
      <definition value="A code specifying which characteristic of the product is being described (for example, colour, shape)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="PropertyCharacteristic" />
        </extension>
        <strength value="example" />
        <description value="Codes that identify properties that can be measured." />
        <valueSet value="http://hl7.org/fhir/ValueSet/measurement-property" />
      </binding>
    </element>
    <element id="NutritionProduct.productCharacteristic.value[x]">
      <path value="NutritionProduct.productCharacteristic.value[x]" />
      <short value="The value of the characteristic" />
      <definition value="The actual characteristic value corresponding to the type." />
      <comment value="The description should be provided as a CodeableConcept, SimpleQuantity or an image.  The description can be a string only when these others are not available." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </type>
      <type>
        <code value="base64Binary" />
      </type>
      <type>
        <code value="Attachment" />
      </type>
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="NutritionProduct.instance">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/svg">
        <valueCode value="0,200" />
      </extension>
      <path value="NutritionProduct.instance" />
      <short value="One or several physical instances or occurrences of the nutrition product" />
      <definition value="Conveys instance-level information about this product item. One or several physical, countable instances or occurrences of the product." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="NutritionProduct.instance.quantity">
      <path value="NutritionProduct.instance.quantity" />
      <short value="The amount of items or instances" />
      <definition value="The amount of items or instances that the resource considers, for instance when referring to 2 identical units together." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </type>
    </element>
    <element id="NutritionProduct.instance.identifier">
      <path value="NutritionProduct.instance.identifier" />
      <short value="The identifier for the physical instance, typically a serial number" />
      <definition value="The identifier for the physical instance, typically a serial number." />
      <alias value="serialNumber" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="NutritionProduct.instance.lotNumber">
      <path value="NutritionProduct.instance.lotNumber" />
      <short value="The identification of the batch or lot of the product" />
      <definition value="The identification of the batch or lot of the product." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="NutritionProduct.instance.expiry">
      <path value="NutritionProduct.instance.expiry" />
      <short value="The expiry date or date and time for the product" />
      <definition value="The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="NutritionProduct.instance.useBy">
      <path value="NutritionProduct.instance.useBy" />
      <short value="The date until which the product is expected to be good for consumption" />
      <definition value="The time after which the product is no longer expected to be in proper condition, or its use is not advised or not allowed." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="NutritionProduct.instance.biologicalSource">
      <path value="NutritionProduct.instance.biologicalSource" />
      <short value="An identifier that supports traceability to the biological entity that is the source of biological material in the product" />
      <definition value="An identifier that supports traceability to the biological entity that is the source of biological material in the product." />
      <comment value="Necessary to support requirements for traceability from source to recipient.  The element is defined consistently across BiologicallyDerivedProduct, NutritionProduct, and Device." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="NutritionProduct.note">
      <path value="NutritionProduct.note" />
      <short value="Comments made about the product" />
      <definition value="Comments made about the product." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Annotation" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="NTE" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>