Class Performer

java.lang.Object
org.projecthusky.common.model.Performer
Direct Known Subclasses:
PerformerAt

public class Performer extends Object
A Person or Organization performing an action
  • Constructor Details

    • Performer

      public Performer()
      Instantiates a new performer.
    • Performer

      public Performer(Author author)
      Instantiates a new performer.
      Parameters:
      author - the author to be used as performer.
    • Performer

      public Performer(Name name)
      Default constructor to instanciate the object
      Parameters:
      name - the name of the performer
    • Performer

      public Performer(Name name, String gln)
      Erstellt einen neuen Perfomer (Dieser Konstruktor wird oft gebraucht für Gesundheitsfachpersonen
      Parameters:
      name - Name
      gln - Global Location Number (GLN)
    • Performer

      public Performer(POCDMT000040Performer2 performerMdht)
      Erstellt ein husky-Performer Objekt mittels eines MDHT-Performer Objekts.
      Parameters:
      performerMdht - the MDHT Performer Object
    • Performer

      public Performer(Organization organization)
      Default constructor to instanciate the object
      Parameters:
      organization - the organization of the performer
    • Performer

      public Performer(Person person)
      Instantiates a new performer.
      Parameters:
      person - the person to be used as performer.
  • Method Details

    • addAddress

      public void addAddress(Address address)
      Weist dem Autor eine Postadresse zu.
      Parameters:
      address - Die Postadresse des Autors
    • addId

      public void addId(Identificator identificator)
      Weist dem Autoren eine ID zu.
      Parameters:
      identificator - Kombination von eigentlicher ID und der OID der verwaltenden Domäne
    • addName

      public void addName(Name name)
      Adds the name.
      Parameters:
      name - name
    • getHl7Cdar2Perfomer

      public POCDMT000040Performer2 getHl7Cdar2Perfomer()
      Copy CDA R2 performer.
      Returns:
      the CDA R2 performer
    • getAddress

      public Address getAddress()
      Gets the address.
      Returns:
      the address
    • getAddresses

      public List<Address> getAddresses()
      Gets the addresses.
      Returns:
      the addresses
    • getCompleteName

      public String getCompleteName()
      Gets the complete name.
      Returns:
      the complete name
    • getGln

      public String getGln()
      Gets the gln (identification of the performer)
      Returns:
      the gln
    • setGln

      public void setGln(String gln)
      Sets the gln.
      Parameters:
      gln - the new gln
    • getGlnAsIdentificator

      public Identificator getGlnAsIdentificator()
      Gets the gln as identificator.
      Returns:
      the gln as identificator
    • getIds

      public List<Identificator> getIds()
      Gets all ids of the performer
      Returns:
      the ids
    • getName

      public Name getName()
      Gets the (first) family name.
      Returns:
      the name
    • getNames

      public List<Name> getNames()
      Gets the names.
      Returns:
      the names
    • getOrganization

      public Organization getOrganization()
      Gets the organization (RepresentedOrganization)
      Returns:
      organization the organization
    • setOrganization

      public void setOrganization(Organization organization)
      Sets the organization (RepresentedOrganization)
      Parameters:
      organization - the new organization
    • getTelecoms

      public List<Telecom> getTelecoms()
      Gets the telecoms.
      Returns:
      Telecoms the telecoms
    • setTelecoms

      public void setTelecoms(List<TEL> telecoms)
      Sets the telecoms.
      Parameters:
      telecoms - the new telecoms
    • getTimeAsIVLTS

      public IVLTS getTimeAsIVLTS()
      Gets the performance time
      Returns:
      date the performance time
    • setTimeValue

      public void setTimeValue(Date eurDate)
      Sets the Time Value
      Parameters:
      eurDate - the date