HL7 v2+ Specification
0.0.0 - draft

HL7 v2+ Specification, published by HL7 International. This guide is not an authorized publication; it is the continuous build for version 0.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2ig/ and changes regularly. See the Directory of published versions

Logical Model: CWE - Detailed Descriptions

Page standards status: Informative

Definitions for the CWE logical model.

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

0. CWE
Definition

Definition: Specifies a coded element and its associated detail. The CWE data type is used when 1) more than one table may be applicable or 2) the specified HL7 or externally defined table may be extended with local values or 3) when text is in place, the code may be omitted.

Shortcoded with exceptions
Control0..*
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. CWE.1
ShortIdentifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. CWE.2
ShortText
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. CWE.3
ShortName of Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
8. CWE.4
ShortAlternate Identifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. CWE.5
ShortAlternate Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. CWE.6
ShortName of Alternate Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
14. CWE.7
ShortCoding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
16. CWE.8
ShortAlternate Coding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
18. CWE.9
ShortOriginal Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
20. CWE.10
ShortSecond Alternate Identifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
22. CWE.11
ShortSecond Alternate Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
24. CWE.12
ShortName of Second Alternate Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. CWE.13
ShortSecond Alternate Coding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. CWE.14
ShortCoding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. CWE.15
ShortValue Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. CWE.16
ShortValue Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. CWE.17
ShortAlternate Coding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. CWE.18
ShortAlternate Value Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. CWE.19
ShortAlternate Value Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
40. CWE.20
ShortSecond Alternate Coding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
42. CWE.21
ShortSecond Alternate Value Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
44. CWE.22
ShortSecond Alternate Value Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
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. CWE
Definition

Definition: Specifies a coded element and its associated detail. The CWE data type is used when 1) more than one table may be applicable or 2) the specified HL7 or externally defined table may be extended with local values or 3) when text is in place, the code may be omitted.


Base definition for all types defined in FHIR type system.

Shortcoded with exceptionsBase 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. CWE.1
ShortIdentifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. CWE.2
ShortText
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. CWE.3
ShortName of Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
8. CWE.4
ShortAlternate Identifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. CWE.5
ShortAlternate Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. CWE.6
ShortName of Alternate Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
14. CWE.7
ShortCoding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
16. CWE.8
ShortAlternate Coding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
18. CWE.9
ShortOriginal Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
20. CWE.10
ShortSecond Alternate Identifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
22. CWE.11
ShortSecond Alternate Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
24. CWE.12
ShortName of Second Alternate Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. CWE.13
ShortSecond Alternate Coding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. CWE.14
ShortCoding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. CWE.15
ShortValue Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. CWE.16
ShortValue Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. CWE.17
ShortAlternate Coding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. CWE.18
ShortAlternate Value Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. CWE.19
ShortAlternate Value Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
40. CWE.20
ShortSecond Alternate Coding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
42. CWE.21
ShortSecond Alternate Value Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
44. CWE.22
ShortSecond Alternate Value Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
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. CWE
Definition

Definition: Specifies a coded element and its associated detail. The CWE data type is used when 1) more than one table may be applicable or 2) the specified HL7 or externally defined table may be extended with local values or 3) when text is in place, the code may be omitted.

Shortcoded with exceptions
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. CWE.1
ShortIdentifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
4. CWE.2
ShortText
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
6. CWE.3
ShortName of Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
8. CWE.4
ShortAlternate Identifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
10. CWE.5
ShortAlternate Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
12. CWE.6
ShortName of Alternate Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
14. CWE.7
ShortCoding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
16. CWE.8
ShortAlternate Coding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
18. CWE.9
ShortOriginal Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
20. CWE.10
ShortSecond Alternate Identifier
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
22. CWE.11
ShortSecond Alternate Text
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
24. CWE.12
ShortName of Second Alternate Coding System
Control0..1
BindingThe codes SHALL be taken from hl7VS-codingSystem
(required to http://terminology.hl7.org/ValueSet/v2-0396)
Typehttp://hl7.org/v2/StructureDefinition/ID
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
26. CWE.13
ShortSecond Alternate Coding System Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
28. CWE.14
ShortCoding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
30. CWE.15
ShortValue Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
32. CWE.16
ShortValue Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
34. CWE.17
ShortAlternate Coding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
36. CWE.18
ShortAlternate Value Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
38. CWE.19
ShortAlternate Value Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
40. CWE.20
ShortSecond Alternate Coding System OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
42. CWE.21
ShortSecond Alternate Value Set OID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/ST
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
44. CWE.22
ShortSecond Alternate Value Set Version ID
Control0..1
Typehttp://hl7.org/v2/StructureDefinition/DTM
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension