Package dev.dsf.bpe.v1.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, org.hl7.fhir.r4.model.Coding memberOrganizationRole) 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, org.hl7.fhir.r4.model.Coding memberOrganizationRole) 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, org.hl7.fhir.r4.model.Coding memberOrganizationRole) 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:
Endpointresource from the local DSF FHIR server associated with the configured base URL, emptyOptionalif no such resource exists- See Also:
-
getLocalEndpointIdentifier
- Returns:
- DSF identifier of the
Endpointresource from the local DSF FHIR server associated with the configured base URL, emptyOptionalif no such resource exists or theEndpointdoes not have a DSF identifier - See Also:
-
getLocalEndpointIdentifierValue
- Returns:
- DSF identifier value of the
Endpointresource from the local DSF FHIR server associated with the configured base URL, emptyOptionalif no such resource exists or theEndpointdoes 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
Endpointresource from the local DSF FHIR server with the given endpointIdentifier, emptyOptionalif no such resource exists or the given identifier isnull
-
getEndpoint
- Parameters:
endpointIdentifierValue- may benull- Returns:
- Active
Endpointresource from the local DSF FHIR server with the given DSF endpointIdentifierValue, emptyOptionalif no such resource exists or the given identifier value isnull - See Also:
-
getEndpointAddress
- Parameters:
endpointIdentifier- may benull- Returns:
- Address (base URL) of the active
Endpointresource from the local DSF FHIR server with the given endpointIdentifier, emptyOptionalif no such resource exists or the given identifier isnull
-
getEndpointAddress
- Parameters:
endpointIdentifierValue- may benull- Returns:
- Address (base URL) of the active
Endpointresource from the local DSF FHIR server with the given DSF endpointIdentifierValue, emptyOptionalif no such resource exists or the given identifier value isnull
-
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 benullmemberOrganizationIdentifier- may benullmemberOrganizationRole- may benull- Returns:
- Active
Endpointresource from the local DSF FHIR server associated with the given memberOrganizationIdentifier and memberOrganizationRole in a parent organization with the given parentOrganizationIdentifier, emptyOptionalif no such resource exists or one of the parameters isnull; only considers Endpoints from activeOrganizationAffiliationresources
-
getEndpoint
default Optional<org.hl7.fhir.r4.model.Endpoint> getEndpoint(String parentOrganizationIdentifierValue, String memberOrganizationIdentifierValue, org.hl7.fhir.r4.model.Coding memberOrganizationRole) - Parameters:
parentOrganizationIdentifierValue- may benullmemberOrganizationIdentifierValue- may benullmemberOrganizationRole- may benull- Returns:
- Active
Endpointresource from the local DSF FHIR server associated with the given DSF memberOrganizationIdentifierValue and memberOrganizationRole in a parent organization with the given DSF parentOrganizationIdentifierValue, emptyOptionalif no such resource exists or one of the parameters isnull; only considers Endpoints from activeOrganizationAffiliationresources - 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 benullmemberOrganizationIdentifier- may benullmemberOrganizationRole- may benull- Returns:
- Address (base URL) of the active
Endpointresource from the local DSF FHIR server associated with the given memberOrganizationIdentifier and memberOrganizationRole in a parent organization with the given parentOrganizationIdentifier, emptyOptionalif no such resource exists or one of the parameters isnull; only considers Endpoints from activeOrganizationAffiliationresources
-
getEndpointAddress
default Optional<String> getEndpointAddress(String parentOrganizationIdentifierValue, String memberOrganizationIdentifierValue, org.hl7.fhir.r4.model.Coding memberOrganizationRole) - Parameters:
parentOrganizationIdentifierValue- may benullmemberOrganizationIdentifierValue- may benullmemberOrganizationRole- may benull- Returns:
- Address (base URL) of the active
Endpointresource from the local DSF FHIR server associated with the given DSF memberOrganizationIdentifierValue and memberOrganizationRole in a parent organization with the given DSF parentOrganizationIdentifierValue, emptyOptionalif no such resource exists or one of the parameters isnull; only considers Endpoints from activeOrganizationAffiliationresources - 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 benullmemberOrganizationRole- may benull- Returns:
- Active
Endpointresources from the local DSF FHIR server associated with the given memberOrganizationRole in a parent organization with the given parentOrganizationIdentifier, emptyListif no resources exist or one of the parameters isnull; only considers Endpoints from activeOrganizationAffiliationresources
-
getEndpoints
default List<org.hl7.fhir.r4.model.Endpoint> getEndpoints(String parentOrganizationIdentifierValue, org.hl7.fhir.r4.model.Coding memberOrganizationRole) - Parameters:
parentOrganizationIdentifierValue- may benullmemberOrganizationRole- may benull- Returns:
- Active
Endpointresources from the local DSF FHIR server associated with the given memberOrganizationRole in a parent organization with the given DSF parentOrganizationIdentifierValue, emptyListif no resources exist or one of the parameters isnull; only considers Endpoints from activeOrganizationAffiliationresources - See Also:
-