Package com.ibm.fhir.registry.spi
Interface FHIRRegistryResourceProvider
-
- All Known Implementing Classes:
BBResourceProvider
,CoreResourceProvider
,FormularyResourceProvider
,HREXResourceProvider
,MCODEResourceProvider
,PackageRegistryResourceProvider
,PDEXResourceProvider
,PlanNetResourceProvider
,ResourceProvider
,ServerRegistryResourceProvider
,USCoreResourceProvider
public interface FHIRRegistryResourceProvider
An SPI forFHIRRegistryResource
instances
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Collection<FHIRRegistryResource>
getProfileResources()
Get the profiles for all of the resources.Collection<FHIRRegistryResource>
getProfileResources(String type)
Get the profile resources from this provider that constrain the given resource typeFHIRRegistryResource
getRegistryResource(Class<? extends Resource> resourceType, String url, String version)
Get the registry resource from this provider for the given resource type, url and versionCollection<FHIRRegistryResource>
getRegistryResources()
Get all the registry resources from this providerCollection<FHIRRegistryResource>
getRegistryResources(Class<? extends Resource> resourceType)
Get the registry resources from this provider for the given resource typeCollection<FHIRRegistryResource>
getSearchParameterResources(String type)
Get the search parameter resources from this provider with the given search parameter type (e.g.
-
-
-
Method Detail
-
getRegistryResource
FHIRRegistryResource getRegistryResource(Class<? extends Resource> resourceType, String url, String version)
Get the registry resource from this provider for the given resource type, url and versionIf the version is null, then the latest version of the registry resource is returned (if available)
- Parameters:
resourceType
- the resource type of the registry resourceurl
- the url of the registry resourceversion
- the version of the registry resource (optional)- Returns:
- the registry resource from this provider for the given resource type, url and version if exists, null otherwise
-
getRegistryResources
Collection<FHIRRegistryResource> getRegistryResources(Class<? extends Resource> resourceType)
Get the registry resources from this provider for the given resource type- Parameters:
resourceType
- the resource type of the registry resource- Returns:
- the registry resources from this provider for the given resource type
-
getRegistryResources
Collection<FHIRRegistryResource> getRegistryResources()
Get all the registry resources from this provider- Returns:
- all of the registry resources from this provider
-
getProfileResources
Collection<FHIRRegistryResource> getProfileResources(String type)
Get the profile resources from this provider that constrain the given resource type- Parameters:
type
- the constrained resource type- Returns:
- the profile resources from this provider that constrain the given resource type
-
getSearchParameterResources
Collection<FHIRRegistryResource> getSearchParameterResources(String type)
Get the search parameter resources from this provider with the given search parameter type (e.g. string, token, etc.)- Parameters:
type
- the search parameter type- Returns:
- the search parameter resources from this provider with the given search parameter type
-
getProfileResources
default Collection<FHIRRegistryResource> getProfileResources()
Get the profiles for all of the resources.- Returns:
- the profile resources from this provider that constrain the resource types
-
-