Package com.ibm.fhir.model.type.code
Class ConsentDataMeaning.Builder
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<Element>
-
- com.ibm.fhir.model.type.Element.Builder
-
- com.ibm.fhir.model.type.String.Builder
-
- com.ibm.fhir.model.type.Code.Builder
-
- com.ibm.fhir.model.type.code.ConsentDataMeaning.Builder
-
- Enclosing class:
- ConsentDataMeaning
public static class ConsentDataMeaning.Builder extends Code.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.String.Builder
value
-
Fields inherited from class com.ibm.fhir.model.type.Element.Builder
extension, id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsentDataMeaningbuild()Build theCodeConsentDataMeaning.Builderextension(Extension... extension)May be used to represent additional information that is not part of the basic definition of the resource.ConsentDataMeaning.Builderextension(Collection<Extension> extension)May be used to represent additional information that is not part of the basic definition of the resource.ConsentDataMeaning.Builderid(String id)unique id for the element within a resource (for internal references)ConsentDataMeaning.Buildervalue(ConsentDataMeaning.ValueSet value)ConsentDataMeaning.Buildervalue(String value)Primitive value for code-
Methods inherited from class com.ibm.fhir.model.type.Code.Builder
from
-
Methods inherited from class com.ibm.fhir.model.type.String.Builder
from
-
Methods inherited from class com.ibm.fhir.model.type.Element.Builder
from
-
-
-
-
Method Detail
-
id
public ConsentDataMeaning.Builder id(String id)
Description copied from class:Code.Builderunique id for the element within a resource (for internal references)- Overrides:
idin classCode.Builder- Parameters:
id- xml:id (or equivalent in JSON)- Returns:
- A reference to this Builder instance
-
extension
public ConsentDataMeaning.Builder extension(Extension... extension)
Description copied from class:Code.BuilderMay be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Adds new element(s) to the existing list
- Overrides:
extensionin classCode.Builder- Parameters:
extension- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public ConsentDataMeaning.Builder extension(Collection<Extension> extension)
Description copied from class:Code.BuilderMay be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Replaces the existing list with a new one containing elements from the Collection
- Overrides:
extensionin classCode.Builder- Parameters:
extension- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
value
public ConsentDataMeaning.Builder value(String value)
Description copied from class:Code.BuilderPrimitive value for code- Overrides:
valuein classCode.Builder- Parameters:
value- Primitive value for code- Returns:
- A reference to this Builder instance
-
value
public ConsentDataMeaning.Builder value(ConsentDataMeaning.ValueSet value)
-
build
public ConsentDataMeaning build()
Description copied from class:Code.BuilderBuild theCode
-
-