public static class MedicationRequestDispenseRequest.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationRequestDispenseRequest> implements org.apache.avro.data.RecordBuilder<MedicationRequestDispenseRequest>
Modifier and Type | Method and Description |
---|---|
MedicationRequestDispenseRequest |
build() |
MedicationRequestDispenseRequest.Builder |
clearExpectedSupplyDuration()
Clears the value of the 'expectedSupplyDuration' field.
|
MedicationRequestDispenseRequest.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationRequestDispenseRequest.Builder |
clearNumberOfRepeatsAllowed()
Clears the value of the 'numberOfRepeatsAllowed' field.
|
MedicationRequestDispenseRequest.Builder |
clearPerformer()
Clears the value of the 'performer' field.
|
MedicationRequestDispenseRequest.Builder |
clearQuantity()
Clears the value of the 'quantity' field.
|
MedicationRequestDispenseRequest.Builder |
clearValidityPeriod()
Clears the value of the 'validityPeriod' field.
|
Duration |
getExpectedSupplyDuration()
Gets the value of the 'expectedSupplyDuration' field.
|
Duration.Builder |
getExpectedSupplyDurationBuilder()
Gets the Builder instance for the 'expectedSupplyDuration' field and creates one if it doesn't exist yet.
|
String |
getId()
Gets the value of the 'id' field.
|
Integer |
getNumberOfRepeatsAllowed()
Gets the value of the 'numberOfRepeatsAllowed' field.
|
OrganizationReference |
getPerformer()
Gets the value of the 'performer' field.
|
OrganizationReference.Builder |
getPerformerBuilder()
Gets the Builder instance for the 'performer' field and creates one if it doesn't exist yet.
|
Quantity |
getQuantity()
Gets the value of the 'quantity' field.
|
Quantity.Builder |
getQuantityBuilder()
Gets the Builder instance for the 'quantity' field and creates one if it doesn't exist yet.
|
Period |
getValidityPeriod()
Gets the value of the 'validityPeriod' field.
|
Period.Builder |
getValidityPeriodBuilder()
Gets the Builder instance for the 'validityPeriod' field and creates one if it doesn't exist yet.
|
boolean |
hasExpectedSupplyDuration()
Checks whether the 'expectedSupplyDuration' field has been set.
|
boolean |
hasExpectedSupplyDurationBuilder()
Checks whether the 'expectedSupplyDuration' field has an active Builder instance
Field for FHIR property expectedSupplyDuration
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasNumberOfRepeatsAllowed()
Checks whether the 'numberOfRepeatsAllowed' field has been set.
|
boolean |
hasPerformer()
Checks whether the 'performer' field has been set.
|
boolean |
hasPerformerBuilder()
Checks whether the 'performer' field has an active Builder instance
Field for FHIR property performer
|
boolean |
hasQuantity()
Checks whether the 'quantity' field has been set.
|
boolean |
hasQuantityBuilder()
Checks whether the 'quantity' field has an active Builder instance
Field for FHIR property quantity
|
boolean |
hasValidityPeriod()
Checks whether the 'validityPeriod' field has been set.
|
boolean |
hasValidityPeriodBuilder()
Checks whether the 'validityPeriod' field has an active Builder instance
Field for FHIR property validityPeriod
|
MedicationRequestDispenseRequest.Builder |
setExpectedSupplyDuration(Duration value)
Sets the value of the 'expectedSupplyDuration' field.
|
MedicationRequestDispenseRequest.Builder |
setExpectedSupplyDurationBuilder(Duration.Builder value)
Sets the Builder instance for the 'expectedSupplyDuration' field
Field for FHIR property expectedSupplyDuration
|
MedicationRequestDispenseRequest.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationRequestDispenseRequest.Builder |
setNumberOfRepeatsAllowed(Integer value)
Sets the value of the 'numberOfRepeatsAllowed' field.
|
MedicationRequestDispenseRequest.Builder |
setPerformer(OrganizationReference value)
Sets the value of the 'performer' field.
|
MedicationRequestDispenseRequest.Builder |
setPerformerBuilder(OrganizationReference.Builder value)
Sets the Builder instance for the 'performer' field
Field for FHIR property performer
|
MedicationRequestDispenseRequest.Builder |
setQuantity(Quantity value)
Sets the value of the 'quantity' field.
|
MedicationRequestDispenseRequest.Builder |
setQuantityBuilder(Quantity.Builder value)
Sets the Builder instance for the 'quantity' field
Field for FHIR property quantity
|
MedicationRequestDispenseRequest.Builder |
setValidityPeriod(Period value)
Sets the value of the 'validityPeriod' field.
|
MedicationRequestDispenseRequest.Builder |
setValidityPeriodBuilder(Period.Builder value)
Sets the Builder instance for the 'validityPeriod' field
Field for FHIR property validityPeriod
|
public String getId()
public MedicationRequestDispenseRequest.Builder setId(String value)
value
- The value of 'id'.public boolean hasId()
public MedicationRequestDispenseRequest.Builder clearId()
public Period getValidityPeriod()
public MedicationRequestDispenseRequest.Builder setValidityPeriod(Period value)
value
- The value of 'validityPeriod'.public boolean hasValidityPeriod()
public Period.Builder getValidityPeriodBuilder()
public MedicationRequestDispenseRequest.Builder setValidityPeriodBuilder(Period.Builder value)
value
- The builder instance that must be set.public boolean hasValidityPeriodBuilder()
public MedicationRequestDispenseRequest.Builder clearValidityPeriod()
public Integer getNumberOfRepeatsAllowed()
public MedicationRequestDispenseRequest.Builder setNumberOfRepeatsAllowed(Integer value)
value
- The value of 'numberOfRepeatsAllowed'.public boolean hasNumberOfRepeatsAllowed()
public MedicationRequestDispenseRequest.Builder clearNumberOfRepeatsAllowed()
public Quantity getQuantity()
public MedicationRequestDispenseRequest.Builder setQuantity(Quantity value)
value
- The value of 'quantity'.public boolean hasQuantity()
public Quantity.Builder getQuantityBuilder()
public MedicationRequestDispenseRequest.Builder setQuantityBuilder(Quantity.Builder value)
value
- The builder instance that must be set.public boolean hasQuantityBuilder()
public MedicationRequestDispenseRequest.Builder clearQuantity()
public Duration getExpectedSupplyDuration()
public MedicationRequestDispenseRequest.Builder setExpectedSupplyDuration(Duration value)
value
- The value of 'expectedSupplyDuration'.public boolean hasExpectedSupplyDuration()
public Duration.Builder getExpectedSupplyDurationBuilder()
public MedicationRequestDispenseRequest.Builder setExpectedSupplyDurationBuilder(Duration.Builder value)
value
- The builder instance that must be set.public boolean hasExpectedSupplyDurationBuilder()
public MedicationRequestDispenseRequest.Builder clearExpectedSupplyDuration()
public OrganizationReference getPerformer()
public MedicationRequestDispenseRequest.Builder setPerformer(OrganizationReference value)
value
- The value of 'performer'.public boolean hasPerformer()
public OrganizationReference.Builder getPerformerBuilder()
public MedicationRequestDispenseRequest.Builder setPerformerBuilder(OrganizationReference.Builder value)
value
- The builder instance that must be set.public boolean hasPerformerBuilder()
public MedicationRequestDispenseRequest.Builder clearPerformer()
public MedicationRequestDispenseRequest build()
build
in interface org.apache.avro.data.RecordBuilder<MedicationRequestDispenseRequest>
Copyright © 2020. All rights reserved.