Class: BloomApi::Individual
- Defined in:
- lib/bloom_api/individual.rb
Overview
A class representing an individual provider
Instance Method Summary collapse
-
#credential ⇒ String
The provider’s professional credential.
-
#first_name ⇒ String
The provider’s first name.
-
#gender ⇒ String
The provider’s gender.
-
#last_name ⇒ String
The provider’s last name.
-
#middle_name ⇒ String
The provider’s middle name.
-
#name_prefix ⇒ String
The providers name prefix (Mr., Ms., etc.).
-
#name_suffix ⇒ String
The provider’s name suffix (Jr., Sr., Etc.).
-
#other_credential ⇒ String
An additional professional credential.
-
#other_first_name ⇒ String
An alternate first name for the provider.
-
#other_last_name ⇒ String
An alternate last name for the provider.
-
#other_last_name_type_code ⇒ String
A code describing the purpose of the provider’s alternate last name.
-
#other_middle_name ⇒ String
The provider’s alternate last name.
-
#other_name_prefix ⇒ String
The provider’s alternate name prefix.
-
#other_name_suffix ⇒ String
The provider’s altername name suffix.
Methods inherited from Provider
#business_address, #deactivation_date, #deactivation_reason, #initialize, #npi, #other_identifiers, #other_name_type, #practice_address, #reactivation_date, #recorded_at, #replacement_npi, #sole_proprietor?, #specialties, #taxonomy_groups, #type, #updated_at
Constructor Details
This class inherits a constructor from BloomApi::Provider
Instance Method Details
permalink #credential ⇒ String
Returns the provider’s professional credential.
6 7 8 |
# File 'lib/bloom_api/individual.rb', line 6 def credential @raw_provider['credential'] end |
permalink #first_name ⇒ String
Returns the provider’s first name.
11 12 13 |
# File 'lib/bloom_api/individual.rb', line 11 def first_name @raw_provider['first_name'] end |
permalink #gender ⇒ String
Returns the provider’s gender.
16 17 18 |
# File 'lib/bloom_api/individual.rb', line 16 def gender @raw_provider['gender'] end |
permalink #last_name ⇒ String
Returns the provider’s last name.
21 22 23 |
# File 'lib/bloom_api/individual.rb', line 21 def last_name @raw_provider['last_name'] end |
permalink #middle_name ⇒ String
Returns the provider’s middle name.
26 27 28 |
# File 'lib/bloom_api/individual.rb', line 26 def middle_name @raw_provider['middle_name'] end |
permalink #name_prefix ⇒ String
Returns the providers name prefix (Mr., Ms., etc.).
31 32 33 |
# File 'lib/bloom_api/individual.rb', line 31 def name_prefix @raw_provider['name_prefix'] end |
permalink #name_suffix ⇒ String
Returns the provider’s name suffix (Jr., Sr., Etc.).
36 37 38 |
# File 'lib/bloom_api/individual.rb', line 36 def name_suffix @raw_provider['name_suffix'] end |
permalink #other_credential ⇒ String
Returns an additional professional credential.
41 42 43 |
# File 'lib/bloom_api/individual.rb', line 41 def other_credential @raw_provider['other_credential'] end |
permalink #other_first_name ⇒ String
Returns an alternate first name for the provider.
46 47 48 |
# File 'lib/bloom_api/individual.rb', line 46 def other_first_name @raw_provider['other_first_name'] end |
permalink #other_last_name ⇒ String
Returns an alternate last name for the provider.
51 52 53 |
# File 'lib/bloom_api/individual.rb', line 51 def other_last_name @raw_provider['other_last_name'] end |
permalink #other_last_name_type_code ⇒ String
Returns a code describing the purpose of the provider’s alternate last name. Possible values are:
-
former name
-
professional name
-
doing business as
-
former legal business name
-
other name.
63 64 65 |
# File 'lib/bloom_api/individual.rb', line 63 def other_last_name_type_code @raw_provider['provider_other_last_name_type_code'] end |
permalink #other_middle_name ⇒ String
Returns the provider’s alternate last name.
68 69 70 |
# File 'lib/bloom_api/individual.rb', line 68 def other_middle_name @raw_provider['other_middle_name'] end |
permalink #other_name_prefix ⇒ String
Returns the provider’s alternate name prefix.
73 74 75 |
# File 'lib/bloom_api/individual.rb', line 73 def other_name_prefix @raw_provider['other_name_prefix'] end |
permalink #other_name_suffix ⇒ String
Returns the provider’s altername name suffix.
78 79 80 |
# File 'lib/bloom_api/individual.rb', line 78 def other_name_suffix @raw_provider['other_name_suffix'] end |