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

Official URL: http://v2.hl7.org/fhir/StructureDefinition/v2SegmentDefinition Version: 1st draft
Draft as of 2023-10-23 Computable Name: v2+ Segment Definition

Usage:

  • This Logical Model Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. v2SegmentDefinition 0..*BaseThis element defines the attributes for a specific segment.
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the three letter code for the segment.
... title Σ1..1stringThis is a short display name for human reading.
... description 0..1NarrativeThis a short description of this segment.
... steward 1..1codeWhich WG is the steward for this segment.
Binding: steward (required)
... lastElementMayRepeat 0..1booleanThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
... field Σ1..*BackboneElement
.... sequenceNumber Σ1..1positiveInt
.... dataElement Σ1..1canonical(v2+ Data Element Definition)
.... implement 0..1codeThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Binding: v2plus-implement (required)
.... compatiblityFlag 0..*codeBinding: segment-field-flags (required)
.... condition 0..1stringwhat is the condition if there is one?
.... minCardinality 0..1integer
.... maxCardinality 0..1integer
.... conceptDomain 0..1CodeableConceptThis element specifies the concept domain to which this data element is bound.
.... valueSet 0..1stringWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
v2SegmentDefinition.stewardrequiredsteward
v2SegmentDefinition.field.implementrequiredv2plus-implement
v2SegmentDefinition.field.compatiblityFlagrequiredsegment-field-flags
NameFlagsCard.TypeDescription & Constraintsdoco
.. v2SegmentDefinition 0..*BaseThis element defines the attributes for a specific segment.
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the three letter code for the segment.
... title Σ1..1stringThis is a short display name for human reading.
... description 0..1NarrativeThis a short description of this segment.
... steward 1..1codeWhich WG is the steward for this segment.
Binding: steward (required)
... lastElementMayRepeat 0..1booleanThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
... field Σ1..*BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequenceNumber Σ1..1positiveInt
.... dataElement Σ1..1canonical(v2+ Data Element Definition)
.... implement 0..1codeThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Binding: v2plus-implement (required)
.... compatiblityFlag 0..*codeBinding: segment-field-flags (required)
.... condition 0..1stringwhat is the condition if there is one?
.... minCardinality 0..1integer
.... maxCardinality 0..1integer
.... conceptDomain 0..1CodeableConceptThis element specifies the concept domain to which this data element is bound.
.... valueSet 0..1stringWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2SegmentDefinition.stewardrequiredsteward
v2SegmentDefinition.field.implementrequiredv2plus-implement
v2SegmentDefinition.field.compatiblityFlagrequiredsegment-field-flags

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. v2SegmentDefinition 0..*BaseThis element defines the attributes for a specific segment.
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the three letter code for the segment.
... title Σ1..1stringThis is a short display name for human reading.
... description 0..1NarrativeThis a short description of this segment.
... steward 1..1codeWhich WG is the steward for this segment.
Binding: steward (required)
... lastElementMayRepeat 0..1booleanThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
... field Σ1..*BackboneElement
.... @id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequenceNumber Σ1..1positiveInt
.... dataElement Σ1..1canonical(v2+ Data Element Definition)
.... implement 0..1codeThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Binding: v2plus-implement (required)
.... compatiblityFlag 0..*codeBinding: segment-field-flags (required)
.... condition 0..1stringwhat is the condition if there is one?
.... minCardinality 0..1integer
.... maxCardinality 0..1integer
.... conceptDomain 0..1CodeableConceptThis element specifies the concept domain to which this data element is bound.
.... valueSet 0..1stringWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2SegmentDefinition.stewardrequiredsteward
v2SegmentDefinition.field.implementrequiredv2plus-implement
v2SegmentDefinition.field.compatiblityFlagrequiredsegment-field-flags

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

Summary

Mandatory: 0 element (6 nested mandatory elements)

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. v2SegmentDefinition 0..*BaseThis element defines the attributes for a specific segment.
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the three letter code for the segment.
... title Σ1..1stringThis is a short display name for human reading.
... description 0..1NarrativeThis a short description of this segment.
... steward 1..1codeWhich WG is the steward for this segment.
Binding: steward (required)
... lastElementMayRepeat 0..1booleanThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
... field Σ1..*BackboneElement
.... sequenceNumber Σ1..1positiveInt
.... dataElement Σ1..1canonical(v2+ Data Element Definition)
.... implement 0..1codeThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Binding: v2plus-implement (required)
.... compatiblityFlag 0..*codeBinding: segment-field-flags (required)
.... condition 0..1stringwhat is the condition if there is one?
.... minCardinality 0..1integer
.... maxCardinality 0..1integer
.... conceptDomain 0..1CodeableConceptThis element specifies the concept domain to which this data element is bound.
.... valueSet 0..1stringWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
v2SegmentDefinition.stewardrequiredsteward
v2SegmentDefinition.field.implementrequiredv2plus-implement
v2SegmentDefinition.field.compatiblityFlagrequiredsegment-field-flags

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. v2SegmentDefinition 0..*BaseThis element defines the attributes for a specific segment.
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the three letter code for the segment.
... title Σ1..1stringThis is a short display name for human reading.
... description 0..1NarrativeThis a short description of this segment.
... steward 1..1codeWhich WG is the steward for this segment.
Binding: steward (required)
... lastElementMayRepeat 0..1booleanThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
... field Σ1..*BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequenceNumber Σ1..1positiveInt
.... dataElement Σ1..1canonical(v2+ Data Element Definition)
.... implement 0..1codeThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Binding: v2plus-implement (required)
.... compatiblityFlag 0..*codeBinding: segment-field-flags (required)
.... condition 0..1stringwhat is the condition if there is one?
.... minCardinality 0..1integer
.... maxCardinality 0..1integer
.... conceptDomain 0..1CodeableConceptThis element specifies the concept domain to which this data element is bound.
.... valueSet 0..1stringWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2SegmentDefinition.stewardrequiredsteward
v2SegmentDefinition.field.implementrequiredv2plus-implement
v2SegmentDefinition.field.compatiblityFlagrequiredsegment-field-flags

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. v2SegmentDefinition 0..*BaseThis element defines the attributes for a specific segment.
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the three letter code for the segment.
... title Σ1..1stringThis is a short display name for human reading.
... description 0..1NarrativeThis a short description of this segment.
... steward 1..1codeWhich WG is the steward for this segment.
Binding: steward (required)
... lastElementMayRepeat 0..1booleanThis boolean value indicates whether the last element according to the field definition may repeat. The default value is false.
... field Σ1..*BackboneElement
.... @id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequenceNumber Σ1..1positiveInt
.... dataElement Σ1..1canonical(v2+ Data Element Definition)
.... implement 0..1codeThis value indicates wheether this field has to be implemented. The default value is empty, i.e. optional.
Binding: v2plus-implement (required)
.... compatiblityFlag 0..*codeBinding: segment-field-flags (required)
.... condition 0..1stringwhat is the condition if there is one?
.... minCardinality 0..1integer
.... maxCardinality 0..1integer
.... conceptDomain 0..1CodeableConceptThis element specifies the concept domain to which this data element is bound.
.... valueSet 0..1stringWhich value set is bound to this field. Overwrites the binding as provided by the data element definition.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2SegmentDefinition.stewardrequiredsteward
v2SegmentDefinition.field.implementrequiredv2plus-implement
v2SegmentDefinition.field.compatiblityFlagrequiredsegment-field-flags

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Base

Summary

Mandatory: 0 element (6 nested mandatory elements)

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel