public static class Medication.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<Medication> implements org.apache.avro.data.RecordBuilder<Medication>
Modifier and Type | Method and Description |
---|---|
Medication |
build() |
Medication.Builder |
clearCode()
Clears the value of the 'code' field.
|
Medication.Builder |
clearContained()
Clears the value of the 'contained' field.
|
Medication.Builder |
clearForm()
Clears the value of the 'form' field.
|
Medication.Builder |
clearId()
Clears the value of the 'id' field.
|
Medication.Builder |
clearImage()
Clears the value of the 'image' field.
|
Medication.Builder |
clearImplicitRules()
Clears the value of the 'implicitRules' field.
|
Medication.Builder |
clearIngredient()
Clears the value of the 'ingredient' field.
|
Medication.Builder |
clearIsBrand()
Clears the value of the 'isBrand' field.
|
Medication.Builder |
clearIsOverTheCounter()
Clears the value of the 'isOverTheCounter' field.
|
Medication.Builder |
clearLanguage()
Clears the value of the 'language' field.
|
Medication.Builder |
clearManufacturer()
Clears the value of the 'manufacturer' field.
|
Medication.Builder |
clearMeta()
Clears the value of the 'meta' field.
|
Medication.Builder |
clearPackage$()
Clears the value of the 'package$' field.
|
Medication.Builder |
clearStatus()
Clears the value of the 'status' field.
|
Medication.Builder |
clearText()
Clears the value of the 'text' field.
|
CodeableConcept |
getCode()
Gets the value of the 'code' field.
|
CodeableConcept.Builder |
getCodeBuilder()
Gets the Builder instance for the 'code' field and creates one if it doesn't exist yet.
|
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
CodeableConcept |
getForm()
Gets the value of the 'form' field.
|
CodeableConcept.Builder |
getFormBuilder()
Gets the Builder instance for the 'form' field and creates one if it doesn't exist yet.
|
String |
getId()
Gets the value of the 'id' field.
|
List<Attachment> |
getImage()
Gets the value of the 'image' field.
|
String |
getImplicitRules()
Gets the value of the 'implicitRules' field.
|
List<MedicationIngredient> |
getIngredient()
Gets the value of the 'ingredient' field.
|
Boolean |
getIsBrand()
Gets the value of the 'isBrand' field.
|
Boolean |
getIsOverTheCounter()
Gets the value of the 'isOverTheCounter' field.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
OrganizationReference |
getManufacturer()
Gets the value of the 'manufacturer' field.
|
OrganizationReference.Builder |
getManufacturerBuilder()
Gets the Builder instance for the 'manufacturer' field and creates one if it doesn't exist yet.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
Meta.Builder |
getMetaBuilder()
Gets the Builder instance for the 'meta' field and creates one if it doesn't exist yet.
|
MedicationPackage |
getPackage$()
Gets the value of the 'package$' field.
|
MedicationPackage.Builder |
getPackage$Builder()
Gets the Builder instance for the 'package$' field and creates one if it doesn't exist yet.
|
String |
getStatus()
Gets the value of the 'status' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
Narrative.Builder |
getTextBuilder()
Gets the Builder instance for the 'text' field and creates one if it doesn't exist yet.
|
boolean |
hasCode()
Checks whether the 'code' field has been set.
|
boolean |
hasCodeBuilder()
Checks whether the 'code' field has an active Builder instance
Field for FHIR property code
|
boolean |
hasContained()
Checks whether the 'contained' field has been set.
|
boolean |
hasForm()
Checks whether the 'form' field has been set.
|
boolean |
hasFormBuilder()
Checks whether the 'form' field has an active Builder instance
Field for FHIR property form
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasImage()
Checks whether the 'image' field has been set.
|
boolean |
hasImplicitRules()
Checks whether the 'implicitRules' field has been set.
|
boolean |
hasIngredient()
Checks whether the 'ingredient' field has been set.
|
boolean |
hasIsBrand()
Checks whether the 'isBrand' field has been set.
|
boolean |
hasIsOverTheCounter()
Checks whether the 'isOverTheCounter' field has been set.
|
boolean |
hasLanguage()
Checks whether the 'language' field has been set.
|
boolean |
hasManufacturer()
Checks whether the 'manufacturer' field has been set.
|
boolean |
hasManufacturerBuilder()
Checks whether the 'manufacturer' field has an active Builder instance
Field for FHIR property manufacturer
|
boolean |
hasMeta()
Checks whether the 'meta' field has been set.
|
boolean |
hasMetaBuilder()
Checks whether the 'meta' field has an active Builder instance
Field for FHIR property meta
|
boolean |
hasPackage$()
Checks whether the 'package$' field has been set.
|
boolean |
hasPackage$Builder()
Checks whether the 'package$' field has an active Builder instance
Field for FHIR property package
|
boolean |
hasStatus()
Checks whether the 'status' field has been set.
|
boolean |
hasText()
Checks whether the 'text' field has been set.
|
boolean |
hasTextBuilder()
Checks whether the 'text' field has an active Builder instance
Field for FHIR property text
|
Medication.Builder |
setCode(CodeableConcept value)
Sets the value of the 'code' field.
|
Medication.Builder |
setCodeBuilder(CodeableConcept.Builder value)
Sets the Builder instance for the 'code' field
Field for FHIR property code
|
Medication.Builder |
setContained(List<Resource> value)
Sets the value of the 'contained' field.
|
Medication.Builder |
setForm(CodeableConcept value)
Sets the value of the 'form' field.
|
Medication.Builder |
setFormBuilder(CodeableConcept.Builder value)
Sets the Builder instance for the 'form' field
Field for FHIR property form
|
Medication.Builder |
setId(String value)
Sets the value of the 'id' field.
|
Medication.Builder |
setImage(List<Attachment> value)
Sets the value of the 'image' field.
|
Medication.Builder |
setImplicitRules(String value)
Sets the value of the 'implicitRules' field.
|
Medication.Builder |
setIngredient(List<MedicationIngredient> value)
Sets the value of the 'ingredient' field.
|
Medication.Builder |
setIsBrand(Boolean value)
Sets the value of the 'isBrand' field.
|
Medication.Builder |
setIsOverTheCounter(Boolean value)
Sets the value of the 'isOverTheCounter' field.
|
Medication.Builder |
setLanguage(String value)
Sets the value of the 'language' field.
|
Medication.Builder |
setManufacturer(OrganizationReference value)
Sets the value of the 'manufacturer' field.
|
Medication.Builder |
setManufacturerBuilder(OrganizationReference.Builder value)
Sets the Builder instance for the 'manufacturer' field
Field for FHIR property manufacturer
|
Medication.Builder |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
Medication.Builder |
setMetaBuilder(Meta.Builder value)
Sets the Builder instance for the 'meta' field
Field for FHIR property meta
|
Medication.Builder |
setPackage$(MedicationPackage value)
Sets the value of the 'package$' field.
|
Medication.Builder |
setPackage$Builder(MedicationPackage.Builder value)
Sets the Builder instance for the 'package$' field
Field for FHIR property package
|
Medication.Builder |
setStatus(String value)
Sets the value of the 'status' field.
|
Medication.Builder |
setText(Narrative value)
Sets the value of the 'text' field.
|
Medication.Builder |
setTextBuilder(Narrative.Builder value)
Sets the Builder instance for the 'text' field
Field for FHIR property text
|
public String getId()
public Medication.Builder setId(String value)
value
- The value of 'id'.public boolean hasId()
public Medication.Builder clearId()
public Meta getMeta()
public Medication.Builder setMeta(Meta value)
value
- The value of 'meta'.public boolean hasMeta()
public Meta.Builder getMetaBuilder()
public Medication.Builder setMetaBuilder(Meta.Builder value)
value
- The builder instance that must be set.public boolean hasMetaBuilder()
public Medication.Builder clearMeta()
public String getImplicitRules()
public Medication.Builder setImplicitRules(String value)
value
- The value of 'implicitRules'.public boolean hasImplicitRules()
public Medication.Builder clearImplicitRules()
public String getLanguage()
public Medication.Builder setLanguage(String value)
value
- The value of 'language'.public boolean hasLanguage()
public Medication.Builder clearLanguage()
public Narrative getText()
public Medication.Builder setText(Narrative value)
value
- The value of 'text'.public boolean hasText()
public Narrative.Builder getTextBuilder()
public Medication.Builder setTextBuilder(Narrative.Builder value)
value
- The builder instance that must be set.public boolean hasTextBuilder()
public Medication.Builder clearText()
public List<Resource> getContained()
public Medication.Builder setContained(List<Resource> value)
value
- The value of 'contained'.public boolean hasContained()
public Medication.Builder clearContained()
public CodeableConcept getCode()
public Medication.Builder setCode(CodeableConcept value)
value
- The value of 'code'.public boolean hasCode()
public CodeableConcept.Builder getCodeBuilder()
public Medication.Builder setCodeBuilder(CodeableConcept.Builder value)
value
- The builder instance that must be set.public boolean hasCodeBuilder()
public Medication.Builder clearCode()
public String getStatus()
public Medication.Builder setStatus(String value)
value
- The value of 'status'.public boolean hasStatus()
public Medication.Builder clearStatus()
public Boolean getIsBrand()
public Medication.Builder setIsBrand(Boolean value)
value
- The value of 'isBrand'.public boolean hasIsBrand()
public Medication.Builder clearIsBrand()
public Boolean getIsOverTheCounter()
public Medication.Builder setIsOverTheCounter(Boolean value)
value
- The value of 'isOverTheCounter'.public boolean hasIsOverTheCounter()
public Medication.Builder clearIsOverTheCounter()
public OrganizationReference getManufacturer()
public Medication.Builder setManufacturer(OrganizationReference value)
value
- The value of 'manufacturer'.public boolean hasManufacturer()
public OrganizationReference.Builder getManufacturerBuilder()
public Medication.Builder setManufacturerBuilder(OrganizationReference.Builder value)
value
- The builder instance that must be set.public boolean hasManufacturerBuilder()
public Medication.Builder clearManufacturer()
public CodeableConcept getForm()
public Medication.Builder setForm(CodeableConcept value)
value
- The value of 'form'.public boolean hasForm()
public CodeableConcept.Builder getFormBuilder()
public Medication.Builder setFormBuilder(CodeableConcept.Builder value)
value
- The builder instance that must be set.public boolean hasFormBuilder()
public Medication.Builder clearForm()
public List<MedicationIngredient> getIngredient()
public Medication.Builder setIngredient(List<MedicationIngredient> value)
value
- The value of 'ingredient'.public boolean hasIngredient()
public Medication.Builder clearIngredient()
public MedicationPackage getPackage$()
public Medication.Builder setPackage$(MedicationPackage value)
value
- The value of 'package$'.public boolean hasPackage$()
public MedicationPackage.Builder getPackage$Builder()
public Medication.Builder setPackage$Builder(MedicationPackage.Builder value)
value
- The builder instance that must be set.public boolean hasPackage$Builder()
public Medication.Builder clearPackage$()
public List<Attachment> getImage()
public Medication.Builder setImage(List<Attachment> value)
value
- The value of 'image'.public boolean hasImage()
public Medication.Builder clearImage()
public Medication build()
build
in interface org.apache.avro.data.RecordBuilder<Medication>
Copyright © 2020. All rights reserved.