Show / Hide Table of Contents

Class ElementDefinitionConstraint

Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.

Inheritance
System.Object
Element
ElementDefinitionConstraint
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 ElementDefinitionConstraint : Element, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_Human

Extension container element for Human

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

_Key

Extension container element for Key

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

_Requirements

Extension container element for Requirements

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

_Severity

Extension container element for Severity

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

_Xpath

Extension container element for Xpath

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

Human

Text that can be used to describe the constraint in messages identifying that the constraint has been violated.

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

Key

Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.

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

Requirements

Description of why this constraint is necessary or appropriate.

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

Severity

Identifies the impact constraint violation has on the conformance of the instance.

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

Xpath

Used in Schematron tests of the validity of the resource.

Declaration
public string Xpath { 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