The liability of a person entrusted with another's care as well as that of a spouse or registered partner of a person lacking capacity of judgement or of a representative in the case of medical measures, insofar as that person is not a welfare deputy is governed by the provisions of the Code of Obligations1on agency.