public Consent getConsentTarget() { 
      if (this.consentTarget == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create ResearchSubject.consent");
        else if (Configuration.doAutoCreate())
          this.consentTarget = new Consent(); // aa
      return this.consentTarget;
    }
public Consent getConsentTarget ( ) { if ( this . consentTarget == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create ResearchSubject.consent" ) ; else if ( Configuration . doAutoCreate ( ) ) this . consentTarget = new Consent ( ) ; return this . consentTarget ; }
@return {@link #consent} The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A record of the patient's informed agreement to participate in the study.)