Sha256: cd20bc4336799ab1428e2d4a9772ca1910e7b56cf0f358a38142d93255e0c39c
Contents?: true
Size: 565 Bytes
Versions: 7
Compression:
Stored size: 565 Bytes
Contents
require 'roqua/healthy/a19/name_parser' module Roqua module Healthy module A19 # The CDIS EPD returns names in a format different from most other EPD vendors. # This parser overrides some methods that are affected by the differences. class CdisNameParser < NameParser def firstname names[:legal].fetch('PID.5.2') end def initials names[:legal].fetch('PID.5.3') end def lastname names[:legal].fetch('PID.5.1').fetch('PID.5.1.1') end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems