segments

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AMT

type AMT struct {
	AmountQualifier string `index:"01" json:"01" xml:"01"`
	MonetaryAmount  string `index:"02" json:"02" xml:"02"`

	Element
}

func (AMT) GetFieldByIndex

func (r AMT) GetFieldByIndex(index string) any

func (AMT) Name

func (r AMT) Name() string

func (*AMT) Parse

func (r *AMT) Parse(data string, args ...string) (int, error)

func (*AMT) SetFieldByIndex

func (r *AMT) SetFieldByIndex(index string, data any) error

func (*AMT) String

func (r *AMT) String(args ...string) string

func (*AMT) Validate

func (r *AMT) Validate(rule *rules.ElementSetRule) error

type BHT

type BHT struct {
	HierarchicalStructureCode string `index:"01" json:"01" xml:"01"`
	TransactionSetPurposeCode string `index:"02" json:"02" xml:"02"`
	ReferenceIdentification   string `index:"03" json:"03" xml:"03"`
	Date                      string `index:"04" json:"04" xml:"04"`
	Time                      string `index:"05" json:"05" xml:"05"`
	TransactionTypeCode       string `index:"06" json:"06" xml:"06"`

	Element
}

func (BHT) GetFieldByIndex

func (r BHT) GetFieldByIndex(index string) any

func (BHT) Name

func (r BHT) Name() string

func (*BHT) Parse

func (r *BHT) Parse(data string, args ...string) (int, error)

func (*BHT) SetFieldByIndex

func (r *BHT) SetFieldByIndex(index string, data any) error

func (*BHT) String

func (r *BHT) String(args ...string) string

func (*BHT) Validate

func (r *BHT) Validate(rule *rules.ElementSetRule) error

type CAS

type CAS struct {
	AdjustmentGroupCode   string `index:"01" json:"01" xml:"01"`
	AdjustmentReasonCode  string `index:"02" json:"02" xml:"02"`
	MonetaryAmount        string `index:"03" json:"03" xml:"03"`
	Quantity              string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	AdjustmentReasonCode1 string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	MonetaryAmount1       string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Quantity1             string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	AdjustmentReasonCode2 string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	MonetaryAmount2       string `index:"09" json:"09,omitempty" xml:"09,omitempty"`
	Quantity2             string `index:"10" json:"10,omitempty" xml:"10,omitempty"`
	AdjustmentReasonCode3 string `index:"11" json:"11,omitempty" xml:"11,omitempty"`
	MonetaryAmount3       string `index:"12" json:"12,omitempty" xml:"12,omitempty"`
	Quantity3             string `index:"13" json:"13,omitempty" xml:"13,omitempty"`
	AdjustmentReasonCode4 string `index:"14" json:"14,omitempty" xml:"14,omitempty"`
	MonetaryAmount4       string `index:"15" json:"15,omitempty" xml:"15,omitempty"`
	Quantity4             string `index:"16" json:"16,omitempty" xml:"16,omitempty"`
	AdjustmentReasonCode5 string `index:"17" json:"17,omitempty" xml:"17,omitempty"`
	MonetaryAmount5       string `index:"18" json:"18,omitempty" xml:"18,omitempty"`
	Quantity5             string `index:"19" json:"19,omitempty" xml:"19,omitempty"`

	Element
}

func (CAS) GetFieldByIndex

func (r CAS) GetFieldByIndex(index string) any

func (CAS) Name

func (r CAS) Name() string

func (*CAS) Parse

func (r *CAS) Parse(data string, args ...string) (int, error)

func (*CAS) SetFieldByIndex

func (r *CAS) SetFieldByIndex(index string, data any) error

func (CAS) String

func (r CAS) String(args ...string) string

func (*CAS) Validate

func (r *CAS) Validate(rule *rules.ElementSetRule) error

type CLM

type CLM struct {
	ClaimSubmitterIdentifier    string                    `index:"01" json:"01" xml:"01"`
	MonetaryAmount              string                    `index:"02" json:"02" xml:"02"`
	ClaimFilingIndicatorCode    string                    `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	NonInstitutionClaimTypeCode string                    `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	HealthCareServiceLocation   HealthCareServiceLocation `index:"05" json:"05" xml:"05"`
	Code1                       string                    `index:"06" json:"06" xml:"06"`
	ProvideAcceptAssign         string                    `index:"07" json:"07" xml:"07"`
	Code2                       string                    `index:"08" json:"08" xml:"08"`
	ReleaseInformation          string                    `index:"09" json:"09" xml:"09"`
	PatientSignatureSourceCode  string                    `index:"10" json:"10,omitempty" xml:"10,omitempty"`
	RelatedCausesInformation    *RelatedCausesInformation `index:"11" json:"11,omitempty" xml:"11,omitempty"`
	Code3                       string                    `index:"12" json:"12,omitempty" xml:"12,omitempty"`
	Code4                       string                    `index:"13" json:"13,omitempty" xml:"13,omitempty"`
	Code5                       string                    `index:"14" json:"14,omitempty" xml:"14,omitempty"`
	Code6                       string                    `index:"15" json:"15,omitempty" xml:"15,omitempty"`
	Code7                       string                    `index:"16" json:"16,omitempty" xml:"16,omitempty"`
	Code8                       string                    `index:"17" json:"17,omitempty" xml:"17,omitempty"`
	Code9                       string                    `index:"18" json:"18,omitempty" xml:"18,omitempty"`
	Code10                      string                    `index:"19" json:"19,omitempty" xml:"19,omitempty"`
	Code11                      string                    `index:"20" json:"20,omitempty" xml:"20,omitempty"`

	Element
}

func (CLM) GetFieldByIndex

func (r CLM) GetFieldByIndex(index string) any

func (CLM) Name

func (r CLM) Name() string

