Class Resource
This is the base resource type for everything.
Implements
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Resource : object, IFhirJsonSerializable
Properties
| Improve this Doc View Source_Id
Extension container element for Id
Declaration
public Element _Id { get; set; }
Property Value
Type | Description |
---|---|
Element |
_ImplicitRules
Extension container element for ImplicitRules
Declaration
public Element _ImplicitRules { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Language
Extension container element for Language
Declaration
public Element _Language { get; set; }
Property Value
Type | Description |
---|---|
Element |
Id
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
ImplicitRules
A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
Declaration
public string ImplicitRules { get; set; }
Property Value
Type | Description |
---|---|
System. |
Language
The base language in which the resource is written.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
System. |
Meta
The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
Declaration
public Meta Meta { get; set; }
Property Value
Type | Description |
---|---|
Meta |
ResourceType
Resource Type Name
Declaration
public virtual string ResourceType { get; }
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 |