public class ShortPatientModel extends Object
Constructor and Description |
---|
ShortPatientModel() |
ShortPatientModel(Patient patient)
Constructor that creates a shortPatientModel object from a given patient object
|
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
getIdentifiers() |
Patient |
getPatient() |
PersonAddress |
getPersonAddress() |
List<PersonAttribute> |
getPersonAttributes() |
PersonName |
getPersonName() |
Map<String,Relationship> |
getRelationshipsMap() |
void |
setIdentifiers(List<PatientIdentifier> identifiers) |
void |
setPatient(Patient patient) |
void |
setPersonAddress(PersonAddress personAddress) |
void |
setPersonAttributes(List<PersonAttribute> personAttributes) |
void |
setPersonName(PersonName personName) |
void |
setRelationshipsMap(Map<String,Relationship> relationshipsMap) |
public ShortPatientModel()
public ShortPatientModel(Patient patient)
patient
- public List<PatientIdentifier> getIdentifiers()
public void setIdentifiers(List<PatientIdentifier> identifiers)
identifiers
- the identifiers to setpublic PersonName getPersonName()
public void setPersonName(PersonName personName)
personName
- the personName to setpublic PersonAddress getPersonAddress()
public void setPersonAddress(PersonAddress personAddress)
personAddress
- the personAddress to setpublic Map<String,Relationship> getRelationshipsMap()
public void setRelationshipsMap(Map<String,Relationship> relationshipsMap)
relationshipsMap
- the relationshipsMap to setpublic List<PersonAttribute> getPersonAttributes()
public void setPersonAttributes(List<PersonAttribute> personAttributes)
personAttributes
- the personAttributes to setpublic Patient getPatient()
public void setPatient(Patient patient)
patient
- the patient to setCopyright © 2018 OpenMRS LLC.. All Rights Reserved.