Class TElementDefinition

Unit

Declaration

type TElementDefinition = class(TBackboneElement)

Description

Captures constraints on each element within the resource, profile, or extension. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Hierarchy

Overview

Methods

Public constructor Create; override;

Properties

Public property path : string read Getpath write Setpath;
Public property pathElement : Tstring read GetpathElement write SetpathElement;
Public property representation : TBSFHIRPrimitiveStringArray read GetrepresentationArray;
Public property sliceName : string read GetsliceName write SetsliceName;
Public property sliceNameElement : Tstring read GetsliceNameElement write SetsliceNameElement;
Public property sliceIsConstraining : boolean read GetsliceIsConstraining write SetsliceIsConstraining;
Public property sliceIsConstrainingElement : Tboolean read GetsliceIsConstrainingElement write SetsliceIsConstrainingElement;
Public property label_ : string read Getlabel_ write Setlabel_;
Public property label_Element : Tstring read Getlabel_Element write Setlabel_Element;
Public property code : TCodingArray read GetcodeArray;
Public property slicing : TElementDefinitionSlicing read Getslicing write Setslicing;
Public property short : string read Getshort write Setshort;
Public property shortElement : Tstring read GetshortElement write SetshortElement;
Public property definition : string read Getdefinition write Setdefinition;
Public property definitionElement : Tmarkdown read GetdefinitionElement write SetdefinitionElement;
Public property comment : string read Getcomment write Setcomment;
Public property commentElement : Tmarkdown read GetcommentElement write SetcommentElement;
Public property requirements : string read Getrequirements write Setrequirements;
Public property requirementsElement : Tmarkdown read GetrequirementsElement write SetrequirementsElement;
Public property alias_ : TBSFHIRPrimitiveStringArray read Getalias_Array;
Public property min : Int64 read Getmin write Setmin;
Public property minElement : TunsignedInt read GetminElement write SetminElement;
Public property max : string read Getmax write Setmax;
Public property maxElement : Tstring read GetmaxElement write SetmaxElement;
Public property base : TElementDefinitionBase read Getbase write Setbase;
Public property contentReference : string read GetcontentReference write SetcontentReference;
Public property contentReferenceElement : Turi read GetcontentReferenceElement write SetcontentReferenceElement;
Public property type_ : TElementDefinitionTypeArray read Gettype_Array;
Public property defaultValue : TElement read GetdefaultValue write SetdefaultValue;
Public property meaningWhenMissing : string read GetmeaningWhenMissing write SetmeaningWhenMissing;
Public property meaningWhenMissingElement : Tmarkdown read GetmeaningWhenMissingElement write SetmeaningWhenMissingElement;
Public property orderMeaning : string read GetorderMeaning write SetorderMeaning;
Public property orderMeaningElement : Tstring read GetorderMeaningElement write SetorderMeaningElement;
Public property fixed : TElement read Getfixed write Setfixed;
Public property pattern : TElement read Getpattern write Setpattern;
Public property example : TElementDefinitionExampleArray read GetexampleArray;
Public property minValue : TElement read GetminValue write SetminValue;
Public property maxValue : TElement read GetmaxValue write SetmaxValue;
Public property maxLength : integer read GetmaxLength write SetmaxLength;
Public property maxLengthElement : Tinteger read GetmaxLengthElement write SetmaxLengthElement;
Public property condition : TBSFHIRPrimitiveStringArray read GetconditionArray;
Public property constraint : TElementDefinitionConstraintArray read GetconstraintArray;
Public property mustSupport : boolean read GetmustSupport write SetmustSupport;
Public property mustSupportElement : Tboolean read GetmustSupportElement write SetmustSupportElement;
Public property isModifier : boolean read GetisModifier write SetisModifier;
Public property isModifierElement : Tboolean read GetisModifierElement write SetisModifierElement;
Public property isModifierReason : string read GetisModifierReason write SetisModifierReason;
Public property isModifierReasonElement : Tstring read GetisModifierReasonElement write SetisModifierReasonElement;
Public property isSummary : boolean read GetisSummary write SetisSummary;
Public property isSummaryElement : Tboolean read GetisSummaryElement write SetisSummaryElement;
Public property binding : TElementDefinitionBinding read Getbinding write Setbinding;
Public property mapping : TElementDefinitionMappingArray read GetmappingArray;

Description

Methods

Public constructor Create; override;
 

Properties

Public property path : string read Getpath write Setpath;

The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.

Public property pathElement : Tstring read GetpathElement write SetpathElement;
 
Public property representation : TBSFHIRPrimitiveStringArray read GetrepresentationArray;

Codes that define how this element is represented in instances, when the deviation varies from the normal case.

Public property sliceName : string read GetsliceName write SetsliceName;

The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element.

Public property sliceNameElement : Tstring read GetsliceNameElement write SetsliceNameElement;
 
Public property sliceIsConstraining : boolean read GetsliceIsConstraining write SetsliceIsConstraining;

If true, indicates that this slice definition is constraining a slice definition with the same name in an inherited profile. If false, the slice is not overriding any slice in an inherited profile. If missing, the slice might or might not be overriding a slice in an inherited profile, depending on the sliceName.

Public property sliceIsConstrainingElement : Tboolean read GetsliceIsConstrainingElement write SetsliceIsConstrainingElement;
 
