Class AuthorCh

java.lang.Object
org.projecthusky.common.model.Author
org.projecthusky.common.ch.AuthorCh

public class AuthorCh extends Author
The Swis derivation of an Author (adds features for GLN).
  • Constructor Details

    • AuthorCh

      public AuthorCh()
      Instantiates a new instance.
    • AuthorCh

      public AuthorCh(Author aAuthor)
      Default constructor to instantiate the object.
      Parameters:
      aAuthor - the generic author
    • AuthorCh

      public AuthorCh(Name name)
      Instantiates a new instance.
      Parameters:
      name - the name
    • AuthorCh

      public AuthorCh(Name name, String gln)
      Instantiates a new instance.
      Parameters:
      name - Name
      gln - Global Location Number (GLN)
    • AuthorCh

      public AuthorCh(POCDMT000040Author authorMdht)
      Instantiates a new instance.
      Parameters:
      authorMdht - the MDHT Author Object
  • Method Details

    • getRoleFunctionEnum

      public AuthorRole getRoleFunctionEnum()
      Gets the author function code. This element specifies in which role or function the author is related to this document (e.g. Code "40001" for "Apotheker"). The code can also be used as author role, when a document is beeing sent (via XDS, XDM, XDR).
      Returns:
      code the function code
    • getSpecialityEnum

      public AuthorSpeciality getSpecialityEnum()
      Sets the author speciality code. This element specifies the speciality ("Fachrichtung", e.g. "Fachärztin/Facharzt für Allgemeine Innere Medizin" ) of the author. The code can also be used as author speciality, when a document is beeing sent (via XDS, XDM, XDR).
      Returns:
      code the speciality code
    • setRoleFunction

      public void setRoleFunction(AuthorRole code)
      Sets the author function code. This element specifies in which role or function the author is related to this document (e.g. Code "40001" for "Apotheker"). The code can also be used as author role, when a document is beeing sent (via XDS, XDM, XDR).
      Parameters:
      code - the function code
    • setSpeciality

      public void setSpeciality(AuthorSpeciality code)
      Sets the author speciality code. This element specifies the speciality ("Fachrichtung", e.g. Code "50001" for "Fachärztin/Facharzt für Allgemeine Innere Medizin") of the author. The code can also be used as author speciality, when a document is beeing sent (via XDS, XDM, XDR).
      Parameters:
      code - the speciality code