substance_go_proto

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_google_fhir_proto_r4_core_resources_substance_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Substance

type Substance struct {

	// Logical id of this artifact
	Id *datatypes_go_proto.Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Metadata about the resource
	Meta *datatypes_go_proto.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// A set of rules under which this content was created
	ImplicitRules *datatypes_go_proto.Uri `protobuf:"bytes,3,opt,name=implicit_rules,json=implicitRules,proto3" json:"implicit_rules,omitempty"`
	// Language of the resource content
	Language *datatypes_go_proto.Code `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	// Text summary of the resource, for human interpretation
	Text *datatypes_go_proto.Narrative `protobuf:"bytes,5,opt,name=text,proto3" json:"text,omitempty"`
	// Contained, inline Resources
	Contained []*any.Any `protobuf:"bytes,6,rep,name=contained,proto3" json:"contained,omitempty"`
	// Additional content defined by implementations
	Extension []*datatypes_go_proto.Extension `protobuf:"bytes,8,rep,name=extension,proto3" json:"extension,omitempty"`
	// Extensions that cannot be ignored
	ModifierExtension []*datatypes_go_proto.Extension `protobuf:"bytes,9,rep,name=modifier_extension,json=modifierExtension,proto3" json:"modifier_extension,omitempty"`
	// Unique identifier
	Identifier []*datatypes_go_proto.Identifier `protobuf:"bytes,10,rep,name=identifier,proto3" json:"identifier,omitempty"`
	Status     *Substance_StatusCode            `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// What class/type of substance this is
	Category []*datatypes_go_proto.CodeableConcept `protobuf:"bytes,12,rep,name=category,proto3" json:"category,omitempty"`
	// What substance this is
	Code *datatypes_go_proto.CodeableConcept `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"`
	// Textual description of the substance, comments
	Description *datatypes_go_proto.String `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"`
	Instance    []*Substance_Instance      `protobuf:"bytes,15,rep,name=instance,proto3" json:"instance,omitempty"`
	Ingredient  []*Substance_Ingredient    `protobuf:"bytes,16,rep,name=ingredient,proto3" json:"ingredient,omitempty"`
	// contains filtered or unexported fields
}

Auto-generated from StructureDefinition for Substance, last updated 2019-11-01T09:29:23.356+11:00. A homogeneous material with a definite composition. See http://hl7.org/fhir/StructureDefinition/Substance

func (*Substance) Descriptor deprecated

func (*Substance) Descriptor() ([]byte, []int)

Deprecated: Use Substance.ProtoReflect.Descriptor instead.

func (*Substance) GetCategory

func (x *Substance) GetCategory() []*datatypes_go_proto.CodeableConcept

func (*Substance) GetCode

func (*Substance) GetContained

func (x *Substance) GetContained() []*any.Any

func (*Substance) GetDescription

func (x *Substance) GetDescription() *datatypes_go_proto.String

func (*Substance) GetExtension

func (x *Substance) GetExtension() []*datatypes_go_proto.Extension

func (*Substance) GetId

func (x *Substance) GetId() *datatypes_go_proto.Id

func (*Substance) GetIdentifier

func (x *Substance) GetIdentifier() []*datatypes_go_proto.Identifier

func (*Substance) GetImplicitRules

func (x *Substance) GetImplicitRules() *datatypes_go_proto.Uri

func (*Substance) GetIngredient

func (x *Substance) GetIngredient() []*Substance_Ingredient

func (*Substance) GetInstance

func (x *Substance) GetInstance() []*Substance_Instance

func (*Substance) GetLanguage

func (x *Substance) GetLanguage() *datatypes_go_proto.Code

func (*Substance) GetMeta

func (x *Substance) GetMeta() *datatypes_go_proto.Meta

func (*Substance) GetModifierExtension

func (x *Substance) GetModifierExtension() []*datatypes_go_proto.Extension

func (*Substance) GetStatus

