Package org.projecthusky.common.model
Class Performer
java.lang.Object
org.projecthusky.common.model.Performer
- Direct Known Subclasses:
PerformerAt
A Person or Organization performing an action
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new performer.Performer
(POCDMT000040Performer2 performerMdht) Erstellt ein husky-Performer Objekt mittels eines MDHT-Performer Objekts.Instantiates a new performer.Default constructor to instanciate the objectErstellt einen neuen Perfomer (Dieser Konstruktor wird oft gebraucht für GesundheitsfachpersonenPerformer
(Organization organization) Default constructor to instanciate the objectInstantiates a new performer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAddress
(Address address) Weist dem Autor eine Postadresse zu.void
addId
(Identificator identificator) Weist dem Autoren eine ID zu.void
Adds the name.Gets the address.Gets the addresses.Gets the complete name.getGln()
Gets the gln (identification of the performer)Gets the gln as identificator.Copy CDA R2 performer.getIds()
Gets all ids of the performergetName()
Gets the (first) family name.getNames()
Gets the names.Gets the organization (RepresentedOrganization)Gets the telecoms.Gets the performance timevoid
Sets the gln.void
setOrganization
(Organization organization) Sets the organization (RepresentedOrganization)void
setTelecoms
(List<TEL> telecoms) Sets the telecoms.void
setTimeValue
(Date eurDate) Sets the Time Value
-
Constructor Details
-
Performer
public Performer()Instantiates a new performer. -
Performer
Instantiates a new performer.- Parameters:
author
- the author to be used as performer.
-
Performer
Default constructor to instanciate the object- Parameters:
name
- the name of the performer
-
Performer
Erstellt einen neuen Perfomer (Dieser Konstruktor wird oft gebraucht für Gesundheitsfachpersonen- Parameters:
name
- Namegln
- Global Location Number (GLN)
-
Performer
Erstellt ein husky-Performer Objekt mittels eines MDHT-Performer Objekts.- Parameters:
performerMdht
- the MDHT Performer Object
-
Performer
Default constructor to instanciate the object- Parameters:
organization
- the organization of the performer
-
Performer
Instantiates a new performer.- Parameters:
person
- the person to be used as performer.
-
-
Method Details
-
addAddress
Weist dem Autor eine Postadresse zu.- Parameters:
address
- Die Postadresse des Autors
-
addId
Weist dem Autoren eine ID zu.- Parameters:
identificator
- Kombination von eigentlicher ID und der OID der verwaltenden Domäne
-
addName
Adds the name.- Parameters:
name
- name
-
getHl7Cdar2Perfomer
Copy CDA R2 performer.- Returns:
- the CDA R2 performer
-
getAddress
Gets the address.- Returns:
- the address
-
getAddresses
Gets the addresses.- Returns:
- the addresses
-
getCompleteName
Gets the complete name.- Returns:
- the complete name
-
getGln
Gets the gln (identification of the performer)- Returns:
- the gln
-
setGln
Sets the gln.- Parameters:
gln
- the new gln
-
getGlnAsIdentificator
Gets the gln as identificator.- Returns:
- the gln as identificator
-
getIds
Gets all ids of the performer- Returns:
- the ids
-
getName
Gets the (first) family name.- Returns:
- the name
-
getNames
Gets the names.- Returns:
- the names
-
getOrganization
Gets the organization (RepresentedOrganization)- Returns:
- organization the organization
-
setOrganization
Sets the organization (RepresentedOrganization)- Parameters:
organization
- the new organization
-
getTelecoms
Gets the telecoms.- Returns:
- Telecoms the telecoms
-
setTelecoms
Sets the telecoms.- Parameters:
telecoms
- the new telecoms
-
getTimeAsIVLTS
Gets the performance time- Returns:
- date the performance time
-
setTimeValue
Sets the Time Value- Parameters:
eurDate
- the date
-