Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
local patientXML = chargeTransaction:number("batchId") .. '-' .. chargeTransaction:number("syncId")

Node.text()

USAGE

Select child node from Keep the root XML node based on XML element but empty the XML pathelement Text value

REQUIRED PARAMETERS

  • path: xml child node path

  • required: If 'required' is false and 'thisNode' is nil, the function returns nothing and exits.

...

Code Block
local header = chargeTransaction.headers:firstChild("header", "headerDefinition/systemIdentifier", "FELL")

Node.removeText()

USAGE

Select child node from Keep the root XML node based on XML element but empty the XML pathelement Text value

REQUIRED PARAMETERS

  • XMLNode: the root of XML nodeNone

RETURNS

  • The child node treeEmpty

SAMPLE CODE

Code Block
local patientXML = recordXML:select("chargeTransaction/patient", truerecordXML.element:removeText()