public enum BundleInclusionRule extends Enum<BundleInclusionRule>
Enum Constant and Description |
---|
BASED_ON_INCLUDES
Decision is based on whether the resource's Include is in the IncludeSet (e.g.
|
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
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
shouldIncludeReferencedResource(ResourceReferenceInfo theReferenceInfo,
Set<Include> theIncludes) |
static BundleInclusionRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleInclusionRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleInclusionRule BASED_ON_INCLUDES
public static final BundleInclusionRule BASED_ON_RESOURCE_PRESENCE
public static BundleInclusionRule[] values()
for (BundleInclusionRule c : BundleInclusionRule.values()) System.out.println(c);
public static BundleInclusionRule valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean shouldIncludeReferencedResource(ResourceReferenceInfo theReferenceInfo, Set<Include> theIncludes)
Copyright © 2014–2019 University Health Network. All rights reserved.