HealthcareFhirResourceCreatedEventData Class

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

Implements

@Deprecated
public final class HealthcareFhirResourceCreatedEventData
implements JsonSerializable<HealthcareFhirResourceCreatedEventData>

Note

This class has been deprecated. This class is deprecated and may be removed in future releases. System events are now available in the azure-messaging-eventgrid-systemevents package.

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

Constructor Summary

Constructor Description
HealthcareFhirResourceCreatedEventData()

Creates an instance of HealthcareFhirResourceCreatedEventData class.

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.

HealthcareFhirResourceCreatedEventData setFhirResourceId(String fhirResourceId)

Set the fhirResourceId property: Id of HL7 FHIR resource.

HealthcareFhirResourceCreatedEventData setFhirResourceType(HealthcareFhirResourceType fhirResourceType)

Set the fhirResourceType property: Type of HL7 FHIR resource.

HealthcareFhirResourceCreatedEventData setFhirResourceVersionId(Long fhirResourceVersionId)

Set the fhirResourceVersionId property: VersionId of HL7 FHIR resource.

HealthcareFhirResourceCreatedEventData setFhirServiceHostName(String fhirServiceHostName)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

HealthcareFhirResourceCreatedEventData

public HealthcareFhirResourceCreatedEventData()

Creates an instance of HealthcareFhirResourceCreatedEventData class.

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 an error occurs while reading the HealthcareFhirResourceCreatedEventData.

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.

setFhirResourceId

public HealthcareFhirResourceCreatedEventData setFhirResourceId(String fhirResourceId)

Set the fhirResourceId property: Id of HL7 FHIR resource.

Parameters:

fhirResourceId - the fhirResourceId value to set.

Returns:

the HealthcareFhirResourceCreatedEventData object itself.

setFhirResourceType

public HealthcareFhirResourceCreatedEventData setFhirResourceType(HealthcareFhirResourceType fhirResourceType)

Set the fhirResourceType property: Type of HL7 FHIR resource.

Parameters:

fhirResourceType - the fhirResourceType value to set.

Returns:

the HealthcareFhirResourceCreatedEventData object itself.

setFhirResourceVersionId

public HealthcareFhirResourceCreatedEventData setFhirResourceVersionId(Long fhirResourceVersionId)

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

Parameters:

fhirResourceVersionId - the fhirResourceVersionId value to set.

Returns:

the HealthcareFhirResourceCreatedEventData object itself.

setFhirServiceHostName

public HealthcareFhirResourceCreatedEventData setFhirServiceHostName(String fhirServiceHostName)

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

Parameters:

fhirServiceHostName - the fhirServiceHostName value to set.

Returns:

the HealthcareFhirResourceCreatedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to