keep lines under 80 chars:

    pattern = "/ClinicalDocument/component/structuredBody/component/section[./title =" +
      "'Allergies, Adverse Reactions, Alerts']/text/table/tbody/tr"
    ...
    pattern: pattern