XPN
type: StructureDefinition
node role: treeRoot
id:
  v: XPN
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 XPN Profile: HL7 v2 Complex Data Type Profile Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> XPN 0..* V2ComplexDataType extended person name #xD; 1 1..1 FN Family Name #xD; 2 0..1 string Given Name #xD; 3 0..1 string Second and Further Given Names or Initials Thereof #xD; 4 0..1 string Suffix #xD; 5 0..1 string Prefix #xD; 6 Degree #xD; 7 0..1 code Name Type Code Binding: hl7VS-nameType (required) #xD; 8 0..1 code Name Representation Code Binding: hl7VS-name-addressRepresentation (required) #xD; 9 0..1 CWE Name Context Binding: http://terminology.hl7.org/ValueSet/v2-0448 (required) #xD; 10 Name Validity Range #xD; 11 0..1 code Name Assembly Order Binding: hl7VS-nameAssemblyOrder (required) #xD; 12 0..1 dateTime Effective Date #xD; 13 0..1 dateTime Expiration Date #xD; 14 0..1 string Professional Suffix #xD; 15 0..1 string Called By #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/XPN
version:
  v: 0.0.0
name:
  v: XPN
title:
  v: HL7 v2 XPN 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 PN data type as of v 2.3. *Internationalization Note:* In countries using ideographic or syllabic (phonetic) character sets, it is sometimes necessary to send the name in one or both of these formats, as well as an alphabetic format. The switching between the different character sets can be accomplished using a character set such as JIS X 0202 - ISO 2022 which provides an escape sequence for switching among different character sets and among single-byte and multi-byte character representations. When the name field is repeated, the different repetitions of the name may be represented by these different character sets. The details are as follows. (See also Section 2.9.2, “Escape sequences supporting multiple character sets for PN, XPN, XCN, XON, XAD, FT, ST and TX data types.”) HL7 supports the following standards for Japanese characters: JIS X 0201 for ISO-IR 13 (Japanese Katakana) JIS X 0201 for ISO-IR 14 (Japanese Romaji) JIS X 0208 for ISO-IR 87 (Japanese Kanji, Hiragana and Katakana) JIS X 0212 for ISO-IR 159 (supplementary Japanese Kanji) HL7 supports the following standards for European characters: ISO 8859 (1-9) for ISO-IR 100, 101, 109, 110, 144,127, 126, 138 and 148. Character sets are referenced in HL7 as ASCII, 8859/1,8859/2, ISO IR14, ISO IR87, and ISO IR159. DICOM uses codes laid out in ISO 2375, of the form 'ISO-IR xxx'. HL7 supports this naming as well, to facilitate interoperability. HL7 uses the Basic G0 Set of the International Reference Version of ISO 646:1990 (ISO IR-6) as the default character repertoire for character strings. This is a single-byte character set, identical to ASCII. Each repetition of a XPN, XON, XCN, or XAD field is assumed to begin with the default character set. If another character set is to be used, the HL7 defined escape sequence used to announce that character set must be at the beginning of the repetition, and the HL7 defined escape sequence used to start the default character set must be at the end of th…
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/XPN
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: XPN
    path:
      v: XPN
    short:
      v: extended person name
    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: XPN.1
    extension:
      url:
        v: http://hl7.org/v2/StructureDefinition/optionality
      value: code
        v: RE
    path:
      v: XPN.1
    short:
      v: Family Name
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: XPN.1
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/FN
  element:
    id:
      v: XPN.2
    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: XPN.2
    short:
      v: Given Name
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: XPN.2
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/ST
  element:
    id:
      v: XPN.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: XPN.3
    short:
      v: Second and Further Given Names or Initials Thereof
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: XPN.3
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: http://hl7.org/v2/StructureDefinition/ST
  element:
    id:
      v: XPN.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: 30

v: noTruncate

boolean
v: true

v: length

integer
v: 30

v: noTruncate

boolean
v: true

v: length

integer
v: 20

v: noTruncate

boolean
v: true

v: XPN.4

v: Suffix

v: 0

v: 1

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

id:
  v: XPN.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: XPN.5
short:
  v: Prefix
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.5
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

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

id:
  v: XPN.7
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: 5
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XPN.7
short:
  v: Name Type Code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.7
  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: XPN.8
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: XPN.8
short:
  v: Name Representation Code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.8
  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: XPN.9
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XPN.9
short:
  v: Name Context
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.9
  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: XPN.10
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: W
path:
  v: XPN.10
short:
  v: Name Validity Range
base:
  path:
    v: XPN.10
  min:
    v: 0

id:
  v: XPN.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: 1
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XPN.11
short:
  v: Name Assembly Order
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.11
  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: XPN.12
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XPN.12
short:
  v: Effective Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.12
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XPN.13
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XPN.13
short:
  v: Expiration Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.13
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XPN.14
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: XPN.14
short:
  v: Professional Suffix
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.14
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XPN.15
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: XPN.15
short:
  v: Called By
min:
  v: 0
max:
  v: 1
base:
  path:
    v: XPN.15
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

element:
  id:
    v: XPN
  path:
    v: XPN
  short:
    v: extended person name
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: XPN.1
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: RE
  path:
    v: XPN.1
  short:
    v: Family Name
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/FN
element:
  id:
    v: XPN.2
  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: XPN.2
  short:
    v: Given Name
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XPN.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: XPN.3
  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: XPN.4
  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: XPN.4
  short:
    v: Suffix
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XPN.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: XPN.5
  short:
    v: Prefix
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ST
element:
  id:
    v: XPN.6
  extension:
    url:
      v: http://hl7.org/v2/StructureDefinition/optionality
    value: code
      v: W
  path:
    v: XPN.6
  short:
    v: Degree
element:
  id:
    v: XPN.7
  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: 5
    url:
      v: http://hl7.org/v2/StructureDefinition/length
  path:
    v: XPN.7
  short:
    v: Name Type Code
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.org/v2/StructureDefinition/ID

strength:
  v: required
value set:
  v: http://terminology.hl7.org/ValueSet/v2-0200
  link: http://terminology.hl7.org/ValueSet/v2-0200

id:
  v: XPN.8
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: XPN.8
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: XPN.9
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XPN.9
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: XPN.10
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: W
path:
  v: XPN.10
short:
  v: Name Validity Range

id:
  v: XPN.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: 1
  url:
    v: http://hl7.org/v2/StructureDefinition/length
path:
  v: XPN.11
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: XPN.12
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XPN.12
short:
  v: Effective Date
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XPN.13
extension:
  url:
    v: http://hl7.org/v2/StructureDefinition/optionality
  value: code
    v: O
path:
  v: XPN.13
short:
  v: Expiration Date
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/DTM

id:
  v: XPN.14
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: XPN.14
short:
  v: Professional Suffix
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST

id:
  v: XPN.15
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: XPN.15
short:
  v: Called By
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://hl7.org/v2/StructureDefinition/ST