Interface PrescriberIntegrationModuleV4

  • All Superinterfaces:
    be.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,​be.recipe.api.Prescription.PlainText>, be.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,​be.recipe.api.prescriber.ListPrescriptions.Response.PlainText>, be.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>
    All Known Subinterfaces:
    PrescriberIntegrationModuleDevV4
    All Known Implementing Classes:
    HospitalPrescriberIntegrationModuleDevV4Impl, HospitalPrescriberIntegrationModuleV4Impl, PrescriberIntegrationModuleDevV4Impl, PrescriberIntegrationModuleV4Impl, PrescriberIntegrationModuleV4Mock

    public interface PrescriberIntegrationModuleV4
    extends be.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,​be.recipe.api.prescriber.ListPrescriptions.Response.PlainText>, be.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>, be.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,​be.recipe.api.Prescription.PlainText>
    The Interface PrescriberIntegrationModuleV4.
    • Method Detail

      • createPrescription

        String createPrescription​(boolean feedbackRequested,
                                  String patientId,
                                  byte[] prescription,
                                  String prescriptionType,
                                  String visibility,
                                  String expirationDate)
        Creates the prescription.
        Parameters:
        feedbackRequested - the feedback requested
        patientId - the patient id
        prescription - the prescription
        prescriptionType - the prescription type
        visibility - the visibility
        expirationDate - the expiration date
        Returns:
        the rid @ the integration module exception
      • createPrescription

        String createPrescription​(boolean feedbackRequested,
                                  String patientId,
                                  byte[] prescription,
                                  String prescriptionType,
                                  String visibility,
                                  be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers,
                                  String expirationDate)
      • createPrescription

        String createPrescription​(boolean feedbackRequested,
                                  String patientId,
                                  byte[] prescription,
                                  String prescriptionType)
        Parameters:
        feedbackRequested - the feedbackRequested
        patientId - the patientId
        prescription - the prescription
        prescriptionType - the prescriptionType
        Returns:
        the prescription
      • prepareCreatePrescription

        void prepareCreatePrescription​(String patientId)
        Parameters:
        patientId - the patient id
      • revokePrescription

        void revokePrescription​(String rid,
                                String reason)
        Parameters:
        rid - the rid
        reason - the reason
      • sendNotification

        void sendNotification​(byte[] notificationText,
                              String patientId,
                              String executorId,
                              String hospitalId)
        Parameters:
        notificationText - the notificationText
        patientId - the patientId
        executorId - the executorId
      • sendNotification

        void sendNotification​(byte[] notificationText,
                              String patientId,
                              String executorId)
      • updateFeedbackFlag

        void updateFeedbackFlag​(String rid,
                                boolean feedbackAllowed)
        Parameters:
        rid - the rid
        feedbackAllowed - the feedbackAllowed
      • listFeedback

        List<ListFeedbackItem> listFeedback​(boolean readFlag)
        Parameters:
        readFlag - the readFlag
        Returns:
        the feedback items
      • createPrescriptions

        List<CreatePrescriptionDTO> createPrescriptions​(List<CreatePrescriptionDTO> createPrescriptionDTOs)
                                                 throws be.ehealth.technicalconnector.exception.TechnicalConnectorException
        Parameters:
        createPrescriptionDTOs - the create prescripion dto's
        Returns:
        the create prescription dto's
        Throws:
        be.ehealth.technicalconnector.exception.TechnicalConnectorException