Class ConditionBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.ConditionBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ResourceBuilder,ConditionBuilder,DomainResourceBuilder
- Enclosing interface:
- ConditionBuilder
public static class ConditionBuilder.Impl extends java.lang.Object implements ConditionBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.ConditionBuilder
ConditionBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.core.model.Reference subject)Required fields forCondition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.Conditionbuild()ConditionBuilder.ImplwithAbatement(@NonNull Unions.Choice01474038381 abatement)ConditionBuilder.ImplwithAsserter(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder asserter)ConditionBuilder.ImplwithAsserter(@NonNull com.babylonhealth.lit.core.model.Reference asserter)ConditionBuilder.ImplwithBodySite(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... bodySite)ConditionBuilder.ImplwithBodySite(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... bodySite)ConditionBuilder.ImplwithBodySite(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> bodySite)ConditionBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... category)ConditionBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... category)ConditionBuilder.ImplwithCategory(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)ConditionBuilder.ImplwithClinicalStatus(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder clinicalStatus)ConditionBuilder.ImplwithClinicalStatus(@NonNull com.babylonhealth.lit.core.model.CodeableConcept clinicalStatus)ConditionBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)ConditionBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept code)ConditionBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)ConditionBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core.model.Resource... contained)ConditionBuilder.ImplwithContained(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)ConditionBuilder.ImplwithEncounter(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)ConditionBuilder.ImplwithEncounter(@NonNull com.babylonhealth.lit.core.model.Reference encounter)ConditionBuilder.ImplwithEvidence(@NonNull Condition_EvidenceBuilder... evidence)ConditionBuilder.ImplwithEvidence(@NonNull com.babylonhealth.lit.hl7.model.Condition.Evidence... evidence)ConditionBuilder.ImplwithEvidence(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Condition.Evidence> evidence)ConditionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)ConditionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ConditionBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ConditionBuilder.ImplwithId(@NonNull java.lang.String id)ConditionBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)ConditionBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier... identifier)ConditionBuilder.ImplwithIdentifier(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)ConditionBuilder.ImplwithImplicitRules(@NonNull java.lang.String implicitRules)ConditionBuilder.ImplwithLanguage(@NonNull com.babylonhealth.lit.core.LANGUAGES language)ConditionBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)ConditionBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core.model.Meta meta)ConditionBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)ConditionBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)ConditionBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)ConditionBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)ConditionBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core.model.Annotation... note)ConditionBuilder.ImplwithNote(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)ConditionBuilder.ImplwithOnset(@NonNull Unions.Choice01474038381 onset)ConditionBuilder.ImplwithoutMeta()ConditionBuilder.ImplwithRecordedDate(@NonNull com.babylonhealth.lit.core.FHIRDateTime recordedDate)ConditionBuilder.ImplwithRecorder(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder recorder)ConditionBuilder.ImplwithRecorder(@NonNull com.babylonhealth.lit.core.model.Reference recorder)ConditionBuilder.ImplwithSeverity(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder severity)ConditionBuilder.ImplwithSeverity(@NonNull com.babylonhealth.lit.core.model.CodeableConcept severity)ConditionBuilder.ImplwithStage(@NonNull Condition_StageBuilder... stage)ConditionBuilder.ImplwithStage(@NonNull com.babylonhealth.lit.hl7.model.Condition.Stage... stage)ConditionBuilder.ImplwithStage(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Condition.Stage> stage)ConditionBuilder.ImplwithText(@NonNull NarrativeBuilder text)ConditionBuilder.ImplwithText(@NonNull com.babylonhealth.lit.hl7.model.Narrative text)ConditionBuilder.ImplwithVerificationStatus(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder verificationStatus)ConditionBuilder.ImplwithVerificationStatus(@NonNull com.babylonhealth.lit.core.model.CodeableConcept verificationStatus)
-
-
-
Method Detail
-
withId
public 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 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.
-
withMeta
public ConditionBuilder.Impl withMeta(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)
-
withText
public 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.
-
withText
public ConditionBuilder.Impl withText(@NonNull @NonNull NarrativeBuilder text)
-
withCode
public ConditionBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept code)
- Parameters:
code- - Identification of the condition, problem or diagnosis.
-
withCode
public ConditionBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)
-
withNote
public 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 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 ConditionBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
-
withLanguage
public ConditionBuilder.Impl withLanguage(@NonNull @NonNull com.babylonhealth.lit.core.LANGUAGES language)
- Parameters:
language- - The base language in which the resource is written.
-
withCategory
public ConditionBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... category)
- Parameters:
category- - A category assigned to the condition.
-
withCategory
public ConditionBuilder.Impl withCategory(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)
- Parameters:
category- - A category assigned to the condition.
-
withCategory
public ConditionBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... category)
-
withSeverity
public 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 ConditionBuilder.Impl withSeverity(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder severity)
-
withBodySite
public ConditionBuilder.Impl withBodySite(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... bodySite)
- Parameters:
bodySite- - The anatomical location where this condition manifests itself.
-
withBodySite
public 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 ConditionBuilder.Impl withBodySite(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... bodySite)
-
withOnset
public ConditionBuilder.Impl withOnset(@NonNull @NonNull 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 ConditionBuilder.onset static methods
-
withRecorder
public 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 ConditionBuilder.Impl withRecorder(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder recorder)
-
withAsserter
public ConditionBuilder.Impl withAsserter(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference asserter)
- Parameters:
asserter- - Individual who is making the condition statement.
-
withAsserter
public ConditionBuilder.Impl withAsserter(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder asserter)
-
withContained
public 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 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 ConditionBuilder.Impl withContained(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
-
withExtension
public 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 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 ConditionBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withEncounter
public 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 ConditionBuilder.Impl withEncounter(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)
-
withIdentifier
public 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 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 ConditionBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
-
withAbatement
public ConditionBuilder.Impl withAbatement(@NonNull @NonNull 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 ConditionBuilder.abatement static methods
-
withRecordedDate
public 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 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 ConditionBuilder.Impl withClinicalStatus(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept clinicalStatus)
- Parameters:
clinicalStatus- - The clinical status of the condition.
-
withClinicalStatus
public ConditionBuilder.Impl withClinicalStatus(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder clinicalStatus)
-
withModifierExtension
public 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 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 ConditionBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withVerificationStatus
public 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 ConditionBuilder.Impl withVerificationStatus(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder verificationStatus)
-
withStage
public 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 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 ConditionBuilder.Impl withStage(@NonNull @NonNull Condition_StageBuilder... stage)
-
withEvidence
public 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 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 ConditionBuilder.Impl withEvidence(@NonNull @NonNull Condition_EvidenceBuilder... evidence)
-
withoutMeta
public ConditionBuilder.Impl withoutMeta()
-
build
public com.babylonhealth.lit.hl7.model.Condition build()
- Specified by:
buildin interfaceConditionBuilder- Specified by:
buildin interfaceDomainResourceBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ResourceBuilder
-
-