medication_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_medication_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Medication

type Medication 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"`
	// Business identifier for this medication
	Identifier []*datatypes_go_proto.Identifier `protobuf:"bytes,10,rep,name=identifier,proto3" json:"identifier,omitempty"`
	// Codes that identify this medication
	Code   *datatypes_go_proto.CodeableConcept `protobuf:"bytes,11,opt,name=code,proto3" json:"code,omitempty"`
	Status *Medication_StatusCode              `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
	// Manufacturer of the item
	Manufacturer *datatypes_go_proto.Reference `protobuf:"bytes,13,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	// powder | tablets | capsule +
	Form *datatypes_go_proto.CodeableConcept `protobuf:"bytes,14,opt,name=form,proto3" json:"form,omitempty"`
	// Amount of drug in package
	Amount     *datatypes_go_proto.Ratio `protobuf:"bytes,15,opt,name=amount,proto3" json:"amount,omitempty"`
	Ingredient []*Medication_Ingredient  `protobuf:"bytes,16,rep,name=ingredient,proto3" json:"ingredient,omitempty"`
	Batch      *Medication_Batch         `protobuf:"bytes,17,opt,name=batch,proto3" json:"batch,omitempty"`
	// contains filtered or unexported fields
}

Auto-generated from StructureDefinition for Medication, last updated 2019-11-01T09:29:23.356+11:00. Definition of a Medication. See http://hl7.org/fhir/StructureDefinition/Medication

func (*Medication) Descriptor deprecated

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

Deprecated: Use Medication.ProtoReflect.Descriptor instead.

func (*Medication) GetAmount

func (x *Medication) GetAmount() *datatypes_go_proto.Ratio

func (*Medication) GetBatch

func (x *Medication) GetBatch() *Medication_Batch

func (*Medication) GetCode

func (*Medication) GetContained

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

func (*Medication) GetExtension

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

func (*Medication) GetForm

func (*Medication) GetId

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

func (*Medication) GetIdentifier

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

func (*Medication) GetImplicitRules

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

func (*Medication) GetIngredient

func (x *Medication) GetIngredient() []*Medication_Ingredient

func (*Medication) GetLanguage

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

func (*Medication) GetManufacturer

func (x *Medication) GetManufacturer() *datatypes_go_proto.Reference

func (*Medication) GetMeta

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

func (*Medication) GetModifierExtension

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

func (*Medication) GetStatus

func (x *Medication) GetStatus() *Medication_StatusCode

func (*Medication) GetText

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

func (*Medication) ProtoMessage

func (*Medication) ProtoMessage()

func (*Medication) ProtoReflect

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

func (*Medication) Reset

func (x *Medication) Reset()

func (*Medication) String

func (x *Medication) String() string

type Medication_Batch

type Medication_Batch 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 assigned to batch
	LotNumber *datatypes_go_proto.String `protobuf:"bytes,4,opt,name=lot_number,json=lotNumber,proto3" json:"lot_number,omitempty"`
	// When batch will expire
	ExpirationDate *datatypes_go_proto.DateTime `protobuf:"bytes,5,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	// contains filtered or unexported fields
}

Details about packaged medications

func (*Medication_Batch) Descriptor deprecated

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

Deprecated: Use Medication_Batch.ProtoReflect.Descriptor instead.

func (*Medication_Batch) GetExpirationDate

func (x *Medication_Batch) GetExpirationDate() *datatypes_go_proto.DateTime

func (*Medication_Batch) GetExtension

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

func (*Medication_Batch) GetId

func (*Medication_Batch) GetLotNumber

func (x *Medication_Batch) GetLotNumber() *datatypes_go_proto.String

func (*Medication_Batch) GetModifierExtension

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

func (*Medication_Batch) ProtoMessage

func (*Medication_Batch) ProtoMessage()

func (*Medication_Batch) ProtoReflect

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

func (*Medication_Batch) Reset

func (x *Medication_Batch) Reset()

func (*Medication_Batch) String

func (x *Medication_Batch) String() string

type Medication_Ingredient

type Medication_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"`
	Item              *Medication_Ingredient_ItemX    `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"`
	// Active ingredient indicator
	IsActive *datatypes_go_proto.Boolean `protobuf:"bytes,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// Quantity of ingredient present
	Strength *datatypes_go_proto.Ratio `protobuf:"bytes,6,opt,name=strength,proto3" json:"strength,omitempty"`
	// contains filtered or unexported fields
}

Active or inactive ingredient

func (*Medication_Ingredient) Descriptor deprecated

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

Deprecated: Use Medication_Ingredient.ProtoReflect.Descriptor instead.

func (*Medication_Ingredient) GetExtension

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

func (*Medication_Ingredient) GetId

func (*Medication_Ingredient) GetIsActive

func (*Medication_Ingredient) GetItem

func (*Medication_Ingredient) GetModifierExtension

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

func (*Medication_Ingredient) GetStrength

func (*Medication_Ingredient) ProtoMessage

func (*Medication_Ingredient) ProtoMessage()

func (*Medication_Ingredient) ProtoReflect

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

func (*Medication_Ingredient) Reset

func (x *Medication_Ingredient) Reset()

func (*Medication_Ingredient) String

func (x *Medication_Ingredient) String() string

type Medication_Ingredient_ItemX

type Medication_Ingredient_ItemX struct {

	// Types that are assignable to Choice:
	//	*Medication_Ingredient_ItemX_CodeableConcept
	//	*Medication_Ingredient_ItemX_Reference
	Choice isMedication_Ingredient_ItemX_Choice `protobuf_oneof:"choice"`
	// contains filtered or unexported fields
}

The actual ingredient or content

func (*Medication_Ingredient_ItemX) Descriptor deprecated

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

Deprecated: Use Medication_Ingredient_ItemX.ProtoReflect.Descriptor instead.

func (*Medication_Ingredient_ItemX) GetChoice

func (m *Medication_Ingredient_ItemX) GetChoice() isMedication_Ingredient_ItemX_Choice

func (*Medication_Ingredient_ItemX) GetCodeableConcept

func (*Medication_Ingredient_ItemX) GetReference

func (*Medication_Ingredient_ItemX) ProtoMessage

func (*Medication_Ingredient_ItemX) ProtoMessage()

func (*Medication_Ingredient_ItemX) ProtoReflect

func (*Medication_Ingredient_ItemX) Reset

func (x *Medication_Ingredient_ItemX) Reset()

func (*Medication_Ingredient_ItemX) String

func (x *Medication_Ingredient_ItemX) String() string

type Medication_Ingredient_ItemX_CodeableConcept

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

type Medication_Ingredient_ItemX_Reference

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

type Medication_StatusCode

type Medication_StatusCode struct {
	Value     codes_go_proto.MedicationStatusCode_Value `protobuf:"varint,1,opt,name=value,proto3,enum=google.fhir.r4.core.MedicationStatusCode_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 (*Medication_StatusCode) Descriptor deprecated

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

Deprecated: Use Medication_StatusCode.ProtoReflect.Descriptor instead.

func (*Medication_StatusCode) GetExtension

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

func (*Medication_StatusCode) GetId

func (*Medication_StatusCode) GetValue

func (*Medication_StatusCode) ProtoMessage

func (*Medication_StatusCode) ProtoMessage()

func (*Medication_StatusCode) ProtoReflect

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

func (*Medication_StatusCode) Reset

func (x *Medication_StatusCode) Reset()

func (*Medication_StatusCode) String

func (x *Medication_StatusCode) String() string

Jump to

Keyboard shortcuts

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