Create service to persist encounter