public MedicationRequest setIntent(MedicationRequestIntent value) { 
        if (this.intent == null)
          this.intent = new Enumeration<MedicationRequestIntent>(new MedicationRequestIntentEnumFactory());
        this.intent.setValue(value);
      return this;
    }
public MedicationRequest setIntent ( MedicationRequestIntent value ) { if ( this . intent == null ) this . intent = new Enumeration < MedicationRequestIntent > ( new MedicationRequestIntentEnumFactory ( ) ) ; this . intent . setValue ( value ) ; return this ; }
@param value Whether the request is a proposal, plan, or an original order.