Class SubstanceSpecification_CodeBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.SubstanceSpecification_CodeBuilder.Impl
-
- All Implemented Interfaces:
SubstanceSpecification_CodeBuilder
- Enclosing interface:
- SubstanceSpecification_CodeBuilder
public static class SubstanceSpecification_CodeBuilder.Impl extends java.lang.Object implements SubstanceSpecification_CodeBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.SubstanceSpecification_CodeBuilder
SubstanceSpecification_CodeBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forSubstanceSpecification.Code
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.SubstanceSpecification.Codebuild()SubstanceSpecification_CodeBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)SubstanceSpecification_CodeBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept code)SubstanceSpecification_CodeBuilder.ImplwithComment(@NonNull java.lang.String comment)SubstanceSpecification_CodeBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)SubstanceSpecification_CodeBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)SubstanceSpecification_CodeBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)SubstanceSpecification_CodeBuilder.ImplwithId(@NonNull java.lang.String id)SubstanceSpecification_CodeBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)SubstanceSpecification_CodeBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)SubstanceSpecification_CodeBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)SubstanceSpecification_CodeBuilder.ImplwithSource(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... source)SubstanceSpecification_CodeBuilder.ImplwithSource(@NonNull com.babylonhealth.lit.core.model.Reference... source)SubstanceSpecification_CodeBuilder.ImplwithSource(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> source)SubstanceSpecification_CodeBuilder.ImplwithStatus(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder status)SubstanceSpecification_CodeBuilder.ImplwithStatus(@NonNull com.babylonhealth.lit.core.model.CodeableConcept status)SubstanceSpecification_CodeBuilder.ImplwithStatusDate(@NonNull com.babylonhealth.lit.core.FHIRDateTime statusDate)
-
-
-
Method Detail
-
withId
public SubstanceSpecification_CodeBuilder.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.
-
withCode
public SubstanceSpecification_CodeBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept code)
- Parameters:
code- - Codes associated with the substance.
-
withCode
public SubstanceSpecification_CodeBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)
-
withStatus
public SubstanceSpecification_CodeBuilder.Impl withStatus(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept status)
- Parameters:
status- - Status of substance within the catalogue e.g. approved.
-
withStatus
public SubstanceSpecification_CodeBuilder.Impl withStatus(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder status)
-
withSource
public SubstanceSpecification_CodeBuilder.Impl withSource(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... source)
- Parameters:
source- - Supporting literature.
-
withSource
public SubstanceSpecification_CodeBuilder.Impl withSource(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> source)
- Parameters:
source- - Supporting literature.
-
withSource
public SubstanceSpecification_CodeBuilder.Impl withSource(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... source)
-
withComment
public SubstanceSpecification_CodeBuilder.Impl withComment(@NonNull @NonNull java.lang.String comment)
- Parameters:
comment- - Textual comment about this record of a substance.
-
withExtension
public SubstanceSpecification_CodeBuilder.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 SubstanceSpecification_CodeBuilder.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 SubstanceSpecification_CodeBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withStatusDate
public SubstanceSpecification_CodeBuilder.Impl withStatusDate(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDateTime statusDate)
- Parameters:
statusDate-
-
withModifierExtension
public SubstanceSpecification_CodeBuilder.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 SubstanceSpecification_CodeBuilder.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 SubstanceSpecification_CodeBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
build
public com.babylonhealth.lit.hl7.model.SubstanceSpecification.Code build()
- Specified by:
buildin interfaceSubstanceSpecification_CodeBuilder
-
-