Documentation
¶
Index ¶
- type Person
- func (p *Person) GetActive() *fhir.Boolean
- func (p *Person) GetAddress() []*fhir.Address
- func (p *Person) GetBirthDate() *fhir.Date
- func (p *Person) GetContained() []fhir.Resource
- func (p *Person) GetExtension() []*fhir.Extension
- func (p *Person) GetGender() *fhir.Code
- func (p *Person) GetID() string
- func (p *Person) GetIdentifier() []*fhir.Identifier
- func (p *Person) GetImplicitRules() *fhir.URI
- func (p *Person) GetLanguage() *fhir.Code
- func (p *Person) GetLink() []*PersonLink
- func (p *Person) GetManagingOrganization() *fhir.Reference
- func (p *Person) GetMeta() *fhir.Meta
- func (p *Person) GetModifierExtension() []*fhir.Extension
- func (p *Person) GetName() []*fhir.HumanName
- func (p *Person) GetPhoto() *fhir.Attachment
- func (p *Person) GetTelecom() []*fhir.ContactPoint
- func (p *Person) GetText() *fhir.Narrative
- func (p *Person) MarshalJSON() ([]byte, error)
- func (p *Person) UnmarshalJSON(data []byte) error
- type PersonLink
- func (pl *PersonLink) GetAssurance() *fhir.Code
- func (pl *PersonLink) GetExtension() []*fhir.Extension
- func (pl *PersonLink) GetID() string
- func (pl *PersonLink) GetModifierExtension() []*fhir.Extension
- func (pl *PersonLink) GetTarget() *fhir.Reference
- func (pl *PersonLink) MarshalJSON() ([]byte, error)
- func (pl *PersonLink) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct { // Whether this person's record is in active use. Active *fhir.Boolean `fhirpath:"active"` // One or more addresses for the person. Address []*fhir.Address `fhirpath:"address"` // The birth date for the person. BirthDate *fhir.Date `fhirpath:"birthDate"` // 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"` // 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"` // Administrative Gender. Gender *fhir.Code `fhirpath:"gender"` // 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 for a person within a particular scope. 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"` // Link to a resource that concerns the same actual person. Link []*PersonLink `fhirpath:"link"` // The organization that is the custodian of the person record. ManagingOrganization *fhir.Reference `fhirpath:"managingOrganization"` // 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"` // A name associated with the person. Name []*fhir.HumanName `fhirpath:"name"` // An image that can be displayed as a thumbnail of the person to enhance the // identification of the individual. Photo *fhir.Attachment `fhirpath:"photo"` // A contact detail for the person, e.g. a telephone number or an email // address. Telecom []*fhir.ContactPoint `fhirpath:"telecom"` // 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 }
Demographics and administrative information about a person independent of a specific health-related context.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition: http://hl7.org/fhir/StructureDefinition/Person
- Source File: StructureDefinition-Person.json
func (*Person) GetActive ¶
func (p *Person) GetActive() *fhir.Boolean
GetActive returns the value of the field Active. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetAddress ¶
func (p *Person) GetAddress() []*fhir.Address
GetAddress returns the value of the field Address. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetBirthDate ¶
func (p *Person) GetBirthDate() *fhir.Date
GetBirthDate returns the value of the field BirthDate. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetContained ¶
func (p *Person) 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 (*Person) GetExtension ¶
func (p *Person) 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 (*Person) GetGender ¶
func (p *Person) GetGender() *fhir.Code
GetGender returns the value of the field Gender. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetID ¶
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 (*Person) GetIdentifier ¶
func (p *Person) 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 (*Person) GetImplicitRules ¶
func (p *Person) 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 (*Person) GetLanguage ¶
func (p *Person) 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 (*Person) GetLink ¶
func (p *Person) GetLink() []*PersonLink
GetLink returns the value of the field Link. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetManagingOrganization ¶
func (p *Person) GetManagingOrganization() *fhir.Reference
GetManagingOrganization returns the value of the field ManagingOrganization. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetMeta ¶
func (p *Person) 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 (*Person) GetModifierExtension ¶
func (p *Person) 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 (*Person) GetName ¶
func (p *Person) GetName() []*fhir.HumanName
GetName returns the value of the field Name. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetPhoto ¶
func (p *Person) GetPhoto() *fhir.Attachment
GetPhoto returns the value of the field Photo. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetTelecom ¶
func (p *Person) GetTelecom() []*fhir.ContactPoint
GetTelecom returns the value of the field Telecom. This function is safe to call on nil pointers, and will return the zero value instead.
func (*Person) GetText ¶
func (p *Person) 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 (*Person) MarshalJSON ¶
func (*Person) UnmarshalJSON ¶
type PersonLink ¶
type PersonLink struct { // Level of assurance that this link is associated with the target resource. Assurance *fhir.Code `fhirpath:"assurance"` // May be used to represent additional information that is not part of the // basic definition of the element. 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"` // Unique id for the element within a resource (for internal references). This // may be any string value that does not contain spaces. ID string `fhirpath:"id"` // May be used to represent additional information that is not part of the // basic definition of the element and that modifies the understanding of the // element in which it is contained 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 can 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"` // The resource to which this actual person is associated. Target *fhir.Reference `fhirpath:"target"` profileimpl.BaseBackboneElement profileimpl.BaseElement }
Link to a resource that concerns the same actual person// Link to a resource that concerns the same actual person.
Meta Details:
- Package IG: hl7.fhir.r4.core@4.0.1
- StructureDefinition:
- Source File: StructureDefinition-Person.json
func (*PersonLink) GetAssurance ¶
func (pl *PersonLink) GetAssurance() *fhir.Code
GetAssurance returns the value of the field Assurance. This function is safe to call on nil pointers, and will return the zero value instead.
func (*PersonLink) GetExtension ¶
func (pl *PersonLink) 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 (*PersonLink) GetID ¶
func (pl *PersonLink) 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 (*PersonLink) GetModifierExtension ¶
func (pl *PersonLink) 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 (*PersonLink) GetTarget ¶
func (pl *PersonLink) GetTarget() *fhir.Reference
GetTarget returns the value of the field Target. This function is safe to call on nil pointers, and will return the zero value instead.
func (*PersonLink) MarshalJSON ¶
func (pl *PersonLink) MarshalJSON() ([]byte, error)
func (*PersonLink) UnmarshalJSON ¶
func (pl *PersonLink) UnmarshalJSON(data []byte) error