Class: Nppes::NpIdentifier
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Nppes::NpIdentifier
- Defined in:
- lib/nppes/models/np_identifier.rb
Instance Method Summary collapse
- #decoded_deactivation_reason ⇒ Object
- #decoded_entity_type ⇒ Object
- #decoded_gender ⇒ Object
- #to_s ⇒ Object
Instance Method Details
#decoded_deactivation_reason ⇒ Object
20 21 22 |
# File 'lib/nppes/models/np_identifier.rb', line 20 def decoded_deactivation_reason Nppes.decode_value(:npi_deactivation_reason_code, npi_deactivation_reason_code) end |
#decoded_entity_type ⇒ Object
16 17 18 |
# File 'lib/nppes/models/np_identifier.rb', line 16 def decoded_entity_type Nppes.decode_value(:entity_type_code, entity_type_code) end |
#decoded_gender ⇒ Object
12 13 14 |
# File 'lib/nppes/models/np_identifier.rb', line 12 def decoded_gender Nppes.decode_value(:gender_code, gender_code) end |
#to_s ⇒ Object
6 7 8 |
# File 'lib/nppes/models/np_identifier.rb', line 6 def to_s "#{prefix} #{first_name} #{middle_name} #{last_name} #{suffix}" end |