Copy link to this section Parameters
Copy link to this section
parameter ELEMENTQUALIFIED = 1;
Inherited description: ELEMENTQUALIFIED controls the format of exported XML.
The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the
schema that defines the type.
To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export
and will default to 0 (false) for encoded or encoded12 format export.
These were the values always previously assumed for the elementFormDefault attribute.
NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be
done using %XML.Writer or SOAP support.
Copy link to this section
parameter XMLNAME = Invoice;
Inherited description: This parameter provides the default XMLNAME for the class. If it is
empty then the class name will be used to construct a default XML name.
The default XMLNAME is used as the top level tag
when exporting objects and the export context
did not provide an XML container name.
Copy link to this section
parameter XMLPROJECTION = ELEMENT;
Copy link to this section
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the
order of the class properties. This allows us to deal with XML where the
same field appears multiple times and is distinguished by the order.
Copy link to this section
parameter XMLTYPE = Invoice;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is
empty then the class name will be used to construct a default XML type.
The default XMLTYPE is used when naming and referencing this type
in a schema and the schema context did not provide an XML type name.
Copy link to this section Properties
Reference
Account that is being balanced.
Account
Property methods: accountGet(), accountGetSwizzled(), accountIsValid(), accountNewObject(), accountSet()
Copy link to this section
property cancelledReason as %String (MAXLEN = 1000000, XMLNAME = "cancelledReason", XMLPROJECTION = "ATTRIBUTE");
string
Reason for cancellation of this Invoice.
Property methods: cancelledReasonDisplayToLogical(), cancelledReasonGet(), cancelledReasonIsValid(), cancelledReasonLogicalToDisplay(), cancelledReasonLogicalToOdbc(), cancelledReasonNormalize(), cancelledReasonSet()
Copy link to this section
property date as %String (MAXLEN = 1000000, XMLNAME = "date", XMLPROJECTION = "ATTRIBUTE");
dateTime
Invoice date / posting date.
Property methods: dateDisplayToLogical(), dateGet(), dateIsValid(), dateLogicalToDisplay(), dateLogicalToOdbc(), dateNormalize(), dateSet()
Identifier
Business Identifier for item.
Property methods: identifierBuildValueArray(), identifierCollectionToDisplay(), identifierCollectionToOdbc(), identifierDisplayToCollection(), identifierGet(), identifierGetObject(), identifierGetObjectId(), identifierGetSwizzled(), identifierIsValid(), identifierOdbcToCollection(), identifierSet(), identifierSetObject(), identifierSetObjectId()
Reference
Issuing Organization of Invoice.
Organization
Property methods: issuerGet(), issuerGetSwizzled(), issuerIsValid(), issuerNewObject(), issuerSet()
BackboneElement
Line items of this Invoice.
Property methods: lineItemBuildValueArray(), lineItemCollectionToDisplay(), lineItemCollectionToOdbc(), lineItemDisplayToCollection(), lineItemGet(), lineItemGetObject(), lineItemGetObjectId(), lineItemGetSwizzled(), lineItemIsValid(), lineItemOdbcToCollection(), lineItemSet(), lineItemSetObject(), lineItemSetObjectId()
Annotation
Comments made about the invoice.
Property methods: noteBuildValueArray(), noteCollectionToDisplay(), noteCollectionToOdbc(), noteDisplayToCollection(), noteGet(), noteGetObject(), noteGetObjectId(), noteGetSwizzled(), noteIsValid(), noteOdbcToCollection(), noteSet(), noteSetObject(), noteSetObjectId()
BackboneElement
Participant in creation of this Invoice.
Property methods: participantBuildValueArray(), participantCollectionToDisplay(), participantCollectionToOdbc(), participantDisplayToCollection(), participantGet(), participantGetObject(), participantGetObjectId(), participantGetSwizzled(), participantIsValid(), participantOdbcToCollection(), participantSet(), participantSetObject(), participantSetObjectId()
Copy link to this section
property paymentTerms as %String (MAXLEN = 1000000, XMLNAME = "paymentTerms", XMLPROJECTION = "ATTRIBUTE");
markdown
Payment details.
Property methods: paymentTermsDisplayToLogical(), paymentTermsGet(), paymentTermsIsValid(), paymentTermsLogicalToDisplay(), paymentTermsLogicalToOdbc(), paymentTermsNormalize(), paymentTermsSet()
Reference
Recipient of this invoice.
Organization | Patient | RelatedPerson
Property methods: recipientGet(), recipientGetSwizzled(), recipientIsValid(), recipientNewObject(), recipientSet()
Copy link to this section
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE") [ Required ];
code
draft | issued | balanced | cancelled | entered-in-error
invoice-status|4.0.1 is the REQUIRED FHIR4 ValueSet for codes;
you may NOT extend invoice-status|4.0.1 and you may NOT use codes from other ValueSets.
Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
Reference
Recipient(s) of goods and services.
Patient | Group
Property methods: subjectGet(), subjectGetSwizzled(), subjectIsValid(), subjectNewObject(), subjectSet()
Money
Gross total of this Invoice.
Property methods: totalGrossGet(), totalGrossGetSwizzled(), totalGrossIsValid(), totalGrossNewObject(), totalGrossSet()
Money
Net total of this Invoice.
Property methods: totalNetGet(), totalNetGetSwizzled(), totalNetIsValid(), totalNetNewObject(), totalNetSet()
Invoice:lineItem[n].priceComponent
Components of Invoice total.
Property methods: totalPriceComponentBuildValueArray(), totalPriceComponentCollectionToDisplay(), totalPriceComponentCollectionToOdbc(), totalPriceComponentDisplayToCollection(), totalPriceComponentGet(), totalPriceComponentGetObject(), totalPriceComponentGetObjectId(), totalPriceComponentGetSwizzled(), totalPriceComponentIsValid(), totalPriceComponentOdbcToCollection(), totalPriceComponentSet(), totalPriceComponentSetObject(), totalPriceComponentSetObjectId()
CodeableConcept
Type of Invoice.
any FHIR4 code from any ValueSet may be used.
Property methods: typeGet(), typeGetSwizzled(), typeIsValid(), typeNewObject(), typeSet()