consent_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_consent_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Consent 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"`
	// Identifier for this record (external references)
	Identifier []*datatypes_go_proto.Identifier `protobuf:"bytes,10,rep,name=identifier,proto3" json:"identifier,omitempty"`
	Status     *Consent_StatusCode              `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// Which of the four areas this resource covers (extensible)
	Scope *datatypes_go_proto.CodeableConcept `protobuf:"bytes,12,opt,name=scope,proto3" json:"scope,omitempty"`
	// Classification of the consent statement - for indexing/retrieval
	Category []*datatypes_go_proto.CodeableConcept `protobuf:"bytes,13,rep,name=category,proto3" json:"category,omitempty"`
	// Who the consent applies to
	Patient *datatypes_go_proto.Reference `protobuf:"bytes,14,opt,name=patient,proto3" json:"patient,omitempty"`
	// When this Consent was created or indexed
	DateTime *datatypes_go_proto.DateTime `protobuf:"bytes,15,opt,name=date_time,json=dateTime,proto3" json:"date_time,omitempty"`
	// Who is agreeing to the policy and rules
	Performer []*datatypes_go_proto.Reference `protobuf:"bytes,16,rep,name=performer,proto3" json:"performer,omitempty"`
	// Custodian of the consent
	Organization []*datatypes_go_proto.Reference `protobuf:"bytes,17,rep,name=organization,proto3" json:"organization,omitempty"`
	Source       *Consent_SourceX                `protobuf:"bytes,18,opt,name=source,proto3" json:"source,omitempty"`
	Policy       []*Consent_Policy               `protobuf:"bytes,19,rep,name=policy,proto3" json:"policy,omitempty"`
	// Regulation that this consents to
	PolicyRule   *datatypes_go_proto.CodeableConcept `protobuf:"bytes,20,opt,name=policy_rule,json=policyRule,proto3" json:"policy_rule,omitempty"`
	Verification []*Consent_Verification             `protobuf:"bytes,21,rep,name=verification,proto3" json:"verification,omitempty"`
	Provision    *Consent_Provision                  `protobuf:"bytes,22,opt,name=provision,proto3" json:"provision,omitempty"`
	// contains filtered or unexported fields
}

Auto-generated from StructureDefinition for Consent, last updated 2019-11-01T09:29:23.356+11:00. A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time. See http://hl7.org/fhir/StructureDefinition/Consent

func (*Consent) Descriptor deprecated

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

Deprecated: Use Consent.ProtoReflect.Descriptor instead.

func (*Consent) GetCategory

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

func (*Consent) GetContained

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

func (*Consent) GetDateTime

func (x *Consent) GetDateTime() *datatypes_go_proto.DateTime

func (*Consent) GetExtension

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

func (*Consent) GetId

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

func (*Consent) GetIdentifier

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

func (*Consent) GetImplicitRules

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

func (*Consent) GetLanguage

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

func (*Consent) GetMeta

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

func (*Consent) GetModifierExtension

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

func (*Consent) GetOrganization

func (x *Consent) GetOrganization() []*datatypes_go_proto.Reference

func (*Consent) GetPatient

func (x *Consent) GetPatient() *datatypes_go_proto.Reference

func (*Consent) GetPerformer

func (x *Consent) GetPerformer() []*datatypes_go_proto.Reference

func (*Consent) GetPolicy

func (x *Consent) GetPolicy() []*Consent_Policy

func (*Consent) GetPolicyRule

func (x *Consent) GetPolicyRule() *datatypes_go_proto.CodeableConcept

func (*Consent) GetProvision

func (x *Consent) GetProvision() *Consent_Provision

func (*Consent) GetScope

func (*Consent) GetSource

func (x *Consent) GetSource() *Consent_SourceX

func (*Consent) GetStatus

func (x *Consent) GetStatus() *Consent_StatusCode

func (*Consent) GetText

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

func (*Consent) GetVerification

func (x *Consent) GetVerification() []*Consent_Verification

func (*Consent) ProtoMessage

func (*Consent) ProtoMessage()

func (*Consent) ProtoReflect

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

func (*Consent) Reset

func (x *Consent) Reset()

func (*Consent) String

func (x *Consent) String() string
type Consent_Policy 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"`
	// Enforcement source for policy
	Authority *datatypes_go_proto.Uri `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"`
	// Specific policy covered by this consent
	Uri *datatypes_go_proto.Uri `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

Policies covered by this consent

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

Deprecated: Use Consent_Policy.ProtoReflect.Descriptor instead.

func (x *Consent_Policy) GetAuthority() *datatypes_go_proto.Uri
func (x *Consent_Policy) GetExtension() []*datatypes_go_proto.Extension
func (x *Consent_Policy) GetModifierExtension() []*datatypes_go_proto.Extension
func (x *Consent_Policy) GetUri() *datatypes_go_proto.Uri
func (*Consent_Policy) ProtoMessage()
func (x *Consent_Policy) ProtoReflect() protoreflect.Message
func (x *Consent_Policy) Reset()
func (x *Consent_Policy) String() string
type Consent_Provision 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"`
	Type              *Consent_Provision_TypeCode     `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// Timeframe for this rule
	Period *datatypes_go_proto.Period          `protobuf:"bytes,5,opt,name=period,proto3" json:"period,omitempty"`
	Actor  []*Consent_Provision_ProvisionActor `protobuf:"bytes,6,rep,name=actor,proto3" json:"actor,omitempty"`
	// Actions controlled by this rule
	Action []*datatypes_go_proto.CodeableConcept `protobuf:"bytes,7,rep,name=action,proto3" json:"action,omitempty"`
	// Security Labels that define affected resources
	SecurityLabel []*datatypes_go_proto.Coding `protobuf:"bytes,8,rep,name=security_label,json=securityLabel,proto3" json:"security_label,omitempty"`
	// Context of activities covered by this rule
	Purpose []*datatypes_go_proto.Coding `protobuf:"bytes,9,rep,name=purpose,proto3" json:"purpose,omitempty"`
	// e.g. Resource Type, Profile, CDA, etc.
	ClassValue []*datatypes_go_proto.Coding `protobuf:"bytes,10,rep,name=class_value,json=class,proto3" json:"class_value,omitempty"`
	// e.g. LOINC or SNOMED CT code, etc. in the content
	Code []*datatypes_go_proto.CodeableConcept `protobuf:"bytes,11,rep,name=code,proto3" json:"code,omitempty"`
	// Timeframe for data controlled by this rule
	DataPeriod *datatypes_go_proto.Period         `protobuf:"bytes,12,opt,name=data_period,json=dataPeriod,proto3" json:"data_period,omitempty"`
	Data       []*Consent_Provision_ProvisionData `protobuf:"bytes,13,rep,name=data,proto3" json:"data,omitempty"`
	// Nested Exception Rules
	Provision []*Consent_Provision `protobuf:"bytes,14,rep,name=provision,proto3" json:"provision,omitempty"`
	// contains filtered or unexported fields
}

Constraints to the base Consent.policyRule

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

Deprecated: Use Consent_Provision.ProtoReflect.Descriptor instead.

func (x *Consent_Provision) GetClassValue() []*datatypes_go_proto.Coding
func (x *Consent_Provision) GetDataPeriod() *datatypes_go_proto.Period
func (x *Consent_Provision) GetExtension() []*datatypes_go_proto.Extension
func (x *Consent_Provision) GetModifierExtension() []*datatypes_go_proto.Extension
func (x *Consent_Provision) GetProvision() []*Consent_Provision
func (x *Consent_Provision) GetPurpose() []*datatypes_go_proto.Coding
func (x *Consent_Provision) GetSecurityLabel() []*datatypes_go_proto.Coding
func (*Consent_Provision) ProtoMessage()
func (x *Consent_Provision) ProtoReflect() protoreflect.Message
func (x *Consent_Provision) Reset()
func (x *Consent_Provision) String() string
type Consent_Provision_ProvisionActor 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"`
	// How the actor is involved
	Role *datatypes_go_proto.CodeableConcept `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// Resource for the actor (or group, by role)
	Reference *datatypes_go_proto.Reference `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Who|what controlled by this rule (or group, by role)

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

