basic

package
v0.0.0-...-9ef2174 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Basic

type Basic struct {

	// Indicates who was responsible for creating the resource instance.
	Author *fhir.Reference `fhirpath:"author"`

	// Identifies the 'type' of resource - equivalent to the resource name for
	// other resources.
	Code *fhir.CodeableConcept `fhirpath:"code"`

	// These resources do not have an independent existence apart from the resource
	// that contains them - they cannot be identified independently, and nor can
	// they have their own independent transaction scope.
	Contained []fhir.Resource `fhirpath:"contained"`

	// Identifies when the resource was first created.
	Created *fhir.Date `fhirpath:"created"`

	// May be used to represent additional information that is not part of the
	// basic definition of the resource. To make the use of extensions safe and
	// manageable, there is a strict set of governance applied to the definition
	// and use of extensions. Though any implementer can define an extension, there
	// is a set of requirements that SHALL be met as part of the definition of the
	// extension.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// The logical id of the resource, as used in the URL for the resource. Once
	// assigned, this value never changes.
	ID string `fhirpath:"id"`

	// Identifier assigned to the resource for business purposes, outside the
	// context of FHIR.
	Identifier []*fhir.Identifier `fhirpath:"identifier"`

	// A reference to a set of rules that were followed when the resource was
	// constructed, and which must be understood when processing the content.
	// Often, this is a reference to an implementation guide that defines the
	// special rules along with other profiles etc.
	ImplicitRules *fhir.URI `fhirpath:"implicitRules"`

	// The base language in which the resource is written.
	Language *fhir.Code `fhirpath:"language"`

	// The metadata about the resource. This is content that is maintained by the
	// infrastructure. Changes to the content might not always be associated with
	// version changes to the resource.
	Meta *fhir.Meta `fhirpath:"meta"`

	// May be used to represent additional information that is not part of the
	// basic definition of the resource and that modifies the understanding of the
	// element that contains it and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. To make the use of extensions safe and manageable, there is a
	// strict set of governance applied to the definition and use of extensions.
	// Though any implementer is allowed to define an extension, there is a set of
	// requirements that SHALL be met as part of the definition of the extension.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// Identifies the patient, practitioner, device or any other resource that is
	// the "focus" of this resource.
	Subject *fhir.Reference `fhirpath:"subject"`

	// A human-readable narrative that contains a summary of the resource and can
	// be used to represent the content of the resource to a human. The narrative
	// need not encode all the structured data, but is required to contain
	// sufficient detail to make it "clinically safe" for a human to just read the
	// narrative. Resource definitions may define what content should be
	// represented in the narrative to ensure clinical safety.
	Text *fhir.Narrative `fhirpath:"text"`

	profileimpl.BaseDomainResource
	profileimpl.BaseResource
}

Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.

Meta Details:

func (*Basic) GetAuthor

func (b *Basic) GetAuthor() *fhir.Reference

GetAuthor returns the value of the field Author. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetCode

func (b *Basic) GetCode() *fhir.CodeableConcept

GetCode returns the value of the field Code. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetContained

func (b *Basic) GetContained() []fhir.Resource

GetContained returns the value of the field Contained. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetCreated

func (b *Basic) GetCreated() *fhir.Date

GetCreated returns the value of the field Created. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetExtension

func (b *Basic) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetID

func (b *Basic) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetIdentifier

func (b *Basic) GetIdentifier() []*fhir.Identifier

GetIdentifier returns the value of the field Identifier. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetImplicitRules

func (b *Basic) GetImplicitRules() *fhir.URI

GetImplicitRules returns the value of the field ImplicitRules. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetLanguage

func (b *Basic) GetLanguage() *fhir.Code

GetLanguage returns the value of the field Language. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetMeta

func (b *Basic) GetMeta() *fhir.Meta

GetMeta returns the value of the field Meta. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetModifierExtension

func (b *Basic) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetSubject

func (b *Basic) GetSubject() *fhir.Reference

GetSubject returns the value of the field Subject. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) GetText

func (b *Basic) GetText() *fhir.Narrative

GetText returns the value of the field Text. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Basic) MarshalJSON

func (b *Basic) MarshalJSON() ([]byte, error)

func (*Basic) UnmarshalJSON

func (b *Basic) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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