Public property label_ : string read Getlabel_ write Setlabel_;

A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form.

Public property label_Element : Tstring read Getlabel_Element write Setlabel_Element;
 
Public property code : TCodingArray read GetcodeArray;

A code that has the same meaning as the element in a particular terminology.

Public property slicing : TElementDefinitionSlicing read Getslicing write Setslicing;

Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).

Public property short : string read Getshort write Setshort;

A concise description of what this element means (e.g. for use in autogenerated summaries).

Public property shortElement : Tstring read GetshortElement write SetshortElement;
 
Public property definition : string read Getdefinition write Setdefinition;

Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. (Note: The text you are reading is specified in ElementDefinition.definition).

Public property definitionElement : Tmarkdown read GetdefinitionElement write SetdefinitionElement;
 
Public property comment : string read Getcomment write Setcomment;

Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. (Note: The text you are reading is specified in ElementDefinition.comment).

Public property commentElement : Tmarkdown read GetcommentElement write SetcommentElement;
 
Public property requirements : string read Getrequirements write Setrequirements;

This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.

Public property requirementsElement : Tmarkdown read GetrequirementsElement write SetrequirementsElement;
 
Public property alias_ : TBSFHIRPrimitiveStringArray read Getalias_Array;

Identifies additional names by which this element might also be known.

Public property min : Int64 read Getmin write Setmin;

The minimum number of times this element SHALL appear in the instance.

Public property minElement : TunsignedInt read GetminElement write SetminElement;
 
Public property max : string read Getmax write Setmax;

The maximum number of times this element is permitted to appear in the instance.

Public property maxElement : Tstring read GetmaxElement write SetmaxElement;
 
Public property base : TElementDefinitionBase read Getbase write Setbase;

Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - i.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same.

Public property contentReference : string read GetcontentReference write SetcontentReference;

Identifies an element defined elsewhere in the definition whose content rules should be applied to the current element. ContentReferences bring across all the rules that are in the ElementDefinition for the element, including definitions, cardinality constraints, bindings, invariants etc.

Public property contentReferenceElement : Turi read GetcontentReferenceElement write SetcontentReferenceElement;
 
Public property type_ : TElementDefinitionTypeArray read Gettype_Array;

The data type or resource that the value of this element is permitted to be.

Public property defaultValue : TElement read GetdefaultValue write SetdefaultValue;

The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').

Public property meaningWhenMissing : string read GetmeaningWhenMissing write SetmeaningWhenMissing;

The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing').

Public property meaningWhenMissingElement : Tmarkdown read GetmeaningWhenMissingElement write SetmeaningWhenMissingElement;
 
Public property orderMeaning : string read GetorderMeaning write SetorderMeaning;

If present, indicates that the order of the repeating element has meaning and describes what that meaning is. If absent, it means that the order of the element has no meaning.

Public property orderMeaningElement : Tstring read GetorderMeaningElement write SetorderMeaningElement;
 
Public property fixed : TElement read Getfixed write Setfixed;

Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.

Public property pattern : TElement read Getpattern write Setpattern;

Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example.

When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.

When pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] array must (recursively) match at least one element from the instance array.

When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match – i.e.,

1. If primitive: it must match exactly the pattern value 2. If a complex object: it must match (recursively) the pattern value 3. If an array: it must match (recursively) the pattern value.

Public property example : TElementDefinitionExampleArray read GetexampleArray;

A sample value for this element demonstrating the type of information that would typically be found in the element.

Public property minValue : TElement read GetminValue write SetminValue;

The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.

Public property maxValue : TElement read GetmaxValue write SetmaxValue;

The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.

Public property maxLength : integer read GetmaxLength write SetmaxLength;

Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.

Public property maxLengthElement : Tinteger read GetmaxLengthElement write SetmaxLengthElement;
 
Public property condition : TBSFHIRPrimitiveStringArray read GetconditionArray;

A reference to an invariant that may make additional statements about the cardinality or value in the instance.

Public property constraint : TElementDefinitionConstraintArray read GetconstraintArray;

Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.

Public property mustSupport : boolean read GetmustSupport write SetmustSupport;

If true, implementations that produce or consume resources SHALL provide "support" for the element in some meaningful way. If false, the element may be ignored and not supported. If false, whether to populate or use the data element in any way is at the discretion of the implementation.

Public property mustSupportElement : Tboolean read GetmustSupportElement write SetmustSupportElement;
 
Public property isModifier : boolean read GetisModifier write SetisModifier;

If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.

Public property isModifierElement : Tboolean read GetisModifierElement write SetisModifierElement;
 
Public property isModifierReason : string read GetisModifierReason write SetisModifierReason;

Explains how that element affects the interpretation of the resource or element that contains it.

Public property isModifierReasonElement : Tstring read GetisModifierReasonElement write SetisModifierReasonElement;
 
Public property isSummary : boolean read GetisSummary write SetisSummary;

Whether the element should be included if a client requests a search with the parameter _summary=true.

Public property isSummaryElement : Tboolean read GetisSummaryElement write SetisSummaryElement;
 
Public property binding : TElementDefinitionBinding read Getbinding write Setbinding;

Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri).

Public property mapping : TElementDefinitionMappingArray read GetmappingArray;

Identifies a concept from an external specification that roughly corresponds to this element.


Generated by PasDoc 0.15.0.