Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 67 additions & 66 deletions flyway/sql/V01_01__tcr_custom_query_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -199,72 +199,73 @@ WHERE default_server = TRUE;
-- Direct FHIR servers
INSERT INTO fhir_servers (name, hostname, last_connection_attempt, last_connection_successful)
VALUES
('Public HAPI: Direct', 'https://hapi.fhir.org/baseR4', current_timestamp, true),
('HELIOS Meld: Direct', 'https://gw.interop.community/HeliosConnectathonSa/open', current_timestamp, true),
('JMC Meld: Direct', 'https://gw.interop.community/JMCHeliosSTISandbox/open', current_timestamp, true),
('Local e2e HAPI Server: Direct', 'http://hapi-fhir-server:8080/fhir', current_timestamp, true),
('OPHDST Meld: Direct', 'https://gw.interop.community/CDCSepHL7Connectatho/open', current_timestamp, true);

-- eHealthExchange FHIR servers
INSERT INTO fhir_servers (name, hostname, headers, last_connection_attempt, last_connection_successful, disable_cert_validation)
VALUES
('HELIOS Meld: eHealthExchange',
'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
'{
"Accept": "application/json, application/*+json, */*",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/fhir+json; charset=UTF-8",
"X-DESTINATION": "MeldOpen",
"X-POU": "PUBHLTH",
"prefer": "return=representation",
"Cache-Control": "no-cache"
}',
current_timestamp,
true,
true),
('JMC Meld: eHealthExchange',
'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
'{
"Accept": "application/json, application/*+json, */*",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/fhir+json; charset=UTF-8",
"X-DESTINATION": "JMCHelios",
"X-POU": "PUBHLTH",
"prefer": "return=representation",
"Cache-Control": "no-cache"
}',
current_timestamp,
true,
true),
('OpenEpic: eHealthExchange',
'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
'{
"Accept": "application/json, application/*+json, */*",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/fhir+json; charset=UTF-8",
"X-DESTINATION": "OpenEpic",
"X-POU": "PUBHLTH",
"prefer": "return=representation",
"Cache-Control": "no-cache"
}',
current_timestamp,
true,
true),
('CernerHelios: eHealthExchange',
'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
'{
"Accept": "application/json, application/*+json, */*",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/fhir+json; charset=UTF-8",
"X-DESTINATION": "CernerHelios",
"X-POU": "PUBHLTH",
"prefer": "return=representation",
"Cache-Control": "no-cache",
"OAUTHSCOPES": "system/Condition.read system/Encounter.read system/Immunization.read system/MedicationRequest.read system/Observation.read system/Patient.read system/Procedure.read system/MedicationAdministration.read system/DiagnosticReport.read system/RelatedPerson.read"
}',
current_timestamp,
true,
true);
('Public HAPI: Direct', 'https://hapi.fhir.org/baseR4', current_timestamp, true)
-- , ('HELIOS Meld: Direct', 'https://gw.interop.community/HeliosConnectathonSa/open', current_timestamp, true)
-- , ('JMC Meld: Direct', 'https://gw.interop.community/JMCHeliosSTISandbox/open', current_timestamp, true)
-- , ('Local e2e HAPI Server: Direct', 'http://hapi-fhir-server:8080/fhir', current_timestamp, true)
-- , ('OPHDST Meld: Direct', 'https://gw.interop.community/CDCSepHL7Connectatho/open', current_timestamp, true)
;

-- eHealthExchange FHIR servers (optional)
-- INSERT INTO fhir_servers (name, hostname, headers, last_connection_attempt, last_connection_successful, disable_cert_validation)
-- VALUES
-- ('HELIOS Meld: eHealthExchange',
-- 'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
-- '{
-- "Accept": "application/json, application/*+json, */*",
-- "Accept-Encoding": "gzip, deflate, br",
-- "Content-Type": "application/fhir+json; charset=UTF-8",
-- "X-DESTINATION": "MeldOpen",
-- "X-POU": "PUBHLTH",
-- "prefer": "return=representation",
-- "Cache-Control": "no-cache"
-- }',
-- current_timestamp,
-- true,
-- true),
-- ('JMC Meld: eHealthExchange',
-- 'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
-- '{
-- "Accept": "application/json, application/*+json, */*",
-- "Accept-Encoding": "gzip, deflate, br",
-- "Content-Type": "application/fhir+json; charset=UTF-8",
-- "X-DESTINATION": "JMCHelios",
-- "X-POU": "PUBHLTH",
-- "prefer": "return=representation",
-- "Cache-Control": "no-cache"
-- }',
-- current_timestamp,
-- true,
-- true),
-- ('OpenEpic: eHealthExchange',
-- 'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
-- '{
-- "Accept": "application/json, application/*+json, */*",
-- "Accept-Encoding": "gzip, deflate, br",
-- "Content-Type": "application/fhir+json; charset=UTF-8",
-- "X-DESTINATION": "OpenEpic",
-- "X-POU": "PUBHLTH",
-- "prefer": "return=representation",
-- "Cache-Control": "no-cache"
-- }',
-- current_timestamp,
-- true,
-- true),
-- ('CernerHelios: eHealthExchange',
-- 'https://concept01.ehealthexchange.org:52780/fhirproxy/r4',
-- '{
-- "Accept": "application/json, application/*+json, */*",
-- "Accept-Encoding": "gzip, deflate, br",
-- "Content-Type": "application/fhir+json; charset=UTF-8",
-- "X-DESTINATION": "CernerHelios",
-- "X-POU": "PUBHLTH",
-- "prefer": "return=representation",
-- "Cache-Control": "no-cache",
-- "OAUTHSCOPES": "system/Condition.read system/Encounter.read system/Immunization.read system/MedicationRequest.read system/Observation.read system/Patient.read system/Procedure.read system/MedicationAdministration.read system/DiagnosticReport.read system/RelatedPerson.read"
-- }',
-- current_timestamp,
-- true,
-- true);

-- Migrate existing servers with Authorization headers to use the basic auth_type
UPDATE fhir_servers
Expand Down
Loading