public UriType getEventUriType() throws FHIRException { 
      if (this.event == null)
        this.event = new UriType();
      if (!(this.event instanceof UriType))
        throw new FHIRException("Type mismatch: the type UriType was expected, but "+this.event.getClass().getName()+" was encountered");
      return (UriType) this.event;
    }
public UriType getEventUriType ( ) throws FHIRException { if ( this . event == null ) this . event = new UriType ( ) ; if ( ! ( this . event instanceof UriType ) ) throw new FHIRException ( "Type mismatch: the type UriType was expected, but " + this . event . getClass ( ) . getName ( ) + " was encountered" ) ; return ( UriType ) this . event ; }
@return {@link #event} (Event code or link to the EventDefinition.)