Class MedicationDispenseBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.MedicationDispenseBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ResourceBuilder,DomainResourceBuilder,MedicationDispenseBuilder
- Enclosing interface:
- MedicationDispenseBuilder
public static class MedicationDispenseBuilder.Impl extends java.lang.Object implements MedicationDispenseBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.MedicationDispenseBuilder
MedicationDispenseBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.hl7.MEDICATIONDISPENSE_STATUS status, @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference medication)Required fields forMedicationDispense
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.MedicationDispensebuild()MedicationDispenseBuilder.ImplwithAuthorizingPrescription(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... authorizingPrescription)MedicationDispenseBuilder.ImplwithAuthorizingPrescription(@NonNull com.babylonhealth.lit.core.model.Reference... authorizingPrescription)MedicationDispenseBuilder.ImplwithAuthorizingPrescription(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> authorizingPrescription)MedicationDispenseBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder category)MedicationDispenseBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core.model.CodeableConcept category)MedicationDispenseBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)MedicationDispenseBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core.model.Resource... contained)MedicationDispenseBuilder.ImplwithContained(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)MedicationDispenseBuilder.ImplwithContext(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder context)MedicationDispenseBuilder.ImplwithContext(@NonNull com.babylonhealth.lit.core.model.Reference context)MedicationDispenseBuilder.ImplwithDaysSupply(@NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder daysSupply)MedicationDispenseBuilder.ImplwithDaysSupply(@NonNull com.babylonhealth.lit.core.model.Quantity daysSupply)MedicationDispenseBuilder.ImplwithDestination(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder destination)MedicationDispenseBuilder.ImplwithDestination(@NonNull com.babylonhealth.lit.core.model.Reference destination)MedicationDispenseBuilder.ImplwithDetectedIssue(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... detectedIssue)MedicationDispenseBuilder.ImplwithDetectedIssue(@NonNull com.babylonhealth.lit.core.model.Reference... detectedIssue)MedicationDispenseBuilder.ImplwithDetectedIssue(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> detectedIssue)MedicationDispenseBuilder.ImplwithDosageInstruction(@NonNull com.babylonhealth.lit.core_java.builders.DosageBuilder... dosageInstruction)MedicationDispenseBuilder.ImplwithDosageInstruction(@NonNull com.babylonhealth.lit.core.model.Dosage... dosageInstruction)MedicationDispenseBuilder.ImplwithDosageInstruction(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Dosage> dosageInstruction)MedicationDispenseBuilder.ImplwithEventHistory(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... eventHistory)MedicationDispenseBuilder.ImplwithEventHistory(@NonNull com.babylonhealth.lit.core.model.Reference... eventHistory)MedicationDispenseBuilder.ImplwithEventHistory(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> eventHistory)MedicationDispenseBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)MedicationDispenseBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)MedicationDispenseBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)MedicationDispenseBuilder.ImplwithId(@NonNull java.lang.String id)MedicationDispenseBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)MedicationDispenseBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier... identifier)MedicationDispenseBuilder.ImplwithIdentifier(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)MedicationDispenseBuilder.ImplwithImplicitRules(@NonNull java.lang.String implicitRules)MedicationDispenseBuilder.ImplwithLanguage(@NonNull com.babylonhealth.lit.core.LANGUAGES language)MedicationDispenseBuilder.ImplwithLocation(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder location)MedicationDispenseBuilder.ImplwithLocation(@NonNull com.babylonhealth.lit.core.model.Reference location)MedicationDispenseBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)MedicationDispenseBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core.model.Meta meta)MedicationDispenseBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)MedicationDispenseBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)MedicationDispenseBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)MedicationDispenseBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)MedicationDispenseBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core.model.Annotation... note)MedicationDispenseBuilder.ImplwithNote(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)MedicationDispenseBuilder.ImplwithoutMeta()MedicationDispenseBuilder.ImplwithPartOf(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... partOf)MedicationDispenseBuilder.ImplwithPartOf(@NonNull com.babylonhealth.lit.core.model.Reference... partOf)MedicationDispenseBuilder.ImplwithPartOf(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> partOf)MedicationDispenseBuilder.ImplwithPerformer(@NonNull MedicationDispense_PerformerBuilder... performer)MedicationDispenseBuilder.ImplwithPerformer(@NonNull com.babylonhealth.lit.hl7.model.MedicationDispense.Performer... performer)MedicationDispenseBuilder.ImplwithPerformer(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.MedicationDispense.Performer> performer)MedicationDispenseBuilder.ImplwithQuantity(@NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder quantity)MedicationDispenseBuilder.ImplwithQuantity(@NonNull com.babylonhealth.lit.core.model.Quantity quantity)MedicationDispenseBuilder.ImplwithReceiver(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... receiver)MedicationDispenseBuilder.ImplwithReceiver(@NonNull com.babylonhealth.lit.core.model.Reference... receiver)MedicationDispenseBuilder.ImplwithReceiver(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> receiver)MedicationDispenseBuilder.ImplwithStatusReason(@NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference statusReason)MedicationDispenseBuilder.ImplwithSubject(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder subject)MedicationDispenseBuilder.ImplwithSubject(@NonNull com.babylonhealth.lit.core.model.Reference subject)MedicationDispenseBuilder.ImplwithSubstitution(@NonNull MedicationDispense_SubstitutionBuilder substitution)MedicationDispenseBuilder.ImplwithSubstitution(com.babylonhealth.lit.hl7.model.MedicationDispense.Substitution substitution)MedicationDispenseBuilder.ImplwithSupportingInformation(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... supportingInformation)MedicationDispenseBuilder.ImplwithSupportingInformation(@NonNull com.babylonhealth.lit.core.model.Reference... supportingInformation)MedicationDispenseBuilder.ImplwithSupportingInformation(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> supportingInformation)MedicationDispenseBuilder.ImplwithText(@NonNull NarrativeBuilder text)MedicationDispenseBuilder.ImplwithText(@NonNull com.babylonhealth.lit.hl7.model.Narrative text)MedicationDispenseBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)MedicationDispenseBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)MedicationDispenseBuilder.ImplwithWhenHandedOver(@NonNull com.babylonhealth.lit.core.FHIRDateTime whenHandedOver)MedicationDispenseBuilder.ImplwithWhenPrepared(@NonNull com.babylonhealth.lit.core.FHIRDateTime whenPrepared)
-
-
-
Constructor Detail
-
Impl
public Impl(com.babylonhealth.lit.hl7.MEDICATIONDISPENSE_STATUS status, @NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference medication)Required fields forMedicationDispense- Parameters:
status- - A code specifying the state of the set of dispense events.medication- - Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. Field is a 'choice' field. Type should be one of CodeableConcept, Reference. To pass the value in, wrap with one of the MedicationDispenseBuilder.medication static methods
-
-
Method Detail
-
withId
public MedicationDispenseBuilder.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 MedicationDispenseBuilder.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 MedicationDispenseBuilder.Impl withMeta(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)
-
withText
public MedicationDispenseBuilder.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 MedicationDispenseBuilder.Impl withText(@NonNull @NonNull NarrativeBuilder text)
-
withType
public MedicationDispenseBuilder.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 MedicationDispenseBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder _type)
-
withNote
public MedicationDispenseBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core.model.Annotation... note)
- Parameters:
note- - Extra information about the dispense that could not be conveyed in the other attributes.
-
withNote
public MedicationDispenseBuilder.Impl withNote(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)
- Parameters:
note- - Extra information about the dispense that could not be conveyed in the other attributes.
-
withNote
public MedicationDispenseBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
-
withPartOf
public MedicationDispenseBuilder.Impl withPartOf(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... partOf)
- Parameters:
partOf- - The procedure that trigger the dispense.
-
withPartOf
public MedicationDispenseBuilder.Impl withPartOf(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> partOf)
- Parameters:
partOf- - The procedure that trigger the dispense.
-
withPartOf
public MedicationDispenseBuilder.Impl withPartOf(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... partOf)
-
withSubject
public MedicationDispenseBuilder.Impl withSubject(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference subject)
- Parameters:
subject- - A link to a resource representing the person or the group to whom the medication will be given.
-
withSubject
public MedicationDispenseBuilder.Impl withSubject(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder subject)
-
withContext
public MedicationDispenseBuilder.Impl withContext(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference context)
- Parameters:
context- - The encounter or episode of care that establishes the context for this event.
-
withContext
public MedicationDispenseBuilder.Impl withContext(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder context)
-
withLanguage
public MedicationDispenseBuilder.Impl withLanguage(@NonNull @NonNull com.babylonhealth.lit.core.LANGUAGES language)
- Parameters:
language- - The base language in which the resource is written.
-
withCategory
public MedicationDispenseBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept category)
- Parameters:
category- - Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).
-
withCategory
public MedicationDispenseBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder category)
-
withLocation
public MedicationDispenseBuilder.Impl withLocation(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference location)
- Parameters:
location- - The principal physical location where the dispense was performed.
-
withLocation
public MedicationDispenseBuilder.Impl withLocation(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder location)
-
withQuantity
public MedicationDispenseBuilder.Impl withQuantity(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity quantity)
- Parameters:
quantity- - The amount of medication that has been dispensed. Includes unit of measure.
-
withQuantity
public MedicationDispenseBuilder.Impl withQuantity(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder quantity)
-
withReceiver
public MedicationDispenseBuilder.Impl withReceiver(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... receiver)
- Parameters:
receiver- - Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.
-
withReceiver
public MedicationDispenseBuilder.Impl withReceiver(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> receiver)
- Parameters:
receiver- - Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.
-
withReceiver
public MedicationDispenseBuilder.Impl withReceiver(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... receiver)
-
withContained
public MedicationDispenseBuilder.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 MedicationDispenseBuilder.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 MedicationDispenseBuilder.Impl withContained(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
-
withExtension
public MedicationDispenseBuilder.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 MedicationDispenseBuilder.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 MedicationDispenseBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withIdentifier
public MedicationDispenseBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
- Parameters:
identifier- - Identifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.
-
withIdentifier
public MedicationDispenseBuilder.Impl withIdentifier(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
- Parameters:
identifier- - Identifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.
-
withIdentifier
public MedicationDispenseBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
-
withDaysSupply
public MedicationDispenseBuilder.Impl withDaysSupply(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity daysSupply)
- Parameters:
daysSupply- - The amount of medication expressed as a timing amount.
-
withDaysSupply
public MedicationDispenseBuilder.Impl withDaysSupply(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder daysSupply)
-
withDestination
public MedicationDispenseBuilder.Impl withDestination(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference destination)
- Parameters:
destination- - Identification of the facility/location where the medication was shipped to, as part of the dispense event.
-
withDestination
public MedicationDispenseBuilder.Impl withDestination(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder destination)
-
withWhenPrepared
public MedicationDispenseBuilder.Impl withWhenPrepared(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDateTime whenPrepared)
- Parameters:
whenPrepared- - The time when the dispensed product was packaged and reviewed.
-
withEventHistory
public MedicationDispenseBuilder.Impl withEventHistory(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... eventHistory)
- Parameters:
eventHistory- - A summary of the events of interest that have occurred, such as when the dispense was verified.
-
withEventHistory
public MedicationDispenseBuilder.Impl withEventHistory(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> eventHistory)
- Parameters:
eventHistory- - A summary of the events of interest that have occurred, such as when the dispense was verified.
-
withEventHistory
public MedicationDispenseBuilder.Impl withEventHistory(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... eventHistory)
-
withImplicitRules
public MedicationDispenseBuilder.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.
-
withDetectedIssue
public MedicationDispenseBuilder.Impl withDetectedIssue(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... detectedIssue)
- Parameters:
detectedIssue- - Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. drug-drug interaction, duplicate therapy, dosage alert etc.
-
withDetectedIssue
public MedicationDispenseBuilder.Impl withDetectedIssue(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> detectedIssue)
- Parameters:
detectedIssue- - Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. drug-drug interaction, duplicate therapy, dosage alert etc.
-
withDetectedIssue
public MedicationDispenseBuilder.Impl withDetectedIssue(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... detectedIssue)
-
withWhenHandedOver
public MedicationDispenseBuilder.Impl withWhenHandedOver(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDateTime whenHandedOver)
- Parameters:
whenHandedOver- - The time the dispensed product was provided to the patient or their representative.
-
withStatusReason
public MedicationDispenseBuilder.Impl withStatusReason(@NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceCodeableConceptOrReference statusReason)
- Parameters:
statusReason- - Indicates the reason why a dispense was not performed. Field is a 'choice' field. Type should be one of CodeableConcept, Reference. To pass the value in, wrap with one of the MedicationDispenseBuilder.statusReason static methods
-
withModifierExtension
public MedicationDispenseBuilder.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 MedicationDispenseBuilder.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 MedicationDispenseBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withDosageInstruction
public MedicationDispenseBuilder.Impl withDosageInstruction(@NonNull @NonNull com.babylonhealth.lit.core.model.Dosage... dosageInstruction)
- Parameters:
dosageInstruction- - Indicates how the medication is to be used by the patient.
-
withDosageInstruction
public MedicationDispenseBuilder.Impl withDosageInstruction(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Dosage> dosageInstruction)
- Parameters:
dosageInstruction- - Indicates how the medication is to be used by the patient.
-
withDosageInstruction
public MedicationDispenseBuilder.Impl withDosageInstruction(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.DosageBuilder... dosageInstruction)
-
withSupportingInformation
public MedicationDispenseBuilder.Impl withSupportingInformation(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... supportingInformation)
- Parameters:
supportingInformation- - Additional information that supports the medication being dispensed.
-
withSupportingInformation
public MedicationDispenseBuilder.Impl withSupportingInformation(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> supportingInformation)
- Parameters:
supportingInformation- - Additional information that supports the medication being dispensed.
-
withSupportingInformation
public MedicationDispenseBuilder.Impl withSupportingInformation(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... supportingInformation)
-
withAuthorizingPrescription
public MedicationDispenseBuilder.Impl withAuthorizingPrescription(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... authorizingPrescription)
- Parameters:
authorizingPrescription- - Indicates the medication order that is being dispensed against.
-
withAuthorizingPrescription
public MedicationDispenseBuilder.Impl withAuthorizingPrescription(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> authorizingPrescription)
- Parameters:
authorizingPrescription- - Indicates the medication order that is being dispensed against.
-
withAuthorizingPrescription
public MedicationDispenseBuilder.Impl withAuthorizingPrescription(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... authorizingPrescription)
-
withPerformer
public MedicationDispenseBuilder.Impl withPerformer(@NonNull @NonNull com.babylonhealth.lit.hl7.model.MedicationDispense.Performer... performer)
- Parameters:
performer- - Indicates who or what performed the event.
-
withPerformer
public MedicationDispenseBuilder.Impl withPerformer(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.MedicationDispense.Performer> performer)
- Parameters:
performer- - Indicates who or what performed the event.
-
withPerformer
public MedicationDispenseBuilder.Impl withPerformer(@NonNull @NonNull MedicationDispense_PerformerBuilder... performer)
-
withSubstitution
public MedicationDispenseBuilder.Impl withSubstitution(@NonNull com.babylonhealth.lit.hl7.model.MedicationDispense.Substitution substitution)
- Parameters:
substitution- - Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.
-
withSubstitution
public MedicationDispenseBuilder.Impl withSubstitution(@NonNull @NonNull MedicationDispense_SubstitutionBuilder substitution)
-
withoutMeta
public MedicationDispenseBuilder.Impl withoutMeta()
-
build
public com.babylonhealth.lit.hl7.model.MedicationDispense build()
- Specified by:
buildin interfaceDomainResourceBuilder- Specified by:
buildin interfaceMedicationDispenseBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ResourceBuilder
-
-