Interface DsfClientProvider
public interface DsfClientProvider
Provides DSF clients for configured (non DSF) FHIR servers and DSF FHIR servers.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault DsfClientgetByEndpoint(org.hl7.fhir.r4.model.Endpoint endpoint) getByEndpointUrl(String webserviceUrl) DSF client for a FHIR server configured via YAML with the given fhirServerId.
Use#localas the fhirServerId for a connection to the local DSF FHIR server.
Use#<value>as the fhirServerId for a connection to a DSF FHIR server with an activeEndpointresource and the given fhirServerId as the "http://dsf.dev/sid/endpoint-identifier" value (ignoring the # character).getLocal()
-
Method Details
-
getById
DSF client for a FHIR server configured via YAML with the given fhirServerId.
Use#localas the fhirServerId for a connection to the local DSF FHIR server.
Use#<value>as the fhirServerId for a connection to a DSF FHIR server with an activeEndpointresource and the given fhirServerId as the "http://dsf.dev/sid/endpoint-identifier" value (ignoring the # character).- Parameters:
fhirServerId- may benull- Returns:
- never
null,Optional.empty()if no client is configured for the given fhirServerId
-
getLocal
DsfClient getLocal() -
getByEndpointUrl
-
getByEndpoint
-