Class PackageRegistryResource

  • All Implemented Interfaces:
    java.lang.Comparable<FHIRRegistryResource>

    public class PackageRegistryResource
    extends FHIRRegistryResource
    A FHIR registry resource that can load a FHIR resource given a path
    • Field Detail

      • path

        protected final java.lang.String path
    • Constructor Detail

      • PackageRegistryResource

        public PackageRegistryResource​(java.lang.Class<? extends Resource> resourceType,
                                       java.lang.String id,
                                       java.lang.String url,
                                       FHIRRegistryResource.Version version,
                                       java.lang.String kind,
                                       java.lang.String type,
                                       java.lang.String path)
    • Method Detail

      • getPath

        public java.lang.String getPath()
      • getResource

        public Resource getResource()
        Get the FHIR resource associated with this registry resource
        Overrides:
        getResource in class FHIRRegistryResource
        Returns:
        the FHIR resource associated with this registry resource