Class ContactPointBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl()
        Required fields for ContactPoint
    • 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.
      • 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.