CWE
type: StructureDefinition
node role: treeRoot
id:
  v: CWE
meta:
  profile:
    v: http://hl7.org/v2/StructureDefinition/complex-data-type-profile
    l: complex-data-type-profile
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition CWE Profile: HL7 v2 Complex Data Type Profile Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> CWE 0..* V2ComplexDataType coded with exceptions #xD; 1 0..1 string Identifier #xD; 2 0..1 string Text #xD; 3 0..1 code Name of Coding System Binding: hl7VS-codingSystem (required) #xD; 4 0..1 string Alternate Identifier #xD; 5 0..1 string Alternate Text #xD; 6 0..1 code Name of Alternate Coding System Binding: hl7VS-codingSystem (required) #xD; 7 0..1 string Coding System Version ID #xD; 8 0..1 string Alternate Coding System Version ID #xD; 9 0..1 string Original Text #xD; 10 0..1 string Second Alternate Identifier #xD; 11 0..1 string Second Alternate Text #xD; 12 0..1 code Name of Second Alternate Coding System Binding: hl7VS-codingSystem (required) #xD; 13 0..1 string Second Alternate Coding System Version ID #xD; 14 0..1 string Coding System OID #xD; 15 0..1 string Value Set OID #xD; 16 0..1 dateTime Value Set Version ID #xD; 17 0..1 string Alternate Coding System OID #xD; 18 0..1 string Alternate Value Set OID #xD; 19 0..1 dateTime Alternate Value Set Version ID #xD; 20 0..1 string Second Alternate Coding System OID #xD; 21 0..1 string Second Alternate Value Set OID #xD; 22 0..1 dateTime Second Alternate Value Set Version ID #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: informative
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus
        l: hl7.other.uv.v2plus
url:
  v: http://hl7.org/v2/StructureDefinition/CWE
  l: CWE
version:
  v: 0.0.0
name:
  v: CWE
title:
  v: HL7 v2 CWE Data Type
status:
  v: active
date:
  v: 2025-12-05T14:34:37+00:00
publisher:
  v: HL7 International
contact:
  telecom:
    system:
      v: url
    value:
      v: http://hl7.org/Special/committees/v2mgmt
