public static class MedicationIngredient.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationIngredient> implements org.apache.avro.data.RecordBuilder<MedicationIngredient>
| Modifier and Type | Method and Description |
|---|---|
MedicationIngredient |
build() |
MedicationIngredient.Builder |
clearAmount()
Clears the value of the 'amount' field.
|
MedicationIngredient.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationIngredient.Builder |
clearIsActive()
Clears the value of the 'isActive' field.
|
MedicationIngredient.Builder |
clearItem()
Clears the value of the 'item' field.
|
Ratio |
getAmount()
Gets the value of the 'amount' field.
|
Ratio.Builder |
getAmountBuilder()
Gets the Builder instance for the 'amount' field and creates one if it doesn't exist yet.
|
String |
getId()
Gets the value of the 'id' field.
|
Boolean |
getIsActive()
Gets the value of the 'isActive' field.
|
ChoiceCodeableConceptMedicationSubstanceReference |
getItem()
Gets the value of the 'item' field.
|
ChoiceCodeableConceptMedicationSubstanceReference.Builder |
getItemBuilder()
Gets the Builder instance for the 'item' field and creates one if it doesn't exist yet.
|
boolean |
hasAmount()
Checks whether the 'amount' field has been set.
|
boolean |
hasAmountBuilder()
Checks whether the 'amount' field has an active Builder instance
Field for FHIR property amount
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasIsActive()
Checks whether the 'isActive' field has been set.
|
boolean |
hasItem()
Checks whether the 'item' field has been set.
|
boolean |
hasItemBuilder()
Checks whether the 'item' field has an active Builder instance
Field for FHIR property item
|
MedicationIngredient.Builder |
setAmount(Ratio value)
Sets the value of the 'amount' field.
|
MedicationIngredient.Builder |
setAmountBuilder(Ratio.Builder value)
Sets the Builder instance for the 'amount' field
Field for FHIR property amount
|
MedicationIngredient.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationIngredient.Builder |
setIsActive(Boolean value)
Sets the value of the 'isActive' field.
|
MedicationIngredient.Builder |
setItem(ChoiceCodeableConceptMedicationSubstanceReference value)
Sets the value of the 'item' field.
|
MedicationIngredient.Builder |
setItemBuilder(ChoiceCodeableConceptMedicationSubstanceReference.Builder value)
Sets the Builder instance for the 'item' field
Field for FHIR property item
|
public String getId()
public MedicationIngredient.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public MedicationIngredient.Builder clearId()
public ChoiceCodeableConceptMedicationSubstanceReference getItem()
public MedicationIngredient.Builder setItem(ChoiceCodeableConceptMedicationSubstanceReference value)
value - The value of 'item'.public boolean hasItem()
public ChoiceCodeableConceptMedicationSubstanceReference.Builder getItemBuilder()
public MedicationIngredient.Builder setItemBuilder(ChoiceCodeableConceptMedicationSubstanceReference.Builder value)
value - The builder instance that must be set.public boolean hasItemBuilder()
public MedicationIngredient.Builder clearItem()
public Boolean getIsActive()
public MedicationIngredient.Builder setIsActive(Boolean value)
value - The value of 'isActive'.public boolean hasIsActive()
public MedicationIngredient.Builder clearIsActive()
public Ratio getAmount()
public MedicationIngredient.Builder setAmount(Ratio value)
value - The value of 'amount'.public boolean hasAmount()
public Ratio.Builder getAmountBuilder()
public MedicationIngredient.Builder setAmountBuilder(Ratio.Builder value)
value - The builder instance that must be set.public boolean hasAmountBuilder()
public MedicationIngredient.Builder clearAmount()
public MedicationIngredient build()
build in interface org.apache.avro.data.RecordBuilder<MedicationIngredient>Copyright © 2020. All rights reserved.