public static class MedicationRequestSubstitution.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationRequestSubstitution> implements org.apache.avro.data.RecordBuilder<MedicationRequestSubstitution>
| Modifier and Type | Method and Description |
|---|---|
MedicationRequestSubstitution |
build() |
MedicationRequestSubstitution.Builder |
clearAllowed()
Clears the value of the 'allowed' field.
|
MedicationRequestSubstitution.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationRequestSubstitution.Builder |
clearReason()
Clears the value of the 'reason' field.
|
Boolean |
getAllowed()
Gets the value of the 'allowed' field.
|
String |
getId()
Gets the value of the 'id' field.
|
CodeableConcept |
getReason()
Gets the value of the 'reason' field.
|
CodeableConcept.Builder |
getReasonBuilder()
Gets the Builder instance for the 'reason' field and creates one if it doesn't exist yet.
|
boolean |
hasAllowed()
Checks whether the 'allowed' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasReason()
Checks whether the 'reason' field has been set.
|
boolean |
hasReasonBuilder()
Checks whether the 'reason' field has an active Builder instance
Field for FHIR property reason
|
MedicationRequestSubstitution.Builder |
setAllowed(Boolean value)
Sets the value of the 'allowed' field.
|
MedicationRequestSubstitution.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationRequestSubstitution.Builder |
setReason(CodeableConcept value)
Sets the value of the 'reason' field.
|
MedicationRequestSubstitution.Builder |
setReasonBuilder(CodeableConcept.Builder value)
Sets the Builder instance for the 'reason' field
Field for FHIR property reason
|
public String getId()
public MedicationRequestSubstitution.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public MedicationRequestSubstitution.Builder clearId()
public Boolean getAllowed()
public MedicationRequestSubstitution.Builder setAllowed(Boolean value)
value - The value of 'allowed'.public boolean hasAllowed()
public MedicationRequestSubstitution.Builder clearAllowed()
public CodeableConcept getReason()
public MedicationRequestSubstitution.Builder setReason(CodeableConcept value)
value - The value of 'reason'.public boolean hasReason()
public CodeableConcept.Builder getReasonBuilder()
public MedicationRequestSubstitution.Builder setReasonBuilder(CodeableConcept.Builder value)
value - The builder instance that must be set.public boolean hasReasonBuilder()
public MedicationRequestSubstitution.Builder clearReason()
public MedicationRequestSubstitution build()
build in interface org.apache.avro.data.RecordBuilder<MedicationRequestSubstitution>Copyright © 2020. All rights reserved.