Programming cell functions and tissue self-organization for precision medicine