Class NarrativeBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.NarrativeBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ElementBuilder,NarrativeBuilder
- Enclosing interface:
- NarrativeBuilder
public static class NarrativeBuilder.Impl extends java.lang.Object implements NarrativeBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.NarrativeBuilder
NarrativeBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(java.lang.String div, com.babylonhealth.lit.hl7.NARRATIVE_STATUS status)Required fields forNarrative
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.Narrativebuild()NarrativeBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)NarrativeBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)NarrativeBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)NarrativeBuilder.ImplwithId(@NonNull java.lang.String id)
-
-
-
Constructor Detail
-
Impl
public Impl(java.lang.String div, com.babylonhealth.lit.hl7.NARRATIVE_STATUS status)Required fields forNarrative- Parameters:
div- - The actual narrative content, a stripped down version of XHTML.status- - The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.
-
-
Method Detail
-
withId
public NarrativeBuilder.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.
-
withExtension
public NarrativeBuilder.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 NarrativeBuilder.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.
-
withExtension
public NarrativeBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.hl7.model.Narrative build()
- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ElementBuilder- Specified by:
buildin interfaceNarrativeBuilder
-
-