func (*CLM) Parse

func (r *CLM) Parse(data string, args ...string) (int, error)

func (*CLM) SetFieldByIndex

func (r *CLM) SetFieldByIndex(index string, data any) error

func (*CLM) String

func (r *CLM) String(args ...string) string

func (*CLM) Validate

func (r *CLM) Validate(rule *rules.ElementSetRule) error

type CN1

type CN1 struct {
	ContractTypeCode        string `index:"01" json:"01" xml:"01"`
	MonetaryAmount          string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	PercentDecimalFormat    string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	ReferenceIdentification string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	TermsDiscountPercent    string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	VersionIdentifier       string `index:"06" json:"06,omitempty" xml:"06,omitempty"`

	Element
}

func (CN1) GetFieldByIndex

func (r CN1) GetFieldByIndex(index string) any

func (CN1) Name

func (r CN1) Name() string

func (*CN1) Parse

func (r *CN1) Parse(data string, args ...string) (int, error)

func (*CN1) SetFieldByIndex

func (r *CN1) SetFieldByIndex(index string, data any) error

func (*CN1) String

func (r *CN1) String(args ...string) string

func (*CN1) Validate

func (r *CN1) Validate(rule *rules.ElementSetRule) error

type CR1

type CR1 struct {
	MeasurementCode1 string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Weight           string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	TransportCode    string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	ReasonCode       string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	MeasurementCode2 string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Quantity         string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Address1         string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	Address2         string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	Description1     string `index:"09" json:"09,omitempty" xml:"09,omitempty"`
	Description2     string `index:"10" json:"10,omitempty" xml:"10,omitempty"`

	Element
}

func (CR1) GetFieldByIndex

func (r CR1) GetFieldByIndex(index string) any

func (CR1) Name

func (r CR1) Name() string

func (*CR1) Parse

func (r *CR1) Parse(data string, args ...string) (int, error)

func (*CR1) SetFieldByIndex

func (r *CR1) SetFieldByIndex(index string, data any) error

func (CR1) String

func (r CR1) String(args ...string) string

func (*CR1) Validate

func (r *CR1) Validate(rule *rules.ElementSetRule) error

type CUR

type CUR struct {
	EntityIdentifierCode string `index:"01" json:"01" xml:"01"`
	CurrencyCode         string `index:"02" json:"02" xml:"02"`

	Element
}

func (CUR) GetFieldByIndex

func (r CUR) GetFieldByIndex(index string) any

func (CUR) Name

func (r CUR) Name() string

func (*CUR) Parse

func (r *CUR) Parse(data string, args ...string) (int, error)

func (*CUR) SetFieldByIndex

func (r *CUR) SetFieldByIndex(index string, data any) error

func (*CUR) String

func (r *CUR) String(args ...string) string

func (*CUR) Validate

func (r *CUR) Validate(rule *rules.ElementSetRule) error

type DMG

type DMG struct {
	DateFormatQualifier string `index:"01" json:"01" xml:"01"`
	DateTimePeriod      string `index:"02" json:"02" xml:"02"`
	GenderCode          string `index:"03" json:"03" xml:"03"`

	Element
}

func (DMG) GetFieldByIndex

func (r DMG) GetFieldByIndex(index string) any

func (DMG) Name

func (r DMG) Name() string

func (*DMG) Parse

func (r *DMG) Parse(data string, args ...string) (int, error)

func (*DMG) SetFieldByIndex

func (r *DMG) SetFieldByIndex(index string, data any) error

func (*DMG) String

func (r *DMG) String(args ...string) string

func (*DMG) Validate

func (r *DMG) Validate(rule *rules.ElementSetRule) error

type DN1

type DN1 struct {
	Quantity1             string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Quantity2             string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	ConditionResponseCode string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Description           string `index:"04" json:"04,omitempty" xml:"04,omitempty"`

	Element
}

func (DN1) GetFieldByIndex

func (r DN1) GetFieldByIndex(index string) any

func (DN1) Name

func (r DN1) Name() string

func (*DN1) Parse

func (r *DN1) Parse(data string, args ...string) (int, error)

func (*DN1) SetFieldByIndex

func (r *DN1) SetFieldByIndex(index string, data any) error

func (*DN1) String

func (r *DN1) String(args ...string) string

func (*DN1) Validate

func (r *DN1) Validate(rule *rules.ElementSetRule) error

type DN2

type DN2 struct {
	ReferenceIdentification       string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	ToothStatusCode               string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Quantity                      string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	DateTimePeriodFormatQualifier string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	DateTimePeriod                string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	CodeListQualCode              string `index:"06" json:"06,omitempty" xml:"06,omitempty"`

	Element
}

func (DN2) GetFieldByIndex

func (r DN2) GetFieldByIndex(index string) any

func (DN2) Name

func (r DN2) Name() string

func (*DN2) Parse

func (r *DN2) Parse(data string, args ...string) (int, error)

func (*DN2) SetFieldByIndex

func (r *DN2) SetFieldByIndex(index string, data any) error

func (*DN2) String

func (r *DN2) String(args ...string) string

func (*DN2) Validate

func (r *DN2) Validate(rule *rules.ElementSetRule) error

type DTP

type DTP struct {
	DateTimeQualifier       string `index:"01" json:"01" xml:"01"`
	DateTimeFormatQualifier string `index:"02" json:"02" xml:"02"`
	DateTimePeriod          string `index:"03" json:"03" xml:"03"`

	Element
}

func (DTP) GetFieldByIndex

func (r DTP) GetFieldByIndex(index string) any

func (DTP) Name

func (r DTP) Name() string

func (*DTP) Parse

func (r *DTP) Parse(data string, args ...string) (int, error)

func (*DTP) SetFieldByIndex

func (r *DTP) SetFieldByIndex(index string, data any) error

func (*DTP) String

func (r *DTP) String(args ...string) string

func (*DTP) Validate

func (r *DTP) Validate(rule *rules.ElementSetRule) error

type DentalServiceCode

type DentalServiceCode struct {
	Code1 string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Code2 string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Code3 string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Code4 string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Code5 string `index:"05" json:"05,omitempty" xml:"05,omitempty"`

	Element
}

func (DentalServiceCode) GetFieldByIndex

func (r DentalServiceCode) GetFieldByIndex(index string) any

func (*DentalServiceCode) Parse

func (r *DentalServiceCode) Parse(data string, args ...string) (int, error)

func (*DentalServiceCode) SetFieldByIndex

func (r *DentalServiceCode) SetFieldByIndex(index string, data any) error

func (*DentalServiceCode) String

func (r *DentalServiceCode) String(args ...string) string

func (*DentalServiceCode) Validate

func (r *DentalServiceCode) Validate(rule *rules.ElementSetRule) error

type DentalServiceCodePointer

type DentalServiceCodePointer struct {
	Pointer1 string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Pointer2 string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Pointer3 string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Pointer4 string `index:"04" json:"04,omitempty" xml:"04,omitempty"`

	Element
}

func (DentalServiceCodePointer) GetFieldByIndex

func (r DentalServiceCodePointer) GetFieldByIndex(index string) any

func (*DentalServiceCodePointer) Parse

func (r *DentalServiceCodePointer) Parse(data string, args ...string) (int, error)

func (*DentalServiceCodePointer) SetFieldByIndex

func (r *DentalServiceCodePointer) SetFieldByIndex(index string, data any) error

func (*DentalServiceCodePointer) String

func (r *DentalServiceCodePointer) String(args ...string) string

func (*DentalServiceCodePointer) Validate

type DentalServiceProcedure

type DentalServiceProcedure struct {
	ProductIdQualifier string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	ProductId1         string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	ProcedureModifier1 string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	ProcedureModifier2 string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	ProcedureModifier3 string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	ProcedureModifier4 string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Description        string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	ProductId2         string `index:"08" json:"08,omitempty" xml:"08,omitempty"`

	Element
}

func (DentalServiceProcedure) GetFieldByIndex

func (r DentalServiceProcedure) GetFieldByIndex(index string) any

func (*DentalServiceProcedure) Parse

func (r *DentalServiceProcedure) Parse(data string, args ...string) (int, error)

func (*DentalServiceProcedure) SetFieldByIndex

func (r *DentalServiceProcedure) SetFieldByIndex(index string, data any) error

func (*DentalServiceProcedure) String

func (r *DentalServiceProcedure) String(args ...string) string

func (*DentalServiceProcedure) Validate

func (r *DentalServiceProcedure) Validate(rule *rules.ElementSetRule) error

type Element

type Element struct {
	// contains filtered or unexported fields
}

func (Element) GetDescription

func (e Element) GetDescription() string

func (Element) GetRule

func (e Element) GetRule() *rules.ElementSetRule

func (*Element) SetDescription

func (e *Element) SetDescription(description string)

func (*Element) SetRule

func (e *Element) SetRule(s *rules.ElementSetRule)

type GE

type GE struct {
	NumberOfTransactionSet string `index:"01" json:"01" xml:"01"`
	GroupControlNumber     string `index:"02" json:"02" xml:"02"`

	Element
}

func (GE) GetFieldByIndex

func (r GE) GetFieldByIndex(index string) any

func (GE) Name

func (r GE) Name() string

func (*GE) Parse

func (r *GE) Parse(data string, args ...string) (int, error)

func (*GE) SetFieldByIndex

func (r *GE) SetFieldByIndex(index string, data any) error

func (*GE) String

func (r *GE) String(args ...string) string

func (*GE) Validate

func (r *GE) Validate(rule *rules.ElementSetRule) error

type GS

type GS struct {
	FunctionalIdentifierCode string `index:"01" json:"01" xml:"01"`
	ApplicationSenderCode    string `index:"02" json:"02" xml:"02"`
	ApplicationReceiverCode  string `index:"03" json:"03" xml:"03"`
	Date                     string `index:"04" json:"04" xml:"04"`
	Time                     string `index:"05" json:"05" xml:"05"`
	GroupControlNumber       string `index:"06" json:"06" xml:"06"`
	ResponsibleAgencyCode    string `index:"07" json:"07" xml:"07"`
	Version                  string `index:"08" json:"08" xml:"08"`

	Element
}

func (GS) GetFieldByIndex

func (r GS) GetFieldByIndex(index string) any

func (GS) Name

func (r GS) Name() string

func (*GS) Parse

func (r *GS) Parse(data string, args ...string) (int, error)

func (*GS) SetFieldByIndex

func (r *GS) SetFieldByIndex(index string, data any) error

func (*GS) String

func (r *GS) String(args ...string) string

func (*GS) Validate

func (r *GS) Validate(rule *rules.ElementSetRule) error

type HCP

type HCP struct {
	Field1  string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Field2  string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Field3  string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Field4  string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Field5  string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Field6  string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Field7  string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	Field8  string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	Field9  string `index:"09" json:"09,omitempty" xml:"09,omitempty"`
	Field10 string `index:"10" json:"10,omitempty" xml:"10,omitempty"`
	Field11 string `index:"11" json:"11,omitempty" xml:"11,omitempty"`
	Field12 string `index:"12" json:"12,omitempty" xml:"12,omitempty"`
	Field13 string `index:"13" json:"13,omitempty" xml:"13,omitempty"`
	Field14 string `index:"14" json:"14,omitempty" xml:"14,omitempty"`
	Field15 string `index:"15" json:"15,omitempty" xml:"15,omitempty"`

	Element
}

