Share via


Encounter Class

Definition

visit/encounter information.

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

Constructors

Encounter(String)

Initializes a new instance of Encounter.

Properties

Class

The class of the encounter.

Id

The id of the visit.

Period

Time period of the visit. In case of admission, use timePeriod.start to indicate the admission time and timePeriod.end to indicate the discharge time.

Explicit Interface Implementations

IJsonModel<Encounter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<Encounter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<Encounter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<Encounter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<Encounter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to