patients model