Class Us_core_goalBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.uscore_java.builders.Us_core_goalBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ResourceBuilder,com.babylonhealth.lit.hl7_java.builders.DomainResourceBuilder,com.babylonhealth.lit.hl7_java.builders.GoalBuilder,Us_core_goalBuilder
- Enclosing interface:
- Us_core_goalBuilder
public static class Us_core_goalBuilder.Impl extends java.lang.Object implements Us_core_goalBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.uscore_java.builders.Us_core_goalBuilder
Us_core_goalBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.core.model.Reference subject, com.babylonhealth.lit.core.model.CodeableConcept description, com.babylonhealth.lit.hl7.GOAL_STATUS lifecycleStatus)Required fields forUs_core_goal
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.uscore.model.Us_core_goalbuild()Us_core_goalBuilder.ImplwithAchievementStatus(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder achievementStatus)Us_core_goalBuilder.ImplwithAchievementStatus(@NonNull com.babylonhealth.lit.core.model.CodeableConcept achievementStatus)Us_core_goalBuilder.ImplwithAddresses(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... addresses)Us_core_goalBuilder.ImplwithAddresses(@NonNull com.babylonhealth.lit.core.model.Reference... addresses)Us_core_goalBuilder.ImplwithAddresses(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> addresses)Us_core_goalBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... category)Us_core_goalBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... category)Us_core_goalBuilder.ImplwithCategory(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)Us_core_goalBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)Us_core_goalBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core.model.Resource... contained)Us_core_goalBuilder.ImplwithContained(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)Us_core_goalBuilder.ImplwithExpressedBy(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder expressedBy)Us_core_goalBuilder.ImplwithExpressedBy(@NonNull com.babylonhealth.lit.core.model.Reference expressedBy)Us_core_goalBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)Us_core_goalBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)Us_core_goalBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)Us_core_goalBuilder.ImplwithId(@NonNull java.lang.String id)Us_core_goalBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)Us_core_goalBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier... identifier)Us_core_goalBuilder.ImplwithIdentifier(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)Us_core_goalBuilder.ImplwithImplicitRules(@NonNull java.lang.String implicitRules)Us_core_goalBuilder.ImplwithLanguage(@NonNull com.babylonhealth.lit.core.LANGUAGES language)Us_core_goalBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)Us_core_goalBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core.model.Meta meta)Us_core_goalBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)Us_core_goalBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)Us_core_goalBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)Us_core_goalBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)Us_core_goalBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core.model.Annotation... note)Us_core_goalBuilder.ImplwithNote(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)Us_core_goalBuilder.ImplwithOutcomeCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... outcomeCode)Us_core_goalBuilder.ImplwithOutcomeCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... outcomeCode)Us_core_goalBuilder.ImplwithOutcomeCode(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> outcomeCode)Us_core_goalBuilder.ImplwithOutcomeReference(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... outcomeReference)Us_core_goalBuilder.ImplwithOutcomeReference(@NonNull com.babylonhealth.lit.core.model.Reference... outcomeReference)Us_core_goalBuilder.ImplwithOutcomeReference(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> outcomeReference)Us_core_goalBuilder.ImplwithoutMeta()Us_core_goalBuilder.ImplwithPriority(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder priority)Us_core_goalBuilder.ImplwithPriority(@NonNull com.babylonhealth.lit.core.model.CodeableConcept priority)Us_core_goalBuilder.ImplwithStart(@NonNull com.babylonhealth.lit.hl7_java.model.Unions.ChoiceCodeableConceptOrDate start)Us_core_goalBuilder.ImplwithStatusDate(@NonNull com.babylonhealth.lit.core.FHIRDate statusDate)Us_core_goalBuilder.ImplwithStatusReason(@NonNull java.lang.String statusReason)Us_core_goalBuilder.ImplwithTarget(@NonNull com.babylonhealth.lit.hl7_java.builders.Goal_TargetBuilder... target)Us_core_goalBuilder.ImplwithTarget(@NonNull com.babylonhealth.lit.hl7.model.Goal.Target... target)Us_core_goalBuilder.ImplwithTarget(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Goal.Target> target)Us_core_goalBuilder.ImplwithText(@NonNull com.babylonhealth.lit.hl7_java.builders.NarrativeBuilder text)Us_core_goalBuilder.ImplwithText(@NonNull com.babylonhealth.lit.hl7.model.Narrative text)
-
-
-
Constructor Detail
-
Impl
public Impl(com.babylonhealth.lit.core.model.Reference subject, com.babylonhealth.lit.core.model.CodeableConcept description, com.babylonhealth.lit.hl7.GOAL_STATUS lifecycleStatus)Required fields forUs_core_goal- Parameters:
subject- - Who care plan is for.description- - proposed | draft | active | completed | cancelled.lifecycleStatus- - Type of plan.
-
-
Method Detail
-
withId
public Us_core_goalBuilder.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_goalBuilder.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 Us_core_goalBuilder.Impl withMeta(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)
-
withText
public Us_core_goalBuilder.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 Us_core_goalBuilder.Impl withText(@NonNull @NonNull com.babylonhealth.lit.hl7_java.builders.NarrativeBuilder text)
-
withNote
public Us_core_goalBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core.model.Annotation... note)
- Parameters:
note- - Any comments related to the goal.
-
withNote
public Us_core_goalBuilder.Impl withNote(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)
- Parameters:
note- - Any comments related to the goal.
-
withNote
public Us_core_goalBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
-
withLanguage
public Us_core_goalBuilder.Impl withLanguage(@NonNull @NonNull com.babylonhealth.lit.core.LANGUAGES language)
- Parameters:
language- - The base language in which the resource is written.
-
withCategory
public Us_core_goalBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... category)
- Parameters:
category- - Indicates a category the goal falls within.
-
withCategory
public Us_core_goalBuilder.Impl withCategory(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)
- Parameters:
category- - Indicates a category the goal falls within.
-
withCategory
public Us_core_goalBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... category)
-
withPriority
public Us_core_goalBuilder.Impl withPriority(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept priority)
- Parameters:
priority- - Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.
-
withPriority
public Us_core_goalBuilder.Impl withPriority(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder priority)
-
withStart
public Us_core_goalBuilder.Impl withStart(@NonNull @NonNull com.babylonhealth.lit.hl7_java.model.Unions.ChoiceCodeableConceptOrDate start)
- Parameters:
start- - The date or event after which the goal should begin being pursued. Field is a 'choice' field. Type should be one of CodeableConcept, FHIRDate. To pass the value in, wrap with one of the Us_core_goalBuilder.start static methods
-
withContained
public Us_core_goalBuilder.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_goalBuilder.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_goalBuilder.Impl withContained(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
-
withExtension
public Us_core_goalBuilder.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_goalBuilder.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_goalBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withAddresses
public Us_core_goalBuilder.Impl withAddresses(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... addresses)
- Parameters:
addresses- - The identified conditions and other health record elements that are intended to be addressed by the goal.
-
withAddresses
public Us_core_goalBuilder.Impl withAddresses(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> addresses)
- Parameters:
addresses- - The identified conditions and other health record elements that are intended to be addressed by the goal.
-
withAddresses
public Us_core_goalBuilder.Impl withAddresses(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... addresses)
-
withIdentifier
public Us_core_goalBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
- Parameters:
identifier- - Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
-
withIdentifier
public Us_core_goalBuilder.Impl withIdentifier(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
- Parameters:
identifier- - Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
-
withIdentifier
public Us_core_goalBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
-
withStatusDate
public Us_core_goalBuilder.Impl withStatusDate(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDate statusDate)
- Parameters:
statusDate- - Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.
-
withExpressedBy
public Us_core_goalBuilder.Impl withExpressedBy(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference expressedBy)
- Parameters:
expressedBy- - Indicates whose goal this is - patient goal, practitioner goal, etc.
-
withExpressedBy
public Us_core_goalBuilder.Impl withExpressedBy(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder expressedBy)
-
withOutcomeCode
public Us_core_goalBuilder.Impl withOutcomeCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... outcomeCode)
- Parameters:
outcomeCode- - Identifies the change (or lack of change) at the point when the status of the goal is assessed.
-
withOutcomeCode
public Us_core_goalBuilder.Impl withOutcomeCode(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> outcomeCode)
- Parameters:
outcomeCode- - Identifies the change (or lack of change) at the point when the status of the goal is assessed.
-
withOutcomeCode
public Us_core_goalBuilder.Impl withOutcomeCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... outcomeCode)
-
withStatusReason
public Us_core_goalBuilder.Impl withStatusReason(@NonNull @NonNull java.lang.String statusReason)
- Parameters:
statusReason- - Captures the reason for the current status.
-
withImplicitRules
public Us_core_goalBuilder.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.
-
withOutcomeReference
public Us_core_goalBuilder.Impl withOutcomeReference(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... outcomeReference)
- Parameters:
outcomeReference- - Details of what's changed (or not changed).
-
withOutcomeReference
public Us_core_goalBuilder.Impl withOutcomeReference(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> outcomeReference)
- Parameters:
outcomeReference- - Details of what's changed (or not changed).
-
withOutcomeReference
public Us_core_goalBuilder.Impl withOutcomeReference(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... outcomeReference)
-
withModifierExtension
public Us_core_goalBuilder.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_goalBuilder.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_goalBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withAchievementStatus
public Us_core_goalBuilder.Impl withAchievementStatus(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept achievementStatus)
- Parameters:
achievementStatus- - Describes the progression, or lack thereof, towards the goal against the target.
-
withAchievementStatus
public Us_core_goalBuilder.Impl withAchievementStatus(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder achievementStatus)
-
withTarget
public Us_core_goalBuilder.Impl withTarget(@NonNull @NonNull com.babylonhealth.lit.hl7.model.Goal.Target... target)
- Parameters:
target- - Indicates what should be done by when.
-
withTarget
public Us_core_goalBuilder.Impl withTarget(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.Goal.Target> target)
- Parameters:
target- - Indicates what should be done by when.
-
withTarget
public Us_core_goalBuilder.Impl withTarget(@NonNull @NonNull com.babylonhealth.lit.hl7_java.builders.Goal_TargetBuilder... target)
-
withoutMeta
public Us_core_goalBuilder.Impl withoutMeta()
-
build
public com.babylonhealth.lit.uscore.model.Us_core_goal build()
- Specified by:
buildin interfacecom.babylonhealth.lit.hl7_java.builders.DomainResourceBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.hl7_java.builders.GoalBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ResourceBuilder- Specified by:
buildin interfaceUs_core_goalBuilder
-
-