/// <summary>
        /// Serialize to a JSON object
        /// </summary>
        public new void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
        {
            if (includeStartObject)
            {
                writer.WriteStartObject();
            }

            ((Fhir.R4.Models.BackboneElement) this).SerializeJson(writer, options, false);

            if (Tissue != null)
            {
                writer.WritePropertyName("tissue");
                Tissue.SerializeJson(writer, options);
            }

            if (Value != null)
            {
                writer.WritePropertyName("value");
                Value.SerializeJson(writer, options);
            }

            if (!string.IsNullOrEmpty(SupportingInformation))
            {
                writer.WriteString("supportingInformation", (string)SupportingInformation !);
            }

            if (_SupportingInformation != null)
            {
                writer.WritePropertyName("_supportingInformation");
                _SupportingInformation.SerializeJson(writer, options);
            }

            if (includeStartObject)
            {
                writer.WriteEndObject();
            }
        }