Class Us_core_conditionBuilder.Impl

  • All Implemented Interfaces:
    com.babylonhealth.lit.core_java.builders.ResourceBuilder, com.babylonhealth.lit.hl7_java.builders.ConditionBuilder, com.babylonhealth.lit.hl7_java.builders.DomainResourceBuilder, Us_core_conditionBuilder
    Enclosing interface:
    Us_core_conditionBuilder

    public static class Us_core_conditionBuilder.Impl
    extends java.lang.Object
    implements Us_core_conditionBuilder
    • Constructor Detail

      • Impl

        public Impl​(com.babylonhealth.lit.core.model.CodeableConcept code,
                    com.babylonhealth.lit.core.model.Reference subject,
                    java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)
        Required fields for Us_core_condition
        Parameters:
        code - - Identification of the condition, problem or diagnosis.
        subject - - Indicates the patient or group who the condition record is associated with.
        category - - A category assigned to the condition.
    • Method Detail

      • withId

        public Us_core_conditionBuilder.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.
      • withMeta

        public Us_core_conditionBuilder.Impl withMeta​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core.model.Meta meta)
        Parameters:
        meta - - The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
      • withText

        public Us_core_conditionBuilder.Impl withText​(@NonNull
                                                      @NonNull com.babylonhealth.lit.hl7.model.Narrative text)
        Parameters:
        text - - A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
      • withNote

        public Us_core_conditionBuilder.Impl withNote​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core.model.Annotation... note)
        Parameters:
        note - - Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
      • withNote

        public Us_core_conditionBuilder.Impl withNote​(@NonNull
                                                      @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)
        Parameters:
        note - - Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
      • withNote

        public Us_core_conditionBuilder.Impl withNote​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
      • withLanguage

        public Us_core_conditionBuilder.Impl withLanguage​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.LANGUAGES language)
        Parameters:
        language - - The base language in which the resource is written.
      • withSeverity

        public Us_core_conditionBuilder.Impl withSeverity​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.CodeableConcept severity)
        Parameters:
        severity - - A subjective assessment of the severity of the condition as evaluated by the clinician.
      • withSeverity

        public Us_core_conditionBuilder.Impl withSeverity​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder severity)
      • withBodySite

        public Us_core_conditionBuilder.Impl withBodySite​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.CodeableConcept... bodySite)
        Parameters:
        bodySite - - The anatomical location where this condition manifests itself.
      • withBodySite

        public Us_core_conditionBuilder.Impl withBodySite​(@NonNull
                                                          @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> bodySite)
        Parameters:
        bodySite - - The anatomical location where this condition manifests itself.
      • withBodySite

        public Us_core_conditionBuilder.Impl withBodySite​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... bodySite)
      • withOnset

        public Us_core_conditionBuilder.Impl withOnset​(@NonNull
                                                       @NonNull com.babylonhealth.lit.hl7_java.model.Unions.Choice01474038381 onset)
        Parameters:
        onset - - Estimated or actual date or date-time the condition began, in the opinion of the clinician. Field is a 'choice' field. Type should be one of Age, FHIRDateTime, Period, Range, String. To pass the value in, wrap with one of the Us_core_conditionBuilder.onset static methods
      • withRecorder

        public Us_core_conditionBuilder.Impl withRecorder​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.Reference recorder)
        Parameters:
        recorder - - Individual who recorded the record and takes responsibility for its content.
      • withRecorder

        public Us_core_conditionBuilder.Impl withRecorder​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder recorder)
      • withAsserter

        public Us_core_conditionBuilder.Impl withAsserter​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.Reference asserter)
        Parameters:
        asserter - - Individual who is making the condition statement.
      • withAsserter

        public Us_core_conditionBuilder.Impl withAsserter​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder asserter)
      • withContained

        public Us_core_conditionBuilder.Impl withContained​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core.model.Resource... contained)
        Parameters:
        contained - - These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
      • withContained

        public Us_core_conditionBuilder.Impl withContained​(@NonNull
                                                           @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)
        Parameters:
        contained - - These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
      • withContained

        public Us_core_conditionBuilder.Impl withContained​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
      • withExtension

        public Us_core_conditionBuilder.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 Us_core_conditionBuilder.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 Us_core_conditionBuilder.Impl withExtension​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • withEncounter

        public Us_core_conditionBuilder.Impl withEncounter​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core.model.Reference encounter)
        Parameters:
        encounter - - The Encounter during which this Condition was created or to which the creation of this record is tightly associated.
      • withEncounter

        public Us_core_conditionBuilder.Impl withEncounter​(@NonNull
                                                           @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)
      • withIdentifier

        public Us_core_conditionBuilder.Impl withIdentifier​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
        Parameters:
        identifier - - Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
      • withIdentifier

        public Us_core_conditionBuilder.Impl withIdentifier​(@NonNull
                                                            @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
        Parameters:
        identifier - - Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
      • withIdentifier

        public Us_core_conditionBuilder.Impl withIdentifier​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
      • withAbatement

        public Us_core_conditionBuilder.Impl withAbatement​(@NonNull
                                                           @NonNull com.babylonhealth.lit.hl7_java.model.Unions.Choice01474038381 abatement)
        Parameters:
        abatement - - The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate. Field is a 'choice' field. Type should be one of Age, FHIRDateTime, Period, Range, String. To pass the value in, wrap with one of the Us_core_conditionBuilder.abatement static methods
      • withRecordedDate

        public Us_core_conditionBuilder.Impl withRecordedDate​(@NonNull
                                                              @NonNull com.babylonhealth.lit.core.FHIRDateTime recordedDate)
        Parameters:
        recordedDate - - The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.
      • withImplicitRules

        public Us_core_conditionBuilder.Impl withImplicitRules​(@NonNull
                                                               @NonNull java.lang.String implicitRules)
        Parameters:
        implicitRules - - A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
      • withClinicalStatus

        public Us_core_conditionBuilder.Impl withClinicalStatus​(@NonNull
                                                                @NonNull com.babylonhealth.lit.core.model.CodeableConcept clinicalStatus)
        Parameters:
        clinicalStatus - - The clinical status of the condition.
      • withClinicalStatus

        public Us_core_conditionBuilder.Impl withClinicalStatus​(@NonNull
                                                                @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder clinicalStatus)
      • withModifierExtension

        public Us_core_conditionBuilder.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 Us_core_conditionBuilder.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 Us_core_conditionBuilder.Impl withModifierExtension​(@NonNull
                                                                   @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
      • withVerificationStatus

        public Us_core_conditionBuilder.Impl withVerificationStatus​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core.model.CodeableConcept verificationStatus)
        Parameters:
        verificationStatus - - The verification status to support the clinical status of the condition.
      • withVerificationStatus

        public Us_core_conditionBuilder.Impl withVerificationStatus​(@NonNull
                                                                    @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder verificationStatus)
      • withStage

        public Us_core_conditionBuilder.Impl withStage​(@NonNull
                                                       @NonNull com.babylonhealth.lit.hl7.model.Condition.Stage... stage)
        Parameters:
        stage - - Clinical stage or grade of a condition. May include formal severity assessments.
      • withStage

        public Us_core_conditionBuilder.Impl withStage​(@NonNull
                                                       @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Condition.Stage> stage)
        Parameters:
        stage - - Clinical stage or grade of a condition. May include formal severity assessments.
      • withStage

        public Us_core_conditionBuilder.Impl withStage​(@NonNull
                                                       @NonNull com.babylonhealth.lit.hl7_java.builders.Condition_StageBuilder... stage)
      • withEvidence

        public Us_core_conditionBuilder.Impl withEvidence​(@NonNull
                                                          @NonNull com.babylonhealth.lit.hl7.model.Condition.Evidence... evidence)
        Parameters:
        evidence - - Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.
      • withEvidence

        public Us_core_conditionBuilder.Impl withEvidence​(@NonNull
                                                          @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Condition.Evidence> evidence)
        Parameters:
        evidence - - Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.
      • withEvidence

        public Us_core_conditionBuilder.Impl withEvidence​(@NonNull
                                                          @NonNull com.babylonhealth.lit.hl7_java.builders.Condition_EvidenceBuilder... evidence)
      • build

        public com.babylonhealth.lit.uscore.model.Us_core_condition build()
        Specified by:
        build in interface com.babylonhealth.lit.hl7_java.builders.ConditionBuilder
        Specified by:
        build in interface com.babylonhealth.lit.hl7_java.builders.DomainResourceBuilder
        Specified by:
        build in interface com.babylonhealth.lit.core_java.builders.ResourceBuilder
        Specified by:
        build in interface Us_core_conditionBuilder