Package org.projecthusky.communication
Class FolderMetadata
java.lang.Object
org.projecthusky.communication.FolderMetadata
Class FolderMetadata. Provides metadata attributes as specified in [IHE ITI TF-3, Sep 9, 2016], Table 4.1.3.4-1:
Folder Metadata Attribute Definition
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor to instanciate the objectFolderMetadata
(org.openehealth.ipf.commons.ihe.xds.core.metadata.Folder ipfFolder) Default constructor to instanciate the object -
Method Summary
Modifier and TypeMethodDescriptionvoid
Method to add a code to codelistorg.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus
Gets the Availability Status of the DocumentGets a list of CodesGets comments for this submissionGets the EntryUUIDGets the last update time of the folder.Gets the ID of the patientgetTitle()
Gets the title of the submission setGets the uniqueid of the submission setvoid
setAvailabilityStatus
(org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus status) Sets the Availability Status of the Documentvoid
setCodeList
(List<Code> codeList) Sets a list of codesvoid
setComments
(String comments) Sets comments for this submissionvoid
setEntryUUID
(String entryUuid) Sets the entry uuid.void
setLastUpdateTime
(ZonedDateTime lastUpdateTime) void
Sets the ID of the patientvoid
Sets the title of the submission setvoid
setUniqueId
(String uniqueyId) Sets the unique id.
-
Constructor Details
-
FolderMetadata
public FolderMetadata()Default constructor to instanciate the object -
FolderMetadata
public FolderMetadata(org.openehealth.ipf.commons.ihe.xds.core.metadata.Folder ipfFolder) Default constructor to instanciate the object- Parameters:
ipfFolder
- IPF folder
-
-
Method Details
-
addCode
Method to add a code to codelist- Parameters:
aCode
- the code to be added
-
getAvailabilityStatus
public org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus getAvailabilityStatus()Gets the Availability Status of the Document- Returns:
- status the AvailabilityStatus
-
setAvailabilityStatus
public void setAvailabilityStatus(org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus status) Sets the Availability Status of the Document- Parameters:
status
- the AvailabilityStatus
-
getCodeList
Gets a list of Codes- Returns:
- a list of Codes
-
setCodeList
Sets a list of codes- Parameters:
codeList
- the list of codes to be set
-
getComments
Gets comments for this submission- Returns:
- comments the comments
-
setComments
Sets comments for this submission- Parameters:
comments
- the comments
-
getEntryUUID
Gets the EntryUUID- Returns:
- the EntryUUID
-
setEntryUUID
Sets the entry uuid.- Parameters:
entryUuid
- the uuid to be set
-
getLastUpdateTime
Gets the last update time of the folder.The DTM formatted string is converted to date
- Returns:
- the update time
-
setLastUpdateTime
- Parameters:
lastUpdateTime
-
-
getPatientId
Gets the ID of the patient- Returns:
- id the patientId
-
setPatientId
Sets the ID of the patient- Parameters:
id
- the patientId
-
getTitle
Gets the title of the submission set- Returns:
- the title
-
setTitle
Sets the title of the submission set- Parameters:
title
- the title
-
getUniqueId
Gets the uniqueid of the submission set- Returns:
- hte unique id
-
setUniqueId
Sets the unique id.- Parameters:
uniqueyId
- the unique id to be set
-