BDSHR-389 StructureValidator added for validations around structure of the encounter