func (HCP) GetFieldByIndex

func (r HCP) GetFieldByIndex(index string) any

func (HCP) Name

func (r HCP) Name() string

func (*HCP) Parse

func (r *HCP) Parse(data string, args ...string) (int, error)

func (*HCP) SetFieldByIndex

func (r *HCP) SetFieldByIndex(index string, data any) error

func (*HCP) String

func (r *HCP) String(args ...string) string

func (*HCP) Validate

func (r *HCP) Validate(rule *rules.ElementSetRule) error

type HI

type HI struct {
	HealthCareCodeInformation1 HealthCareCode  `index:"01" json:"01" xml:"01"`
	HealthCareCodeInformation2 *HealthCareCode `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	HealthCareCodeInformation3 *HealthCareCode `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	HealthCareCodeInformation4 *HealthCareCode `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	HealthCareCodeInformation5 *HealthCareCode `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	HealthCareCodeInformation6 *HealthCareCode `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	HealthCareCodeInformation7 *HealthCareCode `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	HealthCareCodeInformation8 *HealthCareCode `index:"08" json:"08,omitempty" xml:"08,omitempty"`

	Element
}

func (HI) GetFieldByIndex

func (r HI) GetFieldByIndex(index string) any

func (HI) Name

func (r HI) Name() string

func (*HI) Parse

func (r *HI) Parse(data string, args ...string) (int, error)

func (*HI) SetFieldByIndex

func (r *HI) SetFieldByIndex(index string, data any) error

func (*HI) String

func (r *HI) String(args ...string) string

func (*HI) Validate

func (r *HI) Validate(rule *rules.ElementSetRule) error

type HL

type HL struct {
	HierarchicalIdNumber       string `index:"01" json:"01" xml:"01"`
	HierarchicalParentIdNumber string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	HierarchicalLevelCode      string `index:"03" json:"03" xml:"03"`
	HierarchicalChildCode      string `index:"04" json:"04" xml:"04"`

	Element
}

func (HL) GetFieldByIndex

func (r HL) GetFieldByIndex(index string) any

func (HL) Name

func (r HL) Name() string

func (*HL) Parse

func (r *HL) Parse(data string, args ...string) (int, error)

func (*HL) SetFieldByIndex

func (r *HL) SetFieldByIndex(index string, data any) error

func (HL) String

func (r HL) String(args ...string) string

func (*HL) Validate

func (r *HL) Validate(rule *rules.ElementSetRule) error

type HealthCareCode

type HealthCareCode struct {
	TypeCode     string `index:"01" json:"01" xml:"01"`
	Code         string `index:"02" json:"02" xml:"02"`
	PeriodFormat string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Period       string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Amount       string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Quantity     string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Identifier   string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	IndustryCode string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	ResponseCode string `index:"09" json:"09,omitempty" xml:"09,omitempty"`

	Element
}

func (HealthCareCode) GetFieldByIndex

func (r HealthCareCode) GetFieldByIndex(index string) any

func (*HealthCareCode) Parse

func (r *HealthCareCode) Parse(data string, args ...string) (int, error)

func (*HealthCareCode) SetFieldByIndex

func (r *HealthCareCode) SetFieldByIndex(index string, data any) error

func (*HealthCareCode) String

func (r *HealthCareCode) String(args ...string) string

func (*HealthCareCode) Validate

func (r *HealthCareCode) Validate(rule *rules.ElementSetRule) error

type HealthCareServiceLocation

type HealthCareServiceLocation struct {
	FacilityCodeValue     string `index:"01" json:"01" xml:"01"`
	FacilityCodeQualifier string `index:"02" json:"02" xml:"02"`
	ClaimFacilityType     string `index:"03" json:"03" xml:"03"`

	Element
}

func (HealthCareServiceLocation) GetFieldByIndex

func (r HealthCareServiceLocation) GetFieldByIndex(index string) any

func (*HealthCareServiceLocation) Parse

func (r *HealthCareServiceLocation) Parse(data string, args ...string) (int, error)

func (*HealthCareServiceLocation) SetFieldByIndex

func (r *HealthCareServiceLocation) SetFieldByIndex(index string, data any) error

func (*HealthCareServiceLocation) String

func (r *HealthCareServiceLocation) String(args ...string) string

func (*HealthCareServiceLocation) Validate

type IEA

type IEA struct {
	NumberOfFunctionalGroups string `index:"01" json:"01" xml:"01"`
	InterchangeControlNumber string `index:"02" json:"02" xml:"02"`

	Element
}

func (IEA) GetFieldByIndex

func (r IEA) GetFieldByIndex(index string) any

func (IEA) Name

func (r IEA) Name() string

func (*IEA) Parse

func (r *IEA) Parse(data string, args ...string) (int, error)

func (*IEA) SetFieldByIndex

func (r *IEA) SetFieldByIndex(index string, data any) error

func (*IEA) String

func (r *IEA) String(args ...string) string

func (*IEA) Validate

func (r *IEA) Validate(rule *rules.ElementSetRule) error

type ISA

type ISA struct {
	AuthorizationQualifier    string `index:"01" json:"01" xml:"01"`
	AuthorizationInformation  string `index:"02" json:"02" xml:"02"`
	SecurityQualifier         string `index:"03" json:"03" xml:"03"`
	SecurityInformation       string `index:"04" json:"04" xml:"04"`
	SenderQualifier           string `index:"05" json:"05" xml:"05"`
	SenderId                  string `index:"06" json:"06" xml:"06"`
	ReceiverQualifier         string `index:"07" json:"07" xml:"07"`
	ReceiverId                string `index:"08" json:"08" xml:"08"`
	Date                      string `index:"09" json:"09" xml:"09"`
	Time                      string `index:"10" json:"10" xml:"10"`
	StandardsId               string `index:"11" json:"11" xml:"11"`
	Version                   string `index:"12" json:"12" xml:"12"`
	InterchangeControlNumber  string `index:"13" json:"13" xml:"13"`
	AcknowledgmentRequested   string `index:"14" json:"14" xml:"14"`
	TestIndicator             string `index:"15" json:"15" xml:"15"`
	ComponentElementSeparator string `index:"16" json:"16" xml:"16"`

	Element
}

