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 - Detailed Descriptions

Draft as of 2023-10-23

Definitions for the v2DataTypeDefinition logical model.

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

0. v2DataTypeDefinition
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. v2DataTypeDefinition.code
ShortThis is the two or three letter code for the data type.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. v2DataTypeDefinition.title
ShortThis is a short human readable text for this data type.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. v2DataTypeDefinition.description
Control0..1
TypeNarrative(Narrative)
8. v2DataTypeDefinition.withdrawn
Control1..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. v2DataTypeDefinition.completeExample
Control0..*
TypeNarrative(Narrative)
12. v2DataTypeDefinition.component
Control1..*
TypeBackboneElement
14. v2DataTypeDefinition.component.sequenceNumber
Control1..1
TypepositiveInt(positiveInt)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
16. v2DataTypeDefinition.component.element[x]
ShortEither a simple datatype, or a complext one as a reference.
Control1..1
Typestring
[x] NoteSee Choice of Data Types for further information about how to use [x]
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
18. v2DataTypeDefinition.component.definition
Control0..1
TypeNarrative(Narrative)
20. v2DataTypeDefinition.component.implement
Control0..1
BindingThe codes SHALL be taken from v2plus-implement
TypeCodeableConcept
22. v2DataTypeDefinition.component.minLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
24. v2DataTypeDefinition.component.maxLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. v2DataTypeDefinition.component.confLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. v2DataTypeDefinition.component.mayTruncate
Shortindicates whether this information can be truncated. Default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. v2DataTypeDefinition.component.exampleValue
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. v2DataTypeDefinition.component.comments
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. v2DataTypeDefinition.component.usageNotes
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. v2DataTypeDefinition.component.requirements
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. v2DataTypeDefinition.component.binding
ShortBound value set
Control0..1
Typecanonical(ValueSet)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
40. v2DataTypeDefinition.component.mayRepeat
Shortindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.
Control0..1
Typeboolean(boolean)
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. v2DataTypeDefinition
Definition

Base definition for all types defined in FHIR type system.

ShortBase 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. v2DataTypeDefinition.code
ShortThis is the two or three letter code for the data type.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
4. v2DataTypeDefinition.title
ShortThis is a short human readable text for this data type.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
6. v2DataTypeDefinition.description
Control0..1
TypeNarrative(Narrative)
8. v2DataTypeDefinition.withdrawn
Control1..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. v2DataTypeDefinition.completeExample
Control0..*
TypeNarrative(Narrative)
12. v2DataTypeDefinition.component
Control1..*
TypeBackboneElement
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
14. v2DataTypeDefinition.component.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())
16. v2DataTypeDefinition.component.sequenceNumber
Control1..1
TypepositiveInt(positiveInt)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
18. v2DataTypeDefinition.component.element[x]
ShortEither a simple datatype, or a complext one as a reference.
Control1..1
Typestring
[x] NoteSee Choice of Data Types for further information about how to use [x]
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
20. v2DataTypeDefinition.component.definition
Control0..1
TypeNarrative(Narrative)
22. v2DataTypeDefinition.component.implement
Control0..1
BindingThe codes SHALL be taken from v2plus-implement
TypeCodeableConcept
24. v2DataTypeDefinition.component.minLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. v2DataTypeDefinition.component.maxLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. v2DataTypeDefinition.component.confLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. v2DataTypeDefinition.component.mayTruncate
Shortindicates whether this information can be truncated. Default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. v2DataTypeDefinition.component.exampleValue
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. v2DataTypeDefinition.component.comments
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. v2DataTypeDefinition.component.usageNotes
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. v2DataTypeDefinition.component.requirements
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
40. v2DataTypeDefinition.component.binding
ShortBound value set
Control0..1
Typecanonical(ValueSet)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
42. v2DataTypeDefinition.component.mayRepeat
Shortindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.
Control0..1
Typeboolean(boolean)
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. v2DataTypeDefinition
Definition

Base definition for all types defined in FHIR type system.

ShortBase 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. v2DataTypeDefinition.code
ShortThis is the two or three letter code for the data type.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
4. v2DataTypeDefinition.title
ShortThis is a short human readable text for this data type.
Control1..1
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
6. v2DataTypeDefinition.description
Control0..1
TypeNarrative(Narrative)
8. v2DataTypeDefinition.withdrawn
Control1..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. v2DataTypeDefinition.completeExample
Control0..*
TypeNarrative(Narrative)
12. v2DataTypeDefinition.component
Control1..*
TypeBackboneElement
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
14. v2DataTypeDefinition.component.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
16. v2DataTypeDefinition.component.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 v2DataTypeDefinition.component.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
18. v2DataTypeDefinition.component.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())
20. v2DataTypeDefinition.component.sequenceNumber
Control1..1
TypepositiveInt(positiveInt)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
22. v2DataTypeDefinition.component.element[x]
ShortEither a simple datatype, or a complext one as a reference.
Control1..1
Typestring
[x] NoteSee Choice of Data Types for further information about how to use [x]
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
24. v2DataTypeDefinition.component.definition
Control0..1
TypeNarrative(Narrative)
26. v2DataTypeDefinition.component.implement
Control0..1
BindingThe codes SHALL be taken from v2plus-implement
TypeCodeableConcept
28. v2DataTypeDefinition.component.minLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. v2DataTypeDefinition.component.maxLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. v2DataTypeDefinition.component.confLength
Control0..1
Typeinteger(integer)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. v2DataTypeDefinition.component.mayTruncate
Shortindicates whether this information can be truncated. Default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. v2DataTypeDefinition.component.exampleValue
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. v2DataTypeDefinition.component.comments
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
40. v2DataTypeDefinition.component.usageNotes
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
42. v2DataTypeDefinition.component.requirements
Control0..*
Typestring(string)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
44. v2DataTypeDefinition.component.binding
ShortBound value set
Control0..1
Typecanonical(ValueSet)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
46. v2DataTypeDefinition.component.mayRepeat
Shortindicates that this field may repeat if defined as such, and if occuring as last. Default value is false.
Control0..1
Typeboolean(boolean)
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension