ex_hl7 v0.3.0 HL7.Composite.XPN

2.9.54 XPN - extended person name

Components:

  • family_name (FN)
  • given_name (ST)
  • second_name (ST)
  • suffix (ST)
  • prefix (ST)
  • degree (IS)
  • name_type_code (ID)
  • name_representation_code (ID)
  • name_context (CE)
  • name_validity (DR)
  • name_assembly_order (ID)

Subcomponents of family_name:

  • surname (ST)
  • own_surname_prefix (ST)
  • own_surname (ST)
  • surname_prefix_from_partner (ST)
  • surname_from_partner (ST)

Subcomponents of name_context:

  • id (ST)
  • text (ST)
  • coding_system (IS)
  • alt_id (ST)
  • alt_text (ST)
  • alt_coding_system (IS)

Subcomponents of name_validity:

  • start_datetime (TS)
  • end_datetime (TS)

Examples

|Smith^John^J^III^DR^PHD^L|

Summary

Functions

Create a new composite field

Types

t :: %HL7.Composite.XPN{degree: binary, family_name: HL7.Composite.FN.t, given_name: binary, name_assembly_order: binary, name_context: HL7.Composite.CE.t, name_representation_code: binary, name_type_code: binary, name_validity: HL7.Composite.DR.t, prefix: binary, second_name: binary, suffix: binary}

Functions

new()

Specs

new :: t

Create a new composite field