func (ISA) GetFieldByIndex

func (r ISA) GetFieldByIndex(index string) any

func (ISA) Name

func (r ISA) Name() string

func (*ISA) Parse

func (r *ISA) Parse(data string, args ...string) (int, error)

func (*ISA) SetFieldByIndex

func (r *ISA) SetFieldByIndex(index string, data any) error

func (*ISA) String

func (r *ISA) String(args ...string) string

func (*ISA) Validate

func (r *ISA) Validate(rule *rules.ElementSetRule) error

type LX

type LX struct {
	AssignedNumber string `index:"01" json:"01" xml:"01"`

	Element
}

func (LX) GetFieldByIndex

func (r LX) GetFieldByIndex(index string) any

func (LX) Name

func (r LX) Name() string

func (*LX) Parse

func (r *LX) Parse(data string, args ...string) (int, error)

func (*LX) SetFieldByIndex

func (r *LX) SetFieldByIndex(index string, data any) error

func (LX) String

func (r LX) String(args ...string) string

func (*LX) Validate

func (r *LX) Validate(rule *rules.ElementSetRule) error

type MOA

type MOA struct {
	Percentage      string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	MonetaryAmount1 string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Identification1 string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Identification2 string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Identification3 string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Identification4 string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Identification5 string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	MonetaryAmount2 string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	MonetaryAmount3 string `index:"09" json:"09,omitempty" xml:"09,omitempty"`

	Element
}

func (MOA) GetFieldByIndex

func (r MOA) GetFieldByIndex(index string) any

func (MOA) Name

func (r MOA) Name() string

func (*MOA) Parse

func (r *MOA) Parse(data string, args ...string) (int, error)

func (*MOA) SetFieldByIndex

func (r *MOA) SetFieldByIndex(index string, data any) error

func (*MOA) String

func (r *MOA) String(args ...string) string

func (*MOA) Validate

func (r *MOA) Validate(rule *rules.ElementSetRule) error

type N3

type N3 struct {
	Street1 string `index:"01" json:"01" xml:"01"`
	Street2 string `index:"02" json:"02" xml:"02"`

	Element
}

func (N3) GetFieldByIndex

func (r N3) GetFieldByIndex(index string) any

func (N3) Name

func (r N3) Name() string

func (*N3) Parse

func (r *N3) Parse(data string, args ...string) (int, error)

func (*N3) SetFieldByIndex

func (r *N3) SetFieldByIndex(index string, data any) error

func (N3) String

func (r N3) String(args ...string) string

func (*N3) Validate

func (r *N3) Validate(rule *rules.ElementSetRule) error

type N4

type N4 struct {
	City       string `index:"01" json:"01" xml:"01"`
	State      string `index:"02" json:"02" xml:"02"`
	PostalCode string `index:"03" json:"03" xml:"03"`

	Element
}

func (N4) GetFieldByIndex

func (r N4) GetFieldByIndex(index string) any

func (N4) Name

func (r N4) Name() string

func (*N4) Parse

func (r *N4) Parse(data string, args ...string) (int, error)

func (*N4) SetFieldByIndex

func (r *N4) SetFieldByIndex(index string, data any) error

func (N4) String

func (r N4) String(args ...string) string

func (*N4) Validate

func (r *N4) Validate(rule *rules.ElementSetRule) error

type NM1

type NM1 struct {
	EntityIdentifierCode        string `index:"01" json:"01" xml:"01"`
	EntityTypeQualifier         string `index:"02" json:"02" xml:"02"`
	OrganizationName            string `index:"03" json:"03" xml:"03"`
	NameFirst                   string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	NameMiddle                  string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	NamePrefix                  string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	NameSuffix                  string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	IdentificationCodeQualifier string `index:"08" json:"08" xml:"08"`
	IdentificationCode          string `index:"09" json:"09" xml:"09"`

	Element
}

func (NM1) GetFieldByIndex

func (r NM1) GetFieldByIndex(index string) any

func (NM1) Name

func (r NM1) Name() string

func (*NM1) Parse

func (r *NM1) Parse(data string, args ...string) (int, error)

func (*NM1) SetFieldByIndex

func (r *NM1) SetFieldByIndex(index string, data any) error

func (NM1) String

func (r NM1) String(args ...string) string

func (*NM1) Validate

func (r *NM1) Validate(rule *rules.ElementSetRule) error

type NTE

type NTE struct {
	ReferenceCode string `index:"01" json:"01" xml:"01"`
	Message       string `index:"02" json:"02" xml:"02"`

	Element
}

func (NTE) GetFieldByIndex

func (r NTE) GetFieldByIndex(index string) any

func (NTE) Name

func (r NTE) Name() string

func (*NTE) Parse

func (r *NTE) Parse(data string, args ...string) (int, error)

func (*NTE) SetFieldByIndex

func (r *NTE) SetFieldByIndex(index string, data any) error

func (*NTE) String

func (r *NTE) String(args ...string) string

func (*NTE) Validate

func (r *NTE) Validate(rule *rules.ElementSetRule) error

type OI

type OI struct {
	IndicatorCode   string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	ReasonCode      string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Response        string `index:"03" json:"03" xml:"03"`
	SourceCode      string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	AgreementCode   string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	InformationCode string `index:"06" json:"06" xml:"06"`

	Element
}

func (OI) GetFieldByIndex

