Class ContactPointBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.ContactPointBuilder.Impl
-
- All Implemented Interfaces:
ContactPointBuilder,ElementBuilder
- Enclosing interface:
- ContactPointBuilder
public static class ContactPointBuilder.Impl extends java.lang.Object implements ContactPointBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.ContactPointBuilder
ContactPointBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forContactPoint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.ContactPointbuild()ContactPointBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)ContactPointBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ContactPointBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ContactPointBuilder.ImplwithId(@NonNull java.lang.String id)ContactPointBuilder.ImplwithPeriod(@NonNull PeriodBuilder period)ContactPointBuilder.ImplwithPeriod(@NonNull com.babylonhealth.lit.core.model.Period period)ContactPointBuilder.ImplwithRank(@NonNull java.lang.Integer rank)ContactPointBuilder.ImplwithSystem(@NonNull com.babylonhealth.lit.core.CONTACT_POINT_SYSTEM system)ContactPointBuilder.ImplwithUse(@NonNull com.babylonhealth.lit.core.CONTACT_POINT_USE use)ContactPointBuilder.ImplwithValue(@NonNull java.lang.String value)
-
-
-
Method Detail
-
withId
public ContactPointBuilder.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 ContactPointBuilder.Impl withUse(@NonNull @NonNull com.babylonhealth.lit.core.CONTACT_POINT_USE use)
- Parameters:
use- - Identifies the purpose for the contact point.
-
withRank
public ContactPointBuilder.Impl withRank(@NonNull @NonNull java.lang.Integer rank)
- Parameters:
rank- - Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.
-
withValue
public ContactPointBuilder.Impl withValue(@NonNull @NonNull java.lang.String value)
- Parameters:
value- - The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
-
withSystem
public ContactPointBuilder.Impl withSystem(@NonNull @NonNull com.babylonhealth.lit.core.CONTACT_POINT_SYSTEM system)
- Parameters:
system- - Telecommunications form for contact point - what communications system is required to make use of the contact.
-
withPeriod
public ContactPointBuilder.Impl withPeriod(@NonNull @NonNull com.babylonhealth.lit.core.model.Period period)
- Parameters:
period- - Time period when the contact point was/is in use.
-
withPeriod
public ContactPointBuilder.Impl withPeriod(@NonNull @NonNull PeriodBuilder period)
-
withExtension
public ContactPointBuilder.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 ContactPointBuilder.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 ContactPointBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.core.model.ContactPoint build()
- Specified by:
buildin interfaceContactPointBuilder- Specified by:
buildin interfaceElementBuilder
-
-