Class RecipePatientClient
- java.lang.Object
-
- be.business.connector.recipe.AbstractRecipeClient
-
- be.business.connector.recipe.patient.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringaddressKeyjava8.util.function.Supplier<CreateReservationVersion>legacyCreateReservationVersion-
Fields inherited from class be.business.connector.recipe.AbstractRecipeClient
address, captureTraceId, cipher, properties, responseKey, symmKey, systemKey, traceId
-
-
Constructor Summary
Constructors Constructor Description RecipePatientClient()RecipePatientClient(PropertyHandler properties)RecipePatientClient(be.recipe.api.crypto.Message.Cipher.Key.DB<be.recipe.api.Prescription.OnContent> keyRegistry, EhealthCipher cipher, java8.util.function.Supplier<String> traceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(be.recipe.api.patient.AddReservation request)voidaddLegacy(be.recipe.api.patient.AddReservation 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.patient.GetExecutorProfile.ResponsegetProfile(be.recipe.api.patient.GetExecutorProfile request)be.recipe.api.series.PartialResult<be.recipe.api.patient.ListPrescriptions.Response.Encrypted>list(be.recipe.api.patient.ListPrescriptions request)voidlock(be.recipe.api.patient.LockPrescription.Request from)voidunlock(be.recipe.api.patient.UnlockPrescription from)be.recipe.api.patient.CancelReservation.Responseupdate(be.recipe.api.patient.CancelReservation request)voidupdate(be.recipe.api.patient.CancelReservation.Legacy request)voidupdate(be.recipe.api.patient.PutVisionExecutors.Request request)voidupdate(be.recipe.api.patient.PutVisionOtherPrescribers request)voidupdate(be.recipe.api.patient.RevokePrescription request)be.recipe.api.patient.UpdateContactDetails.Responseupdate(be.recipe.api.patient.UpdateContactDetails request)-
Methods inherited from class be.business.connector.recipe.AbstractRecipeClient
content, decrypt, encrypt, initEncryption, metadata, programId, programId, raise, refresh, rejected, toLocalDate, toLocalDateTime, toLowerCase, toName, toText, withExceptionHandling
-
-
-
-
Field Detail
-
addressKey
public static final String addressKey
- See Also:
- Constant Field Values
-
legacyCreateReservationVersion
public java8.util.function.Supplier<CreateReservationVersion> legacyCreateReservationVersion
-
-
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:
addin interfacebe.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:
addLegacyin interfacebe.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:
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>
-
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>
-
update
public be.recipe.api.patient.CancelReservation.Response update(be.recipe.api.patient.CancelReservation request)
- Specified by:
updatein interfacebe.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:
updatein interfacebe.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:
updatein interfacebe.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:
getin interfacebe.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:
updatein interfacebe.recipe.api.patient.RevokePrescription.Command<be.recipe.api.patient.RevokePrescription>
-
lock
public void lock(be.recipe.api.patient.LockPrescription.Request from)
- Specified by:
lockin interfacebe.recipe.api.patient.LockPrescription<be.recipe.api.patient.LockPrescription.Request>- Specified by:
lockin interfacebe.recipe.api.patient.PrescriptionService.Simplified
-
unlock
public void unlock(be.recipe.api.patient.UnlockPrescription from)
- Specified by:
unlockin interfacebe.recipe.api.patient.PrescriptionService.Simplified
-
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.patient.GetPrescriptionStatus request)
- Specified by:
getin interfacebe.recipe.api.patient.GetPrescriptionStatus.Command<be.recipe.api.patient.GetPrescriptionStatus,be.recipe.api.GetPrescriptionStatusResponse>
-
-