func (r OI) GetFieldByIndex(index string) any

func (OI) Name

func (r OI) Name() string

func (*OI) Parse

func (r *OI) Parse(data string, args ...string) (int, error)

func (*OI) SetFieldByIndex

func (r *OI) SetFieldByIndex(index string, data any) error

func (*OI) String

func (r *OI) String(args ...string) string

func (*OI) Validate

func (r *OI) Validate(rule *rules.ElementSetRule) error

type PAT

type PAT struct {
	IndividualRelationshipCode string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	PatientLocationCode        string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	EmploymentStatusCode       string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	StudentStatusCode          string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	DateQualifier              string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	DateTimePeriod             string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	UnitCode                   string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	PatientWeight              string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	ConditionOrResponseCode    string `index:"09" json:"09,omitempty" xml:"09,omitempty"`

	Element
}

func (PAT) GetFieldByIndex

func (r PAT) GetFieldByIndex(index string) any

func (PAT) Name

func (r PAT) Name() string

func (*PAT) Parse

func (r *PAT) Parse(data string, args ...string) (int, error)

func (*PAT) SetFieldByIndex

func (r *PAT) SetFieldByIndex(index string, data any) error

func (PAT) String

func (r PAT) String(args ...string) string

func (*PAT) Validate

func (r *PAT) Validate(rule *rules.ElementSetRule) error

type PER

type PER struct {
	ContactFunctionCode         string `index:"01" json:"01" xml:"01"`
	ContactName                 string `index:"02" json:"02" xml:"02"`
	CommunicationQualifierPhone string `index:"03" json:"03" xml:"03"`
	CommunicationNumberPhone    string `index:"04" json:"04" xml:"04"`
	CommunicationQualifierEmail string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	CommunicationNumberEmail    string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	CommunicationQualifierOther string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	CommunicationNumberOther    string `index:"08" json:"08,omitempty" xml:"08,omitempty"`

	Element
}

func (PER) GetFieldByIndex

func (r PER) GetFieldByIndex(index string) any

func (PER) Name

func (r PER) Name() string

func (*PER) Parse

func (r *PER) Parse(data string, args ...string) (int, error)

func (*PER) SetFieldByIndex

func (r *PER) SetFieldByIndex(index string, data any) error

func (PER) String

func (r PER) String(args ...string) string

func (*PER) Validate

func (r *PER) Validate(rule *rules.ElementSetRule) error

type PRV

type PRV struct {
	ProviderCode                     string `index:"01" json:"01" xml:"01"`
	ReferenceIdentificationQualifier string `index:"02" json:"02" xml:"02"`
	ReferenceIdentification          string `index:"03" json:"03" xml:"03"`

	Element
}

func (PRV) GetFieldByIndex

func (r PRV) GetFieldByIndex(index string) any

func (PRV) Name

func (r PRV) Name() string

func (*PRV) Parse

func (r *PRV) Parse(data string, args ...string) (int, error)

func (*PRV) SetFieldByIndex

func (r *PRV) SetFieldByIndex(index string, data any) error

func (PRV) String

func (r PRV) String(args ...string) string

func (*PRV) Validate

func (r *PRV) Validate(rule *rules.ElementSetRule) error

type PWK

type PWK struct {
	ReportTypeCode          string `index:"01" json:"01" xml:"01"`
	ReportTransmissionCode  string `index:"02" json:"02" xml:"02"`
	ReportCopiesNeeded      string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	EntityIdentifierCode    string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	IdentifierCodeQualifier string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	IdentifierCode          string `index:"06" json:"06,omitempty" xml:"06,omitempty"`

	Element
}

func (PWK) GetFieldByIndex

func (r PWK) GetFieldByIndex(index string) any

func (PWK) Name

func (r PWK) Name() string

func (*PWK) Parse

func (r *PWK) Parse(data string, args ...string) (int, error)

func (*PWK) SetFieldByIndex

func (r *PWK) SetFieldByIndex(index string, data any) error

func (PWK) String

func (r PWK) String(args ...string) string

func (*PWK) Validate

func (r *PWK) Validate(rule *rules.ElementSetRule) error

type ProcedureIdentifier

type ProcedureIdentifier struct {
	ServiceIdQualifier string `index:"01" json:"01" xml:"01"`
	ServiceId          string `index:"02" json:"02" xml:"02"`
	Modifier1          string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Modifier2          string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Modifier3          string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Modifier4          string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Description        string `index:"07" json:"07,omitempty" xml:"07,omitempty"`

	Element
}

func (ProcedureIdentifier) GetFieldByIndex

func (r ProcedureIdentifier) GetFieldByIndex(index string) any

func (*ProcedureIdentifier) Parse

func (r *ProcedureIdentifier) Parse(data string, args ...string) (int, error)

func (*ProcedureIdentifier) SetFieldByIndex

func (r *ProcedureIdentifier) SetFieldByIndex(index string, data any) error

func (*ProcedureIdentifier) String

func (r *ProcedureIdentifier) String(args ...string) string

func (*ProcedureIdentifier) Validate

func (r *ProcedureIdentifier) Validate(rule *rules.ElementSetRule) error

type REF

type REF struct {
	ReferenceIdentificationQualifier string `index:"01" json:"01" xml:"01"`
	ReferenceIdentification          string `index:"02" json:"02" xml:"02"`

	Element
}

func (REF) GetFieldByIndex

func (r REF) GetFieldByIndex(index string) any

func (REF) Name

func (r REF) Name() string

func (*REF) Parse

func (r *REF) Parse(data string, args ...string) (int, error)

func (*REF) SetFieldByIndex

func (r *REF) SetFieldByIndex(index string, data any) error

func (REF) String

func (r REF) String(args ...string) string

func (*REF) Validate

func (r *REF) Validate(rule *rules.ElementSetRule) error

