Package org.projecthusky.common.ch
Class AuthorCh
java.lang.Object
org.projecthusky.common.model.Author
org.projecthusky.common.ch.AuthorCh
The Swis derivation of an Author (adds features for GLN).
-
Field Summary
Fields inherited from class org.projecthusky.common.model.Author
FUNCTION_CODE_AUTHOR_PATIENT, FUNCTION_CODE_AUTHORDEVICE
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorCh()
Instantiates a new instance.AuthorCh
(POCDMT000040Author authorMdht) Instantiates a new instance.Default constructor to instantiate the object.Instantiates a new instance.Instantiates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the author function code.Sets the author speciality code.void
setRoleFunction
(AuthorRole code) Sets the author function code.void
Sets the author speciality code.Methods inherited from class org.projecthusky.common.model.Author
addAddress, addId, addName, getAddress, getAddresses, getAsAuthor, getAuthorMdht, getCompleteName, getFunctionCode, getGln, getGlnAsIdentificator, getIds, getMdhtTelecoms, getName, getNames, getOrganization, getPerson, getRoleFunction, getSpeciality, getTelecoms, getTimeAsDate, getTimeAsHl7Dtm, getTimeAsInstant, isAuthorPatient, setAsAuthor, setAssignedAuthoringDevice, setAuthor, setFunctionCode, setFunctionCodePatient, setGln, setOrganization, setOtherFunctionCode, setPerson, setRoleFunction, setSpeciality, setTelecoms, setTime
-
Constructor Details
-
AuthorCh
public AuthorCh()Instantiates a new instance. -
AuthorCh
Default constructor to instantiate the object.- Parameters:
aAuthor
- the generic author
-
AuthorCh
Instantiates a new instance.- Parameters:
name
- the name
-
AuthorCh
Instantiates a new instance.- Parameters:
name
- Namegln
- Global Location Number (GLN)
-
AuthorCh
Instantiates a new instance.- Parameters:
authorMdht
- the MDHT Author Object
-
-
Method Details
-
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
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
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
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
-