Get patient xml and json.