public static class PatientContact.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<PatientContact> implements org.apache.avro.data.RecordBuilder<PatientContact>
Modifier and Type | Method and Description |
---|---|
PatientContact |
build() |
PatientContact.Builder |
clearAddress()
Clears the value of the 'address' field.
|
PatientContact.Builder |
clearGender()
Clears the value of the 'gender' field.
|
PatientContact.Builder |
clearId()
Clears the value of the 'id' field.
|
PatientContact.Builder |
clearName()
Clears the value of the 'name' field.
|
PatientContact.Builder |
clearOrganization()
Clears the value of the 'organization' field.
|
PatientContact.Builder |
clearPeriod()
Clears the value of the 'period' field.
|
PatientContact.Builder |
clearRelationship()
Clears the value of the 'relationship' field.
|
PatientContact.Builder |
clearTelecom()
Clears the value of the 'telecom' field.
|
Address |
getAddress()
Gets the value of the 'address' field.
|
Address.Builder |
getAddressBuilder()
Gets the Builder instance for the 'address' field and creates one if it doesn't exist yet.
|
String |
getGender()
Gets the value of the 'gender' field.
|
String |
getId()
Gets the value of the 'id' field.
|
HumanName |
getName()
Gets the value of the 'name' field.
|
HumanName.Builder |
getNameBuilder()
Gets the Builder instance for the 'name' field and creates one if it doesn't exist yet.
|
OrganizationReference |
getOrganization()
Gets the value of the 'organization' field.
|
OrganizationReference.Builder |
getOrganizationBuilder()
Gets the Builder instance for the 'organization' field and creates one if it doesn't exist yet.
|
Period |
getPeriod()
Gets the value of the 'period' field.
|
Period.Builder |
getPeriodBuilder()
Gets the Builder instance for the 'period' field and creates one if it doesn't exist yet.
|
List<CodeableConcept> |
getRelationship()
Gets the value of the 'relationship' field.
|
List<ContactPoint> |
getTelecom()
Gets the value of the 'telecom' field.
|
boolean |
hasAddress()
Checks whether the 'address' field has been set.
|
boolean |
hasAddressBuilder()
Checks whether the 'address' field has an active Builder instance
Field for FHIR property address
|
boolean |
hasGender()
Checks whether the 'gender' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasNameBuilder()
Checks whether the 'name' field has an active Builder instance
Field for FHIR property name
|
boolean |
hasOrganization()
Checks whether the 'organization' field has been set.
|
boolean |
hasOrganizationBuilder()
Checks whether the 'organization' field has an active Builder instance
Field for FHIR property organization
|
boolean |
hasPeriod()
Checks whether the 'period' field has been set.
|
boolean |
hasPeriodBuilder()
Checks whether the 'period' field has an active Builder instance
Field for FHIR property period
|
boolean |
hasRelationship()
Checks whether the 'relationship' field has been set.
|
boolean |
hasTelecom()
Checks whether the 'telecom' field has been set.
|
PatientContact.Builder |
setAddress(Address value)
Sets the value of the 'address' field.
|
PatientContact.Builder |
setAddressBuilder(Address.Builder value)
Sets the Builder instance for the 'address' field
Field for FHIR property address
|
PatientContact.Builder |
setGender(String value)
Sets the value of the 'gender' field.
|
PatientContact.Builder |
setId(String value)
Sets the value of the 'id' field.
|
PatientContact.Builder |
setName(HumanName value)
Sets the value of the 'name' field.
|
PatientContact.Builder |
setNameBuilder(HumanName.Builder value)
Sets the Builder instance for the 'name' field
Field for FHIR property name
|
PatientContact.Builder |
setOrganization(OrganizationReference value)
Sets the value of the 'organization' field.
|
PatientContact.Builder |
setOrganizationBuilder(OrganizationReference.Builder value)
Sets the Builder instance for the 'organization' field
Field for FHIR property organization
|
PatientContact.Builder |
setPeriod(Period value)
Sets the value of the 'period' field.
|
PatientContact.Builder |
setPeriodBuilder(Period.Builder value)
Sets the Builder instance for the 'period' field
Field for FHIR property period
|
PatientContact.Builder |
setRelationship(List<CodeableConcept> value)
Sets the value of the 'relationship' field.
|
PatientContact.Builder |
setTelecom(List<ContactPoint> value)
Sets the value of the 'telecom' field.
|
public String getId()
public PatientContact.Builder setId(String value)
value
- The value of 'id'.public boolean hasId()
public PatientContact.Builder clearId()
public List<CodeableConcept> getRelationship()
public PatientContact.Builder setRelationship(List<CodeableConcept> value)
value
- The value of 'relationship'.public boolean hasRelationship()
public PatientContact.Builder clearRelationship()
public HumanName getName()
public PatientContact.Builder setName(HumanName value)
value
- The value of 'name'.public boolean hasName()
public HumanName.Builder getNameBuilder()
public PatientContact.Builder setNameBuilder(HumanName.Builder value)
value
- The builder instance that must be set.public boolean hasNameBuilder()
public PatientContact.Builder clearName()
public List<ContactPoint> getTelecom()
public PatientContact.Builder setTelecom(List<ContactPoint> value)
value
- The value of 'telecom'.public boolean hasTelecom()
public PatientContact.Builder clearTelecom()
public Address getAddress()
public PatientContact.Builder setAddress(Address value)
value
- The value of 'address'.public boolean hasAddress()
public Address.Builder getAddressBuilder()
public PatientContact.Builder setAddressBuilder(Address.Builder value)
value
- The builder instance that must be set.public boolean hasAddressBuilder()
public PatientContact.Builder clearAddress()
public String getGender()
public PatientContact.Builder setGender(String value)
value
- The value of 'gender'.public boolean hasGender()
public PatientContact.Builder clearGender()
public OrganizationReference getOrganization()
public PatientContact.Builder setOrganization(OrganizationReference value)
value
- The value of 'organization'.public boolean hasOrganization()
public OrganizationReference.Builder getOrganizationBuilder()
public PatientContact.Builder setOrganizationBuilder(OrganizationReference.Builder value)
value
- The builder instance that must be set.public boolean hasOrganizationBuilder()
public PatientContact.Builder clearOrganization()
public Period getPeriod()
public PatientContact.Builder setPeriod(Period value)
value
- The value of 'period'.public boolean hasPeriod()
public Period.Builder getPeriodBuilder()
public PatientContact.Builder setPeriodBuilder(Period.Builder value)
value
- The builder instance that must be set.public boolean hasPeriodBuilder()
public PatientContact.Builder clearPeriod()
public PatientContact build()
build
in interface org.apache.avro.data.RecordBuilder<PatientContact>
Copyright © 2020. All rights reserved.