Apipie.configure do |config|
  config.app_name                = "popHealth"
  config.api_base_url            = "/api"
  config.doc_base_url            = "/apipie"
  config.default_version         = "3.0"
  config.api_controllers_matcher = ["#{Rails.root}/app/controllers/api/*.rb", "#{Rails.root}/app/controllers/api/admin/*.rb"]
  config.app_info                = <<-EOS
  API documentation for popHealth. This API is used by the web front end of popHealth but
  it can also be used to interact with patient information and clinical quality measure
  calculations from external applications.
EOS
end

Apipie.configure do |config|
  config.app_name                = "popHealth"
  config.api_base_url            = "/api"
  config.doc_base_url            = "/apipie"
  config.default_version         = "5.0"
  config.api_controllers_matcher = ["#{Rails.root}/app/controllers/api/*.rb", "#{Rails.root}/app/controllers/api/admin/*.rb"]
  config.app_info                = <<-EOS
  API documentation for popHealth. This API is used by the web front end of popHealth but
  it can also be used to interact with patient information and clinical quality measure
  calculations from external applications.
EOS
end

Update api version from 3.0 to 5.0 so as not to confuse users
Update api version from 3.0 to 5.0 so as not to confuse users