public Enumeration<AllergyIntoleranceType> getTypeElement() { 
      if (this.type == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create AllergyIntolerance.type");
        else if (Configuration.doAutoCreate())
          this.type = new Enumeration<AllergyIntoleranceType>(new AllergyIntoleranceTypeEnumFactory()); // bb
      return this.type;
    }
public Enumeration < AllergyIntoleranceType > getTypeElement ( ) { if ( this . type == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create AllergyIntolerance.type" ) ; else if ( Configuration . doAutoCreate ( ) ) this . type = new Enumeration < AllergyIntoleranceType > ( new AllergyIntoleranceTypeEnumFactory ( ) ) ; return this . type ; }
@return {@link #type} (Identification of the underlying physiological mechanism for the reaction risk.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value