Package dev.pcvolkmer.mv64e.model
Class Patient
- java.lang.Object
-
- dev.pcvolkmer.mv64e.model.Patient
-
public class Patient extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatient.Builder
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ADDRESSstatic java.lang.StringJSON_PROPERTY_AGEstatic java.lang.StringJSON_PROPERTY_BIRTH_DATEstatic java.lang.StringJSON_PROPERTY_DATE_OF_DEATHstatic java.lang.StringJSON_PROPERTY_GENDERstatic java.lang.StringJSON_PROPERTY_HEALTH_INSURANCEstatic java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_MANAGING_SITEstatic java.lang.StringJSON_PROPERTY_VITAL_STATUS
-
Constructor Summary
Constructors Constructor Description Patient()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Patientaddress(@Nullable PatientAddress address)Patientage(@Nullable Age age)PatientbirthDate(java.util.Date birthDate)static Patient.Builderbuilder()PatientdateOfDeath(@Nullable java.util.Date dateOfDeath)booleanequals(java.lang.Object o)Patientgender(GenderCoding gender)@Nullable PatientAddressgetAddress()@Nullable AgegetAge()java.util.DategetBirthDate()@Nullable java.util.DategetDateOfDeath()GenderCodinggetGender()PatientHealthInsurancegetHealthInsurance()java.lang.StringgetId()@Nullable CodinggetManagingSite()@Nullable VitalStatusCodinggetVitalStatus()inthashCode()PatienthealthInsurance(PatientHealthInsurance healthInsurance)Patientid(java.lang.String id)PatientmanagingSite(@Nullable Coding managingSite)voidsetAddress(@Nullable PatientAddress address)voidsetAge(@Nullable Age age)voidsetBirthDate(java.util.Date birthDate)voidsetDateOfDeath(@Nullable java.util.Date dateOfDeath)voidsetGender(GenderCoding gender)voidsetHealthInsurance(PatientHealthInsurance healthInsurance)voidsetId(java.lang.String id)voidsetManagingSite(@Nullable Coding managingSite)voidsetVitalStatus(@Nullable VitalStatusCoding vitalStatus)Patient.BuildertoBuilder()java.lang.StringtoString()PatientvitalStatus(@Nullable VitalStatusCoding vitalStatus)
-
-
-
Field Detail
-
JSON_PROPERTY_DATE_OF_DEATH
public static final java.lang.String JSON_PROPERTY_DATE_OF_DEATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AGE
public static final java.lang.String JSON_PROPERTY_AGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEALTH_INSURANCE
public static final java.lang.String JSON_PROPERTY_HEALTH_INSURANCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDRESS
public static final java.lang.String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VITAL_STATUS
public static final java.lang.String JSON_PROPERTY_VITAL_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BIRTH_DATE
public static final java.lang.String JSON_PROPERTY_BIRTH_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GENDER
public static final java.lang.String JSON_PROPERTY_GENDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MANAGING_SITE
public static final java.lang.String JSON_PROPERTY_MANAGING_SITE
- See Also:
- Constant Field Values
-
-
Method Detail
-
dateOfDeath
public Patient dateOfDeath(@Nullable java.util.Date dateOfDeath)
-
getDateOfDeath
public @Nullable java.util.Date getDateOfDeath()
-
setDateOfDeath
public void setDateOfDeath(@Nullable java.util.Date dateOfDeath)
-
getAge
public @Nullable Age getAge()
-
setAge
public void setAge(@Nullable Age age)
-
healthInsurance
public Patient healthInsurance(PatientHealthInsurance healthInsurance)
-
getHealthInsurance
public PatientHealthInsurance getHealthInsurance()
-
setHealthInsurance
public void setHealthInsurance(PatientHealthInsurance healthInsurance)
-
address
public Patient address(@Nullable PatientAddress address)
-
getAddress
public @Nullable PatientAddress getAddress()
-
setAddress
public void setAddress(@Nullable PatientAddress address)
-
vitalStatus
public Patient vitalStatus(@Nullable VitalStatusCoding vitalStatus)
-
getVitalStatus
public @Nullable VitalStatusCoding getVitalStatus()
-
setVitalStatus
public void setVitalStatus(@Nullable VitalStatusCoding vitalStatus)
-
birthDate
public Patient birthDate(java.util.Date birthDate)
-
getBirthDate
public java.util.Date getBirthDate()
-
setBirthDate
public void setBirthDate(java.util.Date birthDate)
-
id
public Patient id(java.lang.String id)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
gender
public Patient gender(GenderCoding gender)
-
getGender
public GenderCoding getGender()
-
setGender
public void setGender(GenderCoding gender)
-
getManagingSite
public @Nullable Coding getManagingSite()
-
setManagingSite
public void setManagingSite(@Nullable Coding managingSite)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static Patient.Builder builder()
-
toBuilder
public Patient.Builder toBuilder()
-
-