Class Observation_ComponentBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(com.babylonhealth.lit.core.model.CodeableConcept code)
        Required fields for Observation.Component
        Parameters:
        code - - Describes what was observed. Sometimes this is called the observation "name".
    • Method Detail

      • withId

        public Observation_ComponentBuilder.Impl withId​(@NonNull
                                                        @NonNull java.lang.String id)
        Parameters:
        id - - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
      • withValue

        public Observation_ComponentBuilder.Impl withValue​(@NonNull
                                                           @NonNull Unions.Choice02118820890 value)
        Parameters:
        value - - The information determined as a result of making the observation, if the information has a simple value. Field is a 'choice' field. Type should be one of Boolean, CodeableConcept, FHIRDateTime, Integer, LocalTime, Period, Quantity, Range, Ratio, SampledData, String. To pass the value in, wrap with one of the Observation_ComponentBuilder.value static methods
      • withExtension

        public Observation_ComponentBuilder.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 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.
      • withExtension

        public Observation_ComponentBuilder.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 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.
      • withExtension

        public Observation_ComponentBuilder.Impl withExtension​(@NonNull
                                                               @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • withInterpretation

        public Observation_ComponentBuilder.Impl withInterpretation​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core.model.CodeableConcept... interpretation)
        Parameters:
        interpretation - - A categorical assessment of an observation value. For example, high, low, normal.
      • withInterpretation

        public Observation_ComponentBuilder.Impl withInterpretation​(@NonNull
                                                                    @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> interpretation)
        Parameters:
        interpretation - - A categorical assessment of an observation value. For example, high, low, normal.
      • withInterpretation

        public Observation_ComponentBuilder.Impl withInterpretation​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... interpretation)
      • withReferenceRange

        public Observation_ComponentBuilder.Impl withReferenceRange​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.hl7.model.Observation.ReferenceRange... referenceRange)
        Parameters:
        referenceRange - - Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an "OR". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.
      • withReferenceRange

        public Observation_ComponentBuilder.Impl withReferenceRange​(@NonNull
                                                                    @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Observation.ReferenceRange> referenceRange)
        Parameters:
        referenceRange - - Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an "OR". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.
      • withDataAbsentReason

        public Observation_ComponentBuilder.Impl withDataAbsentReason​(@NonNull
                                                                      @NonNull com.babylonhealth.lit.core.model.CodeableConcept dataAbsentReason)
        Parameters:
        dataAbsentReason - - Provides a reason why the expected value in the element Observation.value[x] is missing.
      • withDataAbsentReason

        public Observation_ComponentBuilder.Impl withDataAbsentReason​(@NonNull
                                                                      @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder dataAbsentReason)
      • withModifierExtension

        public Observation_ComponentBuilder.Impl withModifierExtension​(@NonNull
                                                                       @NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)
        Parameters:
        modifierExtension - - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      • withModifierExtension

        public Observation_ComponentBuilder.Impl withModifierExtension​(@NonNull
                                                                       @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)
        Parameters:
        modifierExtension - - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      • withModifierExtension

        public Observation_ComponentBuilder.Impl withModifierExtension​(@NonNull
                                                                       @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)