Migrate to S3Represent (Patient)

@flavour : #256 (I modified the count variable as nursix wanted not to use one extra variable limitby)