XCN
type: StructureDefinition
node role: treeRoot
id:
  v: XCN
meta:
  profile:
    v: http://hl7.org/v2/StructureDefinition/complex-data-type-profile
    link: http://hl7.org/v2/StructureDefinition/complex-data-type-profile
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition XCN Profile: HL7 v2 Complex Data Type Profile Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> XCN 0..* V2ComplexDataType extended composite ID number and name for persons #xD; 1 0..1 string Person Identifier #xD; 2 0..1 FN Family Name #xD; 3 0..1 string Given Name #xD; 4 0..1 string Second and Further Given Names or Initials Thereof #xD; 5 0..1 string Suffix #xD; 6 0..1 string Prefix #xD; 7 Degree #xD; 8 0..1 CWE Source Table Binding: http://terminology.hl7.org/ValueSet/v2-0297 (required) #xD; 9 0..1 HD Assigning Authority Binding: http://terminology.hl7.org/ValueSet/v2-0363 (required) #xD; 10 0..1 code Name Type Code Binding: hl7VS-nameType (required) #xD; 11 0..1 string Identifier Check Digit #xD; 12 0..1 code Check Digit Scheme Binding: hl7VS-checkDigitScheme (required) #xD; 13 0..1 code Identifier Type Code Binding: hl7VS-identifierType (required) #xD; 14 0..1 HD Assigning Facility #xD; 15 0..1 code Name Representation Code Binding: hl7VS-name-addressRepresentation (required) #xD; 16 0..1 CWE Name Context Binding: http://terminology.hl7.org/ValueSet/v2-0448 (required) #xD; 17 Name Validity Range #xD; 18 0..1 code Name Assembly Order Binding: hl7VS-nameAssemblyOrder (required) #xD; 19 0..1 dateTime Effective Date #xD; 20 0..1 dateTime Expiration Date #xD; 21 0..1 string Professional Suffix #xD; 22 0..1 CWE Assigning Jurisdiction #xD; 23 0..1 CWE Assigning Agency or Department #xD; 24 0..1 string Security Check #xD; 25 0..1 code Security Check Scheme Binding: hl7VS-securityCheckScheme (required) #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
  value: code
    v: informative
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value: canonical
        v: http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus
        link: http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus
url:
  v: http://hl7.org/v2/StructureDefinition/XCN
version:
  v: 0.0.0
name:
  v: XCN
title:
  v: HL7 v2 XCN Data Type
status:
  v: active
date:
  v: 2025-10-06T13:02:39+00:00
publisher:
  v: HL7 International
contact:
  telecom:
    system:
      v: url
    value:
      v: http://hl7.org/Special/committees/v2mgmt
description:
  v: *Note:* Replaces CN data type as of v 2.3. This data type is used extensively appearing in the PV1, ORC, RXO, RXE, OBR and SCH segments, as well as others, where there is a need to specify the ID number and name of a person. Example without assigning authority and assigning facility: |1234567^Everyman^Adam^A^III^DR^^ADT01^^L^4^M11^MR| Examples with assigning authority and assigning facility: Dr. Harold Hippocrates’ provider ID was assigned by the Provider Master and was first issued at Good Health Hospital within the Community Health and Hospitals System. Since IS table values (first component of the HD) were not used for assigning authority and assigning facility, components 2 and 3 of the HD data type are populated and demoted to sub-components as follows: 12188^Hippocrates^Harold^H^IV^Dr^^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A Ludwig van Beethoven's medical record number was assigned by the Master Patient Index and was first issued at Fairview Hospital within the University Hospitals System. 10535^van Beethoven&van^Ludwig^A^III^Dr^^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/v2/StructureDefinition/XCN
base definition:
  v: http://hl7.org/v2/StructureDefinition/complex-data-type
  link: http://hl7.org/v2/StructureDefinition/complex-data-type
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 0.0.0
  element:
    id:
      v: XCN
    path:
      v: XCN
    short:
      v: extended composite ID number and name for persons
    definition:
      v: Base definition for all types defined in FHIR type system.
    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: XCN.1
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
      value: code
        v: C
    extension:
      extension:
        value: integer
      extension:
        value: boolean
      url:
        v: http://hl7.org/v2/StructureDefinition/conformance-length
    path:
      v: XCN.1
    short:
      v: Person Identifier
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: XCN.1
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/ST
  element:
    id:
      v: XCN.2
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
      value: code
        v: C
    path:
      v: XCN.2
    short:
      v: Family Name
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: XCN.2
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/FN
  element:
    id:
      v: XCN.3
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
      value: code
        v: O
    extension:
      extension:
        value: integer
      extension:
        value: boolean
      url:
        v: http://hl7.org/v2/StructureDefinition/conformance-length
    path:
      v: XCN.3
    short:
      v: Given Name
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: XCN.3
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/ST
  element:
    id:
      v: XCN.4
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
      value: code
        v: O
    extension:
      extension:
        value: integer
      extension:
        value: boolean

