|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface RecipePrescriberService
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.
Default impl : RecipePrescriberServiceImpl
Method Summary | |
---|---|
String |
createPrescription(boolean feedbackRequest,
long patientId,
byte[] prescription,
String prescriptionType)
Deprecated. The create prescription operation stores a new prescription (provided as input parameter in Kmehr format) in the Recip-e central system. |
GetPrescriptionForPrescriberResult |
getPrescription(String rid)
Deprecated. The �Get Prescription� operation allows a General Practitioner to retrieve a previously submitted prescription (by him/her). |
List<ListFeedbackItem> |
listFeedback(boolean readFlag)
Deprecated. The Recip-e solution allows executors to provide feedback related to a delivered prescription. |
List<String> |
listOpenPrescription()
Deprecated. This operation provides a list of all prescriptions created by the General Practitioner that haven't been delivered yet to an executor. |
void |
prepareCreatePrescription(long patientId,
String prescriptionType)
Deprecated. The Create Prescription operation involves the execution of several external eHealth-platform services before a prescription can be send. |
void |
revokePrescription(String rid,
String reason)
Deprecated. Whenever an erroneous or incorrect prescription has been submitted, it can be removed from the central Recip-e system via this 'Revoke Prescription' operation. |
void |
sendNotification(byte[] notificationTextXML,
long patientId,
long executorId)
Deprecated. This operation permits a General Practitioner to send a notification to a specific executor (example: pharmacist). |
void |
updateFeedbackFlag(String rid,
boolean feedbackAllowed)
Deprecated. The feedback flag of an already submitted prescription can be updated via this operation. |
Method Detail |
---|
String createPrescription(boolean feedbackRequest, long patientId, byte[] prescription, String prescriptionType) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException
feedbackRequest
- Flag indicating whether the prescriber wants to receive feedback from the executor.patientId
- SSIN of the patient.prescription
- The prescription content represented as a valid KMEHR XML message. If the prescriptionType is set to 'PP', it
should contain a valid pharmaceutical prescription.prescriptionType
- Type of prescription (PP, P0, P1, P2).
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
void prepareCreatePrescription(long patientId, String prescriptionType) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException
patientId
- SSIN of the patient.prescriptionType
- Type of prescription (PP, P0, P1, P2).
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
void sendNotification(byte[] notificationTextXML, long patientId, long executorId) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException
notificationTextXML
- XML message containing the notification. Must be compliant with the Recip-e notification XSD.patientId
- SSIN of the patient.executorId
- NIHII-PHARMACY, id of the recipient.
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
void revokePrescription(String rid, String reason) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException
rid
- RID of the prescription.reason
- Reason of revocation.
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
GetPrescriptionForPrescriberResult getPrescription(String rid) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException, DataFormatException
rid
- RID of the prescription
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
DataFormatException
List<ListFeedbackItem> listFeedback(boolean readFlag) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException, DataFormatException
readFlag
- Mark feedback as read
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
DataFormatException
List<String> listOpenPrescription() throws TechnicalConnectorException, SessionManagementException
TechnicalConnectorException
- When a technical exception occurs
SessionManagementException
void updateFeedbackFlag(String rid, boolean feedbackAllowed) throws SessionManagementException, RecipeBusinessConnectorException, TechnicalConnectorException
rid
- RID of the prescriptionfeedbackAllowed
- Flag indicating whether the prescriber wants feedback from the executor
SessionManagementException
RecipeBusinessConnectorException
TechnicalConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |