Create encounter service