v: length

integer
v: 15

v: noTruncate

boolean
v: true

v: length

integer
v: 30

v: noTruncate

boolean
v: true

v: length

integer
v: 30

v: noTruncate

boolean
v: true

v: XCN.4

v: Second and Further Given Names or Initials Thereof

v: 0

v: 1

path:
  v: XCN.4
min:
  v: 0
max:
  v: 1

id:
  v: XCN.5
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 20
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.5
short:
  v: Suffix
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.5
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.6
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 20
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.6
short:
  v: Prefix
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.6
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.7
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: W
path:
  v: XCN.7
short:
  v: Degree
base:
  path:
    v: XCN.7
  min:
    v: 0

id:
  v: XCN.8
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: B
path:
  v: XCN.8
short:
  v: Source Table
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.8
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0297
    link: http://terminology.hl7.org/ValueSet/v2-0297

id:
  v: XCN.9
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
path:
  v: XCN.9
short:
  v: Assigning Authority
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.9
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/HD
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0363
    link: http://terminology.hl7.org/ValueSet/v2-0363

id:
  v: XCN.10
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 5
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.10
short:
  v: Name Type Code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.10
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0200
    link: http://terminology.hl7.org/ValueSet/v2-0200

id:
  v: XCN.11
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 4
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.11
short:
  v: Identifier Check Digit
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.11
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.12
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
extension:
  extension:
    url:
      v: min
    value: integer
      v: 3
  extension:
    url:
      v: max
    value: integer
      v: 3
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.12
short:
  v: Check Digit Scheme
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.12
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0061
    link: http://terminology.hl7.org/ValueSet/v2-0061

id:
  v: XCN.13
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
extension:
  extension:
    url:
      v: min
    value: integer
      v: 2
  extension:
    url:
      v: max
    value: integer
      v: 5
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.13
short:
  v: Identifier Type Code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.13
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0203
    link: http://terminology.hl7.org/ValueSet/v2-0203

id:
  v: XCN.14
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XCN.14
short:
  v: Assigning Facility
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.14
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/HD

id:
  v: XCN.15
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 1
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.15
short:
  v: Name Representation Code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.15
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0465
    link: http://terminology.hl7.org/ValueSet/v2-0465

id:
  v: XCN.16
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XCN.16
short:
  v: Name Context
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.16
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0448
    link: http://terminology.hl7.org/ValueSet/v2-0448

id:
  v: XCN.17
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: W
path:
  v: XCN.17
short:
  v: Name Validity Range
base:
  path:
    v: XCN.17
  min:
    v: 0

id:
  v: XCN.18
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 1
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.18
short:
  v: Name Assembly Order
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.18
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0444
    link: http://terminology.hl7.org/ValueSet/v2-0444

id:
  v: XCN.19
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 8
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.19
short:
  v: Effective Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.19
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XCN.20
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 8
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.20
short:
  v: Expiration Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.20
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XCN.21
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 199
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.21
short:
  v: Professional Suffix
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.21
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.22
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
path:
  v: XCN.22
short:
  v: Assigning Jurisdiction
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.22
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE

id:
  v: XCN.23
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
path:
  v: XCN.23
short:
  v: Assigning Agency or Department
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.23
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE

id:
  v: XCN.24
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 4
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.24
short:
  v: Security Check
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.24
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.25
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 3
  extension:
    url:
      v: max
    value: integer
      v: 3
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.25
short:
  v: Security Check Scheme
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XCN.25
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0904
    link: http://terminology.hl7.org/ValueSet/v2-0904

element:
  id:
    v: XCN
  path:
    v: XCN
  short:
    v: extended composite ID number and name for persons
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: XCN.1
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: C
  extension:
    extension:
      url:
        v: length
      value: integer
        v: 15
    extension:
      url:
        v: noTruncate
      value: boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
  path:
    v: XCN.1
  short:
    v: Person Identifier
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XCN.2
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: C
  path:
    v: XCN.2
  short:
    v: Family Name
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/FN
element:
  id:
    v: XCN.3
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: O
  extension:
    extension:
      url:
        v: length
      value: integer
        v: 30
    extension:
      url:
        v: noTruncate
      value: boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
  path:
    v: XCN.3
  short:
    v: Given Name
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XCN.4
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: O
  extension:
    extension:
      url:
        v: length
      value: integer
        v: 30
    extension:
      url:
        v: noTruncate
      value: boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
  path:
    v: XCN.4
  short:
    v: Second and Further Given Names or Initials Thereof
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XCN.5
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: O
  extension:
    extension:
      url:
        v: length
      value: integer
        v: 20
    extension:
      url:
        v: noTruncate
      value: boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
  path:
    v: XCN.5
  short:
    v: Suffix
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XCN.6
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: O
  extension:
    extension:
      url:
        v: length
      value: integer
        v: 20
    extension:
      url:
        v: noTruncate
      value: boolean
        v: true
    url:
      v: http://hl7.org/v2/StructureDefinition/conformance-length
  path:
    v: XCN.6
  short:
    v: Prefix
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XCN.7
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: W
  path:
    v: XCN.7
  short:
    v: Degree

id:
  v: XCN.8
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: B
path:
  v: XCN.8
short:
  v: Source Table
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0297
    link: http://terminology.hl7.org/ValueSet/v2-0297

id:
  v: XCN.9
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
path:
  v: XCN.9
short:
  v: Assigning Authority
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/HD
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0363
    link: http://terminology.hl7.org/ValueSet/v2-0363

id:
  v: XCN.10
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 5
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.10
short:
  v: Name Type Code
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0200
    link: http://terminology.hl7.org/ValueSet/v2-0200

id:
  v: XCN.11
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 4
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.11
short:
  v: Identifier Check Digit
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.12
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
extension:
  extension:
    url:
      v: min
    value: integer
      v: 3
  extension:
    url:
      v: max
    value: integer
      v: 3
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.12
short:
  v: Check Digit Scheme
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0061
    link: http://terminology.hl7.org/ValueSet/v2-0061

id:
  v: XCN.13
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
extension:
  extension:
    url:
      v: min
    value: integer
      v: 2
  extension:
    url:
      v: max
    value: integer
      v: 5
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.13
short:
  v: Identifier Type Code
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0203
    link: http://terminology.hl7.org/ValueSet/v2-0203

id:
  v: XCN.14
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XCN.14
short:
  v: Assigning Facility
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/HD

id:
  v: XCN.15
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 1
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.15
short:
  v: Name Representation Code
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0465
    link: http://terminology.hl7.org/ValueSet/v2-0465

id:
  v: XCN.16
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XCN.16
short:
  v: Name Context
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0448
    link: http://terminology.hl7.org/ValueSet/v2-0448

id:
  v: XCN.17
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: W
path:
  v: XCN.17
short:
  v: Name Validity Range

id:
  v: XCN.18
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 1
  extension:
    url:
      v: max
    value: integer
      v: 1
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.18
short:
  v: Name Assembly Order
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0444
    link: http://terminology.hl7.org/ValueSet/v2-0444

id:
  v: XCN.19
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 8
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.19
short:
  v: Effective Date
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XCN.20
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 8
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.20
short:
  v: Expiration Date
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XCN.21
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 199
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.21
short:
  v: Professional Suffix
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.22
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
path:
  v: XCN.22
short:
  v: Assigning Jurisdiction
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE

id:
  v: XCN.23
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: C
path:
  v: XCN.23
short:
  v: Assigning Agency or Department
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/CWE

id:
  v: XCN.24
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: length
    value: integer
      v: 4
  extension:
    url:
      v: noTruncate
    value: boolean
      v: true
  url:
    v: http://hl7.org/v2/StructureDefinition/conformance-length
path:
  v: XCN.24
short:
  v: Security Check
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XCN.25
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
extension:
  extension:
    url:
      v: min
    value: integer
      v: 3
  extension:
    url:
      v: max
    value: integer
      v: 3
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XCN.25
short:
  v: Security Check Scheme
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ID
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/v2-0904
    link: http://terminology.hl7.org/ValueSet/v2-0904