All URIs are relative to https://api.vericred.com/
| Method | HTTP request | Description |
|---|---|---|
| create_network_comparisons | POST /networks/{id}/network_comparisons | Network Comparisons |
| list_networks | GET /networks | Networks |
| show_network | GET /networks/{id} | Network Details |
NetworkComparisonResponse create_network_comparisons(id, body)
Network Comparisons
Compare provider counts in a given area between a base network and one or more comparison networks. #### Comparing Networks Comparison of provider counts within a radius requires that you provide a zip_code and radius to use as a search area. The response returns the total number of unique Providers in the Base Network (i.e. those who are not present in the Comparison Network), The number of unique Providers in the Comparison Network (i.e. those who are not present in the Base Network), and the count of Providers who are in both Networks
# load the gem
require 'vericred_client'
# setup authorization
VericredClient.configure do |config|
# Configure API key authorization: Vericred-Api-Key
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
end
api_instance = VericredClient::NetworksApi.new
id = 100001 # Integer | Primary key of the base network
body = VericredClient::NetworkComparisonRequest.new # NetworkComparisonRequest |
begin
#Network Comparisons
result = api_instance.create_network_comparisons(id, body)
p result
rescue VericredClient::ApiError => e
puts "Exception when calling NetworksApi->create_network_comparisons: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Primary key of the base network | |
| body | NetworkComparisonRequest |
- Content-Type: application/json
- Accept: application/json
NetworkSearchResponse list_networks(carrier_id, opts)
Networks
A network is a list of the doctors, other health care providers, and hospitals that a plan has contracted with to provide medical care to its members. This endpoint is paginated.
# load the gem
require 'vericred_client'
# setup authorization
VericredClient.configure do |config|
# Configure API key authorization: Vericred-Api-Key
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
end
api_instance = VericredClient::NetworksApi.new
carrier_id = "33333" # String | Carrier HIOS Issuer ID
opts = {
page: 1, # Integer | Page of paginated response
per_page: 1 # Integer | Responses per page
}
begin
#Networks
result = api_instance.list_networks(carrier_id, opts)
p result
rescue VericredClient::ApiError => e
puts "Exception when calling NetworksApi->list_networks: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| carrier_id | String | Carrier HIOS Issuer ID | |
| page | Integer | Page of paginated response | [optional] |
| per_page | Integer | Responses per page | [optional] |
- Content-Type: application/json
- Accept: application/json
NetworkDetailsResponse show_network(id)
Network Details
A network is a list of the doctors, other health care providers, and hospitals that a plan has contracted with to provide medical care to its members.
# load the gem
require 'vericred_client'
# setup authorization
VericredClient.configure do |config|
# Configure API key authorization: Vericred-Api-Key
config.api_key['Vericred-Api-Key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Vericred-Api-Key'] = 'Bearer'
end
api_instance = VericredClient::NetworksApi.new
id = 100001 # Integer | Primary key of the network
begin
#Network Details
result = api_instance.show_network(id)
p result
rescue VericredClient::ApiError => e
puts "Exception when calling NetworksApi->show_network: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Primary key of the network |
- Content-Type: application/json
- Accept: application/json