@Deprecated
    public CarePlan addBasedOnTarget() { 
      CarePlan r = new CarePlan();
      if (this.basedOnTarget == null)
        this.basedOnTarget = new ArrayList<CarePlan>();
      this.basedOnTarget.add(r);
      return r;
    }
@ Deprecated public CarePlan addBasedOnTarget ( ) { CarePlan r = new CarePlan ( ) ; if ( this . basedOnTarget == null ) this . basedOnTarget = new ArrayList < CarePlan > ( ) ; this . basedOnTarget . add ( r ) ; return r ; }
@deprecated Use Reference#setResource(IBaseResource) instead