v2+ Details
0.3.2 - Working Draft to present the concept ideas (FO)

v2+ Details - Local Development build (v0.3.2). See the Directory of published versions

Logical Model: v2+ Segment Definition - Detailed Descriptions

Draft as of 2023-10-23

Definitions for the v2SegmentDefinition logical model.

Guidance on how to interpret the contents of this table can be found here

0. v2SegmentDefinition
ShortThis element defines the attributes for a specific segment.
Control0..*
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. v2SegmentDefinition.code
Definition

This is the three letter code for the segment.

ShortThis is the three letter code for the segment.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. v2SegmentDefinition.title
ShortThis is a short display name for human reading.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. v2SegmentDefinition.description
ShortThis a short description of this segment.
Control0..1
TypeNarrative(Narrative)
8. v2SegmentDefinition.withdrawn
ShortThis boolean value indicates whether this segment is still active and can be used. The default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Default Valuefalse
10. v2SegmentDefinition.steward
ShortWhich WG is the steward for this segment.
Control1..1
BindingThe codes SHALL be taken from steward
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. v2SegmentDefinition.lastElementMayRepeat
ShortThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Default Valuefalse
14. v2SegmentDefinition.field
Control1..*
TypeBackboneElement
16. v2SegmentDefinition.field.sequenceNumber
Control1..1
TypepositiveInt(positiveInt)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
18. v2SegmentDefinition.field.dataElement
Control1..1
Typecanonical(canonical)(v2+ Data Element Definition)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
20. v2SegmentDefinition.field.implement
ShortThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Control0..1
BindingThe codes SHALL be taken from v2plus-implement
Typecode(code)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
22. v2SegmentDefinition.field.compatiblityFlag
Control0..*
BindingThe codes SHALL be taken from segment-field-flags
Typecode(code)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
24. v2SegmentDefinition.field.condition
Shortwhat is the condition if there is one?
Control0..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. v2SegmentDefinition.field.minCardinality
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. v2SegmentDefinition.field.maxCardinality
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. v2SegmentDefinition.field.conceptDomain
ShortThis element specifies the concept domain to which this data element is bound.
Control0..1
TypeCodeableConcept
32. v2SegmentDefinition.field.valueSet
ShortWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

Guidance on how to interpret the contents of this table can be found here

0. v2SegmentDefinition
Definition

Base definition for all types defined in FHIR type system.

ShortThis element defines the attributes for a specific segment.Base for all types and resources
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. v2SegmentDefinition.code
Definition

This is the three letter code for the segment.

ShortThis is the three letter code for the segment.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
4. v2SegmentDefinition.title
ShortThis is a short display name for human reading.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
6. v2SegmentDefinition.description
ShortThis a short description of this segment.
Control0..1
TypeNarrative(Narrative)
8. v2SegmentDefinition.withdrawn
ShortThis boolean value indicates whether this segment is still active and can be used. The default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Default Valuefalse
10. v2SegmentDefinition.steward
ShortWhich WG is the steward for this segment.
Control1..1
BindingThe codes SHALL be taken from steward
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. v2SegmentDefinition.lastElementMayRepeat
ShortThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Default Valuefalse
14. v2SegmentDefinition.field
Control1..*
TypeBackboneElement
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
16. v2SegmentDefinition.field.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

ShortExtensions that cannot be ignored even if unrecognized
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summarytrue
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Alternate Namesextensions, user content, modifiers
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
18. v2SegmentDefinition.field.sequenceNumber
Control1..1
TypepositiveInt(positiveInt)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
20. v2SegmentDefinition.field.dataElement
Control1..1
Typecanonical(canonical)(v2+ Data Element Definition)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
22. v2SegmentDefinition.field.implement
ShortThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Control0..1
BindingThe codes SHALL be taken from v2plus-implement
Typecode(code)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
24. v2SegmentDefinition.field.compatiblityFlag
Control0..*
BindingThe codes SHALL be taken from segment-field-flags
Typecode(code)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. v2SegmentDefinition.field.condition
Shortwhat is the condition if there is one?
Control0..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. v2SegmentDefinition.field.minCardinality
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. v2SegmentDefinition.field.maxCardinality
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. v2SegmentDefinition.field.conceptDomain
ShortThis element specifies the concept domain to which this data element is bound.
Control0..1
TypeCodeableConcept
34. v2SegmentDefinition.field.valueSet
ShortWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension

Guidance on how to interpret the contents of this table can be found here

0. v2SegmentDefinition
Definition

Base definition for all types defined in FHIR type system.

ShortThis element defines the attributes for a specific segment.
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. v2SegmentDefinition.code
Definition

This is the three letter code for the segment.

ShortThis is the three letter code for the segment.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
4. v2SegmentDefinition.title
ShortThis is a short display name for human reading.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
6. v2SegmentDefinition.description
ShortThis a short description of this segment.
Control0..1
TypeNarrative(Narrative)
8. v2SegmentDefinition.withdrawn
ShortThis boolean value indicates whether this segment is still active and can be used. The default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Default Valuefalse
10. v2SegmentDefinition.steward
ShortWhich WG is the steward for this segment.
Control1..1
BindingThe codes SHALL be taken from steward
Typecode
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. v2SegmentDefinition.lastElementMayRepeat
ShortThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Default Valuefalse
14. v2SegmentDefinition.field
Control1..*
TypeBackboneElement
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
16. v2SegmentDefinition.field.id
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

ShortUnique id for inter-element referencing
Control0..1
This element is affected by the following invariants: ele-1
Typeid
Is Modifierfalse
XML FormatIn the XML format, this property is represented as an attribute.
Summaryfalse
18. v2SegmentDefinition.field.extension
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on v2SegmentDefinition.field.extension. The slices are unordered and Open, and can be differentiated using the following discriminators: , and can be differentiated using the following discriminators:
  • value @ url
20. v2SegmentDefinition.field.modifierExtension
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

ShortExtensions that cannot be ignored even if unrecognized
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Summarytrue
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Alternate Namesextensions, user content, modifiers
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
22. v2SegmentDefinition.field.sequenceNumber
Control1..1
TypepositiveInt(positiveInt)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
24. v2SegmentDefinition.field.dataElement
Control1..1
Typecanonical(canonical)(v2+ Data Element Definition)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
26. v2SegmentDefinition.field.implement
ShortThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Control0..1
BindingThe codes SHALL be taken from v2plus-implement
Typecode(code)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. v2SegmentDefinition.field.compatiblityFlag
Control0..*
BindingThe codes SHALL be taken from segment-field-flags
Typecode(code)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. v2SegmentDefinition.field.condition
Shortwhat is the condition if there is one?
Control0..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. v2SegmentDefinition.field.minCardinality
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. v2SegmentDefinition.field.maxCardinality
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. v2SegmentDefinition.field.conceptDomain
ShortThis element specifies the concept domain to which this data element is bound.
Control0..1
TypeCodeableConcept
38. v2SegmentDefinition.field.valueSet
ShortWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.
Control0..1
Typestring
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension