Documentation ¶
Index ¶
- Variables
- type FhirVersion
- func (FhirVersion) Descriptor() protoreflect.EnumDescriptor
- func (x FhirVersion) Enum() *FhirVersion
- func (FhirVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x FhirVersion) Number() protoreflect.EnumNumber
- func (x FhirVersion) String() string
- func (FhirVersion) Type() protoreflect.EnumType
- type Requirement
- func (Requirement) Descriptor() protoreflect.EnumDescriptor
- func (x Requirement) Enum() *Requirement
- func (Requirement) EnumDescriptor() ([]byte, []int)deprecated
- func (x Requirement) Number() protoreflect.EnumNumber
- func (x Requirement) String() string
- func (Requirement) Type() protoreflect.EnumType
- type StructureDefinitionKindValue
- func (StructureDefinitionKindValue) Descriptor() protoreflect.EnumDescriptor
- func (x StructureDefinitionKindValue) Enum() *StructureDefinitionKindValue
- func (StructureDefinitionKindValue) EnumDescriptor() ([]byte, []int)deprecated
- func (x StructureDefinitionKindValue) Number() protoreflect.EnumNumber
- func (x StructureDefinitionKindValue) String() string
- func (StructureDefinitionKindValue) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FhirVersion_name = map[int32]string{ 0: "FHIR_VERSION_UNKNOWN", 1: "DSTU2", 2: "STU3", 4: "R4", 5: "R5", } FhirVersion_value = map[string]int32{ "FHIR_VERSION_UNKNOWN": 0, "DSTU2": 1, "STU3": 2, "R4": 4, "R5": 5, } )
Enum value maps for FhirVersion.
View Source
var ( StructureDefinitionKindValue_name = map[int32]string{ 0: "KIND_UNKNOWN", 1: "KIND_PRIMITIVE_TYPE", 2: "KIND_COMPLEX_TYPE", 3: "KIND_RESOURCE", 4: "KIND_LOGICAL", } StructureDefinitionKindValue_value = map[string]int32{ "KIND_UNKNOWN": 0, "KIND_PRIMITIVE_TYPE": 1, "KIND_COMPLEX_TYPE": 2, "KIND_RESOURCE": 3, "KIND_LOGICAL": 4, } )
Enum value maps for StructureDefinitionKindValue.
View Source
var ( Requirement_name = map[int32]string{ 0: "NOT_REQUIRED", 1: "REQUIRED_BY_FHIR", } Requirement_value = map[string]int32{ "NOT_REQUIRED": 0, "REQUIRED_BY_FHIR": 1, } )
Enum value maps for Requirement.
View Source
var ( // If this message is a Code constrained to a specific valueset, this is the // valueset identifier. // // optional string fhir_valueset_url = 180887441; E_FhirValuesetUrl = &file_proto_google_fhir_proto_annotations_proto_extTypes[0] // If this message is a Reference, the reference is constrained to these // resource types. // // repeated string fhir_reference_type = 183546385; E_FhirReferenceType = &file_proto_google_fhir_proto_annotations_proto_extTypes[1] // What type of fhir structure does this message represent? // // optional google.fhir.proto.StructureDefinitionKindValue structure_definition_kind = 182131192; E_StructureDefinitionKind = &file_proto_google_fhir_proto_annotations_proto_extTypes[2] // For primitive types, values must match this regex if present. // // optional string value_regex = 204543906; E_ValueRegex = &file_proto_google_fhir_proto_annotations_proto_extTypes[3] // Url for the structure definition this message was built from. // // optional string fhir_structure_definition_url = 207562726; E_FhirStructureDefinitionUrl = &file_proto_google_fhir_proto_annotations_proto_extTypes[4] // Url for the structure definition this analytics message was built from. // // optional string analytic_proto_for = 255621908; E_AnalyticProtoFor = &file_proto_google_fhir_proto_annotations_proto_extTypes[5] // A list of structure definitions of elements that this element is a // profile of. // In the case of a profile of a profile, this will have the Structure // definition of all elements in this profile's inheritance chain. // // repeated string fhir_profile_base = 206336851; E_FhirProfileBase = &file_proto_google_fhir_proto_annotations_proto_extTypes[6] // This message refers to an abstract type in FHIR // // optional bool is_abstract_type = 228208334; E_IsAbstractType = &file_proto_google_fhir_proto_annotations_proto_extTypes[7] // Is this message a wrapper around a choice type? // // optional bool is_choice_type = 228595764; E_IsChoiceType = &file_proto_google_fhir_proto_annotations_proto_extTypes[8] // optional string fhir_fixed_system = 255621907; E_FhirFixedSystem = &file_proto_google_fhir_proto_annotations_proto_extTypes[9] // FHIRPath-based constraints that apply to the message in question. // These constraints are propagated from the constraint.expression // field on the FHIR ElementDefinition and may be used for data validation. // // repeated string fhir_path_message_constraint = 276863075; E_FhirPathMessageConstraint = &file_proto_google_fhir_proto_annotations_proto_extTypes[10] // Used to differentiate complex vs simple extensions in the case where it is // ambiguous. Specifically, any extension with only a single fhir datatype // field will be assumed to be a simple extension UNLESS this annotation is // present. // Note that this option is NOT set on messages where it can be determined // they are complex extensions via inspecting the structure alone (e.g., an // extension with more than one data field). // // optional bool is_complex_extension = 339293157; E_IsComplexExtension = &file_proto_google_fhir_proto_annotations_proto_extTypes[11] // DEPRECATED: use fhir_profile_base to identify extension, and // fhir_structure_definition_url to get the extension url. // // optional string fhir_extension_url = 177048773; // // Deprecated: Do not use. E_FhirExtensionUrl = &file_proto_google_fhir_proto_annotations_proto_extTypes[12] )
Extension fields to descriptor.MessageOptions.
View Source
var ( // If this message CodeSystem enum, this is the url for the CodeSystem // // optional string fhir_code_system_url = 268060945; E_FhirCodeSystemUrl = &file_proto_google_fhir_proto_annotations_proto_extTypes[13] // If this message ValueSet enum, this is the url for the CodeSystem // // optional string enum_valueset_url = 276877913; E_EnumValuesetUrl = &file_proto_google_fhir_proto_annotations_proto_extTypes[14] )
Extension fields to descriptor.EnumOptions.
View Source
var ( // If we had to rename this code to make a valid enum identifier, what was // the original name? // // optional string fhir_original_code = 181000551; E_FhirOriginalCode = &file_proto_google_fhir_proto_annotations_proto_extTypes[15] // If the code system cannot be determined by the enum it is a part of, // (e.g., a valueset with multiple codesystems), this lists the source system. // // optional string source_code_system = 275176953; E_SourceCodeSystem = &file_proto_google_fhir_proto_annotations_proto_extTypes[16] )
Extension fields to descriptor.EnumValueOptions.
View Source
var ( // Is this field required? // // optional google.fhir.proto.Requirement validation_requirement = 162282766; E_ValidationRequirement = &file_proto_google_fhir_proto_annotations_proto_extTypes[17] // If this field has slices on it, this indicates the subfield to slice it by // (slicing.discriminator.path in the structure definition). // // optional string fhir_slice_by = 211855060; E_FhirSliceBy = &file_proto_google_fhir_proto_annotations_proto_extTypes[18] // This field is a slice of another field with this name. // // optional string fhir_slice_of = 211842556; E_FhirSliceOf = &file_proto_google_fhir_proto_annotations_proto_extTypes[19] // If this field is a slice, this is the value of the field indicated by the // fhir_slice_by_field on the main field that should be placed in this slice. // // optional string fhir_slice_value = 211855323; E_FhirSliceValue = &file_proto_google_fhir_proto_annotations_proto_extTypes[20] // Indicates the url for an extension slice. // This is a special case of the fhir_slice_value annotation that implies: // * fhir_slice_by = "url" on the extension field // * fhir_slice_of = "extension" on this field // This has the additional behavior of inlining simple extensions (i.e., // extensions with a value, rather than sub-extensions) as the value // itself. // // optional string fhir_inlined_extension_url = 206340037; E_FhirInlinedExtensionUrl = &file_proto_google_fhir_proto_annotations_proto_extTypes[21] // Indicates the system for a coding slice within a codeable concept. // This is a special case of the fhir_slice_value annotation that implies: // * fhir_slice_by = "code" on the coding field // * fhir_slice_of = "coding" on this field // This has the additional behavior of inlining the code directly, instead // of a coding with fixed system. // // optional string fhir_inlined_coding_system = 211854975; E_FhirInlinedCodingSystem = &file_proto_google_fhir_proto_annotations_proto_extTypes[22] // Indicates the code for a coding slice within a codeable concept. // This should only be used on fields that have fhir_inlined_coding_system // set. In addition to the implications of fhir_inlined_coding_system, // this also sets a fixed code. // // optional string fhir_inlined_coding_code = 212122564; E_FhirInlinedCodingCode = &file_proto_google_fhir_proto_annotations_proto_extTypes[23] // FHIRPath-based constraints that apply to the field in question. // These constraints are propagated from the constraint.expression // field on the FHIR ElementDefinition and may be used for data validation. // // repeated string fhir_path_constraint = 244450286; E_FhirPathConstraint = &file_proto_google_fhir_proto_annotations_proto_extTypes[24] // Indicates which resource types can be valid references. // // repeated string valid_reference_type = 218884094; E_ValidReferenceType = &file_proto_google_fhir_proto_annotations_proto_extTypes[25] // Indicates the base FHIR resource type a ReferenceId field points to. // // optional string referenced_fhir_type = 239446062; E_ReferencedFhirType = &file_proto_google_fhir_proto_annotations_proto_extTypes[26] )
Extension fields to descriptor.FieldOptions.
View Source
var ( // Whether or not this oneof is optional // If absent, oneofs are assumed to be REQUIRED if their containing message is // set. The most common case of oneofs is choice types, where the requirements // should be applied to the containing message. // // optional bool fhir_oneof_is_optional = 214472422; E_FhirOneofIsOptional = &file_proto_google_fhir_proto_annotations_proto_extTypes[27] )
Extension fields to descriptor.OneofOptions.
View Source
var ( // What version of FHIR the protos in this file use (e.g., STU3, R4) // // optional google.fhir.proto.FhirVersion fhir_version = 248874083; E_FhirVersion = &file_proto_google_fhir_proto_annotations_proto_extTypes[28] )
Extension fields to descriptor.FileOptions.
View Source
var File_proto_google_fhir_proto_annotations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FhirVersion ¶
type FhirVersion int32
const ( FhirVersion_FHIR_VERSION_UNKNOWN FhirVersion = 0 FhirVersion_DSTU2 FhirVersion = 1 FhirVersion_STU3 FhirVersion = 2 FhirVersion_R4 FhirVersion = 4 FhirVersion_R5 FhirVersion = 5 )
func (FhirVersion) Descriptor ¶
func (FhirVersion) Descriptor() protoreflect.EnumDescriptor
func (FhirVersion) Enum ¶
func (x FhirVersion) Enum() *FhirVersion
func (FhirVersion) EnumDescriptor
deprecated
func (FhirVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use FhirVersion.Descriptor instead.
func (FhirVersion) Number ¶
func (x FhirVersion) Number() protoreflect.EnumNumber
func (FhirVersion) String ¶
func (x FhirVersion) String() string
func (FhirVersion) Type ¶
func (FhirVersion) Type() protoreflect.EnumType
type Requirement ¶
type Requirement int32
To annotate cardinality constraints.
const ( Requirement_NOT_REQUIRED Requirement = 0 Requirement_REQUIRED_BY_FHIR Requirement = 1 )
func (Requirement) Descriptor ¶
func (Requirement) Descriptor() protoreflect.EnumDescriptor
func (Requirement) Enum ¶
func (x Requirement) Enum() *Requirement
func (Requirement) EnumDescriptor
deprecated
func (Requirement) EnumDescriptor() ([]byte, []int)
Deprecated: Use Requirement.Descriptor instead.
func (Requirement) Number ¶
func (x Requirement) Number() protoreflect.EnumNumber
func (Requirement) String ¶
func (x Requirement) String() string
func (Requirement) Type ¶
func (Requirement) Type() protoreflect.EnumType
type StructureDefinitionKindValue ¶
type StructureDefinitionKindValue int32
TODO: Unify with StructureDefinitionKindCode
const ( StructureDefinitionKindValue_KIND_UNKNOWN StructureDefinitionKindValue = 0 StructureDefinitionKindValue_KIND_PRIMITIVE_TYPE StructureDefinitionKindValue = 1 StructureDefinitionKindValue_KIND_COMPLEX_TYPE StructureDefinitionKindValue = 2 StructureDefinitionKindValue_KIND_RESOURCE StructureDefinitionKindValue = 3 StructureDefinitionKindValue_KIND_LOGICAL StructureDefinitionKindValue = 4 )
func (StructureDefinitionKindValue) Descriptor ¶
func (StructureDefinitionKindValue) Descriptor() protoreflect.EnumDescriptor
func (StructureDefinitionKindValue) Enum ¶
func (x StructureDefinitionKindValue) Enum() *StructureDefinitionKindValue
func (StructureDefinitionKindValue) EnumDescriptor
deprecated
func (StructureDefinitionKindValue) EnumDescriptor() ([]byte, []int)
Deprecated: Use StructureDefinitionKindValue.Descriptor instead.
func (StructureDefinitionKindValue) Number ¶
func (x StructureDefinitionKindValue) Number() protoreflect.EnumNumber
func (StructureDefinitionKindValue) String ¶
func (x StructureDefinitionKindValue) String() string
func (StructureDefinitionKindValue) Type ¶
func (StructureDefinitionKindValue) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.