Class ElementDefinition_ConstraintBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.ElementDefinition_ConstraintBuilder.Impl
-
- All Implemented Interfaces:
ElementDefinition_ConstraintBuilder
- Enclosing interface:
- ElementDefinition_ConstraintBuilder
public static class ElementDefinition_ConstraintBuilder.Impl extends java.lang.Object implements ElementDefinition_ConstraintBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.ElementDefinition_ConstraintBuilder
ElementDefinition_ConstraintBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(java.lang.String key, java.lang.String human, com.babylonhealth.lit.hl7.CONSTRAINT_SEVERITY severity)Required fields forElementDefinition.Constraint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.ElementDefinition.Constraintbuild()ElementDefinition_ConstraintBuilder.ImplwithExpression(@NonNull java.lang.String expression)ElementDefinition_ConstraintBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)ElementDefinition_ConstraintBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ElementDefinition_ConstraintBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ElementDefinition_ConstraintBuilder.ImplwithId(@NonNull java.lang.String id)ElementDefinition_ConstraintBuilder.ImplwithRequirements(@NonNull java.lang.String requirements)ElementDefinition_ConstraintBuilder.ImplwithSource(@NonNull java.lang.String source)ElementDefinition_ConstraintBuilder.ImplwithXpath(@NonNull java.lang.String xpath)
-
-
-
Method Detail
-
withId
public ElementDefinition_ConstraintBuilder.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.
-
withXpath
public ElementDefinition_ConstraintBuilder.Impl withXpath(@NonNull @NonNull java.lang.String xpath)
- Parameters:
xpath-
-
withSource
public ElementDefinition_ConstraintBuilder.Impl withSource(@NonNull @NonNull java.lang.String source)
- Parameters:
source-
-
withExtension
public ElementDefinition_ConstraintBuilder.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 ElementDefinition_ConstraintBuilder.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 ElementDefinition_ConstraintBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withExpression
public ElementDefinition_ConstraintBuilder.Impl withExpression(@NonNull @NonNull java.lang.String expression)
- Parameters:
expression-
-
withRequirements
public ElementDefinition_ConstraintBuilder.Impl withRequirements(@NonNull @NonNull java.lang.String requirements)
- Parameters:
requirements- - This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.
-
build
public com.babylonhealth.lit.hl7.model.ElementDefinition.Constraint build()
- Specified by:
buildin interfaceElementDefinition_ConstraintBuilder
-
-