Package org.projecthusky.common.at
Class AuthorAt
java.lang.Object
org.projecthusky.common.model.Author
org.projecthusky.common.at.AuthorAt
The Austrian derivation of an Author.
-
Field Summary
Fields inherited from class org.projecthusky.common.model.Author
FUNCTION_CODE_AUTHOR_PATIENT, FUNCTION_CODE_AUTHORDEVICE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openehealth.ipf.commons.ihe.xds.core.metadata.Author
getIpfAuthor
(Author author) Gets the author function code.Sets the author speciality code.Gets the author time.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
-
AuthorAt
public AuthorAt()
-
-
Method Details
-
getAuthorInstitution
-
getIpfAuthor
-
getTimeAsString
Gets the author time. The author/time element represents the start time of the author’s participation in the creation of the clinical document- Returns:
- date the start time of the participation as string
-
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
-