Implemented the encounter trasaction resource - WIP