Class IdentifierBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.IdentifierBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,IdentifierBuilder
- Enclosing interface:
- IdentifierBuilder
public static class IdentifierBuilder.Impl extends java.lang.Object implements IdentifierBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.IdentifierBuilder
IdentifierBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forIdentifier
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.Identifierbuild()IdentifierBuilder.ImplwithAssigner(@NonNull ReferenceBuilder assigner)IdentifierBuilder.ImplwithAssigner(@NonNull com.babylonhealth.lit.core.model.Reference assigner)IdentifierBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)IdentifierBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)IdentifierBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)IdentifierBuilder.ImplwithId(@NonNull java.lang.String id)IdentifierBuilder.ImplwithPeriod(@NonNull PeriodBuilder period)IdentifierBuilder.ImplwithPeriod(@NonNull com.babylonhealth.lit.core.model.Period period)IdentifierBuilder.ImplwithSystem(@NonNull java.lang.String system)IdentifierBuilder.ImplwithType(@NonNull CodeableConceptBuilder _type)IdentifierBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)IdentifierBuilder.ImplwithUse(@NonNull com.babylonhealth.lit.core.IDENTIFIER_USE use)IdentifierBuilder.ImplwithValue(@NonNull java.lang.String value)
-
-
-
Method Detail
-
withId
public IdentifierBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withUse
public IdentifierBuilder.Impl withUse(@NonNull @NonNull com.babylonhealth.lit.core.IDENTIFIER_USE use)
- Parameters:
use- - The purpose of this identifier.
-
withType
public IdentifierBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
- Parameters:
_type- - A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
-
withType
public IdentifierBuilder.Impl withType(@NonNull @NonNull CodeableConceptBuilder _type)
-
withValue
public IdentifierBuilder.Impl withValue(@NonNull @NonNull java.lang.String value)
- Parameters:
value- - The portion of the identifier typically relevant to the user and which is unique within the context of the system.
-
withSystem
public IdentifierBuilder.Impl withSystem(@NonNull @NonNull java.lang.String system)
- Parameters:
system- - Establishes the namespace for the value - that is, a URL that describes a set values that are unique.
-
withPeriod
public IdentifierBuilder.Impl withPeriod(@NonNull @NonNull com.babylonhealth.lit.core.model.Period period)
- Parameters:
period- - Time period during which identifier is/was valid for use.
-
withPeriod
public IdentifierBuilder.Impl withPeriod(@NonNull @NonNull PeriodBuilder period)
-
withAssigner
public IdentifierBuilder.Impl withAssigner(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference assigner)
- Parameters:
assigner- - Organization that issued/manages the identifier.
-
withAssigner
public IdentifierBuilder.Impl withAssigner(@NonNull @NonNull ReferenceBuilder assigner)
-
withExtension
public IdentifierBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. 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.
-
withExtension
public IdentifierBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the element. 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.
-
withExtension
public IdentifierBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.core.model.Identifier build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceIdentifierBuilder
-
-