//    Copyright 2019 Google Inc.
//
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
//
//        https://www.apache.org/licenses/LICENSE-2.0
//
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.

syntax = "proto3";

package google.fhir.r4.core;

import "google/fhir/core/proto/annotations.proto";
import "google/fhir/r4/proto/core/codes.proto";
import "google/fhir/r4/proto/core/datatypes.proto";
import "google/fhir/r4/proto/core/valuesets.proto";

option java_multiple_files = true;
option java_package = "com.google.fhir.r4.core";
option (.google.fhir.proto.fhir_version) = R4;
option go_package = "github.com/google/fhir/go/google/fhir/r4/proto/core/extensions_go_proto";

// Auto-generated from StructureDefinition for AD-use.
// BAD | CONF | HP | HV | DIR | PUB | PHYS | PST.
// See http://hl7.org/fhir/StructureDefinition/iso21090-AD-use
message AddressADUse {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/postal-address-use";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    PostalAddressUseValueSet.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-additionalLocator.
// additionalLocator.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
message AddressADXPAdditionalLocator {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-buildingNumberSuffix.
// buildingNumberSuffix.
// See
// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix
message AddressADXPBuildingNumberSuffix {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-careOf.
// careOf.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf
message AddressADXPCareOf {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-censusTract.
// censusTract.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract
message AddressADXPCensusTract {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-delimiter.
// delimiter.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter
message AddressADXPDelimiter {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-deliveryAddressLine.
// deliveryAddressLine.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine
message AddressADXPDeliveryAddressLine {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-deliveryInstallationArea.
// deliveryInstallationArea.
// See
// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea
message AddressADXPDeliveryInstallationArea {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for
// ADXP-deliveryInstallationQualifier. deliveryInstallationQualifier. See
// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier
message AddressADXPDeliveryInstallationQualifier {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-deliveryInstallationType.
// deliveryInstallationType.
// See
// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType
message AddressADXPDeliveryInstallationType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-deliveryMode.
// deliveryMode.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode
message AddressADXPDeliveryMode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-deliveryModeIdentifier.
// deliveryModeIdentifier.
// See
// http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier
message AddressADXPDeliveryModeIdentifier {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-direction.
// direction.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction
message AddressADXPDirection {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-houseNumber.
// houseNumber.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
message AddressADXPHouseNumber {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-houseNumberNumeric.
// houseNumberNumeric.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric
message AddressADXPHouseNumberNumeric {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-postBox.
// postBox.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox
message AddressADXPPostBox {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-precinct.
// precinct.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct
message AddressADXPPrecinct {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-streetAddressLine.
// streetAddressLine.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine
message AddressADXPStreetAddressLine {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-streetName.
// streetName.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName
message AddressADXPStreetName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-streetNameBase.
// streetNameBase.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase
message AddressADXPStreetNameBase {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-streetNameType.
// streetNameType.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType
message AddressADXPStreetNameType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-unitID.
// unitID.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID
message AddressADXPUnitID {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ADXP-unitType.
// unitType.
// See http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType
message AddressADXPUnitType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Geolocation.
// The absolute geographic location.
// See http://hl7.org/fhir/StructureDefinition/geolocation
message AddressGeolocation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/geolocation";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Latitude with WGS84 datum
  Decimal latitude = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Longitude with WGS84 datum
  Decimal longitude = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for administration.
// Actual medication record, if known.
// See http://hl7.org/fhir/StructureDefinition/openEHR-administration
message AllergyIntoleranceAdministration {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-administration";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "MedicationAdministration"
  ];
}

// Auto-generated from StructureDefinition for assertedDate.
// Date the allergy or intolerance was first asserted.
// See http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate
message AllergyIntoleranceAssertedDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for careplan.
// Clinical Management Details.
// See http://hl7.org/fhir/StructureDefinition/openEHR-careplan
message AllergyIntoleranceCareplan {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-careplan";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "CarePlan"
  ];
}

// Auto-generated from StructureDefinition for certainty.
// Certainty that the substance was the cause of the manifestation.
// See http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty
message AllergyIntoleranceCertainty {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for duration.
// How long Manifestations persisted.
// See http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration
message AllergyIntoleranceDuration {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Duration value_duration = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for exposureDate.
// Date(/time) of first exposure to Substance.
// See http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate
message AllergyIntoleranceExposureDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for exposureDescription.
// Text description about exposure to the Substance.
// See http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription
message AllergyIntoleranceExposureDescription {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for exposureDuration.
// Amount of time individual was exposed to Substance.
// See http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration
message AllergyIntoleranceExposureDuration {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Duration value_duration = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for location.
// Body site of manifestations.
// See http://hl7.org/fhir/StructureDefinition/openEHR-location
message AllergyIntoleranceLocation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-location";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for management.
// Clinical Management Description.
// See http://hl7.org/fhir/StructureDefinition/openEHR-management
message AllergyIntoleranceManagement {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-management";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reasonRefuted.
// Explanation associated with refuted status.
// See http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted
message AllergyIntoleranceReasonRefuted {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for resolutionAge.
// Age that the allergy or intolerance resolved.
// See http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge
message AllergyIntoleranceResolutionAge {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Age value_age = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for substanceExposureRisk.
// Exposure risk of adverse reaction (allergy or intolerance) to the specified
// substance/product. See
// http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk
message AllergyIntoleranceSubstanceExposureRisk {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk";
  option (.google.fhir.proto.fhir_path_message_constraint) =
      "substanceExposureRisk.exists() and code.empty()";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Substance (or pharmaceutical product)
  CodeableConcept substance = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // known-reaction-risk | no-known-reaction-risk
  CodeableConcept exposure_risk = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for test.
// Observations that confirm or refute.
// See http://hl7.org/fhir/StructureDefinition/openEHR-test
message AllergyIntoleranceTest {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/openEHR-test";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Observation",
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport"
  ];
}

// Auto-generated from StructureDefinition for animalSpecies.
// The Species of the Service Animal.
// See http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies
message AnimalSpecies {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for approachBodyStructure.
// The access point or points used for this procedure.
// See http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure
message ApproachBodyStructure {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "BodyStructure"
  ];
}

// Auto-generated from StructureDefinition for approvalDate.
// When resource approved by publisher.
// See http://hl7.org/fhir/StructureDefinition/resource-approvalDate
message ApprovalDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/resource-approvalDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Date value_date = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for citation.
// Bibliographic citation for the resource.
// See http://hl7.org/fhir/StructureDefinition/cqf-citation
message AttachmentCitation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-citation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for qualityOfEvidence.
// The quality of the evidence.
// See http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence
message AttachmentQualityOfEvidence {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for strengthOfRecommendation.
// The strength of the recommendation.
// See http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation
message AttachmentStrengthOfRecommendation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Accession.
// Accession Number.
// See http://hl7.org/fhir/StructureDefinition/auditevent-Accession
message AuditEventAccession {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-Accession";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Identifier value_identifier = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Anonymized.
// Anonymized state.
// See http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized
message AuditEventAnonymized {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Encrypted.
// Encrypted state.
// See http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted
message AuditEventEncrypted {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Instance.
// SOP Instance UID value.
// See http://hl7.org/fhir/StructureDefinition/auditevent-Instance
message AuditEventInstance {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-Instance";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Identifier value_identifier = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for MPPS.
// MPPS instance UID.
// See http://hl7.org/fhir/StructureDefinition/auditevent-MPPS
message AuditEventMPPS {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Identifier value_identifier = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for NumberOfInstances.
// Number of SOP Instances referred to by this entity.
// See http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances
message AuditEventNumberOfInstances {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ParticipantObjectContainsStudy.
// Contains Study.
// See
// http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy
message AuditEventParticipantObjectContainsStudy {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Identifier value_identifier = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for SOPClass.
// UIDs of SOP classes referred to.
// See http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass
message AuditEventSOPClass {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "ImagingStudy"
  ];
}

// Auto-generated from StructureDefinition for encounterClass.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-encounterClass
message BasicEncounterClass {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for encounterType.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-encounterType
message BasicEncounterType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-encounterType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for initiatingOrganization.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization
message BasicInitiatingOrganization {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Organization"
  ];
}

// Auto-generated from StructureDefinition for initiatingPerson.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson
message BasicInitiatingPerson {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Person",
    (.google.fhir.proto.valid_reference_type) = "Patient",
    (.google.fhir.proto.valid_reference_type) = "Practitioner",
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson"
  ];
}

// Auto-generated from StructureDefinition for receivingOrganization.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization
message BasicReceivingOrganization {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Organization"
  ];
}

// Auto-generated from StructureDefinition for receivingPerson.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson
message BasicReceivingPerson {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Person",
    (.google.fhir.proto.valid_reference_type) = "Patient",
    (.google.fhir.proto.valid_reference_type) = "Practitioner",
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson"
  ];
}

// Auto-generated from StructureDefinition for recipientLanguage.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage
message BasicRecipientLanguage {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for recipientType.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-recipientType
message BasicRecipientType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-recipientType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for systemUserLanguage.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage
message BasicSystemUserLanguage {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for systemUserTaskContext.
// The task the system user is performing.
// See http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext
message BasicSystemUserTaskContext {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for systemUserType.
// The type of user initiating the request.
// See http://hl7.org/fhir/StructureDefinition/cqf-systemUserType
message BasicSystemUserType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for bodyPosition.
// The body position during the observation.
// See http://hl7.org/fhir/StructureDefinition/observation-bodyPosition
message BodyPosition {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for BodyStructure Reference.
// Target anatomic location or structure.
// See http://hl7.org/fhir/StructureDefinition/bodySite
message BodyStructureReference {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/bodySite";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "BodyStructure"
  ];
}

// Auto-generated from StructureDefinition for http-response-header.
// HTTP header returned by the interaction.
// See http://hl7.org/fhir/StructureDefinition/http-response-header
message BundleHttpResponseHeader {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/http-response-header";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for location-distance.
// The distance this resource is from a provided location (geocode point).
// See http://hl7.org/fhir/StructureDefinition/location-distance
message BundleLocationDistance {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/location-distance";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Distance value_distance = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for match-grade.
// How likely this resource is to be a match.
// See http://hl7.org/fhir/StructureDefinition/match-grade
message BundleMatchGrade {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/match-grade";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/match-grade";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    MatchGradeCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for calculatedValue.
// A calculated value.
// See http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
message CalculatedValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Display Name.
// Display name for canonical reference.
// See http://hl7.org/fhir/StructureDefinition/display
message CanonicalDisplayName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/display";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for capabilities.
// Server Capabilities.
// See http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities
message CapabilityStatementCapabilities {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/smart-capabilities";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    SmartCapabilitiesCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expectation.
// SHALL | SHOULD | MAY |SHOULD-NOT.
// See http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation
message CapabilityStatementExpectation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/conformance-expectation";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ConformanceExpectationCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for oauth-uris.
// Automated discovery of OAuth2 endpoints.
// See http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris
message CapabilityStatementOauthUris {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // OAuth2 "authorize" endpoint
  Uri authorize = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // OAuth2 "token" endpoint
  Uri token = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // OAuth2 dynamic registration endpoint
  Uri register = 6;

  // User-facing authorization management entry point
  Uri manage = 7;
}

// Auto-generated from StructureDefinition for prohibited.
// Functionality not allowed.
// See http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited
message CapabilityStatementProhibited {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for search-parameter-combination.
// An allowable parameter combination.
// See
// http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination
message CapabilityStatementSearchParameterCombination {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // A required search parameter name
  repeated String required = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // An optional search parameter name
  repeated String optional = 5;
}

// Auto-generated from StructureDefinition for supported-system.
// Code system not defined in a value set.
// See
// http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system
message CapabilityStatementSupportedSystem {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for websocket.
// Where server websocket end point is found.
// See http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket
message CapabilityStatementWebsocket {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for activity-title.
// Label for activity.
// See http://hl7.org/fhir/StructureDefinition/careplan-activity-title
message CarePlanActivityTitle {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/careplan-activity-title";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for alternate.
// Additional code for the concept.
// See http://hl7.org/fhir/StructureDefinition/codesystem-alternate
message CodeSystemAlternate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-alternate";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Code that represents the concept
  Code code = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Expected use of the code
  Coding use = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for author.
// User or Org actually involved in creating the value set content.
// See http://hl7.org/fhir/StructureDefinition/codesystem-author
message CodeSystemAuthor {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-author";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for concept-comments.
// Comment about the use of this code in this context.
// See http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments
message CodeSystemConceptComments {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for conceptOrder.
// Appearance order for user selection.
// See http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder
message CodeSystemConceptOrder {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for effectiveDate.
// When the value set version becomes Active and is available for use.
// See http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate
message CodeSystemEffectiveDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Date value_date = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expirationDate.
// When the value set version should no longer be used.
// See http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate
message CodeSystemExpirationDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Date value_date = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for history.
// What has happened over time.
// See http://hl7.org/fhir/StructureDefinition/codesystem-history
message CodeSystemHistory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-history";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // The name of this set of history entries
  String name = 4;

  // Audit of all changes for a history entry
  message Revision {
    // Unique id for inter-element referencing
    String id = 1;

    // Extension.extension.extension not present on profile.
    reserved 2;

    // Extension.extension.value[x] not present on profile.
    reserved 3;

    // Date the change was made
    DateTime date = 4
        [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

    // Version marker after the change was made
    String id_slice = 5 [
      (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
      (.google.fhir.proto.fhir_inlined_extension_url) = "id"
    ];

    // Who made the change
    String author = 6
        [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

    // Information about the change
    String notes = 7;
  }
  repeated Revision revision = 5;
}

// Auto-generated from StructureDefinition for keyWord.
// Descriptors and key terms for search.
// See http://hl7.org/fhir/StructureDefinition/codesystem-keyWord
message CodeSystemKeyWord {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for label.
// E.g. "(a)", "1.", etc.
// See http://hl7.org/fhir/StructureDefinition/codesystem-label
message CodeSystemLabel {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-label";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for map.
// A concept map relevant to interpret this value set.
// See http://hl7.org/fhir/StructureDefinition/codesystem-map
message CodeSystemMap {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-map";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for otherName.
// Alternative names.
// See http://hl7.org/fhir/StructureDefinition/codesystem-otherName
message CodeSystemOtherName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-otherName";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Human readable, short and specific
  String name = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Which name is preferred for this language
  Boolean preferred = 5;
}

// Auto-generated from StructureDefinition for replacedby.
// A code that replaces this.
// See http://hl7.org/fhir/StructureDefinition/codesystem-replacedby
message CodeSystemReplacedby {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sourceReference.
// Where did this content come from.
// See http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference
message CodeSystemSourceReference {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for trusted-expansion.
// Reference to a trusted expansion.
// See http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion
message CodeSystemTrustedExpansion {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for usage.
// Who has used and how?.
// See http://hl7.org/fhir/StructureDefinition/codesystem-usage
message CodeSystemUsage {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-usage";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // A consumer of or client for the value set
  String user = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Implementation/project/standard that uses value set
  String use = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for warning.
// Extra warning about the correct use of the value set.
// See http://hl7.org/fhir/StructureDefinition/codesystem-warning
message CodeSystemWarning {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-warning";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for workflowStatus.
// Indicates the state of development of the value set.
// See http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus
message CodeSystemWorkflowStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sctdescid.
// SNOMED CT Description ID.
// See http://hl7.org/fhir/StructureDefinition/coding-sctdescid
message CodingSctdescid {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/coding-sctdescid";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Id value_id = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for media.
// Attached media.
// See http://hl7.org/fhir/StructureDefinition/communication-media
message CommunicationMedia {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/communication-media";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Attachment value_attachment = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for initiatingLocation.
// Location where the CommunicationRequest was initiated.
// See
// http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation
message CommunicationRequestInitiatingLocation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Location"
  ];
}

// Auto-generated from StructureDefinition for otherConfidentiality.
// Additional confidentiality codes.
// See
// http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality
message CompositionOtherConfidentiality {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for section-subject.
// Section has a different subject that it's container.
// See http://hl7.org/fhir/StructureDefinition/composition-section-subject
message CompositionSectionSubject {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/composition-section-subject";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ValidityPeriod.
// Validity Period.
// See http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod
message CompositionValidityPeriod {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for versionNumber.
// Version-specific identifier for composition.
// See
// http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber
message CompositionVersionNumber {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for bidirectional.
// Whether the map can be interpreted in reverse.
// See http://hl7.org/fhir/StructureDefinition/concept-bidirectional
message ConceptMapBidirectional {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/concept-bidirectional";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for assertedDate.
// Date the condition was first asserted.
// See http://hl7.org/fhir/StructureDefinition/condition-assertedDate
message ConditionAssertedDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/condition-assertedDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for basedOn.
// Fulfills plan, proposal or order.
// See http://hl7.org/fhir/StructureDefinition/event-basedOn
message ConditionBasedOn {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/event-basedOn";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Resource"
  ];
}

// Auto-generated from StructureDefinition for dueTo.
// Causes for this Condition.
// See http://hl7.org/fhir/StructureDefinition/condition-dueTo
message ConditionDueTo {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/condition-dueTo";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      CodeableConcept codeable_concept = 1;
      Reference reference = 2 [
        (.google.fhir.proto.valid_reference_type) = "Condition",
        (.google.fhir.proto.valid_reference_type) = "Procedure",
        (.google.fhir.proto.valid_reference_type) = "MedicationAdministration",
        (.google.fhir.proto.valid_reference_type) = "Immunization",
        (.google.fhir.proto.valid_reference_type) = "MedicationStatement"
      ];
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for occurredFollowing.
// Precedent for this Condition.
// See http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing
message ConditionOccurredFollowing {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      CodeableConcept codeable_concept = 1;
      Reference reference = 2 [
        (.google.fhir.proto.valid_reference_type) = "Condition",
        (.google.fhir.proto.valid_reference_type) = "Procedure",
        (.google.fhir.proto.valid_reference_type) = "MedicationAdministration",
        (.google.fhir.proto.valid_reference_type) = "Immunization",
        (.google.fhir.proto.valid_reference_type) = "MedicationStatement"
      ];
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for outcome.
// A consequence of the Condition.
// See http://hl7.org/fhir/StructureDefinition/condition-outcome
message ConditionOutcome {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/condition-outcome";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for related.
// Conditions associated with this condition.
// See http://hl7.org/fhir/StructureDefinition/condition-related
message ConditionRelated {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/condition-related";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Condition"
  ];
}

// Auto-generated from StructureDefinition for ruledOut.
// Conditions ruled out for this condition.
// See http://hl7.org/fhir/StructureDefinition/condition-ruledOut
message ConditionRuledOut {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/condition-ruledOut";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Condition"
  ];
}

// Auto-generated from StructureDefinition for location.
// A location specific constraint.
// See http://hl7.org/fhir/StructureDefinition/consent-location
message ConsentLocation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/consent-location";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Location"
  ];
}

// Auto-generated from StructureDefinition for NotificationEndpoint.
// Notification Endpoint.
// See http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint
message ConsentNotificationEndpoint {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Transcriber.
// Transcribed consent.
// See http://hl7.org/fhir/StructureDefinition/consent-Transcriber
message ConsentTranscriber {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/consent-Transcriber";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Organization",
    (.google.fhir.proto.valid_reference_type) = "Patient",
    (.google.fhir.proto.valid_reference_type) = "Practitioner",
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson"
  ];
}

// Auto-generated from StructureDefinition for Witness.
// Witness to Consent.
// See http://hl7.org/fhir/StructureDefinition/consent-Witness
message ConsentWitness {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/consent-Witness";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Organization",
    (.google.fhir.proto.valid_reference_type) = "Patient",
    (.google.fhir.proto.valid_reference_type) = "Practitioner",
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson"
  ];
}

// Auto-generated from StructureDefinition for area.
// Area/zone/city code.
// See http://hl7.org/fhir/StructureDefinition/contactpoint-area
message ContactPointArea {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/contactpoint-area";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for country.
// Country code as defined by the ITU.
// See http://hl7.org/fhir/StructureDefinition/contactpoint-country
message ContactPointCountry {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/contactpoint-country";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for extension.
// Number within private network.
// See http://hl7.org/fhir/StructureDefinition/contactpoint-extension
message ContactPointExtension {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/contactpoint-extension";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for local.
// Local number that must always be dialled.
// See http://hl7.org/fhir/StructureDefinition/contactpoint-local
message ContactPointLocal {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/contactpoint-local";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for TEL-address.
// RFC 3966 compliant telephone or fax number.
// See http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address
message ContactPointTELAddress {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Url value_url = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expression.
// An dynamic expression.
// See http://hl7.org/fhir/StructureDefinition/cqf-expression
message CqfExpression {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-expression";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Expression value_expression = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for library.
// A library containing logic used by the artifact.
// See http://hl7.org/fhir/StructureDefinition/cqf-library
message CqfLibrary {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-library";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Data Absent Reason.
// unknown | asked | temp | notasked | masked | unsupported | astext | error.
// See http://hl7.org/fhir/StructureDefinition/data-absent-reason
message DataAbsentReason {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/data-absent-reason";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/data-absent-reason";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    DataAbsentReasonCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Timezone Offset.
// Timezone offset, for dates (no timezone in date).
// See http://hl7.org/fhir/StructureDefinition/tz-offset
message DateTimezoneOffset {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/tz-offset";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for daysOfCycle.
// Days on which the action should be performed.
// See http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle
message DaysOfCycle {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // What day to perform
  repeated Integer day = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for precision.
// Explicit precision (number of significant decimal places).
// See http://hl7.org/fhir/StructureDefinition/quantity-precision
message DecimalPrecision {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/quantity-precision";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Design Note.
// Design comments.
// See http://hl7.org/fhir/StructureDefinition/designNote
message DesignNote {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/designNote";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for implantStatus.
// Implant Status.
// See http://hl7.org/fhir/StructureDefinition/device-implantStatus
message DeviceImplantStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/device-implantStatus";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/implantStatus";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ImplantStatusCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for patientInstruction.
// Patient Friendly Insructions.
// See http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction
message DeviceRequestPatientInstruction {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Language
  Code lang = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Text
  String content = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for addendumOf.
// Additional or Supplement Content.
// See http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf
message DiagnosticReportAddendumOf {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport"
  ];
}

// Auto-generated from StructureDefinition for allele-database.
// Allele Database.
// See
// http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database
message DiagnosticReportAlleleDatabase {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Analysis.
// Analysis.
// See http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis
message DiagnosticReportAnalysis {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Analysis type
  CodeableConcept type = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Analysis interpretation
  CodeableConcept interpretation = 5;
}

// Auto-generated from StructureDefinition for AssessedCondition.
// AssessedCondition.
// See
// http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition
message DiagnosticReportAssessedCondition {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Condition"
  ];
}

// Auto-generated from StructureDefinition for extends.
// Related reports.
// See http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends
message DiagnosticReportExtends {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport"
  ];
}

// Auto-generated from StructureDefinition for FamilyMemberHistory.
// FamilyHistory.
// See
// http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory
message DiagnosticReportFamilyMemberHistory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "FamilyMemberHistory"
  ];
}

// Auto-generated from StructureDefinition for glstring.
// glstring.
// See http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring
message DiagnosticReportGlstring {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // glstring.url
  Uri url = 4;

  // glstring.text
  String text = 5;
}

// Auto-generated from StructureDefinition for haploid.
// haploid.
// See http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid
message DiagnosticReportHaploid {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // haploid-locus
  CodeableConcept locus = 4;

  // haploid-type
  CodeableConcept type = 5;

  // haploid-method
  CodeableConcept method = 6;
}

// Auto-generated from StructureDefinition for Item.
// The items the orderer requested.
// See http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem
message DiagnosticReportItem {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Code to indicate the item (test, panel or sequence variant) being ordered
  CodeableConcept code = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Indicate the genetic variant ordered to be tested
  Reference genetics_observation = 5;

  // If this item relates to specific specimens
  Reference specimen = 6;

  // proposed | draft | planned | requested | received | accepted | in-progress
  // | review | completed | cancelled | suspended | rejected | failed
  Code status = 7;
}

// Auto-generated from StructureDefinition for locationPerformed.
// Location Performed.
// See
// http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed
message DiagnosticReportLocationPerformed {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Location"
  ];
}

// Auto-generated from StructureDefinition for method.
// The platform, methodology and software applied at the time of the
// genotyping.
// See http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method
message DiagnosticReportMethod {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for References.
// Additional bibliographic reference information.
// See
// http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences
message DiagnosticReportReferences {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Reference description
  String description = 4;

  // Reference URI
  repeated Uri reference = 5;

  // Reference type
  CodeableConcept type = 6;
}

// Auto-generated from StructureDefinition for replaces.
// Replacement for another report.
// See http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces
message DiagnosticReportReplaces {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport"
  ];
}

// Auto-generated from StructureDefinition for summaryOf.
// Summary Of Other Reports.
// See http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf
message DiagnosticReportSummaryOf {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport"
  ];
}

// Auto-generated from StructureDefinition for directedBy.
// Who has decision-making authority.
// See http://hl7.org/fhir/StructureDefinition/procedure-directedBy
message DirectedBy {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-directedBy";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      CodeableConcept codeable_concept = 1;
      Reference reference = 2 [
        (.google.fhir.proto.valid_reference_type) = "Patient",
        (.google.fhir.proto.valid_reference_type) = "RelatedPerson",
        (.google.fhir.proto.valid_reference_type) = "Practitioner",
        (.google.fhir.proto.valid_reference_type) = "PractitionerRole"
      ];
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for effectivePeriod.
// The effective date range for the resource.
// See http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod
message EffectivePeriod {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Period value_period = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for allowedUnits.
// Units to use for measured value.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits
message ElementDefinitionAllowedUnits {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      CodeableConcept codeable_concept = 1;
      Canonical canonical = 2;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for bestpractice.
// Mark a warning invariant as 'best practice'.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice
message ElementDefinitionBestpractice {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Boolean boolean = 1;
      CodeableConcept codeable_concept = 2;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for bestpractice-explanation.
// Explains why an invariant is labelled as best practice.
// See
// http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation
message ElementDefinitionBestpracticeExplanation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for bindingName.
// Suggested Name for code generation.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
message ElementDefinitionBindingName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for display-hint.
// Hinting information for the narrative generator.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint
message ElementDefinitionDisplayHint {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for equivalence.
// equivalent | equal | wider | subsumes | narrower | specializes | inexact |
// unmatched | disjoint. See
// http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence
message ElementDefinitionEquivalence {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/concept-map-equivalence";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ConceptMapEquivalenceCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for explicit-type-name.
// Advisory - name of Type for implementations.
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
message ElementDefinitionExplicitTypeName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for fhir-type.
// FHIR type for value property - when a simple system type.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
message ElementDefinitionFhirType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Url value_url = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for hierarchy.
// Whether a circular reference is allowed to (transitively) point back to the
// same instance. See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
message ElementDefinitionHierarchy {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for identifier.
// External Identifier associated with this element.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
message ElementDefinitionIdentifier {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Identifier value_identifier = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for inheritedExtensibleValueSet.
// An extensible Value Set specified in a parent profile.
// See
// http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet
message ElementDefinitionInheritedExtensibleValueSet {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Uri uri = 1;
      Canonical canonical = 2;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for isCommonBinding.
// Whether used on multiple resources.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
message ElementDefinitionIsCommonBinding {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for maxValueSet.
// Maximum Value Set (when strength = extensible).
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
message ElementDefinitionMaxValueSet {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Uri uri = 1;
      Canonical canonical = 2;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for minValueSet.
// Minimum Value Set (what system must support).
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet
message ElementDefinitionMinValueSet {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Uri uri = 1;
      Canonical canonical = 2;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for objectClass.
// Object Class.
// See http://hl7.org/fhir/StructureDefinition/11179-objectClass
message ElementDefinitionObjectClass {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/11179-objectClass";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for objectClassProperty.
// Object Class Property.
// See http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty
message ElementDefinitionObjectClassProperty {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for profile-element.
// Specific element for profile (for backbone elements).
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element
message ElementDefinitionProfileElement {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for question.
// Prompt for element phrased as question.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-question
message ElementDefinitionQuestion {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-question";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for selector.
// FHIRPath that defines the selection criteria for a slice.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-selector
message ElementDefinitionSelector {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for translatable.
// Whether translations apply to this element.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
message ElementDefinitionTranslatable {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for associatedEncounter.
// Associated Encounter.
// See http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter
message EncounterAssociatedEncounter {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Encounter"
  ];
}

// Auto-generated from StructureDefinition for modeOfArrival.
// The method of arrival of the patient into the facility.
// See http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival
message EncounterModeOfArrival {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reasonCancelled.
// Explanation for cancellation.
// See http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled
message EncounterReasonCancelled {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for entryFormat.
// User prompt for format.
// See http://hl7.org/fhir/StructureDefinition/entryFormat
message EntryFormat {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/entryFormat";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for episodeOfCare.
// Associated Encounter episode of care.
// See http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare
message EpisodeOfCareExtension {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "EpisodeOfCare"
  ];
}

// Auto-generated from StructureDefinition for eventHistory.
// Events of interest in the resource lifecycle.
// See http://hl7.org/fhir/StructureDefinition/event-eventHistory
message EventHistory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/event-eventHistory";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Provenance"
  ];
}

// Auto-generated from StructureDefinition for abatement.
// When (or if) the family member's condition resolved.
// See http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
message FamilyMemberHistoryAbatement {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Date date = 1;
      Age age = 2;
      Boolean boolean = 3;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for observation.
// Genetic markers, ethnicity, etc.
// See
// http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation
message FamilyMemberHistoryObservation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Observation"
  ];
}

// Auto-generated from StructureDefinition for parent.
// Mother(s) & Father(s) - genetic & other.
// See
// http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent
message FamilyMemberHistoryParent {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // mother | father | adoptive mother | etc.
  CodeableConcept type = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Link to parent relative(s)
  Reference reference = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for patient-record.
// Link to patient record.
// See
// http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record
message FamilyMemberHistoryPatientRecord {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Patient"
  ];
}

// Auto-generated from StructureDefinition for severity.
// The seriousness of the family member condition.
// See http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity
message FamilyMemberHistorySeverity {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sibling.
// natural brother(s) & natural sister(s) - genetic & other.
// See
// http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling
message FamilyMemberHistorySibling {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // sibling | brother | sister | etc.
  CodeableConcept type = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Link to sibling relative(s)
  Reference reference = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for type.
// Purpose of the family member history.
// See http://hl7.org/fhir/StructureDefinition/familymemberhistory-type
message FamilyMemberHistoryType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for detail.
// Resource with details for flag.
// See http://hl7.org/fhir/StructureDefinition/flag-detail
message FlagDetail {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/flag-detail";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Resource"
  ];
}

// Auto-generated from StructureDefinition for priority.
// An alarm code.
// See http://hl7.org/fhir/StructureDefinition/flag-priority
message FlagPriority {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/flag-priority";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for fmm.
// FMM Level.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
message Fmm {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for acceptance.
// Individual acceptance of goal.
// See http://hl7.org/fhir/StructureDefinition/goal-acceptance
message GoalAcceptance {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/goal-acceptance";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Individual whose acceptance is reflected
  Reference individual = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // agree | disagree | pending
  message StatusCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/goal-acceptance-status";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    GoalAcceptanceStatusCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  StatusCode status = 5;

  // Priority of goal for individual
  CodeableConcept priority = 6;
}

// Auto-generated from StructureDefinition for reasonRejected.
// The reason the goal was not accepted.
// See http://hl7.org/fhir/StructureDefinition/goal-reasonRejected
message GoalReasonRejected {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for relationship.
// Goals related to this Goal.
// See http://hl7.org/fhir/StructureDefinition/goal-relationship
message GoalRelationship {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/goal-relationship";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // predecessor | successor | replacement | other
  CodeableConcept type = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Related goal
  Reference target = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Human Language.
// Human Language for the item.
// See http://hl7.org/fhir/StructureDefinition/language
message HumanLanguage {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/language";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Code value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for assembly-order.
// Preferred display order of name parts.
// See http://hl7.org/fhir/StructureDefinition/humanname-assembly-order
message HumanNameAssemblyOrder {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/name-assembly-order";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    HumanNameAssemblyOrderValueSet.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for EN-qualifier.
// LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV.
// See http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
message HumanNameENQualifier {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/name-part-qualifier";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    EntityNamePartQualifierValueSet.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for EN-representation.
// ABC | IDE | SYL.
// See http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation
message HumanNameENRepresentation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/name-v3-representation";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    NameRepresentationUseValueSet.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for EN-use.
// A | ANON | I | P | R | C | M | ABC | IDE | SYL | OLD | DN | OR | PHON | SRCH
// | T. See http://hl7.org/fhir/StructureDefinition/iso21090-EN-use
message HumanNameENUse {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    V3EntityNameUseR2Code.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for fathers-family.
// Portion of family name derived from father.
// See http://hl7.org/fhir/StructureDefinition/humanname-fathers-family
message HumanNameFathersFamily {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for mothers-family.
// Portion of family name derived from mother.
// See http://hl7.org/fhir/StructureDefinition/humanname-mothers-family
message HumanNameMothersFamily {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for own-name.
// Portion derived from person's own surname.
// See http://hl7.org/fhir/StructureDefinition/humanname-own-name
message HumanNameOwnName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-own-name";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for own-prefix.
// Voorvoegsel derived from person's own surname.
// See http://hl7.org/fhir/StructureDefinition/humanname-own-prefix
message HumanNameOwnPrefix {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for partner-name.
// Portion derived from person's partner's surname.
// See http://hl7.org/fhir/StructureDefinition/humanname-partner-name
message HumanNamePartnerName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-partner-name";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for partner-prefix.
// Voorvoegsel derived from person's partner's surname.
// See http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix
message HumanNamePartnerPrefix {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for validDate.
// External Identifier associated with this element.
// See http://hl7.org/fhir/StructureDefinition/identifier-validDate
message IdentifierValidDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/identifier-validDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for initialValue.
// An initial value expression.
// See http://hl7.org/fhir/StructureDefinition/cqf-initialValue
message InitialValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-initialValue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for instantiatesCanonical.
// FHIR protocol or definition.
// See http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical
message InstantiatesCanonical {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for instantiatesUri.
// External protocol or definition.
// See http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri
message InstantiatesUri {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for lastReviewDate.
// Last review date for the resource.
// See http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate
message LastReviewDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Date value_date = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for changeBase.
// Base List for changes.
// See http://hl7.org/fhir/StructureDefinition/list-changeBase
message ListChangeBase {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/list-changeBase";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "List"
  ];
}

// Auto-generated from StructureDefinition for boundary-geojson.
// A boundary shape that represents the outside edge of the location (in GeoJSON
// format). See
// http://hl7.org/fhir/StructureDefinition/location-boundary-geojson
message LocationBoundaryGeojson {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Attachment value_attachment = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for location.
// Where event occurred.
// See http://hl7.org/fhir/StructureDefinition/event-location
message LocationExtension {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/event-location";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Location"
  ];
}

// Auto-generated from StructureDefinition for maxDecimalPlaces.
// Maximum digits after decimal.
// See http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
message MaxDecimalPlaces {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for maxSize.
// Max size in MB.
// See http://hl7.org/fhir/StructureDefinition/maxSize
message MaxSize {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/maxSize";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Decimal value_decimal = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for measureInfo.
// Measure criteria for the resource.
// See http://hl7.org/fhir/StructureDefinition/cqf-measureInfo
message MeasureInfo {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // The measure being calculated
  Canonical measure = 4;

  // The group identifier
  String group_id = 5;

  // The population identifier
  String population_id = 6;
}

// Auto-generated from StructureDefinition for messageheader-response-request.
// messageheader initiator requests a response.
// See http://hl7.org/fhir/StructureDefinition/messageheader-response-request
message MessageHeaderMessageheaderResponseRequest {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/messageheader-response-request";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/messageheader-response-request";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    MessageheaderResponseRequestCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for mimeType.
// Type of attachment.
// See http://hl7.org/fhir/StructureDefinition/mimeType
message MimeType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/mimeType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/mimetypes";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    // Field 1 reserved to allow enumeration in the future.
    reserved 1;

    String id = 2;

    repeated Extension extension = 3;

    // This valueset is not enumerable, and so is represented as a string.
    string value = 4;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for minLength.
// At least this many characters.
// See http://hl7.org/fhir/StructureDefinition/minLength
message MinLength {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/minLength";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for namespace.
// specify namespace other than http://hl7.org/fhir.
// See http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace
message Namespace {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Narrative Link.
// Narrative Link.
// See http://hl7.org/fhir/StructureDefinition/narrativeLink
message NarrativeLink {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/narrativeLink";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Url value_url = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for nullFlavor.
// NI | OTH | NINF | PINF | UNK | ASKU | NAV | NASK | TRC | MSK | NA | QS.
// See http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor
message NullFlavor {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://terminology.hl7.org/ValueSet/v3-NullFlavor";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    V3NullFlavorCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for adaptiveFeedingDevice.
// Adaptive Feeding Device.
// See
// http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice
message NutritionOrderAdaptiveFeedingDevice {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for doNotPerform.
// true if request is prohibiting action.
// See http://hl7.org/fhir/StructureDefinition/request-doNotPerform
message NutritionOrderDoNotPerform {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/request-doNotPerform";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for insurance.
// Associated insurance coverage.
// See http://hl7.org/fhir/StructureDefinition/request-insurance
message NutritionOrderInsurance {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/request-insurance";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Coverage",
    (.google.fhir.proto.valid_reference_type) = "ClaimResponse"
  ];
}

// Auto-generated from StructureDefinition for replaces.
// Request(s) replaced by this request.
// See http://hl7.org/fhir/StructureDefinition/request-replaces
message NutritionOrderReplaces {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/request-replaces";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Resource"
  ];
}

// Auto-generated from StructureDefinition for Allele.
// Allele.
// See http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele
message ObservationAllele {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Name of allele
  CodeableConcept name = 4 [json_name = "Name"];

  // The level of occurrence of a single DNA sequence variant within a set of
  // chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous /
  // Hemizygous
  CodeableConcept state = 5 [json_name = "State"];

  // Allele frequency
  Decimal frequency = 6 [json_name = "Frequency"];
}

// Auto-generated from StructureDefinition for AminoAcidChange.
// AminoAcidChange.
// See
// http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange
message ObservationAminoAcidChange {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // HGVS nomenclature for observed Amino Acid Change
  CodeableConcept name = 4 [json_name = "Name"];

  // Amino Acid Change Type
  CodeableConcept type = 5 [json_name = "Type"];
}

// Auto-generated from StructureDefinition for Ancestry.
// Ancestry.
// See http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry
message ObservationAncestry {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Ancestry name
  CodeableConcept name = 4 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    json_name = "Name"
  ];

  // Ancestry percentage
  Decimal percentage = 5 [json_name = "Percentage"];

  // Source of ancestry report
  CodeableConcept source = 6 [json_name = "Source"];
}

// Auto-generated from StructureDefinition for CopyNumberEvent.
// Copy number variation.
// See
// http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent
message ObservationCopyNumberEvent {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for DNARegionName.
// DNA region name.
// See http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName
message ObservationDNARegionName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for delta.
// Qualitative change or trend in the measurement.
// See http://hl7.org/fhir/StructureDefinition/observation-delta
message ObservationDelta {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-delta";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for deviceCode.
// A code representing the the type of device used for this observation.  Should
// only be used if not implicit in the code found in `Observation.code`. See
// http://hl7.org/fhir/StructureDefinition/observation-deviceCode
message ObservationDeviceCode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-deviceCode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for focusCode.
// Focus Code.
// See http://hl7.org/fhir/StructureDefinition/observation-focusCode
message ObservationFocusCode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-focusCode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for gatewayDevice.
// Gateway Device.
// See http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice
message ObservationGatewayDevice {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Device"
  ];
}

// Auto-generated from StructureDefinition for Gene.
// HGNC gene symbol.
// See http://hl7.org/fhir/StructureDefinition/observation-geneticsGene
message ObservationGene {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for GenomicSourceClass.
// Genomic source class.
// See
// http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass
message ObservationGenomicSourceClass {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Interpretation.
// Clinical interpretations for variant.
// See
// http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation
message ObservationInterpretation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Observation"
  ];
}

// Auto-generated from StructureDefinition for PhaseSet.
// Phase set.
// See http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet
message ObservationPhaseSet {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Phase set ID
  Uri id_slice = 4 [
    (.google.fhir.proto.fhir_inlined_extension_url) = "Id",
    json_name = "IdSlice"
  ];

  // Phase set sequence
  repeated Reference molecular_sequence = 5 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    json_name = "MolecularSequence"
  ];
}

// Auto-generated from StructureDefinition for precondition.
// Other Observations needed to aid in  the interpretation of the source
// observation. See
// http://hl7.org/fhir/StructureDefinition/observation-precondition
message ObservationPrecondition {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-precondition";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Observation"
  ];
}

// Auto-generated from StructureDefinition for reagent.
// Reference to reagents used to generate this observation.
// See http://hl7.org/fhir/StructureDefinition/observation-reagent
message ObservationReagent {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-reagent";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Substance"
  ];
}

// Auto-generated from StructureDefinition for replaces.
// Replaces referenced Observation.
// See http://hl7.org/fhir/StructureDefinition/observation-replaces
message ObservationReplaces {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-replaces";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Observation"
  ];
}

// Auto-generated from StructureDefinition for secondaryFinding.
// Secondary findings are genetic test results that provide information about
// variants in a gene unrelated to the primary purpose for the testing, most
// often discovered when [Whole Exome Sequencing
// (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome
// Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is
// performed. This extension should be used to denote when a genetic finding is
// being shared as a secondary finding, and ideally refer to a corresponding
// guideline or policy statement.
//
// For more detail, please see:
// https://ghr.nlm.nih.gov/primer/testing/secondaryfindings.
// See http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding
message ObservationSecondaryFinding {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sequelTo.
// Sequel to referenced Observation.
// See http://hl7.org/fhir/StructureDefinition/observation-sequelTo
message ObservationSequelTo {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-sequelTo";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Observation"
  ];
}

// Auto-generated from StructureDefinition for specimenCode.
// A code representing the the type of specimen used for this observation.
// Should only be used if not implicit in the code found in `Observation.code`.
// See http://hl7.org/fhir/StructureDefinition/observation-specimenCode
message ObservationSpecimenCode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-specimenCode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for timeOffset.
// Time Offset for interlacing.
// See http://hl7.org/fhir/StructureDefinition/observation-timeOffset
message ObservationTimeOffset {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-timeOffset";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Variant.
// Variant.
// See http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant
message ObservationVariant {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // HGVS nomenclature for observed DNA sequence variant
  CodeableConcept name = 4 [json_name = "Name"];

  // DNA sequence variant ID
  CodeableConcept id_slice = 5 [
    (.google.fhir.proto.fhir_inlined_extension_url) = "Id",
    json_name = "IdSlice"
  ];

  // DNA sequence variant type
  CodeableConcept type = 6 [json_name = "Type"];
}

// Auto-generated from StructureDefinition for allowed-type.
// Which types are allowed for a parameter, when the base type is Abstract.
// See http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type
message OperationDefinitionAllowedType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for profile.
// Profiles (StructureDefinition or IG) - one must apply.
// See http://hl7.org/fhir/StructureDefinition/operationdefinition-profile
message OperationDefinitionProfile {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for authority.
// Reference to where the rule is defined.
// See http://hl7.org/fhir/StructureDefinition/operationoutcome-authority
message OperationOutcomeAuthority {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for detectedIssue.
// Reference to a contra-indication that is the basis for this error.
// See http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue
message OperationOutcomeDetectedIssue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "DetectedIssue"
  ];
}

// Auto-generated from StructureDefinition for issue-source.
// Source of a validation message.
// See http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source
message OperationOutcomeIssueSource {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Ordinal Value.
// Assigned Ordinal Value.
// See http://hl7.org/fhir/StructureDefinition/ordinalValue
message OrdinalValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/ordinalValue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Decimal value_decimal = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for primaryInd.
// Indicator of primary specialty.
// See
// http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd
message OrganizationAffiliationPrimaryInd {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for period.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/organization-period
message OrganizationPeriod {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/organization-period";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Period value_period = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for preferredContact.
// Extension.
// See http://hl7.org/fhir/StructureDefinition/organization-preferredContact
message OrganizationPreferredContact {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/organization-preferredContact";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Original Text.
// Original Text that represents the data as seen/selected/uttered originally.
// See http://hl7.org/fhir/StructureDefinition/originalText
message OriginalText {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/originalText";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for fullUrl.
// fullUrl for resource.
// See http://hl7.org/fhir/StructureDefinition/parameters-fullUrl
message ParametersFullUrl {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for partOf.
// Part of referenced event.
// See http://hl7.org/fhir/StructureDefinition/event-partOf
message PartOf {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/event-partOf";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Resource"
  ];
}

// Auto-generated from StructureDefinition for adoptionInfo.
// The adoption status of the patient.
// See http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo
message PatientAdoptionInfo {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for animal.
// This patient is known to be an animal (non-human).
// See http://hl7.org/fhir/StructureDefinition/patient-animal
message PatientAnimal {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-animal";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // The animal species.  E.g. Dog, Cow.
  CodeableConcept species = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // The animal breed.  E.g. Poodle, Angus.
  CodeableConcept breed = 5;

  // The status of the animal's reproductive parts.  E.g. Neutered, Intact.
  CodeableConcept gender_status = 6;
}

// Auto-generated from StructureDefinition for birthPlace.
// Place of Birth for patient.
// See http://hl7.org/fhir/StructureDefinition/patient-birthPlace
message PatientBirthPlace {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-birthPlace";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Address value_address = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for birthTime.
// Time of day of birth.
// See http://hl7.org/fhir/StructureDefinition/patient-birthTime
message PatientBirthTime {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-birthTime";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for cadavericDonor.
// Post-mortem donor status.
// See http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor
message PatientCadavericDonor {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for citizenship.
// Nation(s) where the patient claims citizenship.
// See http://hl7.org/fhir/StructureDefinition/patient-citizenship
message PatientCitizenship {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-citizenship";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Nation code of citizenship
  CodeableConcept code = 4;

  // Time period of citizenship
  Period period = 5;
}

// Auto-generated from StructureDefinition for congregation.
// A group of place of religious practice.
// See http://hl7.org/fhir/StructureDefinition/patient-congregation
message PatientCongregation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-congregation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for disability.
// Condition(s) limiting movement, senses, or activities.
// See http://hl7.org/fhir/StructureDefinition/patient-disability
message PatientDisability {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-disability";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for genderIdentity.
// The patient's gender identity.
// See http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
message PatientGenderIdentity {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for importance.
// Special status given the patient.
// See http://hl7.org/fhir/StructureDefinition/patient-importance
message PatientImportance {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-importance";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for interpreterRequired.
// Whether the patient needs an interpreter.
// See http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
message PatientInterpreterRequired {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for mothersMaidenName.
// Mother's Maiden name.
// See http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
message PatientMothersMaidenName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for nationality.
// Nationality.
// See http://hl7.org/fhir/StructureDefinition/patient-nationality
message PatientNationality {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-nationality";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Nationality Code
  CodeableConcept code = 4;

  // Nationality Period
  Period period = 5;
}

// Auto-generated from StructureDefinition for preferenceType.
// The type of the patient's preferred language.
// See http://hl7.org/fhir/StructureDefinition/patient-preferenceType
message PatientPreferenceType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-preferenceType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for proficiency.
// Proficiency level of the communication.
// See http://hl7.org/fhir/StructureDefinition/patient-proficiency
message PatientProficiency {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-proficiency";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // The proficiency level of the communication
  Coding level = 4;

  // The proficiency type of the communication
  repeated Coding type = 5;
}

// Auto-generated from StructureDefinition for relatedPerson.
// This contact may have further details in this RelatedPerson.
// See http://hl7.org/fhir/StructureDefinition/patient-relatedPerson
message PatientRelatedPerson {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson"
  ];
}

// Auto-generated from StructureDefinition for religion.
// The patient's professed religious affiliations.
// See http://hl7.org/fhir/StructureDefinition/patient-religion
message PatientReligion {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/patient-religion";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for performerFunction.
// Type of performance.
// See http://hl7.org/fhir/StructureDefinition/event-performerFunction
message PerformerFunction {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/event-performerFunction";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for permitted-value-conceptmap.
// Mapping from permitted to transmitted.
// See http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap
message PermittedValueConceptmap {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for permitted-value-valueset.
// Permitted values.
// See http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset
message PermittedValueValueset {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for cdsHooksEndpoint.
// Surface this ECA Rule here.
// See http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint
message PlanDefinitionCdsHooksEndpoint {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for primaryInd.
// Indicator of primary specialty.
// See http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd
message PractitionerRolePrimaryInd {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for preferred.
// Preferred.
// See http://hl7.org/fhir/StructureDefinition/iso21090-preferred
message Preferred {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-preferred";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for causedBy.
// Related item that caused this procedure.
// See http://hl7.org/fhir/StructureDefinition/procedure-causedBy
message ProcedureCausedBy {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-causedBy";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "AllergyIntolerance",
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport",
    (.google.fhir.proto.valid_reference_type) = "FamilyMemberHistory",
    (.google.fhir.proto.valid_reference_type) = "ImagingStudy",
    (.google.fhir.proto.valid_reference_type) = "Immunization",
    (.google.fhir.proto.valid_reference_type) = "ImmunizationRecommendation",
    (.google.fhir.proto.valid_reference_type) = "MedicationAdministration",
    (.google.fhir.proto.valid_reference_type) = "MedicationRequest",
    (.google.fhir.proto.valid_reference_type) = "MedicationStatement",
    (.google.fhir.proto.valid_reference_type) = "Observation",
    (.google.fhir.proto.valid_reference_type) = "Procedure"
  ];
}

// Auto-generated from StructureDefinition for incisionDateTime.
// The first incision time.
// See http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime
message ProcedureIncisionDateTime {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for method.
// The method used to perform the procedure.
// See http://hl7.org/fhir/StructureDefinition/procedure-method
message ProcedureMethod {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-method";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for progressStatus.
// A details procedure progress.
// See http://hl7.org/fhir/StructureDefinition/procedure-progressStatus
message ProcedureProgressStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for schedule.
// Schedule followed.
// See http://hl7.org/fhir/StructureDefinition/procedure-schedule
message ProcedureSchedule {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-schedule";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Timing value_timing = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for PQ-translation.
// Same quantity with different units.
// See http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation
message QuantityPQTranslation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Quantity value_quantity = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for uncertainty.
// Standard Deviation (same units as the quantity).
// See http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty
message QuantityUncertainty {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Decimal value_decimal = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for uncertaintyType.
// Probability Distribution Type for uncertainty.
// See http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType
message QuantityUncertaintyType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/probability-distribution-type";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ProbabilityDistributionTypeValueSet.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for baseType.
// Base Type for answer.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-baseType
message QuestionnaireBaseType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/data-types";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    DataTypeCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for choiceOrientation.
// horizontal | vertical.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
message QuestionnaireChoiceOrientation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/choice-list-orientation";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ChoiceListOrientationCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for constraint.
// Constraint.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
message QuestionnaireConstraint {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Unique identifier
  Id key = 4 [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Why needed
  String requirements = 5;

  // error|warning
  message SeverityCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/constraint-severity";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ConstraintSeverityCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  SeverityCode severity = 6
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Formal rule
  String expression = 7
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Human-readable rule
  String human = 8
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Relative path to elements
  repeated String location = 9;
}

// Auto-generated from StructureDefinition for displayCategory.
// Purpose of rendered text.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory
message QuestionnaireDisplayCategory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for fhirType.
// The underlying FHIR data type.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType
message QuestionnaireFhirType {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for hidden.
// Don't display to user.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
message QuestionnaireHidden {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for itemControl.
// E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
message QuestionnaireItemControl {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for maxOccurs.
// Maximum repetitions.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
message QuestionnaireMaxOccurs {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for maxValue.
// Must be <= this value.
// See http://hl7.org/fhir/StructureDefinition/maxValue
message QuestionnaireMaxValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/maxValue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Date date = 1;
      DateTime date_time = 2;
      Time time = 3;
      Instant instant = 4;
      Decimal decimal = 5;
      Integer integer = 6;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for minOccurs.
// Minimum repetitions.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
message QuestionnaireMinOccurs {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for minValue.
// Must be >= this value.
// See http://hl7.org/fhir/StructureDefinition/minValue
message QuestionnaireMinValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/minValue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Date date = 1;
      DateTime date_time = 2;
      Time time = 3;
      Decimal decimal = 4;
      Integer integer = 5;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for optionExclusive.
// Option is exclusive.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive
message QuestionnaireOptionExclusive {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for optionPrefix.
// E.g. "(a)", "1.", etc.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix
message QuestionnaireOptionPrefix {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for referenceFilter.
// Filter to apply when looking up references.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter
message QuestionnaireReferenceFilter {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for referenceProfile.
// Allowed profile for reference.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile
message QuestionnaireReferenceProfile {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for referenceResource.
// Allowed resource for reference.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource
message QuestionnaireReferenceResource {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/resource-types";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ResourceTypeCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for author.
// Who answered question/group.
// See http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author
message QuestionnaireResponseAuthor {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Patient",
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson",
    (.google.fhir.proto.valid_reference_type) = "Device",
    (.google.fhir.proto.valid_reference_type) = "Practitioner"
  ];
}

// Auto-generated from StructureDefinition for completionMode.
// E.g. Verbal, written, electronic.
// See
// http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode
message QuestionnaireResponseCompletionMode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reason.
// Why response was created.
// See http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason
message QuestionnaireResponseReason {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reviewer.
// Who verified completion of form?.
// See http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer
message QuestionnaireResponseReviewer {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Practitioner"
  ];
}

// Auto-generated from StructureDefinition for signature.
// A signature attesting to the content.
// See http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
message QuestionnaireResponseSignature {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Signature value_signature = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for signatureRequired.
// Is signature needed?.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
message QuestionnaireSignatureRequired {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sliderStepValue.
// Increment value for slider.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue
message QuestionnaireSliderStepValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for supportLink.
// Supporting information.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink
message QuestionnaireSupportLink {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for unit.
// Unit for numeric answer.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-unit
message QuestionnaireUnit {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-unit";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for unitOption.
// Unit choice.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
message QuestionnaireUnitOption {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for unitValueSet.
// Unit choices.
// See http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
message QuestionnaireUnitValueSet {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for usageMode.
// capture | display | display-non-empty | capture-display |
// capture-display-non-empty. See
// http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode
message QuestionnaireUsageMode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/questionnaire-usage-mode";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    QuestionnaireItemUsageModeCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Variable.
// Variable for processing.
// See http://hl7.org/fhir/StructureDefinition/variable
message QuestionnaireVariable {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/variable";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Expression value_expression = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reasonCode.
// Why was event performed?.
// See http://hl7.org/fhir/StructureDefinition/workflow-reasonCode
message ReasonCode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reasonReference.
// Why was event performed?.
// See http://hl7.org/fhir/StructureDefinition/workflow-reasonReference
message ReasonReference {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Condition",
    (.google.fhir.proto.valid_reference_type) = "DiagnosticReport",
    (.google.fhir.proto.valid_reference_type) = "DocumentReference",
    (.google.fhir.proto.valid_reference_type) = "Observation",
    (.google.fhir.proto.valid_reference_type) = "Media"
  ];
}

// Auto-generated from StructureDefinition for regex.
// Regular expression pattern.
// See http://hl7.org/fhir/StructureDefinition/regex
message Regex {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/regex";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for relatedArtifact.
// Documentation relevant to the 'parent' resource.
// See http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact
message RelatedArtifactExtension {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  RelatedArtifact value_related_artifact = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Relative Date Criteria.
// Relative Date Criteria.
// See http://hl7.org/fhir/StructureDefinition/relative-date
message RelativeDateCriteria {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/relative-date";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Event that the date is relative to
  message EventX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Reference reference = 1
          [(.google.fhir.proto.valid_reference_type) = "Resource"];
      CodeableConcept codeable_concept = 2;
    }
  }
  EventX event = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // before-start | before | before-end | concurrent-with-start | concurrent |
  // concurrent-with-end | after-start | after | after-end
  message RelationshipCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/action-relationship-type";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ActionRelationshipTypeCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  RelationshipCode relationship = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Duration after the event
  Duration offset = 6
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for relativeDateTime.
// A date/time that is specified relative to another event.
// See http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime
message RelativeDateTime {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Relative to what event
  Reference target = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Relative to which element on the event
  String target_path = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // before-start | before | before-end | concurrent-with-start | concurrent |
  // concurrent-with-end | after-start | after | after-end
  message RelationshipCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/action-relationship-type";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ActionRelationshipTypeCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  RelationshipCode relationship = 6
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // How long
  message OffsetX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Duration duration = 1;
      Range range = 2;
    }
  }
  OffsetX offset = 7
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for relevantHistory.
// Key events in history of request.
// See http://hl7.org/fhir/StructureDefinition/request-relevantHistory
message RelevantHistory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/request-relevantHistory";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Provenance"
  ];
}

// Auto-generated from StructureDefinition for Rendered Value.
// What should be displayed to human (if default is not appropriate).
// See http://hl7.org/fhir/StructureDefinition/rendered-value
message RenderedValue {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/rendered-value";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for replaces.
// References a resource that this resource replaces.
// See http://hl7.org/fhir/StructureDefinition/replaces
message Replaces {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/replaces";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for researchStudy.
// Associated research study.
// See http://hl7.org/fhir/StructureDefinition/workflow-researchStudy
message ResearchStudyExtension {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "ResearchStudy"
  ];
}

// Auto-generated from StructureDefinition for pertainsToGoal.
// Pertains to goal.
// See http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal
message ResourcePertainsToGoal {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Goal"
  ];
}

// Auto-generated from StructureDefinition for risk.
// Risk.
// See http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk
message Risk {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "RiskAssessment"
  ];
}

// Auto-generated from StructureDefinition for performerOrder.
// Performer Order.
// See http://hl7.org/fhir/StructureDefinition/request-performerOrder
message ServiceRequestPerformerOrder {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/request-performerOrder";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for precondition.
// The condition or state of the patient for this test.
// See http://hl7.org/fhir/StructureDefinition/servicerequest-precondition
message ServiceRequestPrecondition {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for questionnaireRequest.
// Questionnaire to be ordered.
// See
// http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest
message ServiceRequestQuestionnaireRequest {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Questionnaire"
  ];
}

// Auto-generated from StructureDefinition for special-status.
// Special note about status for implementers.
// See http://hl7.org/fhir/StructureDefinition/valueset-special-status
message SpecialStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-special-status";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for collectionPriority.
// Urgency for collection.
// See http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority
message SpecimenCollectionPriority {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for isDryWeight.
// Whether quantity is a dry weight.
// See http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight
message SpecimenIsDryWeight {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for processingTime.
// Time of processing.
// See http://hl7.org/fhir/StructureDefinition/specimen-processingTime
message SpecimenProcessingTime {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/specimen-processingTime";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      Period period = 1;
      Duration duration = 2;
    }
  }
  ValueX value = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sequenceNumber.
// The sequence number of the sample.
// See http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber
message SpecimenSequenceNumber {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for specialHandling.
// Special handling of the specimen.
// See http://hl7.org/fhir/StructureDefinition/specimen-specialHandling
message SpecimenSpecialHandling {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for standards-status.
// HL7 Ballot/Standards status of artifact.
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
message StandardsStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/standards-status";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    StandardsStatusCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for statusReason.
// Reason for current status.
// See http://hl7.org/fhir/StructureDefinition/event-statusReason
message StatusReason {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/event-statusReason";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for statusReason.
// Reason for current status.
// See http://hl7.org/fhir/StructureDefinition/request-statusReason
message StatusReasonExtension {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/request-statusReason";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  CodeableConcept value_codeable_concept = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for markdown.
// String equivalent with markdown.
// See http://hl7.org/fhir/StructureDefinition/rendering-markdown
message StringMarkdown {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/rendering-markdown";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for SC-coding.
// code for string.
// See http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding
message StringSCCoding {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Coding value_coding = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for xhtml.
// String equivalent with html markup.
// See http://hl7.org/fhir/StructureDefinition/rendering-xhtml
message StringXhtml {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/rendering-xhtml";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for ancestor.
// StructureDefinition this is derived from.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor
message StructureDefinitionAncestor {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for applicable-version.
// Another Version this applies to.
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version
message StructureDefinitionApplicableVersion {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/FHIR-version";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    FHIRVersionCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for category.
// Category from official resource list.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-category
message StructureDefinitionCategory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-category";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for codegen-super.
// Use a different base when generating code.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super
message StructureDefinitionCodegenSuper {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for dependencies.
// Dependent Profiles - must be valid against these too.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies
message StructureDefinitionDependencies {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for fmm-no-warnings.
// FMM Level (if no warnings).
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings
message StructureDefinitionFmmNoWarnings {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for normative-version.
// If normative, which was the first normative version.
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version
message StructureDefinitionNormativeVersion {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/FHIR-version";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    FHIRVersionCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for security-category.
// Security Categorization for Resource.
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category
message StructureDefinitionSecurityCategory {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/resource-security-category";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ResourceSecurityCategoryCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for summary.
// Additional text for the summary presentation.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-summary
message StructureDefinitionSummary {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for table-name.
// Show mappings in the summary table with this name.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name
message StructureDefinitionTableName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for template-status.
// Template Status Code (more authoring statuses).
// See
// http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status
message StructureDefinitionTemplateStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/template-status-code";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    TemplateStatusCodeValueSet.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for xml-no-order.
// Whether elements can come in any order (XML).
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order
message StructureDefinitionXmlNoOrder {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for style.
// Html style value.
// See http://hl7.org/fhir/StructureDefinition/rendering-style
message Style {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/rendering-style";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for styleSensitive.
// Are styles important for processing?.
// See http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
message StyleSensitive {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for supportingInfo.
// Other information that may be relevant to this event.
// See http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo
message SupportingInfo {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Resource"
  ];
}

// Auto-generated from StructureDefinition for targetBodyStructure.
// The target point for this procedure.
// See http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure
message TargetBodyStructure {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "BodyStructure"
  ];
}

// Auto-generated from StructureDefinition for candidateList.
// List of possible owners of Task.
// See http://hl7.org/fhir/StructureDefinition/task-candidateList
message TaskCandidateList {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/task-candidateList";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Device",
    (.google.fhir.proto.valid_reference_type) = "Organization",
    (.google.fhir.proto.valid_reference_type) = "Patient",
    (.google.fhir.proto.valid_reference_type) = "Practitioner",
    (.google.fhir.proto.valid_reference_type) = "RelatedPerson"
  ];
}

// Auto-generated from StructureDefinition for replaces.
// Task(s) replaced by this Task.
// See http://hl7.org/fhir/StructureDefinition/task-replaces
message TaskReplaces {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/task-replaces";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Reference value_reference = 3 [
    (.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR,
    (.google.fhir.proto.valid_reference_type) = "Task"
  ];
}

// Auto-generated from StructureDefinition for Timezone Code.
// IANA Timezone Code per BCP 175.
// See http://hl7.org/fhir/StructureDefinition/tz-code
message TimezoneCode {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/tz-code";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/timezones";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    // Field 1 reserved to allow enumeration in the future.
    reserved 1;

    String id = 2;

    repeated Extension extension = 3;

    // This valueset is not enumerable, and so is represented as a string.
    string value = 4;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for dayOfMonth.
// Day of Month for schedule.
// See http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth
message TimingDayOfMonth {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  PositiveInt value_positive_int = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for exact.
// Whether specified times must be followed as closely as possible.
// See http://hl7.org/fhir/StructureDefinition/timing-exact
message TimingExact {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/timing-exact";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for Translation.
// Language Translation (Localization).
// See http://hl7.org/fhir/StructureDefinition/translation
message Translation {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/translation";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Code for Language
  Code lang = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Content in other Language
  message ContentX {
    option (.google.fhir.proto.is_choice_type) = true;

    oneof choice {
      String string_value = 1 [json_name = "string"];
      Markdown markdown = 2;
    }
  }
  ContentX content = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for group.
// The group which this usage context is part of.
// See http://hl7.org/fhir/StructureDefinition/usagecontext-group
message UsageContextGroup {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/usagecontext-group";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for activityStatusDate.
// Date when the activity status is in effect.
// See http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate
message ValueSetActivityStatusDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Date value_date = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for author.
// Entity/entities that create and may modify the Value Set.
// See http://hl7.org/fhir/StructureDefinition/valueset-author
message ValueSetAuthor {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-author";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  ContactDetail value_contact_detail = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for authoritativeSource.
// Reference to the current trusted source of the ValueSet resource (metadata
// and definition). See
// http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource
message ValueSetAuthoritativeSource {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for caseSensitive.
// If code is case sensitive.
// See http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive
message ValueSetCaseSensitive {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for concept-comments.
// Comment about the use of this code in this context.
// See http://hl7.org/fhir/StructureDefinition/valueset-concept-comments
message ValueSetConceptComments {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for concept-definition.
// A definition for this code.
// See http://hl7.org/fhir/StructureDefinition/valueset-concept-definition
message ValueSetConceptDefinition {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for conceptOrder.
// Appearance order for user selection.
// See http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder
message ValueSetConceptOrder {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Integer value_integer = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for deprecated.
// The concept should not be used.
// See http://hl7.org/fhir/StructureDefinition/valueset-deprecated
message ValueSetDeprecated {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-deprecated";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for effectiveDate.
// When the value set version becomes Active and is available for use.
// See http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate
message ValueSetEffectiveDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  DateTime value_date_time = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expand-group.
// Defines a hierarchy structure (when in UI mode).
// See http://hl7.org/fhir/StructureDefinition/valueset-expand-group
message ValueSetExpandGroup {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-expand-group";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Underlying code from the system
  Code code = 4;

  // Display for the group
  String display = 5;

  // Codes or other groups in this group
  repeated Code member = 6
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expand-rules.
// all-codes | ungrouped | groups-only.
// See http://hl7.org/fhir/StructureDefinition/valueset-expand-rules
message ValueSetExpandRules {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/expansion-processing-rule";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ExpansionProcessingRuleCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expansionSource.
// ValueSet definition used to generate this expansion (logical URL).
// See http://hl7.org/fhir/StructureDefinition/valueset-expansionSource
message ValueSetExpansionSource {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expirationDate.
// When the value set version should no longer be used.
// See http://hl7.org/fhir/StructureDefinition/valueset-expirationDate
message ValueSetExpirationDate {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Date value_date = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for expression.
// An alternative computable expression of the value set content.
// See http://hl7.org/fhir/StructureDefinition/valueset-expression
message ValueSetExpression {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-expression";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Expression value_expression = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for extensible.
// Intended to be used with an extensible binding (e.g. 'open').
// See http://hl7.org/fhir/StructureDefinition/valueset-extensible
message ValueSetExtensible {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-extensible";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for keyWord.
// Descriptors and key terms for search.
// See http://hl7.org/fhir/StructureDefinition/valueset-keyWord
message ValueSetKeyWord {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-keyWord";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for label.
// E.g. "(a)", "1.", etc.
// See http://hl7.org/fhir/StructureDefinition/valueset-label
message ValueSetLabel {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-label";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for map.
// A concept map relevant to interpret this value set.
// See http://hl7.org/fhir/StructureDefinition/valueset-map
message ValueSetMap {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-map";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for otherName.
// Alternative names.
// See http://hl7.org/fhir/StructureDefinition/valueset-otherName
message ValueSetOtherName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-otherName";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // Human readable, short and specific
  String name = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Which name is preferred for this language
  Boolean preferred = 5;
}

// Auto-generated from StructureDefinition for parameterSource.
// Declares the source of the parameter.
// See http://hl7.org/fhir/StructureDefinition/valueset-parameterSource
message ValueSetParameterSource {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/expansion-parameter-source";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    ExpansionParameterSourceCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for reference.
// Url of Value set the code was chosen from.
// See http://hl7.org/fhir/StructureDefinition/valueset-reference
message ValueSetReference {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-reference";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for rules-text.
// An alternative non-computable expression of the value set content.
// See http://hl7.org/fhir/StructureDefinition/valueset-rules-text
message ValueSetRulesText {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-rules-text";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for sourceReference.
// Where did this content come from.
// See http://hl7.org/fhir/StructureDefinition/valueset-sourceReference
message ValueSetSourceReference {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for steward.
// Entity responsible for Value Set.
// See http://hl7.org/fhir/StructureDefinition/valueset-steward
message ValueSetSteward {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-steward";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  ContactDetail value_contact_detail = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for supplement.
// Declares dependency on a particular supplment.
// See http://hl7.org/fhir/StructureDefinition/valueset-supplement
message ValueSetSupplement {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-supplement";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for system.
// Code system resource.
// See http://hl7.org/fhir/StructureDefinition/valueset-system
message ValueSetSystem {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-system";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Canonical value_canonical = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for systemName.
// Code system name.
// See http://hl7.org/fhir/StructureDefinition/valueset-systemName
message ValueSetSystemName {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-systemName";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for systemRef.
// Where to find code system.
// See http://hl7.org/fhir/StructureDefinition/valueset-systemRef
message ValueSetSystemRef {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-systemRef";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for toocostly.
// The expansion is incomplete because the full expansion is too large.
// See http://hl7.org/fhir/StructureDefinition/valueset-toocostly
message ValueSetToocostly {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-toocostly";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for trusted-expansion.
// Reference to a trusted expansion.
// See http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion
message ValueSetTrustedExpansion {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Uri value_uri = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for unclosed.
// The expansion is incomplete (perhaps because of post-coordination).
// See http://hl7.org/fhir/StructureDefinition/valueset-unclosed
message ValueSetUnclosed {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-unclosed";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Boolean value_boolean = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for usage.
// Who has used and how?.
// See http://hl7.org/fhir/StructureDefinition/valueset-usage
message ValueSetUsage {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-usage";

  // Unique id for inter-element referencing
  String id = 1;

  // Additional content defined by implementations
  repeated Extension extension = 2;

  // A consumer of or client for the value set
  String user = 4
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];

  // Implementation/project/standard that uses value set
  String use = 5
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for warning.
// Extra warning about the correct use of the value set.
// See http://hl7.org/fhir/StructureDefinition/valueset-warning
message ValueSetWarning {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-warning";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  Markdown value_markdown = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for workflowStatus.
// Indicates the state of development of the value set.
// See http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus
message ValueSetWorkflowStatus {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  String value_string = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}

// Auto-generated from StructureDefinition for wg.
// Owning Work Group.
// See http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
message Wg {
  option (.google.fhir.proto.structure_definition_kind) = KIND_COMPLEX_TYPE;
  option (.google.fhir.proto.fhir_profile_base) =
      "http://hl7.org/fhir/StructureDefinition/Extension";
  option (.google.fhir.proto.fhir_structure_definition_url) =
      "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg";

  // Unique id for inter-element referencing
  String id = 1;

  // Value of extension
  message ValueCode {
    option (.google.fhir.proto.structure_definition_kind) = KIND_PRIMITIVE_TYPE;
    option (.google.fhir.proto.fhir_valueset_url) =
        "http://hl7.org/fhir/ValueSet/hl7-work-group";
    option (.google.fhir.proto.fhir_profile_base) =
        "http://hl7.org/fhir/StructureDefinition/code";

    HL7WorkgroupCode.Value value = 1;

    String id = 2;

    repeated Extension extension = 3;
  }
  ValueCode value_code = 3
      [(.google.fhir.proto.validation_requirement) = REQUIRED_BY_FHIR];
}
