HealthcareFhirResourceCreatedEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.models.HealthcareFhirResourceCreatedEventData

Implements

public final class HealthcareFhirResourceCreatedEventData
implements JsonSerializable<HealthcareFhirResourceCreatedEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event.

Method Summary

Modifier and Type Method and Description
static HealthcareFhirResourceCreatedEventData fromJson(JsonReader jsonReader)

Reads an instance of HealthcareFhirResourceCreatedEventData from the JsonReader.

String getFhirResourceId()

Get the fhirResourceId property: Id of HL7 FHIR resource.

HealthcareFhirResourceType getFhirResourceType()

Get the fhirResourceType property: Type of HL7 FHIR resource.

long getFhirResourceVersionId()

Get the fhirResourceVersionId property: VersionId of HL7 FHIR resource.

String getFhirServiceHostName()

Get the fhirServiceHostName property: Domain name of FHIR account for this resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static HealthcareFhirResourceCreatedEventData fromJson(JsonReader jsonReader)

Reads an instance of HealthcareFhirResourceCreatedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HealthcareFhirResourceCreatedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getFhirResourceId

public String getFhirResourceId()

Get the fhirResourceId property: Id of HL7 FHIR resource.

Returns:

the fhirResourceId value.

getFhirResourceType

public HealthcareFhirResourceType getFhirResourceType()

Get the fhirResourceType property: Type of HL7 FHIR resource.

Returns:

the fhirResourceType value.

getFhirResourceVersionId

public long getFhirResourceVersionId()

Get the fhirResourceVersionId property: VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).

Returns:

the fhirResourceVersionId value.

getFhirServiceHostName

public String getFhirServiceHostName()

Get the fhirServiceHostName property: Domain name of FHIR account for this resource.

Returns:

the fhirServiceHostName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to