Class Element
Base definition for all elements in a resource.
Inheritance
System.Object
Element
Implements
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 |
---|---|
fhir |
_Id
Extension container element for Id
Declaration
public Element _Id { get; set; }
Property Value
Type | Description |
---|---|
Element |
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 |
---|---|
fhir |
Fhir_comments
JSON Serialization Comments - not an actual element
Declaration
public List<string> Fhir_comments { get; set; }
Property Value
Type | Description |
---|---|
fhir |
Id
unique id for the element within a resource (for internal references).
Declaration
public string Id { 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 |