Package be.business.connector.recipe
Class RoutingPrescriptionService
- java.lang.Object
-
- be.business.connector.recipe.RoutingPrescriptionService
-
- All Implemented Interfaces:
be.recipe.api.executor.ArchivePrescription.Command<be.recipe.api.executor.ArchivePrescription>,be.recipe.api.executor.GetPrescription.Command<be.recipe.api.executor.GetPrescription,be.recipe.api.Prescription.Encrypted>,be.recipe.api.executor.GetPrescriptionAndPutInProcess.Command<be.recipe.api.executor.GetPrescriptionAndPutInProcess,be.recipe.api.Prescription.Encrypted>,be.recipe.api.executor.GetPrescriptionStatus.Command<be.recipe.api.executor.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>,be.recipe.api.executor.GetProfile.Command<be.recipe.api.executor.GetProfile,be.recipe.api.executor.GetProfile.Response>,be.recipe.api.executor.ListPrescriptions.Command<be.recipe.api.executor.ListPrescriptions,be.recipe.api.executor.ListPrescriptions.Response.Encrypted>,be.recipe.api.executor.PrescriptionService<be.recipe.api.Prescription.Encrypted,be.recipe.api.executor.GetPrescription,be.recipe.api.executor.GetPrescriptionAndPutInProcess,be.recipe.api.executor.ListPrescriptions,be.recipe.api.executor.ListPrescriptions.Response.Encrypted,be.recipe.api.executor.UpdateProfile,be.recipe.api.executor.GetProfile,be.recipe.api.executor.GetProfile.Response,be.recipe.api.executor.ArchivePrescription,be.recipe.api.executor.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>,be.recipe.api.executor.UpdateProfile.Command<be.recipe.api.executor.UpdateProfile>,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.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.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.prescriber.CreatePrescription.Command<be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.Prescription.Encrypted>,be.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,be.recipe.api.Prescription.Encrypted>,be.recipe.api.prescriber.GetPrescriptionStatus.Command<be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>,be.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>,be.recipe.api.prescriber.PrescriptionService<be.recipe.api.Prescription.Encrypted,be.recipe.api.GetPrescriptionStatusResponse,be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted,be.recipe.api.prescriber.GetPrescription,be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.prescriber.PutVisionOtherPrescribers,be.recipe.api.prescriber.RevokePrescription>,be.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>,be.recipe.api.prescriber.RevokePrescription.Command<be.recipe.api.prescriber.RevokePrescription>,be.recipe.api.PrescriptionService<be.recipe.api.Prescription.Encrypted,be.recipe.api.GetPrescriptionStatusResponse,be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted,be.recipe.api.executor.ListPrescriptions,be.recipe.api.executor.ListPrescriptions.Response.Encrypted,be.recipe.api.patient.ListPrescriptions,be.recipe.api.patient.ListPrescriptions.Response.Encrypted,be.recipe.api.prescriber.GetPrescription,be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.executor.GetPrescriptionStatus,be.recipe.api.executor.GetPrescription,be.recipe.api.executor.GetPrescriptionAndPutInProcess,be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.patient.PutVisionExecutors.Request,be.recipe.api.prescriber.PutVisionOtherPrescribers,be.recipe.api.patient.GetExecutorProfile,be.recipe.api.patient.GetExecutorProfile.Response,be.recipe.api.executor.UpdateProfile,be.recipe.api.executor.GetProfile,be.recipe.api.executor.GetProfile.Response,be.recipe.api.patient.GetPrescription,be.recipe.api.patient.GetPrescriptionStatus,be.recipe.api.prescriber.RevokePrescription,be.recipe.api.patient.RevokePrescription,be.recipe.api.executor.ArchivePrescription,be.recipe.api.patient.PutVisionOtherPrescribers>,be.recipe.api.PrescriptionService.Simplified
public class RoutingPrescriptionService extends Object implements be.recipe.api.PrescriptionService.Simplified
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface be.recipe.api.PrescriptionService
be.recipe.api.PrescriptionService.Ciphering<ListPrescriptionsPrescriber extends be.recipe.api.prescriber.ListPrescriptions,ListPrescriptionsExecutor extends be.recipe.api.executor.ListPrescriptions,GetPrescriptionPrescriber extends be.recipe.api.prescriber.GetPrescription,GetPrescriptionStatusPrescriber extends be.recipe.api.prescriber.GetPrescriptionStatus,ListPrescriptionsPatient extends be.recipe.api.patient.ListPrescriptions,GetPrescriptionExecutor extends be.recipe.api.executor.GetPrescription,GetPrescriptionAndPutInProcessExecutor extends be.recipe.api.executor.GetPrescriptionAndPutInProcess,CreatePrescriptionPrescriber extends be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.PlainText.Specification>,PutVisionPatientRequest extends be.recipe.api.patient.PutVisionExecutors.Request,GetExecutorProfilePatient extends be.recipe.api.patient.GetExecutorProfile,GetExecutorProfilePatientResponse extends be.recipe.api.patient.GetExecutorProfile.Response,UpdateProfileExecutor extends be.recipe.api.executor.UpdateProfile,GetProfileExecutor extends be.recipe.api.executor.GetProfile,GetProfileExecutorResponse extends be.recipe.api.executor.GetProfile.Response,GetPrescriptionPatient extends be.recipe.api.patient.GetPrescription,ArchivePrescriptionExecutor extends be.recipe.api.executor.ArchivePrescription>, be.recipe.api.PrescriptionService.Simplified
-
-
Constructor Summary
Constructors Constructor Description RoutingPrescriptionService(RecipePrescriberClient prescriberClient, RecipeExecutorClient executorClient, RecipePatientClient patientClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description be.recipe.api.Prescription.Encryptedadd(be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification> request)be.recipe.api.Prescription.Encryptedget(be.recipe.api.executor.GetPrescription request)be.recipe.api.GetPrescriptionStatusResponseget(be.recipe.api.executor.GetPrescriptionStatus request)be.recipe.api.Prescription.Encryptedget(be.recipe.api.patient.GetPrescription request)be.recipe.api.GetPrescriptionStatusResponseget(be.recipe.api.patient.GetPrescriptionStatus request)be.recipe.api.Prescription.Encryptedget(be.recipe.api.prescriber.GetPrescription request)be.recipe.api.GetPrescriptionStatusResponseget(be.recipe.api.prescriber.GetPrescriptionStatus request)be.recipe.api.Prescription.EncryptedgetAndPutInProcess(be.recipe.api.executor.GetPrescriptionAndPutInProcess request)be.recipe.api.executor.GetProfile.ResponsegetProfile(be.recipe.api.executor.GetProfile request)be.recipe.api.patient.GetExecutorProfile.ResponsegetProfile(be.recipe.api.patient.GetExecutorProfile request)be.recipe.api.series.PartialResult<be.recipe.api.executor.ListPrescriptions.Response.Encrypted>list(be.recipe.api.executor.ListPrescriptions request)be.recipe.api.series.PartialResult<be.recipe.api.patient.ListPrescriptions.Response.Encrypted>list(be.recipe.api.patient.ListPrescriptions request)be.recipe.api.prescriber.ListPrescriptions.PartialResult<be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>list(be.recipe.api.prescriber.ListPrescriptions request)voidupdate(be.recipe.api.executor.ArchivePrescription request)voidupdate(be.recipe.api.patient.PutVisionExecutors.Request request)voidupdate(be.recipe.api.patient.PutVisionOtherPrescribers request)voidupdate(be.recipe.api.patient.RevokePrescription request)voidupdate(be.recipe.api.prescriber.PutVisionOtherPrescribers request)voidupdate(be.recipe.api.prescriber.RevokePrescription request)voidupdateProfile(be.recipe.api.executor.UpdateProfile request)
-
-
-
Constructor Detail
-
RoutingPrescriptionService
public RoutingPrescriptionService(RecipePrescriberClient prescriberClient, RecipeExecutorClient executorClient, RecipePatientClient patientClient)
-
-
Method Detail
-
add
public be.recipe.api.Prescription.Encrypted add(be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification> request)
- Specified by:
addin interfacebe.recipe.api.prescriber.CreatePrescription.Command<be.recipe.api.Prescription.Encrypted.Specification,be.recipe.api.prescriber.CreatePrescription<be.recipe.api.Prescription.Encrypted.Specification>,be.recipe.api.Prescription.Encrypted>
-
get
public be.recipe.api.Prescription.Encrypted get(be.recipe.api.prescriber.GetPrescription request)
- Specified by:
getin interfacebe.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,be.recipe.api.Prescription.Encrypted>
-
list
public be.recipe.api.prescriber.ListPrescriptions.PartialResult<be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted> list(be.recipe.api.prescriber.ListPrescriptions request)
- Specified by:
listin interfacebe.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.Encrypted>
-
list
public be.recipe.api.series.PartialResult<be.recipe.api.executor.ListPrescriptions.Response.Encrypted> list(be.recipe.api.executor.ListPrescriptions request)
- Specified by:
listin interfacebe.recipe.api.executor.ListPrescriptions.Command<be.recipe.api.executor.ListPrescriptions,be.recipe.api.executor.ListPrescriptions.Response.Encrypted>
-
get
public be.recipe.api.Prescription.Encrypted get(be.recipe.api.executor.GetPrescription request)
- Specified by:
getin interfacebe.recipe.api.executor.GetPrescription.Command<be.recipe.api.executor.GetPrescription,be.recipe.api.Prescription.Encrypted>
-
getAndPutInProcess
public be.recipe.api.Prescription.Encrypted getAndPutInProcess(be.recipe.api.executor.GetPrescriptionAndPutInProcess request)
- Specified by:
getAndPutInProcessin interfacebe.recipe.api.executor.GetPrescriptionAndPutInProcess.Command<be.recipe.api.executor.GetPrescriptionAndPutInProcess,be.recipe.api.Prescription.Encrypted>
-
list
public be.recipe.api.series.PartialResult<be.recipe.api.patient.ListPrescriptions.Response.Encrypted> list(be.recipe.api.patient.ListPrescriptions request)
- Specified by:
listin interfacebe.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:
updatein interfacebe.recipe.api.patient.PutVisionExecutors<be.recipe.api.patient.PutVisionExecutors.Request>
-
update
public void update(be.recipe.api.prescriber.PutVisionOtherPrescribers request)
- Specified by:
updatein interfacebe.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>
-
getProfile
public be.recipe.api.patient.GetExecutorProfile.Response getProfile(be.recipe.api.patient.GetExecutorProfile request)
- Specified by:
getProfilein interfacebe.recipe.api.patient.GetExecutorProfile.Command<be.recipe.api.patient.GetExecutorProfile,be.recipe.api.patient.GetExecutorProfile.Response>
-
updateProfile
public void updateProfile(be.recipe.api.executor.UpdateProfile request)
- Specified by:
updateProfilein interfacebe.recipe.api.executor.UpdateProfile.Command<be.recipe.api.executor.UpdateProfile>
-
getProfile
public be.recipe.api.executor.GetProfile.Response getProfile(be.recipe.api.executor.GetProfile request)
- Specified by:
getProfilein interfacebe.recipe.api.executor.GetProfile.Command<be.recipe.api.executor.GetProfile,be.recipe.api.executor.GetProfile.Response>
-
get
public be.recipe.api.Prescription.Encrypted get(be.recipe.api.patient.GetPrescription request)
- Specified by:
getin interfacebe.recipe.api.patient.GetPrescription.Command<be.recipe.api.patient.GetPrescription,be.recipe.api.Prescription.Encrypted>
-
update
public void update(be.recipe.api.prescriber.RevokePrescription request)
- Specified by:
updatein interfacebe.recipe.api.prescriber.RevokePrescription.Command<be.recipe.api.prescriber.RevokePrescription>
-
update
public void update(be.recipe.api.executor.ArchivePrescription request)
- Specified by:
updatein interfacebe.recipe.api.executor.ArchivePrescription.Command<be.recipe.api.executor.ArchivePrescription>
-
update
public void update(be.recipe.api.patient.RevokePrescription request)
- Specified by:
updatein interfacebe.recipe.api.patient.RevokePrescription.Command<be.recipe.api.patient.RevokePrescription>
-
update
public void update(be.recipe.api.patient.PutVisionOtherPrescribers request)
- Specified by:
updatein interfacebe.recipe.api.patient.PutVisionOtherPrescribers.Command<be.recipe.api.patient.PutVisionOtherPrescribers>
-
get
public be.recipe.api.GetPrescriptionStatusResponse get(be.recipe.api.prescriber.GetPrescriptionStatus request)
- Specified by:
getin interfacebe.recipe.api.prescriber.GetPrescriptionStatus.Command<be.recipe.api.prescriber.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>
-
get
public be.recipe.api.GetPrescriptionStatusResponse get(be.recipe.api.executor.GetPrescriptionStatus request)
- Specified by:
getin interfacebe.recipe.api.executor.GetPrescriptionStatus.Command<be.recipe.api.executor.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>
-
get
public be.recipe.api.GetPrescriptionStatusResponse get(be.recipe.api.patient.GetPrescriptionStatus request)
- Specified by:
getin interfacebe.recipe.api.patient.GetPrescriptionStatus.Command<be.recipe.api.patient.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>
-
-