Added func to search against medication XML. Not sure what happened to my changes.