Class GetPrescriptionForPatientResult


  • public class GetPrescriptionForPatientResult
    extends ResponseType
    The Class GetPrescriptionForPatientResult.
    • 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