func NewAmount(value float64, currency string) *AmountDataElement {
	a := &AmountDataElement{
		Amount:   NewValue(value),
		Currency: NewCurrency(currency),
	}
	a.DataElement = NewGroupDataElementGroup(amountGDEG, 2, a)
	return a
}
// NewAmount returns a new AmountDataElement
NewAmount returns a new AmountDataElement
// NewAmount returns a new AmountDataElement
func NewAmount(value float64, currency string) *AmountDataElement {
	a := &AmountDataElement{
		Amount:   NewValue(value),
		Currency: NewCurrency(currency),
	}
	a.DataElement = NewGroupDataElementGroup(amountGDEG, 2, a)
	return a
}
func NewAmount ( value float64 , currency string ) * AmountDataElement { a := & AmountDataElement { Amount : NewValue ( value ) , Currency : NewCurrency ( currency ) , } a . DataElement = NewGroupDataElementGroup ( amountGDEG , 2 , a ) return a }
NewAmount returns a new AmountDataElement
NewAmount returns a new AmountDataElement