public CodeableConcept getIntent() { 
      if (this.intent == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create DeviceRequest.intent");
        else if (Configuration.doAutoCreate())
          this.intent = new CodeableConcept(); // cc
      return this.intent;
    }
public CodeableConcept getIntent ( ) { if ( this . intent == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create DeviceRequest.intent" ) ; else if ( Configuration . doAutoCreate ( ) ) this . intent = new CodeableConcept ( ) ; return this . intent ; }
@return {@link #intent} (Whether the request is a proposal, plan, an original order or a reflex order.)