func (x *Substance) GetStatus() *Substance_StatusCode

func (*Substance) GetText

func (x *Substance) GetText() *datatypes_go_proto.Narrative

func (*Substance) ProtoMessage

func (*Substance) ProtoMessage()

func (*Substance) ProtoReflect

func (x *Substance) ProtoReflect() protoreflect.Message

func (*Substance) Reset

func (x *Substance) Reset()

func (*Substance) String

func (x *Substance) String() string

type Substance_Ingredient

type Substance_Ingredient struct {

	// Unique id for inter-element referencing
	Id *datatypes_go_proto.String `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Additional content defined by implementations
	Extension []*datatypes_go_proto.Extension `protobuf:"bytes,2,rep,name=extension,proto3" json:"extension,omitempty"`
	// Extensions that cannot be ignored even if unrecognized
	ModifierExtension []*datatypes_go_proto.Extension `protobuf:"bytes,3,rep,name=modifier_extension,json=modifierExtension,proto3" json:"modifier_extension,omitempty"`
	// Optional amount (concentration)
	Quantity  *datatypes_go_proto.Ratio        `protobuf:"bytes,4,opt,name=quantity,proto3" json:"quantity,omitempty"`
	Substance *Substance_Ingredient_SubstanceX `protobuf:"bytes,5,opt,name=substance,proto3" json:"substance,omitempty"`
	// contains filtered or unexported fields
}

Composition information about the substance

func (*Substance_Ingredient) Descriptor deprecated

func (*Substance_Ingredient) Descriptor() ([]byte, []int)

Deprecated: Use Substance_Ingredient.ProtoReflect.Descriptor instead.

func (*Substance_Ingredient) GetExtension

func (x *Substance_Ingredient) GetExtension() []*datatypes_go_proto.Extension

func (*Substance_Ingredient) GetId

func (*Substance_Ingredient) GetModifierExtension

func (x *Substance_Ingredient) GetModifierExtension() []*datatypes_go_proto.Extension

func (*Substance_Ingredient) GetQuantity

func (x *Substance_Ingredient) GetQuantity() *datatypes_go_proto.Ratio

func (*Substance_Ingredient) GetSubstance

func (*Substance_Ingredient) ProtoMessage

func (*Substance_Ingredient) ProtoMessage()

func (*Substance_Ingredient) ProtoReflect

func (x *Substance_Ingredient) ProtoReflect() protoreflect.Message

func (*Substance_Ingredient) Reset

func (x *Substance_Ingredient) Reset()

func (*Substance_Ingredient) String

func (x *Substance_Ingredient) String() string

type Substance_Ingredient_SubstanceX

type Substance_Ingredient_SubstanceX struct {

	// Types that are assignable to Choice:
	//	*Substance_Ingredient_SubstanceX_CodeableConcept
	//	*Substance_Ingredient_SubstanceX_Reference
	Choice isSubstance_Ingredient_SubstanceX_Choice `protobuf_oneof:"choice"`
	// contains filtered or unexported fields
}

A component of the substance

func (*Substance_Ingredient_SubstanceX) Descriptor deprecated

func (*Substance_Ingredient_SubstanceX) Descriptor() ([]byte, []int)

Deprecated: Use Substance_Ingredient_SubstanceX.ProtoReflect.Descriptor instead.

func (*Substance_Ingredient_SubstanceX) GetChoice

func (m *Substance_Ingredient_SubstanceX) GetChoice() isSubstance_Ingredient_SubstanceX_Choice

func (*Substance_Ingredient_SubstanceX) GetCodeableConcept

func (*Substance_Ingredient_SubstanceX) GetReference

func (*Substance_Ingredient_SubstanceX) ProtoMessage

func (*Substance_Ingredient_SubstanceX) ProtoMessage()

func (*Substance_Ingredient_SubstanceX) ProtoReflect

func (*Substance_Ingredient_SubstanceX) Reset

func (*Substance_Ingredient_SubstanceX) String

type Substance_Ingredient_SubstanceX_CodeableConcept

type Substance_Ingredient_SubstanceX_CodeableConcept struct {
	CodeableConcept *datatypes_go_proto.CodeableConcept `protobuf:"bytes,1,opt,name=codeable_concept,json=codeableConcept,proto3,oneof"`
}

type Substance_Ingredient_SubstanceX_Reference

type Substance_Ingredient_SubstanceX_Reference struct {
	Reference *datatypes_go_proto.Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}

type Substance_Instance

type Substance_Instance struct {

	// Unique id for inter-element referencing
	Id *datatypes_go_proto.String `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Additional content defined by implementations
	Extension []*datatypes_go_proto.Extension `protobuf:"bytes,2,rep,name=extension,proto3" json:"extension,omitempty"`
	// Extensions that cannot be ignored even if unrecognized
	ModifierExtension []*datatypes_go_proto.Extension `protobuf:"bytes,3,rep,name=modifier_extension,json=modifierExtension,proto3" json:"modifier_extension,omitempty"`
	// Identifier of the package/container
	Identifier *datatypes_go_proto.Identifier `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// When no longer valid to use
	Expiry *datatypes_go_proto.DateTime `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// Amount of substance in the package
	Quantity *datatypes_go_proto.SimpleQuantity `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

If this describes a specific package/container of the substance

func (*Substance_Instance) Descriptor deprecated

func (*Substance_Instance) Descriptor() ([]byte, []int)

Deprecated: Use Substance_Instance.ProtoReflect.Descriptor instead.

func (*Substance_Instance) GetExpiry

func (*Substance_Instance) GetExtension

func (x *Substance_Instance) GetExtension() []*datatypes_go_proto.Extension

func (*Substance_Instance) GetId

func (*Substance_Instance) GetIdentifier

func (x *Substance_Instance) GetIdentifier() *datatypes_go_proto.Identifier

func (*Substance_Instance) GetModifierExtension

func (x *Substance_Instance) GetModifierExtension() []*datatypes_go_proto.Extension

func (*Substance_Instance) GetQuantity

func (*Substance_Instance) ProtoMessage

func (*Substance_Instance) ProtoMessage()

func (*Substance_Instance) ProtoReflect

func (x *Substance_Instance) ProtoReflect() protoreflect.Message

func (*Substance_Instance) Reset

func (x *Substance_Instance) Reset()

func (*Substance_Instance) String

func (x *Substance_Instance) String() string

type Substance_StatusCode

type Substance_StatusCode struct {
	Value     codes_go_proto.FHIRSubstanceStatusCode_Value `protobuf:"varint,1,opt,name=value,proto3,enum=google.fhir.r4.core.FHIRSubstanceStatusCode_Value" json:"value,omitempty"`
	Id        *datatypes_go_proto.String                   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Extension []*datatypes_go_proto.Extension              `protobuf:"bytes,3,rep,name=extension,proto3" json:"extension,omitempty"`
	// contains filtered or unexported fields
}

active | inactive | entered-in-error

func (*Substance_StatusCode) Descriptor deprecated

func (*Substance_StatusCode) Descriptor() ([]byte, []int)

Deprecated: Use Substance_StatusCode.ProtoReflect.Descriptor instead.

func (*Substance_StatusCode) GetExtension

func (x *Substance_StatusCode) GetExtension() []*datatypes_go_proto.Extension

func (*Substance_StatusCode) GetId

func (*Substance_StatusCode) GetValue

func (*Substance_StatusCode) ProtoMessage

func (*Substance_StatusCode) ProtoMessage()

func (*Substance_StatusCode) ProtoReflect

func (x *Substance_StatusCode) ProtoReflect() protoreflect.Message

func (*Substance_StatusCode) Reset

func (x *Substance_StatusCode) Reset()

func (*Substance_StatusCode) String

func (x *Substance_StatusCode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL