Class: BloomApi::Individual

Inherits:
Provider show all
Defined in:
lib/bloom_api/individual.rb

Overview

A class representing an individual provider

Instance Method Summary collapse

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

#credentialString

Returns the provider’s professional credential.

Returns:

  • (String)

    the provider’s professional credential

[View source]

6
7
8
# File 'lib/bloom_api/individual.rb', line 6

def credential
  @raw_provider['credential']
end

#first_nameString

Returns the provider’s first name.

Returns:

  • (String)

    the provider’s first name

[View source]

11
12
13
# File 'lib/bloom_api/individual.rb', line 11

def first_name
  @raw_provider['first_name']
end

#genderString

Returns the provider’s gender.

Returns:

  • (String)

    the provider’s gender

[View source]

16
17
18
# File 'lib/bloom_api/individual.rb', line 16

def gender
  @raw_provider['gender']
end

#last_nameString

Returns the provider’s last name.

Returns:

  • (String)

    the provider’s last name

[View source]

21
22
23
# File 'lib/bloom_api/individual.rb', line 21

def last_name
  @raw_provider['last_name']
end

#middle_nameString

Returns the provider’s middle name.

Returns:

  • (String)

    the provider’s middle name

[View source]

26
27
28
# File 'lib/bloom_api/individual.rb', line 26

def middle_name
  @raw_provider['middle_name']
end

#name_prefixString

Returns the providers name prefix (Mr., Ms., etc.).

Returns:

  • (String)

    the providers name prefix (Mr., Ms., etc.)

[View source]

31
32
33
# File 'lib/bloom_api/individual.rb', line 31

def name_prefix
  @raw_provider['name_prefix']
end

#name_suffixString

Returns the provider’s name suffix (Jr., Sr., Etc.).

Returns:

  • (String)

    the provider’s name suffix (Jr., Sr., Etc.)

[View source]

36
37
38
# File 'lib/bloom_api/individual.rb', line 36

def name_suffix
  @raw_provider['name_suffix']
end

#other_credentialString

Returns an additional professional credential.

Returns:

  • (String)

    an additional professional credential

[View source]

41
42
43
# File 'lib/bloom_api/individual.rb', line 41

def other_credential
  @raw_provider['other_credential']
end

#other_first_nameString

Returns an alternate first name for the provider.

Returns:

  • (String)

    an alternate first name for the provider

[View source]

46
47
48
# File 'lib/bloom_api/individual.rb', line 46

def other_first_name
  @raw_provider['other_first_name']
end

#other_last_nameString

Returns an alternate last name for the provider.

Returns:

  • (String)

    an alternate last name for the provider

[View source]

51
52
53
# File 'lib/bloom_api/individual.rb', line 51

def other_last_name
  @raw_provider['other_last_name']
end

#other_last_name_type_codeString

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.

Returns:

  • (String)

    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

[View source]

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

#other_middle_nameString

Returns the provider’s alternate last name.

Returns:

  • (String)

    the provider’s alternate last name

[View source]

68
69
70
# File 'lib/bloom_api/individual.rb', line 68

def other_middle_name
  @raw_provider['other_middle_name']
end

#other_name_prefixString

Returns the provider’s alternate name prefix.

Returns:

  • (String)

    the provider’s alternate name prefix

[View source]

73
74
75
# File 'lib/bloom_api/individual.rb', line 73

def other_name_prefix
  @raw_provider['other_name_prefix']
end

#other_name_suffixString

Returns the provider’s altername name suffix.

Returns:

  • (String)

    the provider’s altername name suffix

[View source]

78
79
80
# File 'lib/bloom_api/individual.rb', line 78

def other_name_suffix
  @raw_provider['other_name_suffix']
end