type RelatedCausesInformation

type RelatedCausesInformation struct {
	Code1   string `index:"01" json:"01" xml:"01"`
	Code2   string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Code3   string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	State   string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Country string `index:"05" json:"05,omitempty" xml:"05,omitempty"`

	Element
}

func (RelatedCausesInformation) GetFieldByIndex

func (r RelatedCausesInformation) GetFieldByIndex(index string) any

func (*RelatedCausesInformation) Parse

func (r *RelatedCausesInformation) Parse(data string, args ...string) (int, error)

func (*RelatedCausesInformation) SetFieldByIndex

func (r *RelatedCausesInformation) SetFieldByIndex(index string, data any) error

func (*RelatedCausesInformation) String

func (r *RelatedCausesInformation) String(args ...string) string

func (*RelatedCausesInformation) Validate

type SBR

type SBR struct {
	PayerResponsibilitySequenceCode string `index:"01" json:"01" xml:"01"`
	IndividualRelationshipCode      string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	ReferenceIdentification         string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	GroupName                       string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	InsuranceTypeCode               string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	CoordinationOfBenefitsCode      string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	ConditionOrResponseCode         string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	EmploymentStatusCode            string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	ClaimFilingIndicator            string `index:"09" json:"09,omitempty" xml:"09,omitempty"`

	Element
}

func (SBR) GetFieldByIndex

func (r SBR) GetFieldByIndex(index string) any

func (SBR) Name

func (r SBR) Name() string

func (*SBR) Parse

func (r *SBR) Parse(data string, args ...string) (int, error)

func (*SBR) SetFieldByIndex

func (r *SBR) SetFieldByIndex(index string, data any) error

func (SBR) String

func (r SBR) String(args ...string) string

func (*SBR) Validate

func (r *SBR) Validate(rule *rules.ElementSetRule) error

type SE

type SE struct {
	NumberOfSegments            string `index:"01" json:"01" xml:"01"`
	TransactionSetControlNumber string `index:"02" json:"02" xml:"02"`

	Element
}

func (SE) GetFieldByIndex

func (r SE) GetFieldByIndex(index string) any

func (SE) Name

func (r SE) Name() string

func (*SE) Parse

func (r *SE) Parse(data string, args ...string) (int, error)

func (*SE) SetFieldByIndex

func (r *SE) SetFieldByIndex(index string, data any) error

func (*SE) String

func (r *SE) String(args ...string) string

func (*SE) Validate

func (r *SE) Validate(rule *rules.ElementSetRule) error

type ST

type ST struct {
	TransactionSetIdentifierCode      string `index:"01" json:"01" xml:"01"`
	TransactionSetControlNumber       string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	ImplementationConventionReference string `index:"03" json:"03,omitempty" xml:"03,omitempty"`

	Element
}

func (ST) GetFieldByIndex

func (r ST) GetFieldByIndex(index string) any

func (ST) Name

func (r ST) Name() string

func (*ST) Parse

func (r *ST) Parse(data string, args ...string) (int, error)

func (*ST) SetFieldByIndex

func (r *ST) SetFieldByIndex(index string, data any) error

func (*ST) String

func (r *ST) String(args ...string) string

func (*ST) Validate

func (r *ST) Validate(rule *rules.ElementSetRule) error

type SV1

type SV1 struct {
	Field1  string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Field2  string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Field3  string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Field4  string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Field5  string `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Field6  string `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Field7  string `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	Field8  string `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	Field9  string `index:"09" json:"09,omitempty" xml:"09,omitempty"`
	Field10 string `index:"10" json:"10,omitempty" xml:"10,omitempty"`
	Field11 string `index:"11" json:"11,omitempty" xml:"11,omitempty"`
	Field12 string `index:"12" json:"12,omitempty" xml:"12,omitempty"`
	Field13 string `index:"13" json:"13,omitempty" xml:"13,omitempty"`
	Field14 string `index:"14" json:"14,omitempty" xml:"14,omitempty"`
	Field15 string `index:"15" json:"15,omitempty" xml:"15,omitempty"`
	Field16 string `index:"16" json:"16,omitempty" xml:"16,omitempty"`
	Field17 string `index:"17" json:"17,omitempty" xml:"17,omitempty"`
	Field18 string `index:"18" json:"18,omitempty" xml:"18,omitempty"`
	Field19 string `index:"19" json:"19,omitempty" xml:"19,omitempty"`
	Field20 string `index:"20" json:"20,omitempty" xml:"20,omitempty"`
	Field21 string `index:"21" json:"21,omitempty" xml:"21,omitempty"`

	Element
}

func (SV1) GetFieldByIndex

func (r SV1) GetFieldByIndex(index string) any

func (SV1) Name

func (r SV1) Name() string

func (*SV1) Parse

func (r *SV1) Parse(data string, args ...string) (int, error)

func (*SV1) SetFieldByIndex

func (r *SV1) SetFieldByIndex(index string, data any) error

func (*SV1) String

func (r *SV1) String(args ...string) string

func (*SV1) Validate

func (r *SV1) Validate(rule *rules.ElementSetRule) error

type SV3

type SV3 struct {
	Field1  *DentalServiceProcedure   `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Field2  string                    `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Field3  string                    `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Field4  *DentalServiceCode        `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Field5  string                    `index:"05" json:"05,omitempty" xml:"05,omitempty"`
	Field6  string                    `index:"06" json:"06,omitempty" xml:"06,omitempty"`
	Field7  string                    `index:"07" json:"07,omitempty" xml:"07,omitempty"`
	Field8  string                    `index:"08" json:"08,omitempty" xml:"08,omitempty"`
	Field9  string                    `index:"09" json:"09,omitempty" xml:"09,omitempty"`
	Field10 string                    `index:"10" json:"10,omitempty" xml:"10,omitempty"`
	Field11 *DentalServiceCodePointer `index:"11" json:"11,omitempty" xml:"11,omitempty"`

	Element
}

