Class RecipePatientClient

  • All Implemented Interfaces:
    be.recipe.api.patient.AddReservation.Command<be.recipe.api.patient.AddReservation,​be.recipe.api.patient.AddReservation>, be.recipe.api.patient.CancelReservation.Command<be.recipe.api.patient.CancelReservation,​be.recipe.api.patient.CancelReservation.Legacy>, be.recipe.api.patient.GetExecutorProfile.Command<be.recipe.api.patient.GetExecutorProfile,​be.recipe.api.patient.GetExecutorProfile.Response>, be.recipe.api.patient.GetPrescription.Command<be.recipe.api.patient.GetPrescription,​be.recipe.api.Prescription.Encrypted>, be.recipe.api.patient.GetPrescriptionStatus.Command<be.recipe.api.patient.GetPrescriptionStatus,​be.recipe.api.GetPrescriptionStatusResponse>, be.recipe.api.patient.ListPrescriptions.Command<be.recipe.api.patient.ListPrescriptions,​be.recipe.api.patient.ListPrescriptions.Response.Encrypted>, be.recipe.api.patient.LockPrescription<be.recipe.api.patient.LockPrescription.Request>, be.recipe.api.patient.PrescriptionService<be.recipe.api.Prescription.Encrypted,​be.recipe.api.patient.ListPrescriptions,​be.recipe.api.patient.ListPrescriptions.Response.Encrypted,​be.recipe.api.patient.PutVisionExecutors.Request,​be.recipe.api.patient.GetExecutorProfile,​be.recipe.api.patient.GetExecutorProfile.Response,​be.recipe.api.patient.GetPrescription,​be.recipe.api.patient.GetPrescriptionStatus,​be.recipe.api.GetPrescriptionStatusResponse,​be.recipe.api.patient.RevokePrescription,​be.recipe.api.patient.PutVisionOtherPrescribers>, be.recipe.api.patient.PrescriptionService.Simplified, be.recipe.api.patient.PutVisionExecutors<be.recipe.api.patient.PutVisionExecutors.Request>, be.recipe.api.patient.PutVisionOtherPrescribers.Command<be.recipe.api.patient.PutVisionOtherPrescribers>, be.recipe.api.patient.RevokePrescription.Command<be.recipe.api.patient.RevokePrescription>, be.recipe.api.patient.UpdateContactDetails.Command<be.recipe.api.patient.UpdateContactDetails>, be.recipe.api.reservation.patient.ReservationService<be.recipe.api.patient.AddReservation,​be.recipe.api.patient.AddReservation,​be.recipe.api.patient.CancelReservation,​be.recipe.api.patient.CancelReservation.Legacy,​be.recipe.api.patient.UpdateContactDetails>, be.recipe.api.reservation.patient.ReservationService.Simplified

    public class RecipePatientClient
    extends AbstractRecipeClient
    implements be.recipe.api.reservation.patient.ReservationService.Simplified, be.recipe.api.patient.PrescriptionService.Simplified
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface be.recipe.api.patient.LockPrescription

        be.recipe.api.patient.LockPrescription.Request
      • Nested classes/interfaces inherited from interface be.recipe.api.patient.PrescriptionService

        be.recipe.api.patient.PrescriptionService.Ciphering<ListPrescriptions extends be.recipe.api.patient.ListPrescriptions,​PutVisionExecutorsRequest extends be.recipe.api.patient.PutVisionExecutors.Request,​GetExecutorProfile extends be.recipe.api.patient.GetExecutorProfile,​GetExecutorProfileResponse extends be.recipe.api.patient.GetExecutorProfile.Response,​GetPrescription extends be.recipe.api.patient.GetPrescription>, be.recipe.api.patient.PrescriptionService.Simplified
      • Nested classes/interfaces inherited from interface be.recipe.api.patient.PutVisionExecutors

        be.recipe.api.patient.PutVisionExecutors.Request
      • Nested classes/interfaces inherited from interface be.recipe.api.reservation.patient.ReservationService

        be.recipe.api.reservation.patient.ReservationService.Simplified
    • Constructor Detail

      • RecipePatientClient

        public RecipePatientClient()
      • RecipePatientClient

        public RecipePatientClient​(be.recipe.api.crypto.Message.Cipher.Key.DB<be.recipe.api.Prescription.OnContent> keyRegistry,
                                   EhealthCipher cipher,
                                   java8.util.function.Supplier<String> traceId)
      • RecipePatientClient

        public RecipePatientClient​(PropertyHandler properties)
    • Method Detail

      • add

        public void add​(be.recipe.api.patient.AddReservation request)
        Specified by:
        add in interface be.recipe.api.patient.AddReservation.Command<be.recipe.api.patient.AddReservation,​be.recipe.api.patient.AddReservation>
      • addLegacy

        public void addLegacy​(be.recipe.api.patient.AddReservation request)
        Specified by:
        addLegacy in interface be.recipe.api.patient.AddReservation.Command<be.recipe.api.patient.AddReservation,​be.recipe.api.patient.AddReservation>
      • list

        public be.recipe.api.series.PartialResult<be.recipe.api.patient.ListPrescriptions.Response.Encrypted> list​(be.recipe.api.patient.ListPrescriptions request)
        Specified by:
        list in interface be.recipe.api.patient.ListPrescriptions.Command<be.recipe.api.patient.ListPrescriptions,​be.recipe.api.patient.ListPrescriptions.Response.Encrypted>
      • update

        public void update​(be.recipe.api.patient.PutVisionExecutors.Request request)
        Specified by:
        update in interface be.recipe.api.patient.PutVisionExecutors<be.recipe.api.patient.PutVisionExecutors.Request>
      • getProfile

        public be.recipe.api.patient.GetExecutorProfile.Response getProfile​(be.recipe.api.patient.GetExecutorProfile request)
        Specified by:
        getProfile in interface be.recipe.api.patient.GetExecutorProfile.Command<be.recipe.api.patient.GetExecutorProfile,​be.recipe.api.patient.GetExecutorProfile.Response>
      • update

        public be.recipe.api.patient.CancelReservation.Response update​(be.recipe.api.patient.CancelReservation request)
        Specified by:
        update in interface be.recipe.api.patient.CancelReservation.Command<be.recipe.api.patient.CancelReservation,​be.recipe.api.patient.CancelReservation.Legacy>
      • update

        public void update​(be.recipe.api.patient.CancelReservation.Legacy request)
        Specified by:
        update in interface be.recipe.api.patient.CancelReservation.Command<be.recipe.api.patient.CancelReservation,​be.recipe.api.patient.CancelReservation.Legacy>
      • update

        public be.recipe.api.patient.UpdateContactDetails.Response update​(be.recipe.api.patient.UpdateContactDetails request)
        Specified by:
        update in interface be.recipe.api.patient.UpdateContactDetails.Command<be.recipe.api.patient.UpdateContactDetails>
      • get

        public be.recipe.api.Prescription.Encrypted get​(be.recipe.api.patient.GetPrescription request)
        Specified by:
        get in interface be.recipe.api.patient.GetPrescription.Command<be.recipe.api.patient.GetPrescription,​be.recipe.api.Prescription.Encrypted>
      • update

        public void update​(be.recipe.api.patient.RevokePrescription request)
        Specified by:
        update in interface be.recipe.api.patient.RevokePrescription.Command<be.recipe.api.patient.RevokePrescription>
      • lock

        public void lock​(be.recipe.api.patient.LockPrescription.Request from)
        Specified by:
        lock in interface be.recipe.api.patient.LockPrescription<be.recipe.api.patient.LockPrescription.Request>
        Specified by:
        lock in interface be.recipe.api.patient.PrescriptionService.Simplified
      • unlock

        public void unlock​(be.recipe.api.patient.UnlockPrescription from)
        Specified by:
        unlock in interface be.recipe.api.patient.PrescriptionService.Simplified
      • update

        public void update​(be.recipe.api.patient.PutVisionOtherPrescribers request)
        Specified by:
        update in interface be.recipe.api.patient.PutVisionOtherPrescribers.Command<be.recipe.api.patient.PutVisionOtherPrescribers>
      • get

        public be.recipe.api.GetPrescriptionStatusResponse get​(be.recipe.api.patient.GetPrescriptionStatus request)
        Specified by:
        get in interface be.recipe.api.patient.GetPrescriptionStatus.Command<be.recipe.api.patient.GetPrescriptionStatus,​be.recipe.api.GetPrescriptionStatusResponse>