Show / Hide Table of Contents

Class Resource

This is the base resource type for everything.

Inheritance
System.Object
Resource
Binary
Bundle
DomainResource
Parameters
Implements
IFhirJsonSerializable
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
| Improve this Doc View Source

_ImplicitRules

Extension container element for ImplicitRules

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

_Language

Extension container element for Language

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

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.String
| Improve this Doc View Source

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.String
| Improve this Doc View Source

Language

The base language in which the resource is written.

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

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
| Improve this Doc View Source

ResourceType

Resource Type Name

Declaration
public virtual string ResourceType { get; }
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