description:
  v: As of v2.7 a third tuple, formerly known as triplet, has been added to the CWE data type. Additionally, 3 new components were added to each tuple such that each tuple now has a total of 7 components. The Original Text component applies to the CWE as a whole. *Note:* The Vocabulary TC is the steward of the CWE data type. The presence of two sets of equivalent codes in this data type is semantically different from a repetition of a CWE-type field. With repetition, several distinct codes (with distinct meanings) may be transmitted. [#CWE_UsageNote .anchor]##*Usage Notes:* The CWE data type should be used for coded fields with one or more of the following characteristics: • The identifier code (CWE.1) component is optional • The set of allowable values from which the identifier code is drawn may be extended on a site-specific basis • An exception identifier code may be encountered; that is, a code that is not defined in the value set (either model or site-extended). This is in contrast to the CNE data type, which requires a code from a non-extendable value set be sent in the identifier code component (CNE.1) in all cases (except, of course, if the entire field is empty and defined as optional at the segment level). The rules for populating CWE components are governed by the status of the identifier code: *Identifier Code Status* *Identifier Code (CWE.1)* *Descriptive Text (CWE.2)* *Coding System (CWE.3)* Contained in model value set Populated May be populated Must be populated with model coding system, or (not recommended) site-specific coding system that is a superset containing model values. Contained in site-specific extensions to model value set Populated May be populated Site-specific coding system. Contained in neither model nor extended value sets Not populated May be populated with the identifier code, free-text description, or a concatenation of the two. Should be human interpretable. Must not be populated. Not supplied; but descriptive text is supplied. Not po…
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/v2/StructureDefinition/CWE
  l: CWE
base definition:
  v: http://hl7.org/v2/StructureDefinition/complex-data-type
  l: complex-data-type
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.0.0
  element:
    id:
      v: CWE
    path:
      v: CWE
    short:
      v: coded with exceptions
    definition:
      v: 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.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: CWE.1
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
        l: optionality
      value: Code
        v: O
    extension:
      extension:
        value: Integer
      extension:
        value: Boolean
      url:
        v: http://hl7.org/v2/StructureDefinition/conformance-length
        l: conformance-length
    path:
      v: CWE.1
    short:
      v: Identifier
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: CWE.1
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/ST
        l: ST
  element:
    id:
      v: CWE.2
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
        l: optionality
      value: Code
        v: O
    extension:
      extension:
        value: Integer
      extension:
        value: Boolean
      url:
        v: http://hl7.org/v2/StructureDefinition/conformance-length
        l: conformance-length
    path:
      v: CWE.2
    short:
      v: Text
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: CWE.2
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/ST
        l: ST
  element:
    id:
      v: CWE.3
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
        l: optionality
      value: Code
        v: C
    extension:
      extension:
        value: Integer
      extension:
        value: Integer
      url:
        v: http://hl7.org/v2/StructureDefinition/length
        l: length
    path:
      v: CWE.3
    short:
      v: Name of Coding System
    min:
      v: 0
    max:
      v: 1

v: length
l: length

Integer
v: 20

v: noTruncate
l: noTruncate

Boolean
v: true

v: length
l: length

Integer
v: 199

v: noTruncate
l: noTruncate

Boolean
v: true

v: min
l: min

Integer
v: 1

v: max
l: max

Integer
v: 12

path:
  v: CWE.3
min:
  v: 0
max:
  v: 1

strength:
  v: required
value set:
  v: http://terminology.hl7.org/ValueSet/v2-0396
  l: v2-0396

id:
  v: CWE.4
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 20
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.4
short:
  v: Alternate Identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.4
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.5
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.5
short:
  v: Alternate Text
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.5
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.6
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: min
      l: min
    value: Integer
      v: 1
  extension:
    url:
      v: max
      l: max
    value: Integer
      v: 12
  url:
    v: http://hl7.org/v2/StructureDefinition/length
    l: length
path:
  v: CWE.6
short:
  v: Name of Alternate Coding System
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.6
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
    l: ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0396
    l: v2-0396

id:
  v: CWE.7
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 10
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.7
short:
  v: Coding System Version ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.7
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.8
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 10
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.8
short:
  v: Alternate Coding System Version ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.8
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.9
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.9
short:
  v: Original Text
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.9
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.10
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 20
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.10
short:
  v: Second Alternate Identifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.10
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.11
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.11
short:
  v: Second Alternate Text
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.11
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.12
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: min
      l: min
    value: Integer
      v: 1
  extension:
    url:
      v: max
      l: max
    value: Integer
      v: 12
  url:
    v: http://hl7.org/v2/StructureDefinition/length
    l: length
path:
  v: CWE.12
short:
  v: Name of Second Alternate Coding System
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.12
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
    l: ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0396
    l: v2-0396

id:
  v: CWE.13
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 10
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.13
short:
  v: Second Alternate Coding System Version ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.13
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.14
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.14
short:
  v: Coding System OID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.14
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.15
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.15
short:
  v: Value Set OID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.15
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.16
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 8
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.16
short:
  v: Value Set Version ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.16
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM
    l: DTM

id:
  v: CWE.17
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.17
short:
  v: Alternate Coding System OID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.17
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.18
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.18
short:
  v: Alternate Value Set OID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.18
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.19
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 8
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.19
short:
  v: Alternate Value Set Version ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.19
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM
    l: DTM

id:
  v: CWE.20
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.20
short:
  v: Second Alternate Coding System OID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.20
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.21
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.21
short:
  v: Second Alternate Value Set OID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.21
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.22
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 8
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.22
short:
  v: Second Alternate Value Set Version ID
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CWE.22
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM
    l: DTM

element:
  id:
    v: CWE
  path:
    v: CWE
  short:
    v: coded with exceptions
  definition:
    v: 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.
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: CWE.1
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
      l: optionality
    value: Code
      v: O
  extension:
    extension:
      url:
        v: length
        l: length
      value: Integer
        v: 20
    extension:
      url:
        v: noTruncate
        l: noTruncate
      value: Boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
      l: conformance-length
  path:
    v: CWE.1
  short:
    v: Identifier
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
      l: ST
element:
  id:
    v: CWE.2
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
      l: optionality
    value: Code
      v: O
  extension:
    extension:
      url:
        v: length
        l: length
      value: Integer
        v: 199
    extension:
      url:
        v: noTruncate
        l: noTruncate
      value: Boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
      l: conformance-length
  path:
    v: CWE.2
  short:
    v: Text
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
      l: ST
element:
  id:
    v: CWE.3
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
      l: optionality
    value: Code
      v: C
  extension:
    extension:
      url:
        v: min
        l: min
      value: Integer
        v: 1
    extension:
      url:
        v: max
        l: max
      value: Integer
        v: 12
    url:
      v: http://hl7.org/v2/StructureDefinition/length
      l: length
  path:
    v: CWE.3
  short:
    v: Name of Coding System
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ID
      l: ID
  binding:
    strength:
      v: required
    value set:
      v: http://terminology.hl7.org/ValueSet/v2-0396
      l: v2-0396
element:
  id:
    v: CWE.4
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
      l: optionality
    value: Code
      v: O
  extension:
    extension:
      url:
        v: length
        l: length
      value: Integer
        v: 20
    extension:
      url:
        v: noTruncate
        l: noTruncate
      value: Boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
      l: conformance-length
  path:
    v: CWE.4
  short:
    v: Alternate Identifier
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
      l: ST
element:
  id:
    v: CWE.5
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
      l: optionality
    value: Code
      v: O
  extension:
    extension:
      url:
        v: length
        l: length
      value: Integer
        v: 199
    extension:
      url:
        v: noTruncate
        l: noTruncate
      value: Boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
      l: conformance-length
  path:
    v: CWE.5
  short:
    v: Alternate Text
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
      l: ST

id:
  v: CWE.6
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: min
      l: min
    value: Integer
      v: 1
  extension:
    url:
      v: max
      l: max
    value: Integer
      v: 12
  url:
    v: http://hl7.org/v2/StructureDefinition/length
    l: length
path:
  v: CWE.6
short:
  v: Name of Alternate Coding System
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
    l: ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0396
    l: v2-0396

id:
  v: CWE.7
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 10
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.7
short:
  v: Coding System Version ID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.8
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 10
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.8
short:
  v: Alternate Coding System Version ID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.9
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.9
short:
  v: Original Text
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.10
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 20
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.10
short:
  v: Second Alternate Identifier
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.11
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.11
short:
  v: Second Alternate Text
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.12
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: min
      l: min
    value: Integer
      v: 1
  extension:
    url:
      v: max
      l: max
    value: Integer
      v: 12
  url:
    v: http://hl7.org/v2/StructureDefinition/length
    l: length
path:
  v: CWE.12
short:
  v: Name of Second Alternate Coding System
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
    l: ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0396
    l: v2-0396

id:
  v: CWE.13
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 10
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.13
short:
  v: Second Alternate Coding System Version ID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.14
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.14
short:
  v: Coding System OID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.15
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.15
short:
  v: Value Set OID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.16
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 8
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.16
short:
  v: Value Set Version ID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM
    l: DTM

id:
  v: CWE.17
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.17
short:
  v: Alternate Coding System OID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.18
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.18
short:
  v: Alternate Value Set OID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.19
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 8
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.19
short:
  v: Alternate Value Set Version ID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM
    l: DTM

id:
  v: CWE.20
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.20
short:
  v: Second Alternate Coding System OID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.21
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: O
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 199
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.21
short:
  v: Second Alternate Value Set OID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST
    l: ST

id:
  v: CWE.22
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
    l: optionality
  value: Code
    v: C
extension:
  extension:
    url:
      v: length
      l: length
    value: Integer
      v: 8
  extension:
    url:
      v: noTruncate
      l: noTruncate
    value: Boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
    l: conformance-length
path:
  v: CWE.22
short:
  v: Second Alternate Value Set Version ID
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM
    l: DTM