Skip to content

Commit

Permalink
hardcoded toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenBarrs committed Oct 22, 2024
1 parent 7fbb9ad commit a7e694e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
6 changes: 5 additions & 1 deletion lib/medical_records/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ module MedicalRecords
class Client < Common::Client::Base
include Common::Client::Concerns::MhvFhirSessionClient

def use_lighthouse
true
end

# Default number of records to request per call when searching
DEFAULT_COUNT = 9999

Expand Down Expand Up @@ -41,7 +45,7 @@ class Client < Common::Client::Base
# @return [String] Base path for dependent URLs
#
def base_path
"#{Settings.mhv.medical_records.host}/fhir/"
use_lighthouse ? "https://sandbox-api.va.gov/services/fhir/v0/r4/" : "#{Settings.mhv.medical_records.host}/fhir/"
end

##
Expand Down
27 changes: 0 additions & 27 deletions lib/medical_records/private.pem

This file was deleted.

0 comments on commit a7e694e

Please sign in to comment.