I am trying to create elements to be printed by the front end. I have a need to be aware of the previous medication priority in the druglist while working with the current list so the worksheet can be generated correctly.
Here is my java code: (this code is not correct and is giving me an error of previousDrugList1 cannot be resolved on previousmedicationpriority. The error is at this statement: previousmedicationpriority.appendChild(xmlDoc.createTextNode(previousDrugList1.medicationPriority)); )
I have looked for xslt functions that might be able to help but I did not find any. I then assumed that I needed to create a solution in the middle tier and pass it to the presentation tier.