|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.recipe.session.impl.RecipePrescriberServiceImpl
@Deprecated public class RecipePrescriberServiceImpl
This component takes care of all technical complexity to interact correctly with the Recip-e services. As part of this Business Connector
for General Practitioners, the prescriber related services of the Recip-e solution can be integrated easily in end-user software
applications.
The Recip-e solution is making extensive use of eHealth-platform related base services and standards to guarantee a secure transfer of
personal medical related information. This includes: end-to-end encryption for addressed messages (known recipient), end-to-end
encryption for non-addressed messages (unknown recipient), Secure Token Service, Key Depot and Key Generation and Storage Service.
Implementation of RecipePrescriberService
Constructor Summary | |
---|---|
RecipePrescriberServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator)
Deprecated. |
|
RecipePrescriberServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator,
Crypto systemCrypto,
Crypto personalCrypto)
Deprecated. Use it without crypto |
Method Summary | |
---|---|
String |
createPrescription(boolean feedbackRequested,
long patientId,
byte[] prescription,
String prescriptionType)
Deprecated. Creates the prescription. |
GetPrescriptionForPrescriberResult |
getPrescription(String rid)
Deprecated. Gets the prescription. |
List<ListFeedbackItem> |
listFeedback(boolean readFlag)
Deprecated. List feedback. |
List<String> |
listOpenPrescription()
Deprecated. List open prescription. |
void |
prepareCreatePrescription(long patientId,
String prescriptionType)
Deprecated. Prepare create prescription. |
void |
revokePrescription(String rid,
String reason)
Deprecated. Revoke prescription. |
void |
sendNotification(byte[] notificationText,
long patientId,
long executorId)
Deprecated. Send notification. |
void |
updateFeedbackFlag(String rid,
boolean feedbackAllowed)
Deprecated. Update feedback flag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public RecipePrescriberServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator, Crypto systemCrypto, Crypto personalCrypto) throws RecipeBusinessConnectorException
sessionValidator
- the session validatorreplyValidator
- the reply validator
RecipeBusinessConnectorException
public RecipePrescriberServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws RecipeBusinessConnectorException
RecipeBusinessConnectorException
Method Detail |
---|
public void prepareCreatePrescription(long patientId, String prescriptionType) throws TechnicalConnectorException, SessionManagementException, RecipeBusinessConnectorException
prepareCreatePrescription
in interface RecipePrescriberService
patientId
- the patient idprescriptionType
- the prescription type
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
public String createPrescription(boolean feedbackRequested, long patientId, byte[] prescription, String prescriptionType) throws RecipeBusinessConnectorException, TechnicalConnectorException
createPrescription
in interface RecipePrescriberService
feedbackRequested
- the feedback requestedpatientId
- the patient idprescription
- the prescriptionprescriptionType
- the prescription type
TechnicalConnectorException
- the technical connector exception
RecipeBusinessConnectorException
public void sendNotification(byte[] notificationText, long patientId, long executorId) throws RecipeBusinessConnectorException, TechnicalConnectorException
sendNotification
in interface RecipePrescriberService
notificationText
- the notification textpatientId
- the patient idexecutorId
- the executor id
RecipeBusinessConnectorException
TechnicalConnectorException
SessionManagementException
public void revokePrescription(String rid, String reason) throws RecipeBusinessConnectorException, TechnicalConnectorException
revokePrescription
in interface RecipePrescriberService
rid
- the ridreason
- the reason
RecipeBusinessConnectorException
TechnicalConnectorException
SessionManagementException
public GetPrescriptionForPrescriberResult getPrescription(String rid) throws RecipeBusinessConnectorException, TechnicalConnectorException
getPrescription
in interface RecipePrescriberService
rid
- the rid
RecipeBusinessConnectorException
TechnicalConnectorException
SessionManagementException
public List<String> listOpenPrescription() throws TechnicalConnectorException
listOpenPrescription
in interface RecipePrescriberService
TechnicalConnectorException
SessionManagementException
public void updateFeedbackFlag(String rid, boolean feedbackAllowed) throws RecipeBusinessConnectorException, TechnicalConnectorException
updateFeedbackFlag
in interface RecipePrescriberService
rid
- the ridfeedbackAllowed
- the feedback allowed
RecipeBusinessConnectorException
TechnicalConnectorException
SessionManagementException
public List<ListFeedbackItem> listFeedback(boolean readFlag) throws RecipeBusinessConnectorException, TechnicalConnectorException
listFeedback
in interface RecipePrescriberService
readFlag
- the read flag
RecipeBusinessConnectorException
TechnicalConnectorException
SessionManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |