Documentation ¶
Overview ¶
Package lpadata provides types that describe the data used by the LPA store.
Index ¶
- Variables
- type AttorneysAct
- func (i AttorneysAct) Empty() bool
- func (i AttorneysAct) IsJointly() bool
- func (i AttorneysAct) IsJointlyAndSeverally() bool
- func (i AttorneysAct) IsJointlyForSomeSeverallyForOthers() bool
- func (i AttorneysAct) MarshalText() ([]byte, error)
- func (i AttorneysAct) String() string
- func (i *AttorneysAct) UnmarshalText(text []byte) error
- type AttorneysActOptions
- type CanBeUsedWhen
- type CanBeUsedWhenOptions
- type CertificateProviderRelationship
- func (i CertificateProviderRelationship) Empty() bool
- func (i CertificateProviderRelationship) IsPersonally() bool
- func (i CertificateProviderRelationship) IsProfessionally() bool
- func (i CertificateProviderRelationship) MarshalText() ([]byte, error)
- func (i CertificateProviderRelationship) String() string
- func (i *CertificateProviderRelationship) UnmarshalText(text []byte) error
- type CertificateProviderRelationshipOptions
- type Channel
- type ChannelOptions
- type LifeSustainingTreatment
- func (i LifeSustainingTreatment) Empty() bool
- func (i LifeSustainingTreatment) IsOptionA() bool
- func (i LifeSustainingTreatment) IsOptionB() bool
- func (i LifeSustainingTreatment) MarshalText() ([]byte, error)
- func (i LifeSustainingTreatment) String() string
- func (i *LifeSustainingTreatment) UnmarshalText(text []byte) error
- type LifeSustainingTreatmentOptions
- type LpaType
- type LpaTypeOptions
- type ReplacementAttorneysStepIn
- func (i ReplacementAttorneysStepIn) Empty() bool
- func (i ReplacementAttorneysStepIn) IsAnotherWay() bool
- func (i ReplacementAttorneysStepIn) IsWhenAllCanNoLongerAct() bool
- func (i ReplacementAttorneysStepIn) IsWhenOneCanNoLongerAct() bool
- func (i ReplacementAttorneysStepIn) MarshalText() ([]byte, error)
- func (i ReplacementAttorneysStepIn) String() string
- func (i *ReplacementAttorneysStepIn) UnmarshalText(text []byte) error
- type ReplacementAttorneysStepInOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var AttorneysActValues = AttorneysActOptions{ Jointly: Jointly, JointlyAndSeverally: JointlyAndSeverally, JointlyForSomeSeverallyForOthers: JointlyForSomeSeverallyForOthers, }
View Source
var CanBeUsedWhenValues = CanBeUsedWhenOptions{ Unknown: CanBeUsedWhenUnknown, CapacityLost: CanBeUsedWhenCapacityLost, HasCapacity: CanBeUsedWhenHasCapacity, }
View Source
var CertificateProviderRelationshipValues = CertificateProviderRelationshipOptions{ Personally: Personally, Professionally: Professionally, }
View Source
var ChannelValues = ChannelOptions{ Paper: ChannelPaper, Online: ChannelOnline, }
View Source
var LifeSustainingTreatmentValues = LifeSustainingTreatmentOptions{ OptionA: LifeSustainingTreatmentOptionA, OptionB: LifeSustainingTreatmentOptionB, }
View Source
var LpaTypeValues = LpaTypeOptions{ PersonalWelfare: LpaTypePersonalWelfare, PropertyAndAffairs: LpaTypePropertyAndAffairs, }
View Source
var ReplacementAttorneysStepInValues = ReplacementAttorneysStepInOptions{ WhenAllCanNoLongerAct: ReplacementAttorneysStepInWhenAllCanNoLongerAct, WhenOneCanNoLongerAct: ReplacementAttorneysStepInWhenOneCanNoLongerAct, AnotherWay: ReplacementAttorneysStepInAnotherWay, }
Functions ¶
This section is empty.
Types ¶
type AttorneysAct ¶ added in v0.1341.0
type AttorneysAct uint8
const ( // Jointly indicates attorneys or replacement attorneys should act jointly Jointly AttorneysAct = iota + 1 // jointly // JointlyAndSeverally indicates attorneys or replacement attorneys should act // jointly and severally JointlyAndSeverally // jointly-and-severally // JointlyForSomeSeverallyForOthers indicates attorneys or replacement // attorneys should act jointly for some decisions, and jointly and severally // for other decisions JointlyForSomeSeverallyForOthers // jointly-for-some-severally-for-others )
func ParseAttorneysAct ¶ added in v0.1341.0
func ParseAttorneysAct(s string) (AttorneysAct, error)
func (AttorneysAct) Empty ¶ added in v0.1341.0
func (i AttorneysAct) Empty() bool
func (AttorneysAct) IsJointly ¶ added in v0.1341.0
func (i AttorneysAct) IsJointly() bool
func (AttorneysAct) IsJointlyAndSeverally ¶ added in v0.1341.0
func (i AttorneysAct) IsJointlyAndSeverally() bool
func (AttorneysAct) IsJointlyForSomeSeverallyForOthers ¶ added in v0.1341.0
func (i AttorneysAct) IsJointlyForSomeSeverallyForOthers() bool
func (AttorneysAct) MarshalText ¶ added in v0.1341.0
func (i AttorneysAct) MarshalText() ([]byte, error)
func (AttorneysAct) String ¶ added in v0.1341.0
func (i AttorneysAct) String() string
func (*AttorneysAct) UnmarshalText ¶ added in v0.1341.0
func (i *AttorneysAct) UnmarshalText(text []byte) error
type AttorneysActOptions ¶ added in v0.1341.0
type AttorneysActOptions struct { Jointly AttorneysAct JointlyAndSeverally AttorneysAct JointlyForSomeSeverallyForOthers AttorneysAct }
type CanBeUsedWhen ¶ added in v0.1341.0
type CanBeUsedWhen uint8
const ( CanBeUsedWhenUnknown CanBeUsedWhen = iota CanBeUsedWhenCapacityLost // when-capacity-lost CanBeUsedWhenHasCapacity // when-has-capacity )
func ParseCanBeUsedWhen ¶ added in v0.1341.0
func ParseCanBeUsedWhen(s string) (CanBeUsedWhen, error)
func (CanBeUsedWhen) IsCapacityLost ¶ added in v0.1341.0
func (i CanBeUsedWhen) IsCapacityLost() bool
func (CanBeUsedWhen) IsHasCapacity ¶ added in v0.1341.0
func (i CanBeUsedWhen) IsHasCapacity() bool
func (CanBeUsedWhen) IsUnknown ¶ added in v0.1341.0
func (i CanBeUsedWhen) IsUnknown() bool
func (CanBeUsedWhen) MarshalText ¶ added in v0.1341.0
func (i CanBeUsedWhen) MarshalText() ([]byte, error)
func (CanBeUsedWhen) String ¶ added in v0.1341.0
func (i CanBeUsedWhen) String() string
func (*CanBeUsedWhen) UnmarshalText ¶ added in v0.1341.0
func (i *CanBeUsedWhen) UnmarshalText(text []byte) error
type CanBeUsedWhenOptions ¶ added in v0.1341.0
type CanBeUsedWhenOptions struct { Unknown CanBeUsedWhen CapacityLost CanBeUsedWhen HasCapacity CanBeUsedWhen }
type CertificateProviderRelationship ¶ added in v0.1341.0
type CertificateProviderRelationship uint8
const ( Personally CertificateProviderRelationship = iota + 1 // personally Professionally // professionally )
func ParseCertificateProviderRelationship ¶ added in v0.1341.0
func ParseCertificateProviderRelationship(s string) (CertificateProviderRelationship, error)
func (CertificateProviderRelationship) Empty ¶ added in v0.1341.0
func (i CertificateProviderRelationship) Empty() bool
func (CertificateProviderRelationship) IsPersonally ¶ added in v0.1341.0
func (i CertificateProviderRelationship) IsPersonally() bool
func (CertificateProviderRelationship) IsProfessionally ¶ added in v0.1341.0
func (i CertificateProviderRelationship) IsProfessionally() bool
func (CertificateProviderRelationship) MarshalText ¶ added in v0.1341.0
func (i CertificateProviderRelationship) MarshalText() ([]byte, error)
func (CertificateProviderRelationship) String ¶ added in v0.1341.0
func (i CertificateProviderRelationship) String() string
func (*CertificateProviderRelationship) UnmarshalText ¶ added in v0.1341.0
func (i *CertificateProviderRelationship) UnmarshalText(text []byte) error
type CertificateProviderRelationshipOptions ¶ added in v0.1341.0
type CertificateProviderRelationshipOptions struct { Personally CertificateProviderRelationship Professionally CertificateProviderRelationship }
type Channel ¶ added in v0.1341.0
type Channel uint8
func ParseChannel ¶ added in v0.1341.0
func (Channel) MarshalText ¶ added in v0.1341.0
func (*Channel) UnmarshalText ¶ added in v0.1341.0
type ChannelOptions ¶ added in v0.1341.0
type LifeSustainingTreatment ¶ added in v0.1341.0
type LifeSustainingTreatment uint8
const ( LifeSustainingTreatmentOptionA LifeSustainingTreatment = iota + 1 // option-a LifeSustainingTreatmentOptionB // option-b )
func ParseLifeSustainingTreatment ¶ added in v0.1341.0
func ParseLifeSustainingTreatment(s string) (LifeSustainingTreatment, error)
func (LifeSustainingTreatment) Empty ¶ added in v0.1341.0
func (i LifeSustainingTreatment) Empty() bool
func (LifeSustainingTreatment) IsOptionA ¶ added in v0.1341.0
func (i LifeSustainingTreatment) IsOptionA() bool
func (LifeSustainingTreatment) IsOptionB ¶ added in v0.1341.0
func (i LifeSustainingTreatment) IsOptionB() bool
func (LifeSustainingTreatment) MarshalText ¶ added in v0.1341.0
func (i LifeSustainingTreatment) MarshalText() ([]byte, error)
func (LifeSustainingTreatment) String ¶ added in v0.1341.0
func (i LifeSustainingTreatment) String() string
func (*LifeSustainingTreatment) UnmarshalText ¶ added in v0.1341.0
func (i *LifeSustainingTreatment) UnmarshalText(text []byte) error
type LifeSustainingTreatmentOptions ¶ added in v0.1341.0
type LifeSustainingTreatmentOptions struct { OptionA LifeSustainingTreatment OptionB LifeSustainingTreatment }
type LpaType ¶
type LpaType uint8
func ParseLpaType ¶
func (LpaType) IsPersonalWelfare ¶
func (LpaType) IsPropertyAndAffairs ¶
func (LpaType) MarshalText ¶
func (*LpaType) UnmarshalText ¶
func (LpaType) WhatLPACoversTransKey ¶
TODO: move this somewhere else
type LpaTypeOptions ¶
type ReplacementAttorneysStepIn ¶ added in v0.1341.0
type ReplacementAttorneysStepIn uint8
const ( ReplacementAttorneysStepInWhenAllCanNoLongerAct ReplacementAttorneysStepIn = iota + 1 // all-can-no-longer-act ReplacementAttorneysStepInWhenOneCanNoLongerAct // one-can-no-longer-act ReplacementAttorneysStepInAnotherWay // another-way )
func ParseReplacementAttorneysStepIn ¶ added in v0.1341.0
func ParseReplacementAttorneysStepIn(s string) (ReplacementAttorneysStepIn, error)
func (ReplacementAttorneysStepIn) Empty ¶ added in v0.1341.0
func (i ReplacementAttorneysStepIn) Empty() bool
func (ReplacementAttorneysStepIn) IsAnotherWay ¶ added in v0.1341.0
func (i ReplacementAttorneysStepIn) IsAnotherWay() bool
func (ReplacementAttorneysStepIn) IsWhenAllCanNoLongerAct ¶ added in v0.1341.0
func (i ReplacementAttorneysStepIn) IsWhenAllCanNoLongerAct() bool
func (ReplacementAttorneysStepIn) IsWhenOneCanNoLongerAct ¶ added in v0.1341.0
func (i ReplacementAttorneysStepIn) IsWhenOneCanNoLongerAct() bool
func (ReplacementAttorneysStepIn) MarshalText ¶ added in v0.1341.0
func (i ReplacementAttorneysStepIn) MarshalText() ([]byte, error)
func (ReplacementAttorneysStepIn) String ¶ added in v0.1341.0
func (i ReplacementAttorneysStepIn) String() string
func (*ReplacementAttorneysStepIn) UnmarshalText ¶ added in v0.1341.0
func (i *ReplacementAttorneysStepIn) UnmarshalText(text []byte) error
type ReplacementAttorneysStepInOptions ¶ added in v0.1341.0
type ReplacementAttorneysStepInOptions struct { WhenAllCanNoLongerAct ReplacementAttorneysStepIn WhenOneCanNoLongerAct ReplacementAttorneysStepIn AnotherWay ReplacementAttorneysStepIn }
Source Files ¶
- attorneys_act.go
- can_be_used_when.go
- certificate_provider_relationship.go
- channel.go
- doc.go
- enum_attorneysact.go
- enum_canbeusedwhen.go
- enum_certificateproviderrelationship.go
- enum_channel.go
- enum_lifesustainingtreatment.go
- enum_lpatype.go
- enum_replacementattorneysstepin.go
- life_sustaining_treatment.go
- lpa_type.go
- replacement_attorneys_step_in.go
Click to show internal directories.
Click to hide internal directories.