PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
PREFIX rdf:
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# A product used for nutritional purposes (i.e. food or supplement)
EXTENDS @ CLOSED {
a [fhir:NutritionProduct]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:code @?; # A code that can identify the
# detailed nutrients and ingredients
# in a specific food product
fhir:status @ AND
{fhir:v @fhirvs:nutritionproduct-status}; # active | inactive |
# entered-in-error
fhir:category @?; # Broad product groups or categories
# used to classify the product, such
# as Legume and Legume Products,
# Beverages, or Beef Products
fhir:manufacturer @?; # Manufacturer, representative or
# officially responsible for the
# product
fhir:nutrient @?; # The product's nutritional
# information expressed by the
# nutrients
fhir:ingredient @?; # Ingredients contained in this
# product
fhir:knownAllergen @?; # Known or suspected allergens that
# are a part of this product
fhir:characteristic @?; # Specifies descriptive properties
# of the nutrition product
fhir:instance @?; # One or several physical instances
# or occurrences of the nutrition
# product
fhir:note @?; # Comments made about the product
}
# The product's nutritional information expressed by the nutrients
EXTENDS @ CLOSED {
fhir:item @?; # The (relevant) nutrients in the
# product
fhir:amount @?; # The amount of nutrient expressed
# in one or more units: X per pack /
# per serving / per dose
}
# Ingredients contained in this product
EXTENDS @ CLOSED {
fhir:item @; # The ingredient contained in the
# product
fhir:amount @?; # The amount of ingredient that is
# in the product
}
# One or several physical instances or occurrences of the nutrition product
EXTENDS @ CLOSED {
fhir:quantity @?; # The amount of items or instances
fhir:identifier @?; # The identifier for the physical
# instance, typically a serial
# number or manufacturer number
fhir:name @?; # The name for the specific product
fhir:lotNumber @?; # The identification of the batch or
# lot of the product
fhir:expiry @?; # The expiry date or date and time
# for the product
fhir:useBy @?; # The date until which the product
# is expected to be good for
# consumption
fhir:biologicalSourceEvent @?; # An identifier that supports
# traceability to the event during
# which material in this product
# from one or more biological
# entities was obtained or pooled
}
# Specifies descriptive properties of the nutrition product
EXTENDS @ CLOSED {
fhir:type @; # Code specifying the type of
# characteristic
fhir:value @ OR
@ OR
@ OR
@ OR
@ OR
@ ; # The value of the characteristic
}
#---------------------- Cardinality Types (OneOrMore) -------------------
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- Value Sets ------------------------
# Codes identifying the lifecycle stage of a product.
fhirvs:nutritionproduct-status ["active" "inactive" "entered-in-error"]