ElementDefinitionSlicingDiscriminator

open class ElementDefinitionSlicingDiscriminator: Element

Element values that are used to distinguish the slices.

Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.

  • Element values that are used to distinguish the slices.

    Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.

    Declaration

    Swift

    override open class var resourceType: String
  • Path to element value.

    Declaration

    Swift

    public var path: FHIRString?
  • How the element value is interpreted when discrimination is evaluated.

    Declaration

    Swift

    public var type: DiscriminatorType?
  • Convenience initializer, taking all required properties as arguments.

    Declaration

    Swift

    public convenience init(path: FHIRString, type: DiscriminatorType)
  • 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 ElementDefinitionSlicingDiscriminator: Element