public StringType getPurposeElement() { 
      if (this.purpose == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create Protocol.purpose");
        else if (Configuration.doAutoCreate())
          this.purpose = new StringType(); // bb
      return this.purpose;
    }
public StringType getPurposeElement ( ) { if ( this . purpose == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create Protocol.purpose" ) ; else if ( Configuration . doAutoCreate ( ) ) this . purpose = new StringType ( ) ; return this . purpose ; }
@return {@link #purpose} (When is protocol to be used?). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value