public Reference getProviderReference() throws FHIRException { 
      if (!(this.provider instanceof Reference))
        throw new FHIRException("Type mismatch: the type Reference was expected, but "+this.provider.getClass().getName()+" was encountered");
      return (Reference) this.provider;
    }
public Reference getProviderReference ( ) throws FHIRException { if ( ! ( this . provider instanceof Reference ) ) throw new FHIRException ( "Type mismatch: the type Reference was expected, but " + this . provider . getClass ( ) . getName ( ) + " was encountered" ) ; return ( Reference ) this . provider ; }
@return {@link #provider} (The practitioner who is responsible for the services rendered to the patient.)