class YAHL7::V2::DataType::XPN

This is the HL7 data type for an extended person name. This is the data type used for patient names, etc.

Public Instance Methods

full_name() click to toggle source
# File lib/yahl7/v2/data_type/xpn.rb, line 31
def full_name
  case name_assembly_order&.downcase
  when 'f' then assemble_name_family_first
  else assemble_name_given_first
  end
end