|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openhealthexchange.openpixpdq.data.Patient
public class Patient
This class represents a patient throughout the PIX/PDQ sever. It is used for passing patient information between PIX/PDQ clients actors (such as PIX Source, PIX Consumer and PDQ Consumer) and underneath eMPI system.
Constructor Summary | |
---|---|
Patient()
Default Constructor |
Method Summary | |
---|---|
void |
addAddress(com.misyshealthcare.connect.base.demographicdata.Address address)
Adds an Address to this patient. |
void |
addPatientId(PatientIdentifier id)
Adds a PatientIdentifier to this patient. |
void |
addPhoneNumber(com.misyshealthcare.connect.base.demographicdata.PhoneNumber phoneNumber)
Adds a PhoneNumber to this patient. |
void |
addVisit(com.misyshealthcare.connect.base.clinicaldata.Visit visit)
Adds a Visit to this patient. |
void |
clearAddresses()
Clears the Address list. |
void |
clearPatientId()
Removes all the PatientIdentifier from this patient. |
void |
clearPhoneNumbers()
Clears the PhoneNumber list. |
void |
clearVisits()
Clears the Visit list. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<com.misyshealthcare.connect.base.demographicdata.Address> |
getAddresses()
Gets a Address list. |
com.misyshealthcare.connect.base.SharedEnums.SexType |
getAdministrativeSex()
Gets administrativeSex. |
java.util.Calendar |
getBirthDateTime()
Gets birthDateTime. |
int |
getBirthOrder()
Gets birthOrder. |
java.lang.String |
getBirthPlace()
Gets birthPlace. |
java.lang.String |
getCitizenship()
Gets citizenship. |
java.util.Calendar |
getDeathDate()
Gets deathDate. |
DriversLicense |
getDriversLicense()
Gets driversLicense. |
java.lang.String |
getEthnicGroup()
Gets ethnicGroup. |
java.lang.String |
getMaritalStatus()
Gets maritalStatus. |
PersonIdentifier |
getMonthersId()
Gets monthersId. |
PersonName |
getMonthersMaidenName()
Gets monthersMaidenName. |
PatientIdentifier |
getPatientAccountNumber()
Gets patientAccountNumber. |
PersonName |
getPatientAlias()
Gets patientAlias. |
java.util.List<PatientIdentifier> |
getPatientIds()
Gets a list of PatientIdentifier . |
PersonName |
getPatientName()
Gets patientName. |
com.misyshealthcare.connect.base.demographicdata.PhoneNumber |
getPhoneNumber(com.misyshealthcare.connect.base.SharedEnums.PhoneType type)
Get a particular phone number from the list for this patient. |
java.util.List<com.misyshealthcare.connect.base.demographicdata.PhoneNumber> |
getPhoneNumbers()
Gets a list of PhoneNumber s of this patient. |
java.lang.String |
getPrimaryLanguage()
Gets primaryLanguage. |
java.lang.String |
getRace()
Gets race. |
java.lang.String |
getReligion()
Gets religion. |
java.lang.String |
getSsn()
Gets ssn. |
java.util.List<com.misyshealthcare.connect.base.clinicaldata.Visit> |
getVisits()
Gets a Visit list. |
int |
hashCode()
|
boolean |
isDeathIndicator()
Gets deathIndicator. |
boolean |
removeAddress(com.misyshealthcare.connect.base.demographicdata.Address address)
Removes an Address . |
void |
removePatientId(PatientIdentifier id)
Removes a PatientIdentifier from this patient. |
boolean |
removePhoneNumber(com.misyshealthcare.connect.base.demographicdata.PhoneNumber phoneNumber)
Removes a PhoneNumber . |
boolean |
removeVisit(com.misyshealthcare.connect.base.clinicaldata.Visit visit)
Removes a Visit . |
void |
setAddresses(java.util.List<com.misyshealthcare.connect.base.demographicdata.Address> addresses)
|
void |
setAdministrativeSex(com.misyshealthcare.connect.base.SharedEnums.SexType administrativeSex)
Sets administrativeSex. |
void |
setBirthDateTime(java.util.Calendar birthDateTime)
Sets birthDateTime. |
void |
setBirthOrder(int birthOrder)
Sets birthOrder. |
void |
setBirthPlace(java.lang.String birthPlace)
Sets birthPlace. |
void |
setCitizenship(java.lang.String citizenship)
Sets citizenship. |
void |
setDeathDate(java.util.Calendar deathDate)
Sets deathDate. |
void |
setDeathIndicator(boolean deathIndicator)
Sets deathIndicator. |
void |
setDriversLicense(DriversLicense driversLicense)
Sets driversLicense. |
void |
setEthnicGroup(java.lang.String ethnicGroup)
Sets ethnicGroup. |
void |
setMaritalStatus(java.lang.String maritalStatus)
Sets maritalStatus. |
void |
setMonthersId(PersonIdentifier monthersId)
Sets monthersId. |
void |
setMonthersMaidenName(PersonName monthersMaidenName)
Sets monthersMaidenName. |
void |
setPatientAccountNumber(PatientIdentifier patientAccountNumber)
Sets patientAccountNumber. |
void |
setPatientAlias(PersonName patientAlias)
Sets patientAlias. |
void |
setPatientIds(java.util.List<PatientIdentifier> patientIds)
|
void |
setPatientName(PersonName name)
Sets patientName. |
void |
setPhoneNumbers(java.util.List<com.misyshealthcare.connect.base.demographicdata.PhoneNumber> phoneNumbers)
|
void |
setPrimaryLanguage(java.lang.String primaryLanguage)
Sets primaryLanguage. |
void |
setRace(java.lang.String race)
Sets race. |
void |
setReligion(java.lang.String religion)
Sets religion. |
void |
setSsn(java.lang.String ssn)
Sets ssn. |
void |
setVisits(java.util.List<com.misyshealthcare.connect.base.clinicaldata.Visit> visits)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Patient()
Method Detail |
---|
public java.util.List<PatientIdentifier> getPatientIds()
PatientIdentifier
.
PatientIdentifier
listpublic void addPatientId(PatientIdentifier id)
PatientIdentifier
to this patient.
id
- the PatientIdentifier
to addpublic void removePatientId(PatientIdentifier id)
PatientIdentifier
from this patient.
id
- the PatientIdentifier
to be removedpublic void clearPatientId()
PatientIdentifier
from this patient.
public PersonName getPatientName()
public void setPatientName(PersonName name)
patientName
- the patientName to setpublic PersonName getMonthersMaidenName()
public void setMonthersMaidenName(PersonName monthersMaidenName)
monthersMaidenName
- the monthersMaidenName to setpublic java.util.Calendar getBirthDateTime()
public void setBirthDateTime(java.util.Calendar birthDateTime)
birthDateTime
- the birthDateTime to setpublic com.misyshealthcare.connect.base.SharedEnums.SexType getAdministrativeSex()
public void setAdministrativeSex(com.misyshealthcare.connect.base.SharedEnums.SexType administrativeSex)
administrativeSex
- the administrativeSex to setpublic PersonName getPatientAlias()
public void setPatientAlias(PersonName patientAlias)
patientAlias
- the patientAlias to setpublic java.lang.String getRace()
public void setRace(java.lang.String race)
race
- the race to setpublic java.lang.String getPrimaryLanguage()
public void setPrimaryLanguage(java.lang.String primaryLanguage)
primaryLanguage
- the primaryLanguage to setpublic java.lang.String getMaritalStatus()
public void setMaritalStatus(java.lang.String maritalStatus)
maritalStatus
- the maritalStatus to setpublic java.lang.String getReligion()
public void setReligion(java.lang.String religion)
religion
- the religion to setpublic PatientIdentifier getPatientAccountNumber()
public void setPatientAccountNumber(PatientIdentifier patientAccountNumber)
patientAccountNumber
- the patientAccountNumber to setpublic java.lang.String getSsn()
public void setSsn(java.lang.String ssn)
ssn
- the ssn to setpublic DriversLicense getDriversLicense()
public void setDriversLicense(DriversLicense driversLicense)
driversLicense
- the driversLicense to setpublic PersonIdentifier getMonthersId()
public void setMonthersId(PersonIdentifier monthersId)
monthersId
- the monthersId to setpublic java.lang.String getEthnicGroup()
public void setEthnicGroup(java.lang.String ethnicGroup)
ethnicGroup
- the ethnicGroup to setpublic java.lang.String getBirthPlace()
public void setBirthPlace(java.lang.String birthPlace)
birthPlace
- the birthPlace to setpublic int getBirthOrder()
public void setBirthOrder(int birthOrder)
birthOrder
- the birthOrder to setpublic java.lang.String getCitizenship()
public void setCitizenship(java.lang.String citizenship)
citizenship
- the citizenship to setpublic java.util.Calendar getDeathDate()
public void setDeathDate(java.util.Calendar deathDate)
deathDate
- the deathDate to setpublic boolean isDeathIndicator()
public void setDeathIndicator(boolean deathIndicator)
deathIndicator
- the deathIndicator to setpublic java.util.List<com.misyshealthcare.connect.base.demographicdata.PhoneNumber> getPhoneNumbers()
PhoneNumber
s of this patient.
public void addPhoneNumber(com.misyshealthcare.connect.base.demographicdata.PhoneNumber phoneNumber)
PhoneNumber
to this patient.
phoneNumber
- the phoneNumber to addpublic boolean removePhoneNumber(com.misyshealthcare.connect.base.demographicdata.PhoneNumber phoneNumber)
PhoneNumber
.
phoneNumber
- the PhoneNumber
to be removed
public void clearPhoneNumbers()
PhoneNumber
list.
public com.misyshealthcare.connect.base.demographicdata.PhoneNumber getPhoneNumber(com.misyshealthcare.connect.base.SharedEnums.PhoneType type)
type
- The type of phone number to get
public java.util.List<com.misyshealthcare.connect.base.demographicdata.Address> getAddresses()
Address
list.
public void addAddress(com.misyshealthcare.connect.base.demographicdata.Address address)
Address
to this patient.
address
- the address to addpublic boolean removeAddress(com.misyshealthcare.connect.base.demographicdata.Address address)
Address
.
address
- the Address
to be removed
public void clearAddresses()
Address
list.
public java.util.List<com.misyshealthcare.connect.base.clinicaldata.Visit> getVisits()
Visit
list.
public void addVisit(com.misyshealthcare.connect.base.clinicaldata.Visit visit)
Visit
to this patient.
visit
- the Visit
to addpublic boolean removeVisit(com.misyshealthcare.connect.base.clinicaldata.Visit visit)
Visit
.
visit
- the Visit
to be removed
public void clearVisits()
Visit
list.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setPatientIds(java.util.List<PatientIdentifier> patientIds)
public void setPhoneNumbers(java.util.List<com.misyshealthcare.connect.base.demographicdata.PhoneNumber> phoneNumbers)
public void setAddresses(java.util.List<com.misyshealthcare.connect.base.demographicdata.Address> addresses)
public void setVisits(java.util.List<com.misyshealthcare.connect.base.clinicaldata.Visit> visits)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |