Class MedicationDispense_SubstitutionBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.MedicationDispense_SubstitutionBuilder.Impl
-
- All Implemented Interfaces:
MedicationDispense_SubstitutionBuilder
- Enclosing interface:
- MedicationDispense_SubstitutionBuilder
public static class MedicationDispense_SubstitutionBuilder.Impl extends java.lang.Object implements MedicationDispense_SubstitutionBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.MedicationDispense_SubstitutionBuilder
MedicationDispense_SubstitutionBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(java.lang.Boolean wasSubstituted)Required fields forMedicationDispense.Substitution
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.MedicationDispense.Substitutionbuild()MedicationDispense_SubstitutionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)MedicationDispense_SubstitutionBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)MedicationDispense_SubstitutionBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)MedicationDispense_SubstitutionBuilder.ImplwithId(@NonNull java.lang.String id)MedicationDispense_SubstitutionBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)MedicationDispense_SubstitutionBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)MedicationDispense_SubstitutionBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)MedicationDispense_SubstitutionBuilder.ImplwithReason(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reason)MedicationDispense_SubstitutionBuilder.ImplwithReason(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... reason)MedicationDispense_SubstitutionBuilder.ImplwithReason(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reason)MedicationDispense_SubstitutionBuilder.ImplwithResponsibleParty(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... responsibleParty)MedicationDispense_SubstitutionBuilder.ImplwithResponsibleParty(@NonNull com.babylonhealth.lit.core.model.Reference... responsibleParty)MedicationDispense_SubstitutionBuilder.ImplwithResponsibleParty(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> responsibleParty)MedicationDispense_SubstitutionBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)MedicationDispense_SubstitutionBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
-
-
-
Method Detail
-
withId
public MedicationDispense_SubstitutionBuilder.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.
-
withType
public MedicationDispense_SubstitutionBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
- Parameters:
_type- - Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
-
withType
public MedicationDispense_SubstitutionBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)
-
withReason
public MedicationDispense_SubstitutionBuilder.Impl withReason(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... reason)
- Parameters:
reason-
-
withReason
public MedicationDispense_SubstitutionBuilder.Impl withReason(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reason)
- Parameters:
reason-
-
withReason
public MedicationDispense_SubstitutionBuilder.Impl withReason(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reason)
-
withExtension
public MedicationDispense_SubstitutionBuilder.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 MedicationDispense_SubstitutionBuilder.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 MedicationDispense_SubstitutionBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withResponsibleParty
public MedicationDispense_SubstitutionBuilder.Impl withResponsibleParty(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... responsibleParty)
- Parameters:
responsibleParty-
-
withResponsibleParty
public MedicationDispense_SubstitutionBuilder.Impl withResponsibleParty(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> responsibleParty)
- Parameters:
responsibleParty-
-
withResponsibleParty
public MedicationDispense_SubstitutionBuilder.Impl withResponsibleParty(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... responsibleParty)
-
withModifierExtension
public MedicationDispense_SubstitutionBuilder.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 MedicationDispense_SubstitutionBuilder.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 MedicationDispense_SubstitutionBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
build
public com.babylonhealth.lit.hl7.model.MedicationDispense.Substitution build()
- Specified by:
buildin interfaceMedicationDispense_SubstitutionBuilder
-
-