Package org.projecthusky.common.model
Class Person
java.lang.Object
org.projecthusky.common.model.Person
- Direct Known Subclasses:
Patient
Eine Person (z.B. Arzt, Datenerfasser, Angehörige, ...)
-
Constructor Summary
ConstructorDescriptionPerson()
Instantiates a new person.Person
(org.openehealth.ipf.commons.ihe.xds.core.metadata.Person person) Instantiaties a new personPerson
(POCDMT000040Person person) Instantiates a new person.Erstellt eine neue Person (Dieser Konstruktor wird oft gebraucht für Behandelnde). -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the name.Gets the complete name.Gets the CDA R2 person.org.openehealth.ipf.commons.ihe.xds.core.metadata.Person
getName()
Gets the (first) name.getNames()
Gets the names.void
setIpfPerson
(org.openehealth.ipf.commons.ihe.xds.core.metadata.Person ipfPerson)
-
Constructor Details
-
Person
public Person()Instantiates a new person. -
Person
Erstellt eine neue Person (Dieser Konstruktor wird oft gebraucht für Behandelnde).- Parameters:
name
- name
-
Person
Instantiates a new person.- Parameters:
person
- person
-
Person
public Person(org.openehealth.ipf.commons.ihe.xds.core.metadata.Person person) Instantiaties a new person
-
-
Method Details
-
addName
Adds the name.- Parameters:
name
- name
-
getCompleteName
Gets the complete name.- Returns:
- the complete name
-
getHl7CdaPerson
Gets the CDA R2 person.- Returns:
- the CDA R2 person
-
getName
Gets the (first) name.- Returns:
- the name
-
getNames
Gets the names.- Returns:
- the names
-
getIpfPerson
public org.openehealth.ipf.commons.ihe.xds.core.metadata.Person getIpfPerson() -
setIpfPerson
public void setIpfPerson(org.openehealth.ipf.commons.ihe.xds.core.metadata.Person ipfPerson)
-