public StructureDefinition setType(String value) { 
        if (this.type == null)
          this.type = new UriType();
        this.type.setValue(value);
      return this;
    }
public StructureDefinition setType ( String value ) { if ( this . type == null ) this . type = new UriType ( ) ; this . type . setValue ( value ) ; return this ; }
@param value The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type).  References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. "string" is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.