Deprecated: Use Consent_Provision_ProvisionActor.ProtoReflect.Descriptor instead.

func (x *Consent_Provision_ProvisionActor) GetModifierExtension() []*datatypes_go_proto.Extension
func (*Consent_Provision_ProvisionActor) ProtoMessage()
type Consent_Provision_ProvisionData 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"`
	Meaning           *Consent_Provision_ProvisionData_MeaningCode `protobuf:"bytes,4,opt,name=meaning,proto3" json:"meaning,omitempty"`
	// The actual data reference
	Reference *datatypes_go_proto.Reference `protobuf:"bytes,5,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Data controlled by this rule

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

Deprecated: Use Consent_Provision_ProvisionData.ProtoReflect.Descriptor instead.

func (x *Consent_Provision_ProvisionData) GetModifierExtension() []*datatypes_go_proto.Extension
func (*Consent_Provision_ProvisionData) ProtoMessage()
type Consent_Provision_ProvisionData_MeaningCode struct {
	Value     codes_go_proto.ConsentDataMeaningCode_Value `protobuf:"varint,1,opt,name=value,proto3,enum=google.fhir.r4.core.ConsentDataMeaningCode_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
}

instance | related | dependents | authoredby

Deprecated: Use Consent_Provision_ProvisionData_MeaningCode.ProtoReflect.Descriptor instead.

