次の方法で共有


FhirR4Resource Class

Definition

Resource is the ancestor of DomainResource from which most resources are derived. Bundle, Parameters, and Binary extend Resource directly. Based on [FHIR Resource](https://www.hl7.org/fhir/r4/resource.html

public class FhirR4Resource : System.ClientModel.Primitives.IJsonModel<Azure.Health.Insights.RadiologyInsights.FhirR4Resource>, System.ClientModel.Primitives.IPersistableModel<Azure.Health.Insights.RadiologyInsights.FhirR4Resource>
type FhirR4Resource = class
    interface IJsonModel<FhirR4Resource>
    interface IPersistableModel<FhirR4Resource>
Public Class FhirR4Resource
Implements IJsonModel(Of FhirR4Resource), IPersistableModel(Of FhirR4Resource)
Inheritance
FhirR4Resource
Derived
Implements

Constructors

FhirR4Resource(String)

Initializes a new instance of FhirR4Resource.

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" }.

Id

Resource Id.

ImplicitRules

A set of rules under which this content was created.

Language

Language of the resource content.

Meta

Metadata about the resource.

ResourceType

The type of resource.

Explicit Interface Implementations

IJsonModel<FhirR4Resource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FhirR4Resource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FhirR4Resource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FhirR4Resource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FhirR4Resource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to