ElementDefinitionSlicing
open class ElementDefinitionSlicing: Element
This element is sliced - slices follow.
Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).
-
This element is sliced - slices follow.
Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).
Declaration
Swift
override open class var resourceType: String
-
Text description of how slicing works (or not).
Declaration
Swift
public var description_fhir: FHIRString?
-
Element values that are used to distinguish the slices.
Declaration
Swift
public var discriminator: [ElementDefinitionSlicingDiscriminator]?
-
If elements must be in same order as slices.
Declaration
Swift
public var ordered: FHIRBool?
-
Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end.
Declaration
Swift
public var rules: SlicingRules?
-
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
public convenience init(rules: SlicingRules)
-
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)
Parameters
json
The JSON element to use to populate the receiver
context
The instantiation context to use
-
Undocumented
Declaration
Swift
open class ElementDefinitionSlicing: Element