type Consent_Provision_TypeCode struct {
	Value     codes_go_proto.ConsentProvisionTypeCode_Value `protobuf:"varint,1,opt,name=value,proto3,enum=google.fhir.r4.core.ConsentProvisionTypeCode_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
}

deny | permit

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

Deprecated: Use Consent_Provision_TypeCode.ProtoReflect.Descriptor instead.

func (*Consent_Provision_TypeCode) ProtoMessage()
func (x *Consent_Provision_TypeCode) Reset()
func (x *Consent_Provision_TypeCode) String() string
type Consent_SourceX struct {

	// Types that are assignable to Choice:
	//	*Consent_SourceX_Attachment
	//	*Consent_SourceX_Reference
	Choice isConsent_SourceX_Choice `protobuf_oneof:"choice"`
	// contains filtered or unexported fields
}

Source from which this consent is taken

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

Deprecated: Use Consent_SourceX.ProtoReflect.Descriptor instead.

func (x *Consent_SourceX) GetAttachment() *datatypes_go_proto.Attachment
func (m *Consent_SourceX) GetChoice() isConsent_SourceX_Choice
func (x *Consent_SourceX) GetReference() *datatypes_go_proto.Reference
func (*Consent_SourceX) ProtoMessage()
func (x *Consent_SourceX) ProtoReflect() protoreflect.Message
func (x *Consent_SourceX) Reset()
func (x *Consent_SourceX) String() string
type Consent_SourceX_Attachment struct {
	Attachment *datatypes_go_proto.Attachment `protobuf:"bytes,1,opt,name=attachment,proto3,oneof"`
}
type Consent_SourceX_Reference struct {
	Reference *datatypes_go_proto.Reference `protobuf:"bytes,2,opt,name=reference,proto3,oneof"`
}
type Consent_StatusCode struct {
	Value     codes_go_proto.ConsentStateCode_Value `protobuf:"varint,1,opt,name=value,proto3,enum=google.fhir.r4.core.ConsentStateCode_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
}

draft | proposed | active | rejected | inactive | entered-in-error

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

Deprecated: Use Consent_StatusCode.ProtoReflect.Descriptor instead.

func (x *Consent_StatusCode) GetExtension() []*datatypes_go_proto.Extension
func (*Consent_StatusCode) ProtoMessage()
func (x *Consent_StatusCode) ProtoReflect() protoreflect.Message
func (x *Consent_StatusCode) Reset()
func (x *Consent_StatusCode) String() string
type Consent_Verification 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"`
	// Has been verified
	Verified *datatypes_go_proto.Boolean `protobuf:"bytes,4,opt,name=verified,proto3" json:"verified,omitempty"`
	// Person who verified
	VerifiedWith *datatypes_go_proto.Reference `protobuf:"bytes,5,opt,name=verified_with,json=verifiedWith,proto3" json:"verified_with,omitempty"`
	// When consent verified
	VerificationDate *datatypes_go_proto.DateTime `protobuf:"bytes,6,opt,name=verification_date,json=verificationDate,proto3" json:"verification_date,omitempty"`
	// contains filtered or unexported fields
}

Consent Verified by patient or family

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

Deprecated: Use Consent_Verification.ProtoReflect.Descriptor instead.

func (x *Consent_Verification) GetExtension() []*datatypes_go_proto.Extension
func (x *Consent_Verification) GetModifierExtension() []*datatypes_go_proto.Extension
func (x *Consent_Verification) GetVerificationDate() *datatypes_go_proto.DateTime
func (x *Consent_Verification) GetVerifiedWith() *datatypes_go_proto.Reference
func (*Consent_Verification) ProtoMessage()
func (x *Consent_Verification) ProtoReflect() protoreflect.Message
func (x *Consent_Verification) Reset()
func (x *Consent_Verification) String() string

Jump to

Keyboard shortcuts

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