Class HumanNameBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl()
        Required fields for HumanName
    • Method Detail

      • withId

        public HumanNameBuilder.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 HumanNameBuilder.Impl withUse​(@NonNull
                                             @NonNull com.babylonhealth.lit.core.NAME_USE use)
        Parameters:
        use - - Identifies the purpose for this name.
      • withText

        public HumanNameBuilder.Impl withText​(@NonNull
                                              @NonNull java.lang.String text)
        Parameters:
        text - - Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.
      • withGiven

        public HumanNameBuilder.Impl withGiven​(@NonNull
                                               @NonNull java.lang.String... given)
        Parameters:
        given - - Given name.
      • withGiven

        public HumanNameBuilder.Impl withGiven​(@NonNull
                                               @NonNull java.util.Collection<java.lang.String> given)
        Parameters:
        given - - Given name.
      • withFamily

        public HumanNameBuilder.Impl withFamily​(@NonNull
                                                @NonNull java.lang.String family)
        Parameters:
        family - - The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.
      • withPrefix

        public HumanNameBuilder.Impl withPrefix​(@NonNull
                                                @NonNull java.lang.String... prefix)
        Parameters:
        prefix - - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.
      • withPrefix

        public HumanNameBuilder.Impl withPrefix​(@NonNull
                                                @NonNull java.util.Collection<java.lang.String> prefix)
        Parameters:
        prefix - - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.
      • withSuffix

        public HumanNameBuilder.Impl withSuffix​(@NonNull
                                                @NonNull java.lang.String... suffix)
        Parameters:
        suffix - - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.
      • withSuffix

        public HumanNameBuilder.Impl withSuffix​(@NonNull
                                                @NonNull java.util.Collection<java.lang.String> suffix)
        Parameters:
        suffix - - Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.
      • withPeriod

        public HumanNameBuilder.Impl withPeriod​(@NonNull
                                                @NonNull com.babylonhealth.lit.core.model.Period period)
        Parameters:
        period - - Indicates the period of time when this name was valid for the named person.
      • withExtension

        public HumanNameBuilder.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 HumanNameBuilder.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.