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 Data Type Definition

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

Data Type Definition

Usage:

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
.. v2DataTypeDefinition 0..*BaseBase for all types and resources
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the two or three letter code for the data type.
... title Σ1..1stringThis is a short human readable text for this data type.
... description 0..1Narrative
... completeExample 0..*Narrative
... component 1..*BackboneElement
.... sequenceNumber Σ1..1positiveInt
.... element[x] Σ1..1stringEither a simple datatype, or a complext one as a reference.
.... definition 0..1Narrative
.... implement 0..1CodeableConceptBinding: v2plus-implement (required)
.... minLength 0..1integer
.... maxLength 0..1integer
.... confLength 0..1integer
.... mayTruncate 0..1booleanindicates whether this information can be truncated. Default value is false.
.... exampleValue 0..*string
.... comments 0..*string
.... usageNotes 0..*string
.... requirements 0..*string
.... binding 0..1canonical(ValueSet)Bound value set
.... mayRepeat 0..1booleanindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
v2DataTypeDefinition.component.implementrequiredv2plus-implement
NameFlagsCard.TypeDescription & Constraintsdoco
.. v2DataTypeDefinition 0..*BaseBase for all types and resources
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the two or three letter code for the data type.
... title Σ1..1stringThis is a short human readable text for this data type.
... description 0..1Narrative
... completeExample 0..*Narrative
... component 1..*BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequenceNumber Σ1..1positiveInt
.... element[x] Σ1..1stringEither a simple datatype, or a complext one as a reference.
.... definition 0..1Narrative
.... implement 0..1CodeableConceptBinding: v2plus-implement (required)
.... minLength 0..1integer
.... maxLength 0..1integer
.... confLength 0..1integer
.... mayTruncate 0..1booleanindicates whether this information can be truncated. Default value is false.
.... exampleValue 0..*string
.... comments 0..*string
.... usageNotes 0..*string
.... requirements 0..*string
.... binding 0..1canonical(ValueSet)Bound value set
.... mayRepeat 0..1booleanindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2DataTypeDefinition.component.implementrequiredv2plus-implement

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
.. v2DataTypeDefinition 0..*BaseBase for all types and resources
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the two or three letter code for the data type.
... title Σ1..1stringThis is a short human readable text for this data type.
... description 0..1Narrative
... completeExample 0..*Narrative
... component 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
.... element[x] Σ1..1stringEither a simple datatype, or a complext one as a reference.
.... definition 0..1Narrative
.... implement 0..1CodeableConceptBinding: v2plus-implement (required)
.... minLength 0..1integer
.... maxLength 0..1integer
.... confLength 0..1integer
.... mayTruncate 0..1booleanindicates whether this information can be truncated. Default value is false.
.... exampleValue 0..*string
.... comments 0..*string
.... usageNotes 0..*string
.... requirements 0..*string
.... binding 0..1canonical(ValueSet)Bound value set
.... mayRepeat 0..1booleanindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2DataTypeDefinition.component.implementrequiredv2plus-implement

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)

Differential View

This structure is derived from Base

NameFlagsCard.TypeDescription & Constraintsdoco
.. v2DataTypeDefinition 0..*BaseBase for all types and resources
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the two or three letter code for the data type.
... title Σ1..1stringThis is a short human readable text for this data type.
... description 0..1Narrative
... completeExample 0..*Narrative
... component 1..*BackboneElement
.... sequenceNumber Σ1..1positiveInt
.... element[x] Σ1..1stringEither a simple datatype, or a complext one as a reference.
.... definition 0..1Narrative
.... implement 0..1CodeableConceptBinding: v2plus-implement (required)
.... minLength 0..1integer
.... maxLength 0..1integer
.... confLength 0..1integer
.... mayTruncate 0..1booleanindicates whether this information can be truncated. Default value is false.
.... exampleValue 0..*string
.... comments 0..*string
.... usageNotes 0..*string
.... requirements 0..*string
.... binding 0..1canonical(ValueSet)Bound value set
.... mayRepeat 0..1booleanindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
v2DataTypeDefinition.component.implementrequiredv2plus-implement

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. v2DataTypeDefinition 0..*BaseBase for all types and resources
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the two or three letter code for the data type.
... title Σ1..1stringThis is a short human readable text for this data type.
... description 0..1Narrative
... completeExample 0..*Narrative
... component 1..*BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequenceNumber Σ1..1positiveInt
.... element[x] Σ1..1stringEither a simple datatype, or a complext one as a reference.
.... definition 0..1Narrative
.... implement 0..1CodeableConceptBinding: v2plus-implement (required)
.... minLength 0..1integer
.... maxLength 0..1integer
.... confLength 0..1integer
.... mayTruncate 0..1booleanindicates whether this information can be truncated. Default value is false.
.... exampleValue 0..*string
.... comments 0..*string
.... usageNotes 0..*string
.... requirements 0..*string
.... binding 0..1canonical(ValueSet)Bound value set
.... mayRepeat 0..1booleanindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2DataTypeDefinition.component.implementrequiredv2plus-implement

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
.. v2DataTypeDefinition 0..*BaseBase for all types and resources
Instances of this logical model are not marked to be the target of a Reference
... code Σ1..1stringThis is the two or three letter code for the data type.
... title Σ1..1stringThis is a short human readable text for this data type.
... description 0..1Narrative
... completeExample 0..*Narrative
... component 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
.... element[x] Σ1..1stringEither a simple datatype, or a complext one as a reference.
.... definition 0..1Narrative
.... implement 0..1CodeableConceptBinding: v2plus-implement (required)
.... minLength 0..1integer
.... maxLength 0..1integer
.... confLength 0..1integer
.... mayTruncate 0..1booleanindicates whether this information can be truncated. Default value is false.
.... exampleValue 0..*string
.... comments 0..*string
.... usageNotes 0..*string
.... requirements 0..*string
.... binding 0..1canonical(ValueSet)Bound value set
.... mayRepeat 0..1booleanindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
v2DataTypeDefinition.component.implementrequiredv2plus-implement

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)

 

Other representations of profile: CSV, Excel