Show / Hide Table of Contents

Class ElementDefinitionSlicing

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).

Inheritance
System.Object
Element
ElementDefinitionSlicing
Implements
IFhirJsonSerializable
Inherited Members
Element.Extension
Element.Fhir_comments
Element._Fhir_comments
Element.Id
Element._Id
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class ElementDefinitionSlicing : Element, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_Description

Extension container element for Description

Declaration
public Element _Description { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Discriminator

Extension container element for Discriminator

Declaration
public List<Element> _Discriminator { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<Element>
| Improve this Doc View Source

_Ordered

Extension container element for Ordered

Declaration
public Element _Ordered { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Rules

Extension container element for Rules

Declaration
public Element _Rules { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

Description

A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Discriminator

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
public List<string> Discriminator { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<System.String>
| Improve this Doc View Source

Ordered

If the matching elements have to occur in the same order as defined in the profile.

Declaration
public bool? Ordered { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

Rules

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
public string Rules { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX