class BloomApi::Identifier

An alternate unique identifier for a provider

Public Class Methods

new(raw_identifier) click to toggle source

Creates a new Identifier @param raw_identifier [Hash]

# File lib/bloom_api/identifier.rb, line 7
def initialize raw_identifier
  @raw_identifier = raw_identifier
end

Public Instance Methods

identifier() click to toggle source

@return [String] the unique identifier

# File lib/bloom_api/identifier.rb, line 12
def identifier
  @raw_identifier['identifier']
end
issuer() click to toggle source

@return [String] The issuing party for the identifier

# File lib/bloom_api/identifier.rb, line 17
def issuer
  @raw_identifier['issuer']
end
state() click to toggle source

@return [String] The U.S. state in which the identifier applies

# File lib/bloom_api/identifier.rb, line 22
def state
  @raw_identifier['state']
end
type() click to toggle source

@return [String]

The type of identifier.
Possible values are:
* other
* medicare upin
* medicare id-type unspecified
* medicaid
* medicare oscar/certification
* medicare nsc
* medicare pin
# File lib/bloom_api/identifier.rb, line 36
def type
  @raw_identifier['type']
end