Show / Hide Table of Contents

Class Element

Base definition for all elements in a resource.

Inheritance
System.Object
Element
Address
Annotation
Attachment
BackboneElement
CodeableConcept
Coding
ContactPoint
ElementDefinition
ElementDefinitionBase
ElementDefinitionBinding
ElementDefinitionConstraint
ElementDefinitionMapping
ElementDefinitionSlicing
ElementDefinitionType
Extension
HumanName
Identifier
Meta
Narrative
Period
Quantity
Range
Ratio
Reference
SampledData
Signature
Timing
TimingRepeat
Implements
IFhirJsonSerializable
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Element : object, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_Fhir_comments

Extension container element for Fhir_comments

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

_Id

Extension container element for Id

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

Extension

May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

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

Fhir_comments

JSON Serialization Comments - not an actual element

Declaration
public List<string> Fhir_comments { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<System.String>
| Improve this Doc View Source

Id

unique id for the element within a resource (for internal references).

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