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