diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs
index 64f0794061df..4ca328de541e 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs
@@ -1860,15 +1860,15 @@ public static ApiManagementApiReleaseDeletedEventData ApiManagementApiReleaseDel
return new ApiManagementApiReleaseDeletedEventData(resourceUri);
}
- /// Initializes a new instance of HealthcareFhirResourceEventBaseProperties.
+ /// Initializes a new instance of FhirResourceEventBaseProperties.
/// Type of HL7 FHIR resource.
/// Domain name of FHIR account for this resource.
/// Id of HL7 FHIR resource.
/// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
- /// A new instance for mocking.
- public static HealthcareFhirResourceEventBaseProperties HealthcareFhirResourceEventBaseProperties(HealthcareFhirResourceType? resourceType = null, string resourceFhirAccount = null, string resourceFhirId = null, long? resourceVersionId = null)
+ /// A new instance for mocking.
+ public static FhirResourceEventBaseProperties FhirResourceEventBaseProperties(string resourceType = null, string resourceFhirAccount = null, string resourceFhirId = null, long? resourceVersionId = null)
{
- return new HealthcareFhirResourceEventBaseProperties(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId);
+ return new FhirResourceEventBaseProperties(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId);
}
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceCreatedEventData.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceCreatedEventData.Serialization.cs
similarity index 55%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceCreatedEventData.Serialization.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceCreatedEventData.Serialization.cs
index 65719d7659d3..c19931bc00ae 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceCreatedEventData.Serialization.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceCreatedEventData.Serialization.cs
@@ -12,12 +12,12 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
- [JsonConverter(typeof(HealthcareFhirResourceCreatedEventDataConverter))]
- public partial class HealthcareFhirResourceCreatedEventData
+ [JsonConverter(typeof(FhirResourceCreatedEventDataConverter))]
+ public partial class FhirResourceCreatedEventData
{
- internal static HealthcareFhirResourceCreatedEventData DeserializeHealthcareFhirResourceCreatedEventData(JsonElement element)
+ internal static FhirResourceCreatedEventData DeserializeFhirResourceCreatedEventData(JsonElement element)
{
- Optional resourceType = default;
+ Optional resourceType = default;
Optional resourceFhirAccount = default;
Optional resourceFhirId = default;
Optional resourceVersionId = default;
@@ -25,12 +25,7 @@ internal static HealthcareFhirResourceCreatedEventData DeserializeHealthcareFhir
{
if (property.NameEquals("resourceType"))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- property.ThrowNonNullablePropertyIsNull();
- continue;
- }
- resourceType = new HealthcareFhirResourceType(property.Value.GetString());
+ resourceType = property.Value.GetString();
continue;
}
if (property.NameEquals("resourceFhirAccount"))
@@ -54,19 +49,19 @@ internal static HealthcareFhirResourceCreatedEventData DeserializeHealthcareFhir
continue;
}
}
- return new HealthcareFhirResourceCreatedEventData(Optional.ToNullable(resourceType), resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
+ return new FhirResourceCreatedEventData(resourceType.Value, resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
}
- internal partial class HealthcareFhirResourceCreatedEventDataConverter : JsonConverter
+ internal partial class FhirResourceCreatedEventDataConverter : JsonConverter
{
- public override void Write(Utf8JsonWriter writer, HealthcareFhirResourceCreatedEventData model, JsonSerializerOptions options)
+ public override void Write(Utf8JsonWriter writer, FhirResourceCreatedEventData model, JsonSerializerOptions options)
{
throw new NotImplementedException();
}
- public override HealthcareFhirResourceCreatedEventData Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
+ public override FhirResourceCreatedEventData Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
using var document = JsonDocument.ParseValue(ref reader);
- return DeserializeHealthcareFhirResourceCreatedEventData(document.RootElement);
+ return DeserializeFhirResourceCreatedEventData(document.RootElement);
}
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceCreatedEventData.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceCreatedEventData.cs
similarity index 56%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceCreatedEventData.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceCreatedEventData.cs
index ee531eb1b363..5376cb6da13f 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceCreatedEventData.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceCreatedEventData.cs
@@ -8,19 +8,19 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event.
- public partial class HealthcareFhirResourceCreatedEventData : HealthcareFhirResourceEventBaseProperties
+ public partial class FhirResourceCreatedEventData : FhirResourceEventBaseProperties
{
- /// Initializes a new instance of HealthcareFhirResourceCreatedEventData.
- internal HealthcareFhirResourceCreatedEventData()
+ /// Initializes a new instance of FhirResourceCreatedEventData.
+ internal FhirResourceCreatedEventData()
{
}
- /// Initializes a new instance of HealthcareFhirResourceCreatedEventData.
+ /// Initializes a new instance of FhirResourceCreatedEventData.
/// Type of HL7 FHIR resource.
/// Domain name of FHIR account for this resource.
/// Id of HL7 FHIR resource.
/// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
- internal HealthcareFhirResourceCreatedEventData(HealthcareFhirResourceType? resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId) : base(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId)
+ internal FhirResourceCreatedEventData(string resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId) : base(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId)
{
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceDeletedEventData.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceDeletedEventData.Serialization.cs
similarity index 55%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceDeletedEventData.Serialization.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceDeletedEventData.Serialization.cs
index 9184a4639428..f1781fe13662 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceDeletedEventData.Serialization.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceDeletedEventData.Serialization.cs
@@ -12,12 +12,12 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
- [JsonConverter(typeof(HealthcareFhirResourceDeletedEventDataConverter))]
- public partial class HealthcareFhirResourceDeletedEventData
+ [JsonConverter(typeof(FhirResourceDeletedEventDataConverter))]
+ public partial class FhirResourceDeletedEventData
{
- internal static HealthcareFhirResourceDeletedEventData DeserializeHealthcareFhirResourceDeletedEventData(JsonElement element)
+ internal static FhirResourceDeletedEventData DeserializeFhirResourceDeletedEventData(JsonElement element)
{
- Optional resourceType = default;
+ Optional resourceType = default;
Optional resourceFhirAccount = default;
Optional resourceFhirId = default;
Optional resourceVersionId = default;
@@ -25,12 +25,7 @@ internal static HealthcareFhirResourceDeletedEventData DeserializeHealthcareFhir
{
if (property.NameEquals("resourceType"))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- property.ThrowNonNullablePropertyIsNull();
- continue;
- }
- resourceType = new HealthcareFhirResourceType(property.Value.GetString());
+ resourceType = property.Value.GetString();
continue;
}
if (property.NameEquals("resourceFhirAccount"))
@@ -54,19 +49,19 @@ internal static HealthcareFhirResourceDeletedEventData DeserializeHealthcareFhir
continue;
}
}
- return new HealthcareFhirResourceDeletedEventData(Optional.ToNullable(resourceType), resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
+ return new FhirResourceDeletedEventData(resourceType.Value, resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
}
- internal partial class HealthcareFhirResourceDeletedEventDataConverter : JsonConverter
+ internal partial class FhirResourceDeletedEventDataConverter : JsonConverter
{
- public override void Write(Utf8JsonWriter writer, HealthcareFhirResourceDeletedEventData model, JsonSerializerOptions options)
+ public override void Write(Utf8JsonWriter writer, FhirResourceDeletedEventData model, JsonSerializerOptions options)
{
throw new NotImplementedException();
}
- public override HealthcareFhirResourceDeletedEventData Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
+ public override FhirResourceDeletedEventData Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
using var document = JsonDocument.ParseValue(ref reader);
- return DeserializeHealthcareFhirResourceDeletedEventData(document.RootElement);
+ return DeserializeFhirResourceDeletedEventData(document.RootElement);
}
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceDeletedEventData.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceDeletedEventData.cs
similarity index 56%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceDeletedEventData.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceDeletedEventData.cs
index 3521ed9023ca..031d2a0da6c6 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceDeletedEventData.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceDeletedEventData.cs
@@ -8,19 +8,19 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event.
- public partial class HealthcareFhirResourceDeletedEventData : HealthcareFhirResourceEventBaseProperties
+ public partial class FhirResourceDeletedEventData : FhirResourceEventBaseProperties
{
- /// Initializes a new instance of HealthcareFhirResourceDeletedEventData.
- internal HealthcareFhirResourceDeletedEventData()
+ /// Initializes a new instance of FhirResourceDeletedEventData.
+ internal FhirResourceDeletedEventData()
{
}
- /// Initializes a new instance of HealthcareFhirResourceDeletedEventData.
+ /// Initializes a new instance of FhirResourceDeletedEventData.
/// Type of HL7 FHIR resource.
/// Domain name of FHIR account for this resource.
/// Id of HL7 FHIR resource.
/// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
- internal HealthcareFhirResourceDeletedEventData(HealthcareFhirResourceType? resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId) : base(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId)
+ internal FhirResourceDeletedEventData(string resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId) : base(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId)
{
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceEventBaseProperties.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceEventBaseProperties.Serialization.cs
similarity index 65%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceEventBaseProperties.Serialization.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceEventBaseProperties.Serialization.cs
index a1e91f0ae945..9e00f38ee07f 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceEventBaseProperties.Serialization.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceEventBaseProperties.Serialization.cs
@@ -10,11 +10,11 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
- public partial class HealthcareFhirResourceEventBaseProperties
+ public partial class FhirResourceEventBaseProperties
{
- internal static HealthcareFhirResourceEventBaseProperties DeserializeHealthcareFhirResourceEventBaseProperties(JsonElement element)
+ internal static FhirResourceEventBaseProperties DeserializeFhirResourceEventBaseProperties(JsonElement element)
{
- Optional resourceType = default;
+ Optional resourceType = default;
Optional resourceFhirAccount = default;
Optional resourceFhirId = default;
Optional resourceVersionId = default;
@@ -22,12 +22,7 @@ internal static HealthcareFhirResourceEventBaseProperties DeserializeHealthcareF
{
if (property.NameEquals("resourceType"))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- property.ThrowNonNullablePropertyIsNull();
- continue;
- }
- resourceType = new HealthcareFhirResourceType(property.Value.GetString());
+ resourceType = property.Value.GetString();
continue;
}
if (property.NameEquals("resourceFhirAccount"))
@@ -51,7 +46,7 @@ internal static HealthcareFhirResourceEventBaseProperties DeserializeHealthcareF
continue;
}
}
- return new HealthcareFhirResourceEventBaseProperties(Optional.ToNullable(resourceType), resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
+ return new FhirResourceEventBaseProperties(resourceType.Value, resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
}
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceEventBaseProperties.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceEventBaseProperties.cs
similarity index 71%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceEventBaseProperties.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceEventBaseProperties.cs
index 26e7ce50839e..692ef5c0d948 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceEventBaseProperties.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceEventBaseProperties.cs
@@ -8,19 +8,19 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// Schema of common properties of all FhirResource events.
- public partial class HealthcareFhirResourceEventBaseProperties
+ public partial class FhirResourceEventBaseProperties
{
- /// Initializes a new instance of HealthcareFhirResourceEventBaseProperties.
- internal HealthcareFhirResourceEventBaseProperties()
+ /// Initializes a new instance of FhirResourceEventBaseProperties.
+ internal FhirResourceEventBaseProperties()
{
}
- /// Initializes a new instance of HealthcareFhirResourceEventBaseProperties.
+ /// Initializes a new instance of FhirResourceEventBaseProperties.
/// Type of HL7 FHIR resource.
/// Domain name of FHIR account for this resource.
/// Id of HL7 FHIR resource.
/// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
- internal HealthcareFhirResourceEventBaseProperties(HealthcareFhirResourceType? resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId)
+ internal FhirResourceEventBaseProperties(string resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId)
{
ResourceType = resourceType;
ResourceFhirAccount = resourceFhirAccount;
@@ -29,7 +29,7 @@ internal HealthcareFhirResourceEventBaseProperties(HealthcareFhirResourceType? r
}
/// Type of HL7 FHIR resource.
- public HealthcareFhirResourceType? ResourceType { get; }
+ public string ResourceType { get; }
/// Domain name of FHIR account for this resource.
public string ResourceFhirAccount { get; }
/// Id of HL7 FHIR resource.
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceUpdatedEventData.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceUpdatedEventData.Serialization.cs
similarity index 55%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceUpdatedEventData.Serialization.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceUpdatedEventData.Serialization.cs
index 782bba9710b5..e6f0e073929e 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceUpdatedEventData.Serialization.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceUpdatedEventData.Serialization.cs
@@ -12,12 +12,12 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
- [JsonConverter(typeof(HealthcareFhirResourceUpdatedEventDataConverter))]
- public partial class HealthcareFhirResourceUpdatedEventData
+ [JsonConverter(typeof(FhirResourceUpdatedEventDataConverter))]
+ public partial class FhirResourceUpdatedEventData
{
- internal static HealthcareFhirResourceUpdatedEventData DeserializeHealthcareFhirResourceUpdatedEventData(JsonElement element)
+ internal static FhirResourceUpdatedEventData DeserializeFhirResourceUpdatedEventData(JsonElement element)
{
- Optional resourceType = default;
+ Optional resourceType = default;
Optional resourceFhirAccount = default;
Optional resourceFhirId = default;
Optional resourceVersionId = default;
@@ -25,12 +25,7 @@ internal static HealthcareFhirResourceUpdatedEventData DeserializeHealthcareFhir
{
if (property.NameEquals("resourceType"))
{
- if (property.Value.ValueKind == JsonValueKind.Null)
- {
- property.ThrowNonNullablePropertyIsNull();
- continue;
- }
- resourceType = new HealthcareFhirResourceType(property.Value.GetString());
+ resourceType = property.Value.GetString();
continue;
}
if (property.NameEquals("resourceFhirAccount"))
@@ -54,19 +49,19 @@ internal static HealthcareFhirResourceUpdatedEventData DeserializeHealthcareFhir
continue;
}
}
- return new HealthcareFhirResourceUpdatedEventData(Optional.ToNullable(resourceType), resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
+ return new FhirResourceUpdatedEventData(resourceType.Value, resourceFhirAccount.Value, resourceFhirId.Value, Optional.ToNullable(resourceVersionId));
}
- internal partial class HealthcareFhirResourceUpdatedEventDataConverter : JsonConverter
+ internal partial class FhirResourceUpdatedEventDataConverter : JsonConverter
{
- public override void Write(Utf8JsonWriter writer, HealthcareFhirResourceUpdatedEventData model, JsonSerializerOptions options)
+ public override void Write(Utf8JsonWriter writer, FhirResourceUpdatedEventData model, JsonSerializerOptions options)
{
throw new NotImplementedException();
}
- public override HealthcareFhirResourceUpdatedEventData Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
+ public override FhirResourceUpdatedEventData Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
using var document = JsonDocument.ParseValue(ref reader);
- return DeserializeHealthcareFhirResourceUpdatedEventData(document.RootElement);
+ return DeserializeFhirResourceUpdatedEventData(document.RootElement);
}
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceUpdatedEventData.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceUpdatedEventData.cs
similarity index 56%
rename from sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceUpdatedEventData.cs
rename to sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceUpdatedEventData.cs
index 033023728d34..e0b038963eab 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceUpdatedEventData.cs
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/FhirResourceUpdatedEventData.cs
@@ -8,19 +8,19 @@
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceUpdated event.
- public partial class HealthcareFhirResourceUpdatedEventData : HealthcareFhirResourceEventBaseProperties
+ public partial class FhirResourceUpdatedEventData : FhirResourceEventBaseProperties
{
- /// Initializes a new instance of HealthcareFhirResourceUpdatedEventData.
- internal HealthcareFhirResourceUpdatedEventData()
+ /// Initializes a new instance of FhirResourceUpdatedEventData.
+ internal FhirResourceUpdatedEventData()
{
}
- /// Initializes a new instance of HealthcareFhirResourceUpdatedEventData.
+ /// Initializes a new instance of FhirResourceUpdatedEventData.
/// Type of HL7 FHIR resource.
/// Domain name of FHIR account for this resource.
/// Id of HL7 FHIR resource.
/// VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).
- internal HealthcareFhirResourceUpdatedEventData(HealthcareFhirResourceType? resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId) : base(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId)
+ internal FhirResourceUpdatedEventData(string resourceType, string resourceFhirAccount, string resourceFhirId, long? resourceVersionId) : base(resourceType, resourceFhirAccount, resourceFhirId, resourceVersionId)
{
}
}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceType.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceType.cs
deleted file mode 100644
index 720db48e8be7..000000000000
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/HealthcareFhirResourceType.cs
+++ /dev/null
@@ -1,528 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.ComponentModel;
-
-namespace Azure.Messaging.EventGrid.SystemEvents
-{
- /// Schema of FHIR resource type enumeration.
- public readonly partial struct HealthcareFhirResourceType : IEquatable
- {
- private readonly string _value;
-
- /// Initializes a new instance of .
- /// is null.
- public HealthcareFhirResourceType(string value)
- {
- _value = value ?? throw new ArgumentNullException(nameof(value));
- }
-
- private const string AccountValue = "Account";
- private const string ActivityDefinitionValue = "ActivityDefinition";
- private const string AdverseEventValue = "AdverseEvent";
- private const string AllergyIntoleranceValue = "AllergyIntolerance";
- private const string AppointmentValue = "Appointment";
- private const string AppointmentResponseValue = "AppointmentResponse";
- private const string AuditEventValue = "AuditEvent";
- private const string BasicValue = "Basic";
- private const string BinaryValue = "Binary";
- private const string BiologicallyDerivedProductValue = "BiologicallyDerivedProduct";
- private const string BodySiteValue = "BodySite";
- private const string BodyStructureValue = "BodyStructure";
- private const string BundleValue = "Bundle";
- private const string CapabilityStatementValue = "CapabilityStatement";
- private const string CarePlanValue = "CarePlan";
- private const string CareTeamValue = "CareTeam";
- private const string CatalogEntryValue = "CatalogEntry";
- private const string ChargeItemValue = "ChargeItem";
- private const string ChargeItemDefinitionValue = "ChargeItemDefinition";
- private const string ClaimValue = "Claim";
- private const string ClaimResponseValue = "ClaimResponse";
- private const string ClinicalImpressionValue = "ClinicalImpression";
- private const string CodeSystemValue = "CodeSystem";
- private const string CommunicationValue = "Communication";
- private const string CommunicationRequestValue = "CommunicationRequest";
- private const string CompartmentDefinitionValue = "CompartmentDefinition";
- private const string CompositionValue = "Composition";
- private const string ConceptMapValue = "ConceptMap";
- private const string ConditionValue = "Condition";
- private const string ConsentValue = "Consent";
- private const string ContractValue = "Contract";
- private const string CoverageValue = "Coverage";
- private const string CoverageEligibilityRequestValue = "CoverageEligibilityRequest";
- private const string CoverageEligibilityResponseValue = "CoverageEligibilityResponse";
- private const string DataElementValue = "DataElement";
- private const string DetectedIssueValue = "DetectedIssue";
- private const string DeviceValue = "Device";
- private const string DeviceComponentValue = "DeviceComponent";
- private const string DeviceDefinitionValue = "DeviceDefinition";
- private const string DeviceMetricValue = "DeviceMetric";
- private const string DeviceRequestValue = "DeviceRequest";
- private const string DeviceUseStatementValue = "DeviceUseStatement";
- private const string DiagnosticReportValue = "DiagnosticReport";
- private const string DocumentManifestValue = "DocumentManifest";
- private const string DocumentReferenceValue = "DocumentReference";
- private const string DomainResourceValue = "DomainResource";
- private const string EffectEvidenceSynthesisValue = "EffectEvidenceSynthesis";
- private const string EligibilityRequestValue = "EligibilityRequest";
- private const string EligibilityResponseValue = "EligibilityResponse";
- private const string EncounterValue = "Encounter";
- private const string EndpointValue = "Endpoint";
- private const string EnrollmentRequestValue = "EnrollmentRequest";
- private const string EnrollmentResponseValue = "EnrollmentResponse";
- private const string EpisodeOfCareValue = "EpisodeOfCare";
- private const string EventDefinitionValue = "EventDefinition";
- private const string EvidenceValue = "Evidence";
- private const string EvidenceVariableValue = "EvidenceVariable";
- private const string ExampleScenarioValue = "ExampleScenario";
- private const string ExpansionProfileValue = "ExpansionProfile";
- private const string ExplanationOfBenefitValue = "ExplanationOfBenefit";
- private const string FamilyMemberHistoryValue = "FamilyMemberHistory";
- private const string FlagValue = "Flag";
- private const string GoalValue = "Goal";
- private const string GraphDefinitionValue = "GraphDefinition";
- private const string GroupValue = "Group";
- private const string GuidanceResponseValue = "GuidanceResponse";
- private const string HealthcareServiceValue = "HealthcareService";
- private const string ImagingManifestValue = "ImagingManifest";
- private const string ImagingStudyValue = "ImagingStudy";
- private const string ImmunizationValue = "Immunization";
- private const string ImmunizationEvaluationValue = "ImmunizationEvaluation";
- private const string ImmunizationRecommendationValue = "ImmunizationRecommendation";
- private const string ImplementationGuideValue = "ImplementationGuide";
- private const string InsurancePlanValue = "InsurancePlan";
- private const string InvoiceValue = "Invoice";
- private const string LibraryValue = "Library";
- private const string LinkageValue = "Linkage";
- private const string ListValue = "List";
- private const string LocationValue = "Location";
- private const string MeasureValue = "Measure";
- private const string MeasureReportValue = "MeasureReport";
- private const string MediaValue = "Media";
- private const string MedicationValue = "Medication";
- private const string MedicationAdministrationValue = "MedicationAdministration";
- private const string MedicationDispenseValue = "MedicationDispense";
- private const string MedicationKnowledgeValue = "MedicationKnowledge";
- private const string MedicationRequestValue = "MedicationRequest";
- private const string MedicationStatementValue = "MedicationStatement";
- private const string MedicinalProductValue = "MedicinalProduct";
- private const string MedicinalProductAuthorizationValue = "MedicinalProductAuthorization";
- private const string MedicinalProductContraindicationValue = "MedicinalProductContraindication";
- private const string MedicinalProductIndicationValue = "MedicinalProductIndication";
- private const string MedicinalProductIngredientValue = "MedicinalProductIngredient";
- private const string MedicinalProductInteractionValue = "MedicinalProductInteraction";
- private const string MedicinalProductManufacturedValue = "MedicinalProductManufactured";
- private const string MedicinalProductPackagedValue = "MedicinalProductPackaged";
- private const string MedicinalProductPharmaceuticalValue = "MedicinalProductPharmaceutical";
- private const string MedicinalProductUndesirableEffectValue = "MedicinalProductUndesirableEffect";
- private const string MessageDefinitionValue = "MessageDefinition";
- private const string MessageHeaderValue = "MessageHeader";
- private const string MolecularSequenceValue = "MolecularSequence";
- private const string NamingSystemValue = "NamingSystem";
- private const string NutritionOrderValue = "NutritionOrder";
- private const string ObservationValue = "Observation";
- private const string ObservationDefinitionValue = "ObservationDefinition";
- private const string OperationDefinitionValue = "OperationDefinition";
- private const string OperationOutcomeValue = "OperationOutcome";
- private const string OrganizationValue = "Organization";
- private const string OrganizationAffiliationValue = "OrganizationAffiliation";
- private const string ParametersValue = "Parameters";
- private const string PatientValue = "Patient";
- private const string PaymentNoticeValue = "PaymentNotice";
- private const string PaymentReconciliationValue = "PaymentReconciliation";
- private const string PersonValue = "Person";
- private const string PlanDefinitionValue = "PlanDefinition";
- private const string PractitionerValue = "Practitioner";
- private const string PractitionerRoleValue = "PractitionerRole";
- private const string ProcedureValue = "Procedure";
- private const string ProcedureRequestValue = "ProcedureRequest";
- private const string ProcessRequestValue = "ProcessRequest";
- private const string ProcessResponseValue = "ProcessResponse";
- private const string ProvenanceValue = "Provenance";
- private const string QuestionnaireValue = "Questionnaire";
- private const string QuestionnaireResponseValue = "QuestionnaireResponse";
- private const string ReferralRequestValue = "ReferralRequest";
- private const string RelatedPersonValue = "RelatedPerson";
- private const string RequestGroupValue = "RequestGroup";
- private const string ResearchDefinitionValue = "ResearchDefinition";
- private const string ResearchElementDefinitionValue = "ResearchElementDefinition";
- private const string ResearchStudyValue = "ResearchStudy";
- private const string ResearchSubjectValue = "ResearchSubject";
- private const string ResourceValue = "Resource";
- private const string RiskAssessmentValue = "RiskAssessment";
- private const string RiskEvidenceSynthesisValue = "RiskEvidenceSynthesis";
- private const string ScheduleValue = "Schedule";
- private const string SearchParameterValue = "SearchParameter";
- private const string SequenceValue = "Sequence";
- private const string ServiceDefinitionValue = "ServiceDefinition";
- private const string ServiceRequestValue = "ServiceRequest";
- private const string SlotValue = "Slot";
- private const string SpecimenValue = "Specimen";
- private const string SpecimenDefinitionValue = "SpecimenDefinition";
- private const string StructureDefinitionValue = "StructureDefinition";
- private const string StructureMapValue = "StructureMap";
- private const string SubscriptionValue = "Subscription";
- private const string SubstanceValue = "Substance";
- private const string SubstanceNucleicAcidValue = "SubstanceNucleicAcid";
- private const string SubstancePolymerValue = "SubstancePolymer";
- private const string SubstanceProteinValue = "SubstanceProtein";
- private const string SubstanceReferenceInformationValue = "SubstanceReferenceInformation";
- private const string SubstanceSourceMaterialValue = "SubstanceSourceMaterial";
- private const string SubstanceSpecificationValue = "SubstanceSpecification";
- private const string SupplyDeliveryValue = "SupplyDelivery";
- private const string SupplyRequestValue = "SupplyRequest";
- private const string TaskValue = "Task";
- private const string TerminologyCapabilitiesValue = "TerminologyCapabilities";
- private const string TestReportValue = "TestReport";
- private const string TestScriptValue = "TestScript";
- private const string ValueSetValue = "ValueSet";
- private const string VerificationResultValue = "VerificationResult";
- private const string VisionPrescriptionValue = "VisionPrescription";
-
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Account { get; } = new HealthcareFhirResourceType(AccountValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ActivityDefinition { get; } = new HealthcareFhirResourceType(ActivityDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType AdverseEvent { get; } = new HealthcareFhirResourceType(AdverseEventValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType AllergyIntolerance { get; } = new HealthcareFhirResourceType(AllergyIntoleranceValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Appointment { get; } = new HealthcareFhirResourceType(AppointmentValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType AppointmentResponse { get; } = new HealthcareFhirResourceType(AppointmentResponseValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType AuditEvent { get; } = new HealthcareFhirResourceType(AuditEventValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Basic { get; } = new HealthcareFhirResourceType(BasicValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Binary { get; } = new HealthcareFhirResourceType(BinaryValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType BiologicallyDerivedProduct { get; } = new HealthcareFhirResourceType(BiologicallyDerivedProductValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType BodySite { get; } = new HealthcareFhirResourceType(BodySiteValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType BodyStructure { get; } = new HealthcareFhirResourceType(BodyStructureValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Bundle { get; } = new HealthcareFhirResourceType(BundleValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType CapabilityStatement { get; } = new HealthcareFhirResourceType(CapabilityStatementValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType CarePlan { get; } = new HealthcareFhirResourceType(CarePlanValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType CareTeam { get; } = new HealthcareFhirResourceType(CareTeamValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType CatalogEntry { get; } = new HealthcareFhirResourceType(CatalogEntryValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ChargeItem { get; } = new HealthcareFhirResourceType(ChargeItemValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ChargeItemDefinition { get; } = new HealthcareFhirResourceType(ChargeItemDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Claim { get; } = new HealthcareFhirResourceType(ClaimValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ClaimResponse { get; } = new HealthcareFhirResourceType(ClaimResponseValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ClinicalImpression { get; } = new HealthcareFhirResourceType(ClinicalImpressionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType CodeSystem { get; } = new HealthcareFhirResourceType(CodeSystemValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Communication { get; } = new HealthcareFhirResourceType(CommunicationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType CommunicationRequest { get; } = new HealthcareFhirResourceType(CommunicationRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType CompartmentDefinition { get; } = new HealthcareFhirResourceType(CompartmentDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Composition { get; } = new HealthcareFhirResourceType(CompositionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ConceptMap { get; } = new HealthcareFhirResourceType(ConceptMapValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Condition { get; } = new HealthcareFhirResourceType(ConditionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Consent { get; } = new HealthcareFhirResourceType(ConsentValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Contract { get; } = new HealthcareFhirResourceType(ContractValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Coverage { get; } = new HealthcareFhirResourceType(CoverageValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType CoverageEligibilityRequest { get; } = new HealthcareFhirResourceType(CoverageEligibilityRequestValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType CoverageEligibilityResponse { get; } = new HealthcareFhirResourceType(CoverageEligibilityResponseValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType DataElement { get; } = new HealthcareFhirResourceType(DataElementValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DetectedIssue { get; } = new HealthcareFhirResourceType(DetectedIssueValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Device { get; } = new HealthcareFhirResourceType(DeviceValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType DeviceComponent { get; } = new HealthcareFhirResourceType(DeviceComponentValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType DeviceDefinition { get; } = new HealthcareFhirResourceType(DeviceDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DeviceMetric { get; } = new HealthcareFhirResourceType(DeviceMetricValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DeviceRequest { get; } = new HealthcareFhirResourceType(DeviceRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DeviceUseStatement { get; } = new HealthcareFhirResourceType(DeviceUseStatementValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DiagnosticReport { get; } = new HealthcareFhirResourceType(DiagnosticReportValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DocumentManifest { get; } = new HealthcareFhirResourceType(DocumentManifestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DocumentReference { get; } = new HealthcareFhirResourceType(DocumentReferenceValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType DomainResource { get; } = new HealthcareFhirResourceType(DomainResourceValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType EffectEvidenceSynthesis { get; } = new HealthcareFhirResourceType(EffectEvidenceSynthesisValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType EligibilityRequest { get; } = new HealthcareFhirResourceType(EligibilityRequestValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType EligibilityResponse { get; } = new HealthcareFhirResourceType(EligibilityResponseValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Encounter { get; } = new HealthcareFhirResourceType(EncounterValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Endpoint { get; } = new HealthcareFhirResourceType(EndpointValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType EnrollmentRequest { get; } = new HealthcareFhirResourceType(EnrollmentRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType EnrollmentResponse { get; } = new HealthcareFhirResourceType(EnrollmentResponseValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType EpisodeOfCare { get; } = new HealthcareFhirResourceType(EpisodeOfCareValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType EventDefinition { get; } = new HealthcareFhirResourceType(EventDefinitionValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType Evidence { get; } = new HealthcareFhirResourceType(EvidenceValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType EvidenceVariable { get; } = new HealthcareFhirResourceType(EvidenceVariableValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ExampleScenario { get; } = new HealthcareFhirResourceType(ExampleScenarioValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ExpansionProfile { get; } = new HealthcareFhirResourceType(ExpansionProfileValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ExplanationOfBenefit { get; } = new HealthcareFhirResourceType(ExplanationOfBenefitValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType FamilyMemberHistory { get; } = new HealthcareFhirResourceType(FamilyMemberHistoryValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Flag { get; } = new HealthcareFhirResourceType(FlagValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Goal { get; } = new HealthcareFhirResourceType(GoalValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType GraphDefinition { get; } = new HealthcareFhirResourceType(GraphDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Group { get; } = new HealthcareFhirResourceType(GroupValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType GuidanceResponse { get; } = new HealthcareFhirResourceType(GuidanceResponseValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType HealthcareService { get; } = new HealthcareFhirResourceType(HealthcareServiceValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ImagingManifest { get; } = new HealthcareFhirResourceType(ImagingManifestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ImagingStudy { get; } = new HealthcareFhirResourceType(ImagingStudyValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Immunization { get; } = new HealthcareFhirResourceType(ImmunizationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ImmunizationEvaluation { get; } = new HealthcareFhirResourceType(ImmunizationEvaluationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ImmunizationRecommendation { get; } = new HealthcareFhirResourceType(ImmunizationRecommendationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ImplementationGuide { get; } = new HealthcareFhirResourceType(ImplementationGuideValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType InsurancePlan { get; } = new HealthcareFhirResourceType(InsurancePlanValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType Invoice { get; } = new HealthcareFhirResourceType(InvoiceValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Library { get; } = new HealthcareFhirResourceType(LibraryValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Linkage { get; } = new HealthcareFhirResourceType(LinkageValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType List { get; } = new HealthcareFhirResourceType(ListValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Location { get; } = new HealthcareFhirResourceType(LocationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Measure { get; } = new HealthcareFhirResourceType(MeasureValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MeasureReport { get; } = new HealthcareFhirResourceType(MeasureReportValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Media { get; } = new HealthcareFhirResourceType(MediaValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Medication { get; } = new HealthcareFhirResourceType(MedicationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MedicationAdministration { get; } = new HealthcareFhirResourceType(MedicationAdministrationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MedicationDispense { get; } = new HealthcareFhirResourceType(MedicationDispenseValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicationKnowledge { get; } = new HealthcareFhirResourceType(MedicationKnowledgeValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MedicationRequest { get; } = new HealthcareFhirResourceType(MedicationRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MedicationStatement { get; } = new HealthcareFhirResourceType(MedicationStatementValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProduct { get; } = new HealthcareFhirResourceType(MedicinalProductValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductAuthorization { get; } = new HealthcareFhirResourceType(MedicinalProductAuthorizationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductContraindication { get; } = new HealthcareFhirResourceType(MedicinalProductContraindicationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductIndication { get; } = new HealthcareFhirResourceType(MedicinalProductIndicationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductIngredient { get; } = new HealthcareFhirResourceType(MedicinalProductIngredientValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductInteraction { get; } = new HealthcareFhirResourceType(MedicinalProductInteractionValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductManufactured { get; } = new HealthcareFhirResourceType(MedicinalProductManufacturedValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductPackaged { get; } = new HealthcareFhirResourceType(MedicinalProductPackagedValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductPharmaceutical { get; } = new HealthcareFhirResourceType(MedicinalProductPharmaceuticalValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MedicinalProductUndesirableEffect { get; } = new HealthcareFhirResourceType(MedicinalProductUndesirableEffectValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MessageDefinition { get; } = new HealthcareFhirResourceType(MessageDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType MessageHeader { get; } = new HealthcareFhirResourceType(MessageHeaderValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType MolecularSequence { get; } = new HealthcareFhirResourceType(MolecularSequenceValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType NamingSystem { get; } = new HealthcareFhirResourceType(NamingSystemValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType NutritionOrder { get; } = new HealthcareFhirResourceType(NutritionOrderValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Observation { get; } = new HealthcareFhirResourceType(ObservationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ObservationDefinition { get; } = new HealthcareFhirResourceType(ObservationDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType OperationDefinition { get; } = new HealthcareFhirResourceType(OperationDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType OperationOutcome { get; } = new HealthcareFhirResourceType(OperationOutcomeValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Organization { get; } = new HealthcareFhirResourceType(OrganizationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType OrganizationAffiliation { get; } = new HealthcareFhirResourceType(OrganizationAffiliationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Parameters { get; } = new HealthcareFhirResourceType(ParametersValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Patient { get; } = new HealthcareFhirResourceType(PatientValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType PaymentNotice { get; } = new HealthcareFhirResourceType(PaymentNoticeValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType PaymentReconciliation { get; } = new HealthcareFhirResourceType(PaymentReconciliationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Person { get; } = new HealthcareFhirResourceType(PersonValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType PlanDefinition { get; } = new HealthcareFhirResourceType(PlanDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Practitioner { get; } = new HealthcareFhirResourceType(PractitionerValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType PractitionerRole { get; } = new HealthcareFhirResourceType(PractitionerRoleValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Procedure { get; } = new HealthcareFhirResourceType(ProcedureValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ProcedureRequest { get; } = new HealthcareFhirResourceType(ProcedureRequestValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ProcessRequest { get; } = new HealthcareFhirResourceType(ProcessRequestValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ProcessResponse { get; } = new HealthcareFhirResourceType(ProcessResponseValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Provenance { get; } = new HealthcareFhirResourceType(ProvenanceValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Questionnaire { get; } = new HealthcareFhirResourceType(QuestionnaireValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType QuestionnaireResponse { get; } = new HealthcareFhirResourceType(QuestionnaireResponseValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ReferralRequest { get; } = new HealthcareFhirResourceType(ReferralRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType RelatedPerson { get; } = new HealthcareFhirResourceType(RelatedPersonValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType RequestGroup { get; } = new HealthcareFhirResourceType(RequestGroupValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ResearchDefinition { get; } = new HealthcareFhirResourceType(ResearchDefinitionValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ResearchElementDefinition { get; } = new HealthcareFhirResourceType(ResearchElementDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ResearchStudy { get; } = new HealthcareFhirResourceType(ResearchStudyValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ResearchSubject { get; } = new HealthcareFhirResourceType(ResearchSubjectValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Resource { get; } = new HealthcareFhirResourceType(ResourceValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType RiskAssessment { get; } = new HealthcareFhirResourceType(RiskAssessmentValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType RiskEvidenceSynthesis { get; } = new HealthcareFhirResourceType(RiskEvidenceSynthesisValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Schedule { get; } = new HealthcareFhirResourceType(ScheduleValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType SearchParameter { get; } = new HealthcareFhirResourceType(SearchParameterValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType Sequence { get; } = new HealthcareFhirResourceType(SequenceValue);
- /// The FHIR resource type defined in STU3.
- public static HealthcareFhirResourceType ServiceDefinition { get; } = new HealthcareFhirResourceType(ServiceDefinitionValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType ServiceRequest { get; } = new HealthcareFhirResourceType(ServiceRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Slot { get; } = new HealthcareFhirResourceType(SlotValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Specimen { get; } = new HealthcareFhirResourceType(SpecimenValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SpecimenDefinition { get; } = new HealthcareFhirResourceType(SpecimenDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType StructureDefinition { get; } = new HealthcareFhirResourceType(StructureDefinitionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType StructureMap { get; } = new HealthcareFhirResourceType(StructureMapValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Subscription { get; } = new HealthcareFhirResourceType(SubscriptionValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Substance { get; } = new HealthcareFhirResourceType(SubstanceValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SubstanceNucleicAcid { get; } = new HealthcareFhirResourceType(SubstanceNucleicAcidValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SubstancePolymer { get; } = new HealthcareFhirResourceType(SubstancePolymerValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SubstanceProtein { get; } = new HealthcareFhirResourceType(SubstanceProteinValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SubstanceReferenceInformation { get; } = new HealthcareFhirResourceType(SubstanceReferenceInformationValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SubstanceSourceMaterial { get; } = new HealthcareFhirResourceType(SubstanceSourceMaterialValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType SubstanceSpecification { get; } = new HealthcareFhirResourceType(SubstanceSpecificationValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType SupplyDelivery { get; } = new HealthcareFhirResourceType(SupplyDeliveryValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType SupplyRequest { get; } = new HealthcareFhirResourceType(SupplyRequestValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType Task { get; } = new HealthcareFhirResourceType(TaskValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType TerminologyCapabilities { get; } = new HealthcareFhirResourceType(TerminologyCapabilitiesValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType TestReport { get; } = new HealthcareFhirResourceType(TestReportValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType TestScript { get; } = new HealthcareFhirResourceType(TestScriptValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType ValueSet { get; } = new HealthcareFhirResourceType(ValueSetValue);
- /// The FHIR resource type defined in R4.
- public static HealthcareFhirResourceType VerificationResult { get; } = new HealthcareFhirResourceType(VerificationResultValue);
- /// The FHIR resource type defined in STU3 and R4.
- public static HealthcareFhirResourceType VisionPrescription { get; } = new HealthcareFhirResourceType(VisionPrescriptionValue);
- /// Determines if two values are the same.
- public static bool operator ==(HealthcareFhirResourceType left, HealthcareFhirResourceType right) => left.Equals(right);
- /// Determines if two values are not the same.
- public static bool operator !=(HealthcareFhirResourceType left, HealthcareFhirResourceType right) => !left.Equals(right);
- /// Converts a string to a .
- public static implicit operator HealthcareFhirResourceType(string value) => new HealthcareFhirResourceType(value);
-
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override bool Equals(object obj) => obj is HealthcareFhirResourceType other && Equals(other);
- ///
- public bool Equals(HealthcareFhirResourceType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase);
-
- ///
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override int GetHashCode() => _value?.GetHashCode() ?? 0;
- ///
- public override string ToString() => _value;
- }
-}
diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md b/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md
index 758d93147f6e..819fbeb0074c 100644
--- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md
+++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md
@@ -4,7 +4,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
title: EventGridClient
-require: https://github.com/Azure/azure-rest-api-specs/blob/3b2098c19355859f41e88b2d8b43b04dde887af6/specification/eventgrid/data-plane/readme.md
+require: https://github.com/Azure/azure-rest-api-specs/blob/7569296f2b3ef6af7309c6310a896caf4961b2f1/specification/eventgrid/data-plane/readme.md
```
## Swagger workarounds