func (SV3) GetFieldByIndex

func (r SV3) GetFieldByIndex(index string) any

func (SV3) Name

func (r SV3) Name() string

func (*SV3) Parse

func (r *SV3) Parse(data string, args ...string) (int, error)

func (*SV3) SetFieldByIndex

func (r *SV3) SetFieldByIndex(index string, data any) error

func (*SV3) String

func (r *SV3) String(args ...string) string

func (*SV3) Validate

func (r *SV3) Validate(rule *rules.ElementSetRule) error

type SV5

type SV5 struct {
	Field1 string `index:"01" json:"01" xml:"01"`
	Field2 string `index:"02" json:"02" xml:"02"`
	Field3 string `index:"03" json:"03" xml:"03"`
	Field4 string `index:"04" json:"04" xml:"04"`
	Field5 string `index:"05" json:"05" xml:"05"`
	Field6 string `index:"06" json:"06" xml:"06"`
	Field7 string `index:"07" json:"07,omitempty" xml:"07,omitempty"`

	Element
}

func (SV5) GetFieldByIndex

func (r SV5) GetFieldByIndex(index string) any

func (SV5) Name

func (r SV5) Name() string

func (*SV5) Parse

func (r *SV5) Parse(data string, args ...string) (int, error)

func (*SV5) SetFieldByIndex

func (r *SV5) SetFieldByIndex(index string, data any) error

func (SV5) String

func (r SV5) String(args ...string) string

func (*SV5) Validate

func (r *SV5) Validate(rule *rules.ElementSetRule) error

type SVD

type SVD struct {
	IdentifierCode      string              `index:"01" json:"01" xml:"01"`
	MonetaryAmount      string              `index:"02" json:"02" xml:"02"`
	ProcedureIdentifier ProcedureIdentifier `index:"03" json:"03" xml:"03"`
	ServiceId           string              `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Quantity            string              `index:"05" json:"05" xml:"05"`
	AssignedNumber      string              `index:"06" json:"06,omitempty" xml:"06,omitempty"`

	Element
}

func (SVD) GetFieldByIndex

func (r SVD) GetFieldByIndex(index string) any

func (SVD) Name

func (r SVD) Name() string

func (*SVD) Parse

func (r *SVD) Parse(data string, args ...string) (int, error)

func (*SVD) SetFieldByIndex

func (r *SVD) SetFieldByIndex(index string, data any) error

func (*SVD) String

func (r *SVD) String(args ...string) string

func (*SVD) Validate

func (r *SVD) Validate(rule *rules.ElementSetRule) error

type SegmentInterface

type SegmentInterface interface {
	Name() string
	GetRule() *rules.ElementSetRule
	SetRule(s *rules.ElementSetRule)
	GetDescription() string
	SetDescription(string)
	GetFieldByIndex(index string) any
	SetFieldByIndex(index string, data any) error
	Validate(rule *rules.ElementSetRule) error
	Parse(data string, args ...string) (int, error)
	String(args ...string) string
}

func CreateSegment

func CreateSegment(name string, rule *rules.SegmentRule) (SegmentInterface, error)

func NewAMT

func NewBHT

func NewCAS

func NewCLM

func NewCN1

func NewCR1

func NewCUR

func NewDMG

func NewDN1

func NewDN2

func NewDTP

func NewGE

func NewGS

func NewHCP

func NewHI

func NewHL

func NewIEA

func NewISA

func NewLX

func NewMOA

func NewN3

func NewN4

func NewNM1

func NewNTE

func NewOI

func NewPAT

func NewPER

func NewPRV

func NewPWK

func NewREF

func NewSBR

func NewSE

func NewST

func NewSV1

func NewSV3

func NewSV5

func NewSVD

func NewTOO

type TOO

type TOO struct {
	CodeListQualCode string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	IndustryCode     string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Identification1  string `index:"03" json:"03,omitempty" xml:"03,omitempty"`

	Element
}

func (TOO) GetFieldByIndex

func (r TOO) GetFieldByIndex(index string) any

func (TOO) Name

func (r TOO) Name() string

func (*TOO) Parse

func (r *TOO) Parse(data string, args ...string) (int, error)

func (*TOO) SetFieldByIndex

func (r *TOO) SetFieldByIndex(index string, data any) error

func (*TOO) String

func (r *TOO) String(args ...string) string

func (*TOO) Validate

func (r *TOO) Validate(rule *rules.ElementSetRule) error

type ToothSurfaceCode

type ToothSurfaceCode struct {
	Code1 string `index:"01" json:"01,omitempty" xml:"01,omitempty"`
	Code2 string `index:"02" json:"02,omitempty" xml:"02,omitempty"`
	Code3 string `index:"03" json:"03,omitempty" xml:"03,omitempty"`
	Code4 string `index:"04" json:"04,omitempty" xml:"04,omitempty"`
	Code5 string `index:"05" json:"05,omitempty" xml:"05,omitempty"`

	Element
}

func (ToothSurfaceCode) GetFieldByIndex

func (r ToothSurfaceCode) GetFieldByIndex(index string) any

func (*ToothSurfaceCode) Parse

func (r *ToothSurfaceCode) Parse(data string, args ...string) (int, error)

func (*ToothSurfaceCode) SetFieldByIndex

func (r *ToothSurfaceCode) SetFieldByIndex(index string, data any) error

func (*ToothSurfaceCode) String

func (r *ToothSurfaceCode) String(args ...string) string

func (*ToothSurfaceCode) Validate

func (r *ToothSurfaceCode) Validate(rule *rules.ElementSetRule) error

Jump to

Keyboard shortcuts

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