Package dev.dsf.bpe.v2.service
Interface EndpointProvider
public interface EndpointProvider
Provides access to
Endpoint
resources from the DSF FHIR server.-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional
<org.hl7.fhir.r4.model.Endpoint> getEndpoint
(String endpointIdentifierValue) default Optional
<org.hl7.fhir.r4.model.Endpoint> getEndpoint
(String parentOrganizationIdentifierValue, String memberOrganizationIdentifierValue, String memberOrganizationRoleCode) Optional
<org.hl7.fhir.r4.model.Endpoint> getEndpoint
(org.hl7.fhir.r4.model.Identifier endpointIdentifier) Optional
<org.hl7.fhir.r4.model.Endpoint> getEndpoint
(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Identifier memberOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole) getEndpointAddress
(String endpointIdentifierValue) getEndpointAddress
(String parentOrganizationIdentifierValue, String memberOrganizationIdentifierValue, String memberOrganizationRoleCode) getEndpointAddress
(org.hl7.fhir.r4.model.Identifier endpointIdentifier) getEndpointAddress
(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Identifier memberOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole) default List
<org.hl7.fhir.r4.model.Endpoint> getEndpoints
(String parentOrganizationIdentifierValue, String memberOrganizationRoleCode) List
<org.hl7.fhir.r4.model.Endpoint> getEndpoints
(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole) Optional
<org.hl7.fhir.r4.model.Endpoint> default Optional
<org.hl7.fhir.r4.model.Identifier>
-
Method Details
-
getLocalEndpointAddress
String getLocalEndpointAddress()- Returns:
- Local DSF FHIR server base URL, e.g. https://foo.bar/fhir
-
getLocalEndpoint
Optional<org.hl7.fhir.r4.model.Endpoint> getLocalEndpoint()- Returns:
Endpoint
resource from the local DSF FHIR server associated with the configured base URL, emptyOptional
if no such resource exists- See Also:
-
getLocalEndpointIdentifier
- Returns:
- DSF identifier of the
Endpoint
resource from the local DSF FHIR server associated with the configured base URL, emptyOptional
if no such resource exists or theEndpoint
does not have a DSF identifier - See Also:
-
getLocalEndpointIdentifierValue
- Returns:
- DSF identifier value of the
Endpoint
resource from the local DSF FHIR server associated with the configured base URL, emptyOptional
if no such resource exists or theEndpoint
does not have a DSF identifier - See Also:
-
getEndpoint
Optional<org.hl7.fhir.r4.model.Endpoint> getEndpoint(org.hl7.fhir.r4.model.Identifier endpointIdentifier) - Parameters:
endpointIdentifier
- may benull
- Returns:
- Active
Endpoint
resource from the local DSF FHIR server with the given endpointIdentifier, emptyOptional
if no such resource exists or the given identifier isnull
- See Also:
-
getEndpoint
- Parameters:
endpointIdentifierValue
- may benull
- Returns:
- Active
Endpoint
resource from the local DSF FHIR server with the given DSF endpointIdentifierValue, emptyOptional
if no such resource exists or the given identifier value isnull
- See Also:
-
getEndpointAddress
- Parameters:
endpointIdentifier
- may benull
- Returns:
- Address (base URL) of the active
Endpoint
resource from the local DSF FHIR server with the given endpointIdentifier, emptyOptional
if no such resource exists or the given identifier isnull
- See Also:
-
getEndpointAddress
- Parameters:
endpointIdentifierValue
- may benull
- Returns:
- Address (base URL) of the active
Endpoint
resource from the local DSF FHIR server with the given DSF endpointIdentifierValue, emptyOptional
if no such resource exists or the given identifier value isnull
- See Also:
-
getEndpoint
Optional<org.hl7.fhir.r4.model.Endpoint> getEndpoint(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Identifier memberOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole) - Parameters:
parentOrganizationIdentifier
- may benull
memberOrganizationIdentifier
- may benull
memberOrganizationRole
- may benull
- Returns:
- Active
Endpoint
resource from the local DSF FHIR server associated with the given memberOrganizationIdentifier and memberOrganizationRole in a parent organization with the given parentOrganizationIdentifier, emptyOptional
if no such resource exists or one of the parameters isnull
; only considers Endpoints from activeOrganizationAffiliation
resources - See Also:
-
getEndpoint
default Optional<org.hl7.fhir.r4.model.Endpoint> getEndpoint(String parentOrganizationIdentifierValue, String memberOrganizationIdentifierValue, String memberOrganizationRoleCode) - Parameters:
parentOrganizationIdentifierValue
- may benull
memberOrganizationIdentifierValue
- may benull
memberOrganizationRoleCode
- may benull
- Returns:
- Active
Endpoint
resource from the local DSF FHIR server associated with the given DSF memberOrganizationIdentifierValue and memberOrganizationRoleCode in a parent organization with the given DSF parentOrganizationIdentifierValue, emptyOptional
if no such resource exists or one of the parameters isnull
; only considers Endpoints from activeOrganizationAffiliation
resources - See Also:
-
getEndpointAddress
default Optional<String> getEndpointAddress(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Identifier memberOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole) - Parameters:
parentOrganizationIdentifier
- may benull
memberOrganizationIdentifier
- may benull
memberOrganizationRole
- may benull
- Returns:
- Address (base URL) of the active
Endpoint
resource from the local DSF FHIR server associated with the given memberOrganizationIdentifier and memberOrganizationRole in a parent organization with the given parentOrganizationIdentifier, emptyOptional
if no such resource exists or one of the parameters isnull
; only considers Endpoints from activeOrganizationAffiliation
resources - See Also:
-
getEndpointAddress
default Optional<String> getEndpointAddress(String parentOrganizationIdentifierValue, String memberOrganizationIdentifierValue, String memberOrganizationRoleCode) - Parameters:
parentOrganizationIdentifierValue
- may benull
memberOrganizationIdentifierValue
- may benull
memberOrganizationRoleCode
- may benull
- Returns:
- Address (base URL) of the active
Endpoint
resource from the local DSF FHIR server associated with the given DSF memberOrganizationIdentifierValue and memberOrganizationRoleCode in a parent organization with the given DSF parentOrganizationIdentifierValue, emptyOptional
if no such resource exists or one of the parameters isnull
; only considers Endpoints from activeOrganizationAffiliation
resources - See Also:
-
getEndpoints
List<org.hl7.fhir.r4.model.Endpoint> getEndpoints(org.hl7.fhir.r4.model.Identifier parentOrganizationIdentifier, org.hl7.fhir.r4.model.Coding memberOrganizationRole) - Parameters:
parentOrganizationIdentifier
- may benull
memberOrganizationRole
- may benull
- Returns:
- Active
Endpoint
resources from the local DSF FHIR server associated with the given memberOrganizationRole in a parent organization with the given parentOrganizationIdentifier, emptyList
if no resources exist or one of the parameters isnull
; only considers Endpoints from activeOrganizationAffiliation
resources - See Also:
-
getEndpoints
default List<org.hl7.fhir.r4.model.Endpoint> getEndpoints(String parentOrganizationIdentifierValue, String memberOrganizationRoleCode) - Parameters:
parentOrganizationIdentifierValue
- may benull
memberOrganizationRoleCode
- may benull
- Returns:
- Active
Endpoint
resources from the local DSF FHIR server associated with the given memberOrganizationRoleCode in a parent organization with the given DSF parentOrganizationIdentifierValue, emptyList
if no resources exist or one of the parameters isnull
; only considers Endpoints from activeOrganizationAffiliation
resources - See Also:
-