DataElement constraint on ElementDefinition data type
DataElement constraint on ElementDefinition data type
draftComplex Type97 elementsv5.0.0
Identifies how the ElementDefinition data type is used when it appears within a data element
Metadata
hl7.org/fhir- Canonical URL
- http://hl7.org/fhir/StructureDefinition/elementdefinition-de
- ID
- elementdefinition-de
- Type
- Base Definition
- Derivation
- constraint
- Publisher
- Health Level Seven International (Orders and Observations)
- Version
- 5.0.0
| Path | Card. | Type | Description |
|---|---|---|---|
ElementDefinition | 0..* | Definition of an element in a resource or extension | |
id | 0..1 | string | Unique id for inter-element referencing |
extension | 0..* | Additional content defined by implementations | |
extension | 0..* | Prompt for element phrased as question | |
extension | 0..1 | Units to use for measured value | |
modifierExtension | 0..* | Extensions that cannot be ignored even if unrecognized | |
path | 1..1 | string | Path of the element in the hierarchy of elements |
representation | 0..0 | code | xmlAttr | xmlText | typeAttr | cdaText | xhtmlrequired: property-representation |
sliceName | 0..1 | string | Name for this particular element (in a set of slices) |
sliceIsConstraining | 0..1 | boolean | If this slice definition constrains an inherited slice definition (or not) |
label | 0..1 | string | Name for element to display with or prompt for element |
code | 0..* | Corresponding codes in terminologiesexample: vs | |
slicing | 0..0 | Element | This element is sliced - slices follow |
short | 0..0 | string | Concise definition for space-constrained presentation |
definition | 0..1 | markdown | Full formal definition as narrative text |
comment | 0..1 | markdown | Comments about the use of this element |
requirements | 0..1 | markdown | Why this resource has been created |
alias | 0..* | string | Other names |
min | 0..1 | unsignedInt | Minimum Cardinality |
max | 0..1 | string | Maximum Cardinality (a number or *) |
base | 0..1 | Element | Base definition information for tools |
contentReference | 0..0 | uri | Reference to definition of content for the element |
type | 0..* | Element | Data type and Profile for this element |
defaultValue[x] | 0..1 | base64Binaryboolean+52 | Specified value if missing from instance |
meaningWhenMissing | 0..1 | markdown | Implicit meaning when this element is missing |
orderMeaning | 0..1 | string | What the order of the elements means |
fixed[x] | 0..0 | base64Binaryboolean+52 | Value must be exactly this |
pattern[x] | 0..0 | base64Binaryboolean+52 | Value must have at least these property values |
example | 0..* | Element | Example value (as defined for type) |
minValue[x] | 0..1 | datedateTime+8 | Minimum Allowed Value (for some types) |
maxValue[x] | 0..1 | datedateTime+8 | Maximum Allowed Value (for some types) |
maxLength | 0..1 | integer | Max length for string type data |
condition | 0..* | id | Reference to invariant about presence |
constraint | 0..* | Element | Condition that must evaluate to true |
mustHaveValue | 0..1 | boolean | For primitives, that a value must be present - not replaced by an extension |
valueAlternatives | 0..* | canonical | Extensions that are allowed to replace a primitive value |
mustSupport | 0..1 | boolean | If the element must be supported (discouraged - see obligations) |
isModifier | 0..0 | boolean | If this modifies the meaning of other elements |
isModifierReason | 0..1 | string | Reason that this element is marked as a modifier |
isSummary | 0..0 | boolean | Include when _summary = true? |
binding | 0..1 | Element | ValueSet details if this is coded |
mapping | 0..* | Element | Map element to another set of definitions |