Class GetPrescriptionForPatientResult
- java.lang.Object
-
- be.recipe.services.core.ResponseType
-
- be.business.connector.recipe.patient.domain.GetPrescriptionForPatientResult
-
public class GetPrescriptionForPatientResult extends ResponseType
The Class GetPrescriptionForPatientResult.
-
-
Field Summary
-
Fields inherited from class be.recipe.services.core.ResponseType
id, responseStatus, status
-
-
Constructor Summary
Constructors Constructor Description GetPrescriptionForPatientResult()Instantiates a new prescription response for executor.GetPrescriptionForPatientResult(byte[] prescription)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.StringgetPrescriberId()Gets the prescriber id.byte[]getPrescription()Gets the prescription.StringgetPrescriptionType()Gets the prescription type.StringgetRid()Gets the rid.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.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.-
Methods inherited from class be.recipe.services.core.ResponseType
getId, getResponseStatus, getStatus, setId, setResponseStatus, setStatus
-
-
-
-
Constructor Detail
-
GetPrescriptionForPatientResult
public GetPrescriptionForPatientResult()
Instantiates a new prescription response for executor.
-
GetPrescriptionForPatientResult
public GetPrescriptionForPatientResult(byte[] prescription)
Instantiates a new prescription response for executor.- Parameters:
prescription- the value of prescription
-
-
Method Detail
-
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
-
getRid
public String getRid()
Gets the rid.- Returns:
- the rid
-
setRid
public void setRid(String rid)
Sets the rid.- Parameters:
rid- the new rid
-
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
-
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
-
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
-
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
-
-