class YAHL7::V2::DataType::XCN
This is the HL7 data type for an extended composite name and ID number.
Public Class Methods
repeated?(value)
click to toggle source
# File lib/yahl7/v2/data_type/xcn.rb, line 46 def self.repeated?(value) !value.nil? && value[0].is_a?(Array) end
Public Instance Methods
full_name()
click to toggle source
# File lib/yahl7/v2/data_type/xcn.rb, line 39 def full_name case name_assembly_order&.downcase when 'f' then assemble_name_family_first else assemble_name_given_first end end