| Constructor and Description |
|---|
Builder(String patientId)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Patient.Builder |
ageInYears(String ageInYears)
Sets the age in years of the patient being built.
|
Patient.Builder |
birthDate(String birthDate)
Sets the birth date of the patient being built.
|
Patient |
build()
Builds and returns the patient.
|
Patient.Builder |
language(String language)
Sets the language of the patient being built.
|
Patient.Builder |
maritalStatus(String maritalStatus)
Sets the marital status of the patient being built.
|
Patient.Builder |
race(String race)
Sets the race of the patient being built.
|
Patient.Builder |
religion(String religion)
Sets the religion of the patient being built.
|
Patient.Builder |
sex(String sex)
Sets the sex of the patient being built.
|
Patient.Builder |
stateCityZip(String stateCityZip)
Sets the state, city, and zip code of the patient being built.
|
Patient.Builder |
vitalStatus(String vitalStatus)
Sets the vital status of the patient being built.
|
Patient.Builder |
zipCode(String zipCode)
Sets the zip code of the patient being built.
|
public Builder(String patientId)
patientId - the ID of the patient being builtpublic Patient.Builder vitalStatus(String vitalStatus)
vitalStatus - the vital statuspublic Patient.Builder birthDate(String birthDate)
birthDate - the birth datepublic Patient.Builder sex(String sex)
sex - the sexpublic Patient.Builder ageInYears(String ageInYears)
ageInYears - the age in yearspublic Patient.Builder language(String language)
language - the languagepublic Patient.Builder race(String race)
race - the racepublic Patient.Builder religion(String religion)
religion - the religionpublic Patient.Builder maritalStatus(String maritalStatus)
maritalStatus - the marital statuspublic Patient.Builder zipCode(String zipCode)
zipCode - the zip codepublic Patient.Builder stateCityZip(String stateCityZip)
stateCityZip - the state, city, and zip codeCopyright © 2015 Emory University. All rights reserved.