diff --git a/lib/medical_records/client.rb b/lib/medical_records/client.rb index 8db45263945..31e65d97dc5 100644 --- a/lib/medical_records/client.rb +++ b/lib/medical_records/client.rb @@ -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 @@ -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 ## diff --git a/lib/medical_records/private.pem b/lib/medical_records/private.pem deleted file mode 100644 index 59bd66ac88c..00000000000 --- a/lib/medical_records/private.pem +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEA1Ui745cmFt1R8Cl7ghYhc5N+BDIydhpTX+OJ6/mbz4n17gv5 -TMU88m4hM8fwT5hsJQwfwhbmf2kyR0te5F6S2wLGm/2re1eyTlOyUAf7LZcROKeZ -hMiD2sqNYeGjGUhKadg1j1iq67wKseHchj/0c93B0mL7klyYyonN23CPIvaeSd5a -BkXyMuSU1kE6rIn56zk3pvprSenpQLWNpI5KsinvFvPyb2yUPVEzpv0OXxG64+6l -MlFM3vVVRn7JhtRbc2zimyFXZIcgrrsaAWwA6rH1g6BY/eoZFUchTT5qtbLcJEUU -rvjNAH+LGZagFZToun1/TDIgwFSerfLv9JOJsQIDAQABAoIBAC1wI2cnKlwwpmYt -0Dw0jsfaojwunYV/skd5aEa3lLQwRg6CyofKdWOIhtZLQC0U4eU6ogFtc4mtVaLO -sdahN1QlUT6mWkQauMfrGM/oA2EBEBAr1I7vUPfpsxkpQt/+AKxv/WkekLtMAlNH -NP383g1ZLxOtNr9Frt9nYE3huvzNffV+FXHeJmuO70wCi1VOh38zrZHg5UzK3wXu -wZEaCqWmwcolmWBWGEYLUp6DEcpA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