public static class MedicationDispenseSubstitution.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationDispenseSubstitution> implements org.apache.avro.data.RecordBuilder<MedicationDispenseSubstitution>
| Modifier and Type | Method and Description |
|---|---|
MedicationDispenseSubstitution |
build() |
MedicationDispenseSubstitution.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationDispenseSubstitution.Builder |
clearReason()
Clears the value of the 'reason' field.
|
MedicationDispenseSubstitution.Builder |
clearResponsibleParty()
Clears the value of the 'responsibleParty' field.
|
MedicationDispenseSubstitution.Builder |
clearType()
Clears the value of the 'type' field.
|
MedicationDispenseSubstitution.Builder |
clearWasSubstituted()
Clears the value of the 'wasSubstituted' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<CodeableConcept> |
getReason()
Gets the value of the 'reason' field.
|
List<PractitionerReference> |
getResponsibleParty()
Gets the value of the 'responsibleParty' field.
|
CodeableConcept |
getType()
Gets the value of the 'type' field.
|
CodeableConcept.Builder |
getTypeBuilder()
Gets the Builder instance for the 'type' field and creates one if it doesn't exist yet.
|
Boolean |
getWasSubstituted()
Gets the value of the 'wasSubstituted' field.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasReason()
Checks whether the 'reason' field has been set.
|
boolean |
hasResponsibleParty()
Checks whether the 'responsibleParty' field has been set.
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
boolean |
hasTypeBuilder()
Checks whether the 'type' field has an active Builder instance
Field for FHIR property type
|
boolean |
hasWasSubstituted()
Checks whether the 'wasSubstituted' field has been set.
|
MedicationDispenseSubstitution.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationDispenseSubstitution.Builder |
setReason(List<CodeableConcept> value)
Sets the value of the 'reason' field.
|
MedicationDispenseSubstitution.Builder |
setResponsibleParty(List<PractitionerReference> value)
Sets the value of the 'responsibleParty' field.
|
MedicationDispenseSubstitution.Builder |
setType(CodeableConcept value)
Sets the value of the 'type' field.
|
MedicationDispenseSubstitution.Builder |
setTypeBuilder(CodeableConcept.Builder value)
Sets the Builder instance for the 'type' field
Field for FHIR property type
|
MedicationDispenseSubstitution.Builder |
setWasSubstituted(Boolean value)
Sets the value of the 'wasSubstituted' field.
|
public String getId()
public MedicationDispenseSubstitution.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public MedicationDispenseSubstitution.Builder clearId()
public Boolean getWasSubstituted()
public MedicationDispenseSubstitution.Builder setWasSubstituted(Boolean value)
value - The value of 'wasSubstituted'.public boolean hasWasSubstituted()
public MedicationDispenseSubstitution.Builder clearWasSubstituted()
public CodeableConcept getType()
public MedicationDispenseSubstitution.Builder setType(CodeableConcept value)
value - The value of 'type'.public boolean hasType()
public CodeableConcept.Builder getTypeBuilder()
public MedicationDispenseSubstitution.Builder setTypeBuilder(CodeableConcept.Builder value)
value - The builder instance that must be set.public boolean hasTypeBuilder()
public MedicationDispenseSubstitution.Builder clearType()
public List<CodeableConcept> getReason()
public MedicationDispenseSubstitution.Builder setReason(List<CodeableConcept> value)
value - The value of 'reason'.public boolean hasReason()
public MedicationDispenseSubstitution.Builder clearReason()
public List<PractitionerReference> getResponsibleParty()
public MedicationDispenseSubstitution.Builder setResponsibleParty(List<PractitionerReference> value)
value - The value of 'responsibleParty'.public boolean hasResponsibleParty()
public MedicationDispenseSubstitution.Builder clearResponsibleParty()
public MedicationDispenseSubstitution build()
build in interface org.apache.avro.data.RecordBuilder<MedicationDispenseSubstitution>Copyright © 2020. All rights reserved.