Documentation
¶
Index ¶
- type AMT
- type BHT
- type CAS
- type CLM
- type CN1
- type CR1
- type CUR
- type DMG
- type DN1
- type DN2
- type DTP
- type DentalServiceCode
- func (r DentalServiceCode) GetFieldByIndex(index string) any
- func (r *DentalServiceCode) Parse(data string, args ...string) (int, error)
- func (r *DentalServiceCode) SetFieldByIndex(index string, data any) error
- func (r *DentalServiceCode) String(args ...string) string
- func (r *DentalServiceCode) Validate(rule *rules.ElementSetRule) error
- type DentalServiceCodePointer
- func (r DentalServiceCodePointer) GetFieldByIndex(index string) any
- func (r *DentalServiceCodePointer) Parse(data string, args ...string) (int, error)
- func (r *DentalServiceCodePointer) SetFieldByIndex(index string, data any) error
- func (r *DentalServiceCodePointer) String(args ...string) string
- func (r *DentalServiceCodePointer) Validate(rule *rules.ElementSetRule) error
- type DentalServiceProcedure
- func (r DentalServiceProcedure) GetFieldByIndex(index string) any
- func (r *DentalServiceProcedure) Parse(data string, args ...string) (int, error)
- func (r *DentalServiceProcedure) SetFieldByIndex(index string, data any) error
- func (r *DentalServiceProcedure) String(args ...string) string
- func (r *DentalServiceProcedure) Validate(rule *rules.ElementSetRule) error
- type Element
- type GE
- type GS
- type HCP
- type HI
- type HL
- type HealthCareCode
- func (r HealthCareCode) GetFieldByIndex(index string) any
- func (r *HealthCareCode) Parse(data string, args ...string) (int, error)
- func (r *HealthCareCode) SetFieldByIndex(index string, data any) error
- func (r *HealthCareCode) String(args ...string) string
- func (r *HealthCareCode) Validate(rule *rules.ElementSetRule) error
- type HealthCareServiceLocation
- func (r HealthCareServiceLocation) GetFieldByIndex(index string) any
- func (r *HealthCareServiceLocation) Parse(data string, args ...string) (int, error)
- func (r *HealthCareServiceLocation) SetFieldByIndex(index string, data any) error
- func (r *HealthCareServiceLocation) String(args ...string) string
- func (r *HealthCareServiceLocation) Validate(rule *rules.ElementSetRule) error
- type IEA
- type ISA
- type LX
- type MOA
- type N3
- type N4
- type NM1
- type NTE
- type OI
- type PAT
- type PER
- type PRV
- type PWK
- type ProcedureIdentifier
- func (r ProcedureIdentifier) GetFieldByIndex(index string) any
- func (r *ProcedureIdentifier) Parse(data string, args ...string) (int, error)
- func (r *ProcedureIdentifier) SetFieldByIndex(index string, data any) error
- func (r *ProcedureIdentifier) String(args ...string) string
- func (r *ProcedureIdentifier) Validate(rule *rules.ElementSetRule) error
- type REF
- type RelatedCausesInformation
- func (r RelatedCausesInformation) GetFieldByIndex(index string) any
- func (r *RelatedCausesInformation) Parse(data string, args ...string) (int, error)
- func (r *RelatedCausesInformation) SetFieldByIndex(index string, data any) error
- func (r *RelatedCausesInformation) String(args ...string) string
- func (r *RelatedCausesInformation) Validate(rule *rules.ElementSetRule) error
- type SBR
- type SE
- type ST
- type SV1
- type SV3
- type SV5
- type SVD
- type SegmentInterface
- func CreateSegment(name string, rule *rules.SegmentRule) (SegmentInterface, error)
- func NewAMT(rule *rules.ElementSetRule) SegmentInterface
- func NewBHT(rule *rules.ElementSetRule) SegmentInterface
- func NewCAS(rule *rules.ElementSetRule) SegmentInterface
- func NewCLM(rule *rules.ElementSetRule) SegmentInterface
- func NewCN1(rule *rules.ElementSetRule) SegmentInterface
- func NewCR1(rule *rules.ElementSetRule) SegmentInterface
- func NewCUR(rule *rules.ElementSetRule) SegmentInterface
- func NewDMG(rule *rules.ElementSetRule) SegmentInterface
- func NewDN1(rule *rules.ElementSetRule) SegmentInterface
- func NewDN2(rule *rules.ElementSetRule) SegmentInterface
- func NewDTP(rule *rules.ElementSetRule) SegmentInterface
- func NewGE(rule *rules.ElementSetRule) SegmentInterface
- func NewGS(rule *rules.ElementSetRule) SegmentInterface
- func NewHCP(rule *rules.ElementSetRule) SegmentInterface
- func NewHI(rule *rules.ElementSetRule) SegmentInterface
- func NewHL(rule *rules.ElementSetRule) SegmentInterface
- func NewIEA(rule *rules.ElementSetRule) SegmentInterface
- func NewISA(rule *rules.ElementSetRule) SegmentInterface
- func NewLX(rule *rules.ElementSetRule) SegmentInterface
- func NewMOA(rule *rules.ElementSetRule) SegmentInterface
- func NewN3(rule *rules.ElementSetRule) SegmentInterface
- func NewN4(rule *rules.ElementSetRule) SegmentInterface
- func NewNM1(rule *rules.ElementSetRule) SegmentInterface
- func NewNTE(rule *rules.ElementSetRule) SegmentInterface
- func NewOI(rule *rules.ElementSetRule) SegmentInterface
- func NewPAT(rule *rules.ElementSetRule) SegmentInterface
- func NewPER(rule *rules.ElementSetRule) SegmentInterface
- func NewPRV(rule *rules.ElementSetRule) SegmentInterface
- func NewPWK(rule *rules.ElementSetRule) SegmentInterface
- func NewREF(rule *rules.ElementSetRule) SegmentInterface
- func NewSBR(rule *rules.ElementSetRule) SegmentInterface
- func NewSE(rule *rules.ElementSetRule) SegmentInterface
- func NewST(rule *rules.ElementSetRule) SegmentInterface
- func NewSV1(rule *rules.ElementSetRule) SegmentInterface
- func NewSV3(rule *rules.ElementSetRule) SegmentInterface
- func NewSV5(rule *rules.ElementSetRule) SegmentInterface
- func NewSVD(rule *rules.ElementSetRule) SegmentInterface
- func NewTOO(rule *rules.ElementSetRule) SegmentInterface
- type TOO
- type ToothSurfaceCode
- func (r ToothSurfaceCode) GetFieldByIndex(index string) any
- func (r *ToothSurfaceCode) Parse(data string, args ...string) (int, error)
- func (r *ToothSurfaceCode) SetFieldByIndex(index string, data any) error
- func (r *ToothSurfaceCode) String(args ...string) string
- func (r *ToothSurfaceCode) Validate(rule *rules.ElementSetRule) error
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (r *DentalServiceCodePointer) Validate(rule *rules.ElementSetRule) error
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 (Element) GetRule ¶
func (e Element) GetRule() *rules.ElementSetRule
func (*Element) SetDescription ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (r *HealthCareServiceLocation) Validate(rule *rules.ElementSetRule) error
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 ¶
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 ¶
type LX ¶
func (LX) GetFieldByIndex ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (r *RelatedCausesInformation) Validate(rule *rules.ElementSetRule) error
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 NewAMT(rule *rules.ElementSetRule) SegmentInterface
func NewBHT ¶
func NewBHT(rule *rules.ElementSetRule) SegmentInterface
func NewCAS ¶
func NewCAS(rule *rules.ElementSetRule) SegmentInterface
func NewCLM ¶
func NewCLM(rule *rules.ElementSetRule) SegmentInterface
func NewCN1 ¶
func NewCN1(rule *rules.ElementSetRule) SegmentInterface
func NewCR1 ¶
func NewCR1(rule *rules.ElementSetRule) SegmentInterface
func NewCUR ¶
func NewCUR(rule *rules.ElementSetRule) SegmentInterface
func NewDMG ¶
func NewDMG(rule *rules.ElementSetRule) SegmentInterface
func NewDN1 ¶
func NewDN1(rule *rules.ElementSetRule) SegmentInterface
func NewDN2 ¶
func NewDN2(rule *rules.ElementSetRule) SegmentInterface
func NewDTP ¶
func NewDTP(rule *rules.ElementSetRule) SegmentInterface
func NewGE ¶
func NewGE(rule *rules.ElementSetRule) SegmentInterface
func NewGS ¶
func NewGS(rule *rules.ElementSetRule) SegmentInterface
func NewHCP ¶
func NewHCP(rule *rules.ElementSetRule) SegmentInterface
func NewHI ¶
func NewHI(rule *rules.ElementSetRule) SegmentInterface
func NewHL ¶
func NewHL(rule *rules.ElementSetRule) SegmentInterface
func NewIEA ¶
func NewIEA(rule *rules.ElementSetRule) SegmentInterface
func NewISA ¶
func NewISA(rule *rules.ElementSetRule) SegmentInterface
func NewLX ¶
func NewLX(rule *rules.ElementSetRule) SegmentInterface
func NewMOA ¶
func NewMOA(rule *rules.ElementSetRule) SegmentInterface
func NewN3 ¶
func NewN3(rule *rules.ElementSetRule) SegmentInterface
func NewN4 ¶
func NewN4(rule *rules.ElementSetRule) SegmentInterface
func NewNM1 ¶
func NewNM1(rule *rules.ElementSetRule) SegmentInterface
func NewNTE ¶
func NewNTE(rule *rules.ElementSetRule) SegmentInterface
func NewOI ¶
func NewOI(rule *rules.ElementSetRule) SegmentInterface
func NewPAT ¶
func NewPAT(rule *rules.ElementSetRule) SegmentInterface
func NewPER ¶
func NewPER(rule *rules.ElementSetRule) SegmentInterface
func NewPRV ¶
func NewPRV(rule *rules.ElementSetRule) SegmentInterface
func NewPWK ¶
func NewPWK(rule *rules.ElementSetRule) SegmentInterface
func NewREF ¶
func NewREF(rule *rules.ElementSetRule) SegmentInterface
func NewSBR ¶
func NewSBR(rule *rules.ElementSetRule) SegmentInterface
func NewSE ¶
func NewSE(rule *rules.ElementSetRule) SegmentInterface
func NewST ¶
func NewST(rule *rules.ElementSetRule) SegmentInterface
func NewSV1 ¶
func NewSV1(rule *rules.ElementSetRule) SegmentInterface
func NewSV3 ¶
func NewSV3(rule *rules.ElementSetRule) SegmentInterface
func NewSV5 ¶
func NewSV5(rule *rules.ElementSetRule) SegmentInterface
func NewSVD ¶
func NewSVD(rule *rules.ElementSetRule) SegmentInterface
func NewTOO ¶
func NewTOO(rule *rules.ElementSetRule) SegmentInterface
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 ¶
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
Source Files
¶
- amt.go
- bht.go
- cas.go
- clm.go
- clm_composite.go
- cn1.go
- cr1.go
- cur.go
- dmg.go
- dn1.go
- dn2.go
- dtp.go
- ge.go
- gs.go
- hcp.go
- hi.go
- hi_composite.go
- hl.go
- iea.go
- isa.go
- lx.go
- moa.go
- n3.go
- n4.go
- nm1.go
- nte.go
- oi.go
- pat.go
- per.go
- prv.go
- pwk.go
- ref.go
- sbr.go
- se.go
- st.go
- sv1.go
- sv3.go
- sv3_composite.go
- sv5.go
- svd.go
- svd_composite.go
- too.go
- too_composite.go
- types.go
Click to show internal directories.
Click to hide internal directories.