Enum BundleInclusionRule

    • Enum Constant Detail

      • BASED_ON_INCLUDES

        public static final BundleInclusionRule BASED_ON_INCLUDES
        Decision is based on whether the resource's Include is in the IncludeSet (e.g. DiagnosticReport.result). Note that the resource has to be populated to be included. This is the default behavior
      • BASED_ON_RESOURCE_PRESENCE

        public static final BundleInclusionRule BASED_ON_RESOURCE_PRESENCE
        Decision is based on whether the resource reference is set to a populated resource (in which case its included) or just an id (in which case it's not included) This is the original HAPI behavior
    • Method Detail

      • values

        public static BundleInclusionRule[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BundleInclusionRule c : BundleInclusionRule.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BundleInclusionRule valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • shouldIncludeReferencedResource

        public abstract boolean shouldIncludeReferencedResource​(ResourceReferenceInfo theReferenceInfo,
                                                                Set<Include> theIncludes)