Class: Trizetto::Api::PayerList::WebService

Inherits:
WebService
  • Object
show all
Defined in:
lib/trizetto/api/payer_list/web_service.rb

Overview

Ruby wrapper for the PayerList WebService

References

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ WebService

Returns a new instance of WebService.



14
15
16
17
18
19
# File 'lib/trizetto/api/payer_list/web_service.rb', line 14

def initialize(options = {})
  super(options.merge({
    wsdl:        File.join( File.dirname(__FILE__), 'web_service.wsdl' ),
    endpoint:    Trizetto::Api.configuration.payer_list_webservice_endpoint,
  }))
end

Instance Method Details

Retrieves the HTTP location of payer enrollment forms for eligibility.



54
55
56
# File 'lib/trizetto/api/payer_list/web_service.rb', line 54

def doc_links(pid)
  @client.call(:get_doc_links, message: {pid: pid})
end

#payer_listObject

Retrieves all Gateway EDI recognized payers along with their supported transaction types and servicing states and links to their enrollment documentation, if it exists.

The service provides the following information for each payer

  • Type – HCFA or UB.

  • Payer ID – The Gateway EDI payer identification number.

  • Payer Name – The payer name.

  • Nation Wide – Yes or No.

  • Servicing States – List of supported states.

  • Supported Transactions – List of supported transactions.

– Description – A description of the available transactions. Transaction include Claims, Real-time Claim Status, Remittance Advice, Real-time Eligibility, and Electronic COB. – Enrollment Required – Yes or No. – Enrollment Agreement – A http link to the enrollment documentation. – Authorization Required – Yes or No.

  • Provider ID Required – Yes or No.

  • NPI Enabled – Yes or No.

  • Last Date Modified – Last date that payer information was modified.

Note: You probably need to set a long timeout to make this call Note: I’ve never got this request to complete



49
50
51
# File 'lib/trizetto/api/payer_list/web_service.rb', line 49

def payer_list
  @client.call(:get_xml_payer_list, message: {})
end

#pingObject

Tests to see if the service is up

References



25
26
27
# File 'lib/trizetto/api/payer_list/web_service.rb', line 25

def ping
  @client.call(:ping, message: {})
end