Interface PrescriberIntegrationModuleV4
-
- All Superinterfaces:
be.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,be.recipe.api.Prescription.PlainText>,be.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.PlainText>,be.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>
- All Known Subinterfaces:
PrescriberIntegrationModuleDevV4
- All Known Implementing Classes:
HospitalPrescriberIntegrationModuleDevV4Impl,HospitalPrescriberIntegrationModuleV4Impl,PrescriberIntegrationModuleDevV4Impl,PrescriberIntegrationModuleV4Impl,PrescriberIntegrationModuleV4Mock
public interface PrescriberIntegrationModuleV4 extends be.recipe.api.prescriber.ListPrescriptions.Command<be.recipe.api.prescriber.ListPrescriptions,be.recipe.api.prescriber.ListPrescriptions.Response.PlainText>, be.recipe.api.prescriber.PutVisionOtherPrescribers.Command<be.recipe.api.prescriber.PutVisionOtherPrescribers>, be.recipe.api.prescriber.GetPrescription.Command<be.recipe.api.prescriber.GetPrescription,be.recipe.api.Prescription.PlainText>The Interface PrescriberIntegrationModuleV4.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreatePrescription(boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType)StringcreatePrescription(boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visibility, be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers, String expirationDate)StringcreatePrescription(boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visibility, String expirationDate)Creates the prescription.List<CreatePrescriptionDTO>createPrescriptions(List<CreatePrescriptionDTO> createPrescriptionDTOs)GetPrescriptionStatusResultgetData(GetPrescriptionStatusParam data)Gets the prescription status.ListOpenRidsResultgetData(ListOpenRidsParam data)Gets the open prescription list.ListRidsHistoryResultgetData(ListRidsHistoryParam request)Lists the prescription history.ValidationPropertiesResultgetData(ValidationPropertiesParam data)Gets the validation properties.GetPrescriptionForPrescriberResultgetPrescription(String rid)List<ListFeedbackItem>listFeedback(boolean readFlag)voidprepareCreatePrescription(String patientId)PutVisionResultputData(PutVisionParam request)Put the vision.voidrevokePrescription(String rid, String reason)voidsendNotification(byte[] notificationText, String patientId, String executorId)voidsendNotification(byte[] notificationText, String patientId, String executorId, String hospitalId)voidupdateFeedbackFlag(String rid, boolean feedbackAllowed)
-
-
-
Method Detail
-
createPrescription
String createPrescription(boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visibility, String expirationDate)
Creates the prescription.- Parameters:
feedbackRequested- the feedback requestedpatientId- the patient idprescription- the prescriptionprescriptionType- the prescription typevisibility- the visibilityexpirationDate- the expiration date- Returns:
- the rid @ the integration module exception
-
createPrescription
String createPrescription(boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType, String visibility, be.recipe.api.prescriber.VisionOtherPrescribers visionOtherPrescribers, String expirationDate)
-
getData
GetPrescriptionStatusResult getData(GetPrescriptionStatusParam data)
Gets the prescription status.- Parameters:
data- theGetPrescriptionStatusParam- Returns:
- the
GetPrescriptionStatusResult@ the integration module exception
-
getData
ListRidsHistoryResult getData(ListRidsHistoryParam request)
Lists the prescription history.- Parameters:
request- theListPrescriptionHistoryParam- Returns:
- the
ListPrescriptionHistoryResult@ the integration module exception
-
putData
PutVisionResult putData(PutVisionParam request)
Put the vision.- Parameters:
request- thePutVisionParam- Returns:
- the
PutVisionResult@ the integration module exception
-
getData
ListOpenRidsResult getData(ListOpenRidsParam data)
Gets the open prescription list.- Parameters:
data- theListOpenRidsParam- Returns:
- the
ListOpenRidsResult@ the integration module exception
-
getData
ValidationPropertiesResult getData(ValidationPropertiesParam data)
Gets the validation properties.- Parameters:
data- theValidationPropertiesParam- Returns:
- the
ValidationPropertiesResult@ the integration module exception
-
createPrescription
String createPrescription(boolean feedbackRequested, String patientId, byte[] prescription, String prescriptionType)
- Parameters:
feedbackRequested- the feedbackRequestedpatientId- the patientIdprescription- the prescriptionprescriptionType- the prescriptionType- Returns:
- the prescription
-
prepareCreatePrescription
void prepareCreatePrescription(String patientId)
- Parameters:
patientId- the patient id
-
getPrescription
GetPrescriptionForPrescriberResult getPrescription(String rid)
- Parameters:
rid- the rid- Returns:
- the prescription
-
revokePrescription
void revokePrescription(String rid, String reason)
- Parameters:
rid- the ridreason- the reason
-
sendNotification
void sendNotification(byte[] notificationText, String patientId, String executorId, String hospitalId)- Parameters:
notificationText- the notificationTextpatientId- the patientIdexecutorId- the executorId
-
sendNotification
void sendNotification(byte[] notificationText, String patientId, String executorId)
-
updateFeedbackFlag
void updateFeedbackFlag(String rid, boolean feedbackAllowed)
- Parameters:
rid- the ridfeedbackAllowed- the feedbackAllowed
-
listFeedback
List<ListFeedbackItem> listFeedback(boolean readFlag)
- Parameters:
readFlag- the readFlag- Returns:
- the feedback items
-
createPrescriptions
List<CreatePrescriptionDTO> createPrescriptions(List<CreatePrescriptionDTO> createPrescriptionDTOs) throws be.ehealth.technicalconnector.exception.TechnicalConnectorException
- Parameters:
createPrescriptionDTOs- the create prescripion dto's- Returns:
- the create prescription dto's
- Throws:
be.ehealth.technicalconnector.exception.TechnicalConnectorException
-
-