title: How call function in .subscribe
body: <p>I need to execute the a function in case the ListPatients function is successful, where I should add it</p>
  
  <pre><code>this.dataApiService.ListPatients()
    .subscribe((
      data : PacienteInterface) =&gt;(this.pacienteLista = data),
      error =&gt; this.mensajeError(error)
      );
  </code></pre>