UPDATE "encounters" SET "closed_by" = $1, "comments" = $2, "status" = $3, "updated_at" = $4, "updated_by" = $5 WHERE ("encounters"."id" = $6)