Foundation
Publish-box
(todo)
This
is
the
Continuous
Integration
Build
of
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
| Responsible Owner: Biomedical Research and Regulation Work Group | Standards Status : Informative | Compartments : No defined compartments |
ShEx statement for ingredient
PREFIX fhir: <http://hl7.org/fhir/> PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>IMPORT <code.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Ratio.shex>IMPORT <string.shex> IMPORT <boolean.shex> IMPORT <markdown.shex>IMPORT <String.shex> IMPORT <Boolean.shex> IMPORT <Markdown.shex> IMPORT <Quantity.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <RatioRange.shex> IMPORT <Organization.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <CodeableReference.shex> IMPORT <ManufacturedItemDefinition.shex> IMPORT <MedicinalProductDefinition.shex> IMPORT <AdministrableProductDefinition.shex> start=@<Ingredient> AND {fhir:nodeRole [fhir:treeRoot]} # An ingredient of a manufactured item or pharmaceutical product <Ingredient> EXTENDS @<DomainResource> CLOSED { a [fhir:Ingredient]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<Identifier>?; # An identifier or code by which the # ingredient can be referencedfhir:status @<code> ANDfhir:status @<Code> AND {fhir:v @fhirvs:publication-status}; # draft | active | retired | unknown fhir:for @<OneOrMore_Reference_AdministrableProductDefinition_OR_ManufacturedItemDefinition_OR_MedicinalProductDefinition>?; # The product which this ingredient # is a constituent part of fhir:role @<CodeableConcept>; # Purpose of the ingredient within # the product, e.g. active, inactive fhir:function @<OneOrMore_CodeableConcept>?; # Precise action within the drug # product, e.g. antioxidant, # alkalizing agent fhir:group @<CodeableConcept>?; # A classification of the ingredient # according to where in the physical # item it tends to be used, such the # outer shell of a tablet, inner # body or inkfhir:allergenicIndicator @<boolean>?; # If the ingredient is a known orfhir:allergenicIndicator @<Boolean>?; # If the ingredient is a known or # suspected allergenfhir:comment @<markdown>?; # A place for providing any notesfhir:comment @<Markdown>?; # A place for providing any notes # that are relevant to the # component, e.g. removed during # process, adjusted for loss on # drying fhir:manufacturer @<OneOrMore_Ingredient.manufacturer>?; # An organization that manufactures # this ingredient fhir:substance @<Ingredient.substance>; # The substance that comprises this # ingredient } # The substance that comprises this ingredient <Ingredient.substance> EXTENDS @<BackboneElement> CLOSED { fhir:code @<CodeableReference>; # A code or full resource that # represents the ingredient # substance fhir:strength @<OneOrMore_Ingredient.substance.strength>?; # The quantity of substance, per # presentation, or per volume or # mass, and type of quantity } # The quantity of substance, per presentation, or per volume or mass, and type of quantity <Ingredient.substance.strength> EXTENDS @<BackboneElement> CLOSED { fhir:presentation @<Ratio> OR @<RatioRange> OR @<CodeableConcept> OR @<Quantity> ?; # The quantity of substance in the # unit of presentationfhir:textPresentation @<string>?; # Text of either the wholefhir:textPresentation @<String>?; # Text of either the whole # presentation strength or a part of # it (rest being in # Strength.presentation as a ratio) fhir:concentration @<Ratio> OR @<RatioRange> OR @<CodeableConcept> OR @<Quantity> ?; # The strength per unitary volume # (or mass)fhir:textConcentration @<string>?; # Text of either the wholefhir:textConcentration @<String>?; # Text of either the whole # concentration strength or a part # of it (rest being in # Strength.concentration as a ratio) fhir:basis @<CodeableConcept>?; # A code that indicates if the # strength is, for example, based on # the ingredient substance as stated # or on the substance base (when the # ingredient is a salt)fhir:measurementPoint @<string>?; # When strength is measured at afhir:measurementPoint @<String>?; # When strength is measured at a # particular point or distance fhir:country @<OneOrMore_CodeableConcept>?; # Where the strength range applies fhir:referenceStrength @<OneOrMore_Ingredient.substance.strength.referenceStrength>?; # Strength expressed in terms of a # reference substance } # Strength expressed in terms of a reference substance <Ingredient.substance.strength.referenceStrength> EXTENDS @<BackboneElement> CLOSED { fhir:substance @<CodeableReference>; # Relevant reference substance fhir:strength @<Ratio> OR @<RatioRange> OR @<Quantity> ; # Strength expressed in terms of a # reference substancefhir:measurementPoint @<string>?; # When strength is measured at afhir:measurementPoint @<String>?; # When strength is measured at a # particular point or distance fhir:country @<OneOrMore_CodeableConcept>?; # Where the strength range applies } # An organization that manufactures this ingredient <Ingredient.manufacturer> EXTENDS @<BackboneElement> CLOSED {fhir:role @<code> ANDfhir:role @<Code> AND {fhir:v @fhirvs:ingredient-manufacturer-role}?; # allowed | possible | actualfhir:manufacturer @<Reference> AND {fhir:linkfhir:manufacturer @<Reference> AND {fhir:l @<Organization> ? }; # An organization that manufactures # this ingredient } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Reference_AdministrableProductDefinition_OR_ManufacturedItemDefinition_OR_MedicinalProductDefinition> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<AdministrableProductDefinition> OR @<ManufacturedItemDefinition> OR @<MedicinalProductDefinition> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_AdministrableProductDefinition_OR_ManufacturedItemDefinition_OR_MedicinalProductDefinition> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_Ingredient.manufacturer> CLOSED { rdf:first @<Ingredient.manufacturer> ; rdf:rest [rdf:nil] OR @<OneOrMore_Ingredient.manufacturer> } <OneOrMore_Ingredient.substance.strength> CLOSED { rdf:first @<Ingredient.substance.strength> ; rdf:rest [rdf:nil] OR @<OneOrMore_Ingredient.substance.strength> } <OneOrMore_Ingredient.substance.strength.referenceStrength> CLOSED { rdf:first @<Ingredient.substance.strength.referenceStrength> ; rdf:rest [rdf:nil] OR @<OneOrMore_Ingredient.substance.strength.referenceStrength> } #---------------------- Value Sets ------------------------ # The way in which this manufacturer is associated with the ingredient. For example whether it is a possible one (others allowed), or an exclusive authorized one for this ingredient. Note that this is not the manufacturing process role. fhirvs:ingredient-manufacturer-role ["allowed" "possible" "actual"] # The lifecycle status of an artifact. fhirvs:publication-status ["draft" "active" "retired" "unknown"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Tue,
Apr
1,
Mon,
Nov
10,
2025
12:25+1100.
15:22+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change