Class ElementDefinitionConstraint
Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.
Implements
Inherited Members
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 |
_Key
Extension container element for Key
Declaration
public Element _Key { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Requirements
Extension container element for Requirements
Declaration
public Element _Requirements { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Severity
Extension container element for Severity
Declaration
public Element _Severity { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Xpath
Extension container element for Xpath
Declaration
public Element _Xpath { get; set; }
Property Value
Type | Description |
---|---|
Element |
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. |
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. |
Requirements
Description of why this constraint is necessary or appropriate.
Declaration
public string Requirements { get; set; }
Property Value
Type | Description |
---|---|
System. |
Severity
Identifies the impact constraint violation has on the conformance of the instance.
Declaration
public string Severity { get; set; }
Property Value
Type | Description |
---|---|
System. |
Xpath
Used in Schematron tests of the validity of the resource.
Declaration
public string Xpath { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options |
DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)
Deserialize a JSON property
Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options | |
System. |
propertyName |
SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)
Serialize to a JSON object
Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
writer | |
Json |
options | |
System. |
includeStartObject |