Class FHIRRegistryResourceProviderAdapter

    • Constructor Detail

      • FHIRRegistryResourceProviderAdapter

        public FHIRRegistryResourceProviderAdapter()
    • Method Detail

      • getRegistryResource

        public FHIRRegistryResource getRegistryResource​(java.lang.Class<? extends Resource> resourceType,
                                                        java.lang.String url,
                                                        java.lang.String version)
        Description copied from interface: FHIRRegistryResourceProvider
        Get the registry resource from this provider for the given resource type, url and version

        If the version is null, then the latest version of the registry resource is returned (if available)

        Specified by:
        getRegistryResource in interface FHIRRegistryResourceProvider
        Parameters:
        resourceType - the resource type of the registry resource
        url - the url of the registry resource
        version - 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

        public java.util.Collection<FHIRRegistryResource> getRegistryResources​(java.lang.Class<? extends Resource> resourceType)
        Description copied from interface: FHIRRegistryResourceProvider
        Get the registry resources from this provider for the given resource type
        Specified by:
        getRegistryResources in interface FHIRRegistryResourceProvider
        Parameters:
        resourceType - the resource type of the registry resource
        Returns:
        the registry resources from this provider for the given resource type; never null
      • getProfileResources

        public java.util.Collection<FHIRRegistryResource> getProfileResources​(java.lang.String type)
        Description copied from interface: FHIRRegistryResourceProvider
        Get the profile resources from this provider that constrain the given resource type
        Specified by:
        getProfileResources in interface FHIRRegistryResourceProvider
        Parameters:
        type - the constrained resource type
        Returns:
        the profile resources from this provider that constrain the given resource type; never null
      • getSearchParameterResources

        public java.util.Collection<FHIRRegistryResource> getSearchParameterResources​(java.lang.String type)
        Description copied from interface: FHIRRegistryResourceProvider
        Get the search parameter resources from this provider with the given search parameter type (e.g. string, token, etc.)
        Specified by:
        getSearchParameterResources in interface FHIRRegistryResourceProvider
        Parameters:
        type - the search parameter type
        Returns:
        the search parameter resources from this provider with the given search parameter type; never null