public Enumeration<MedicationRequestIntent> getIntentElement() { 
      if (this.intent == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create MedicationRequest.intent");
        else if (Configuration.doAutoCreate())
          this.intent = new Enumeration<MedicationRequestIntent>(new MedicationRequestIntentEnumFactory()); // bb
      return this.intent;
    }
public Enumeration < MedicationRequestIntent > getIntentElement ( ) { if ( this . intent == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create MedicationRequest.intent" ) ; else if ( Configuration . doAutoCreate ( ) ) this . intent = new Enumeration < MedicationRequestIntent > ( new MedicationRequestIntentEnumFactory ( ) ) ; return this . intent ; }
@return {@link #intent} (Whether the request is a proposal, plan, or an original order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value