Partager via


FhirR4DomainResource Class

Definition

A resource with narrative, extensions, and contained resources Based on FHIR DomainResource Please note FhirR4DomainResource is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include FhirR4Condition, FhirR4Observation and FhirR4ResearchStudy.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Health.Insights.RadiologyInsights.UnknownFhirR4DomainResource))]
public abstract class FhirR4DomainResource : Azure.Health.Insights.RadiologyInsights.FhirR4Resource, System.ClientModel.Primitives.IJsonModel<Azure.Health.Insights.RadiologyInsights.FhirR4DomainResource>, System.ClientModel.Primitives.IPersistableModel<Azure.Health.Insights.RadiologyInsights.FhirR4DomainResource>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Health.Insights.RadiologyInsights.UnknownFhirR4DomainResource))>]
type FhirR4DomainResource = class
    inherit FhirR4Resource
    interface IJsonModel<FhirR4DomainResource>
    interface IPersistableModel<FhirR4DomainResource>
Public MustInherit Class FhirR4DomainResource
Inherits FhirR4Resource
Implements IJsonModel(Of FhirR4DomainResource), IPersistableModel(Of FhirR4DomainResource)
Inheritance
FhirR4DomainResource
Derived
Attributes
Implements

Constructors

FhirR4DomainResource(String)

Initializes a new instance of FhirR4DomainResource.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from FhirR4Resource)
Contained

Contained, inline Resources.

Extension

Additional Content defined by implementations.

Id

Resource Id.

(Inherited from FhirR4Resource)
ImplicitRules

A set of rules under which this content was created.

(Inherited from FhirR4Resource)
Language

Language of the resource content.

(Inherited from FhirR4Resource)
Meta

Metadata about the resource.

(Inherited from FhirR4Resource)
ModifierExtension

Extensions that cannot be ignored.

ResourceType

The type of resource.

(Inherited from FhirR4Resource)
Text

Text summary of the resource, for human interpretation.

Explicit Interface Implementations

IJsonModel<FhirR4DomainResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FhirR4DomainResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<FhirR4Resource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from FhirR4Resource)
IJsonModel<FhirR4Resource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from FhirR4Resource)
IPersistableModel<FhirR4DomainResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FhirR4DomainResource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FhirR4DomainResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<FhirR4Resource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from FhirR4Resource)
IPersistableModel<FhirR4Resource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from FhirR4Resource)
IPersistableModel<FhirR4Resource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from FhirR4Resource)

Applies to