Class CreatePrescriptionDTO


  • public class CreatePrescriptionDTO
    extends Object
    The Class CreatePrescriptionDTO.
    Author:
    Bruno Casneuf
    • Constructor Detail

      • CreatePrescriptionDTO

        public CreatePrescriptionDTO​(int sequenceNumber,
                                     boolean feedbackRequested,
                                     String patientId,
                                     byte[] prescription,
                                     String prescriptionType,
                                     String visi)
        Instantiates a new creates the prescription DTO.
        Parameters:
        feedbackRequested - the feedback requested
        patientId - the patient id
        prescription - the prescription
        prescriptionType - the prescription type
        visi - the visi
      • CreatePrescriptionDTO

        public CreatePrescriptionDTO​(int sequenceNumber,
                                     boolean feedbackRequested,
                                     String patientId,
                                     byte[] prescription,
                                     String prescriptionType,
                                     String visi,
                                     be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers)
    • Method Detail

      • isFeedbackRequested

        public boolean isFeedbackRequested()
        Checks if is feedback requested.
        Returns:
        the feedbackRequested
      • getPatientId

        public String getPatientId()
        Gets the patient id.
        Returns:
        the patientId
      • getPrescription

        public byte[] getPrescription()
        Gets the prescription.
        Returns:
        the prescription
      • getPrescriptionType

        public String getPrescriptionType()
        Gets the prescription type.
        Returns:
        the prescriptionType
      • getVisi

        public String getVisi()
        Gets the visi.
        Returns:
        the visi
      • getRid

        public String getRid()
        Returns:
        the rid
      • setRid

        public void setRid​(String rid)
        Parameters:
        rid - the rid to set
      • getException

        public Exception getException()
        Returns:
        the exception
      • setException

        public void setException​(Exception exception)
        Parameters:
        exception - the exception to set
      • setErrorOccured

        public void setErrorOccured​(boolean errorOccured)
        Parameters:
        errorOccured - errorOccurred
      • isErrorOccured

        public boolean isErrorOccured()
        Returns:
        the errorOccured
      • setSequenceNumber

        public void setSequenceNumber​(int sequenceNumber)
      • getSequenceNumber

        public int getSequenceNumber()
        Returns:
        the sequenceNumber
      • setPrescription

        public void setPrescription​(byte[] prescription)
        Parameters:
        prescription - the prescription
      • getVisionOtherPrescribers

        public be.recipe.api.prescriber.VisionOtherPrescribers getVisionOtherPrescribers()
      • setVisionOtherPrescribers

        public void setVisionOtherPrescribers​(be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers)