Package be.recipe.services.patient
Class GetPrescriptionForPatientResultSealed
- java.lang.Object
-
- be.recipe.services.patient.GetPrescriptionForPatientResultSealed
-
public class GetPrescriptionForPatientResultSealed extends Object
The Class GetPrescriptionForPatientResultSealed.
-
-
Constructor Summary
Constructors Constructor Description GetPrescriptionForPatientResultSealed()Instantiates a new prescription response for executor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CalendargetCreationDate()Gets the creation date.StringgetEncryptionKeyId()Gets the encryption key id.StringgetPatientId()Gets the patient id.StringgetPrescriberId()Gets the prescriber id.byte[]getPrescription()Gets the prescription.StringgetPrescriptionType()Gets the prescription type.StringgetRid()Gets the rid.StringgetTimestampingId()Gets the timestamping id.booleanisFeedbackAllowed()Checks if is feedback allowed.voidsetCreationDate(Calendar creationDate)Sets the creation date.voidsetEncryptionKeyId(String encryptionKeyId)Sets the encryption key id.voidsetFeedbackAllowed(boolean feedbackAllowed)Sets the feedback allowed.voidsetFeedbackRequested(boolean feedbackAllowed)Deprecated.voidsetPatientId(String patientId)Sets the patient id.voidsetPrescriberId(String prescriberId)Sets the prescriber id.voidsetPrescription(byte[] prescription)Sets the prescription.voidsetPrescriptionType(String prescriptionType)Sets the prescription type.voidsetRid(String rid)Sets the rid.voidsetTimestampingId(String timestampingId)Sets the timestamping id.
-
-
-
Method Detail
-
getPrescriberId
public String getPrescriberId()
Gets the prescriber id.- Returns:
- the prescriber id
-
setPrescriberId
public void setPrescriberId(String prescriberId)
Sets the prescriber id.- Parameters:
prescriberId- the new prescriber id
-
getCreationDate
public Calendar getCreationDate()
Gets the creation date.- Returns:
- the creation date
-
setCreationDate
public void setCreationDate(Calendar creationDate)
Sets the creation date.- Parameters:
creationDate- the new creation date
-
getPrescriptionType
public String getPrescriptionType()
Gets the prescription type.- Returns:
- the prescription type
-
setPrescriptionType
public void setPrescriptionType(String prescriptionType)
Sets the prescription type.- Parameters:
prescriptionType- the new prescription type
-
setFeedbackAllowed
public void setFeedbackAllowed(boolean feedbackAllowed)
Sets the feedback allowed.- Parameters:
feedbackAllowed- the new feedback allowed
-
isFeedbackAllowed
public boolean isFeedbackAllowed()
Checks if is feedback allowed.- Returns:
- true, if is feedback allowed
-
setFeedbackRequested
@Deprecated public void setFeedbackRequested(boolean feedbackAllowed)
Deprecated.Sets the feedback requested.- Parameters:
feedbackAllowed- the new feedback requested
-
getRid
public String getRid()
Gets the rid.- Returns:
- the rid
-
setRid
public void setRid(String rid)
Sets the rid.- Parameters:
rid- the new rid
-
getPatientId
public String getPatientId()
Gets the patient id.- Returns:
- the patient id
-
setPatientId
public void setPatientId(String patientId)
Sets the patient id.- Parameters:
patientId- the new patient id
-
getPrescription
public byte[] getPrescription()
Gets the prescription.- Returns:
- the prescription
-
setPrescription
public void setPrescription(byte[] prescription)
Sets the prescription.- Parameters:
prescription- the new prescription
-
getEncryptionKeyId
public String getEncryptionKeyId()
Gets the encryption key id.- Returns:
- the encryption key id
-
setEncryptionKeyId
public void setEncryptionKeyId(String encryptionKeyId)
Sets the encryption key id.- Parameters:
encryptionKeyId- the new encryption key id
-
getTimestampingId
public String getTimestampingId()
Gets the timestamping id.- Returns:
- the timestamping id
-
setTimestampingId
public void setTimestampingId(String timestampingId)
Sets the timestamping id.- Parameters:
timestampingId- the new timestamping id
-
-