Class PatientIntegrationModuleV4Impl
- java.lang.Object
-
- be.business.connector.common.module.AbstractIntegrationModule
-
- be.business.connector.recipe.patient.AbstractPatientIntegrationModule
-
- be.business.connector.recipe.patient.PatientIntegrationModuleV4Impl
-
- All Implemented Interfaces:
PatientIntegrationModuleV4
public class PatientIntegrationModuleV4Impl extends AbstractPatientIntegrationModule implements PatientIntegrationModuleV4
The Class PatientIntegrationModuleV4Impl.- Author:
- Bruno Casneuf
-
-
Field Summary
-
Fields inherited from class be.business.connector.common.module.AbstractIntegrationModule
dataUnsealer, EHEALTH_SUCCESS_CODE_100, EHEALTH_SUCCESS_CODE_200, EHEALTH_SUCCESS_CODE_300, EHEALTH_SUCCESS_CODE_400, EHEALTH_SUCCESS_CODE_500
-
-
Constructor Summary
Constructors Constructor Description PatientIntegrationModuleV4Impl()
-
Method Summary
-
Methods inherited from class be.business.connector.recipe.patient.AbstractPatientIntegrationModule
checkStatus, checkStatus, createGetPrescriptionForPatientResult, createSecuredContentType, decryptListPatientPrescriptionsResult, getSealedData, getSealedData, getSealedData, getSealedData, getSealedGetPrescriptionForPatientParam, getSealedRevokePrescriptionParam, marshall, sealForRecipe, unsealPrescription
-
Methods inherited from class be.business.connector.common.module.AbstractIntegrationModule
buildDefaultPage, extractExpirationDateFromKmehr, extractReferenceSourceVersionFromKmehr, getArchivedFilePath, getArchivedPrescription, getCurrentXMLGregorianCalendar, getEncryptionUtils, getEtkHelper, getId, getJaxContextCentralizer, getKeyFromKgss, getKeyFromKgss, getOldDataSealer, getOldDataUnsealer, getPropertyHandler, getSymmKey, init, initEncryption, sealRequest, setDataUnsealer, setOldDataSealer, setOldDataUnsealer, unsealForUnknown, unsealNotif, unsealNotiffeed, unsealNotifOld, unsealPrescriptionForUnknown, unsealRequest, unsealWithSymKey, unsealWithSymKey
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface be.business.connector.recipe.patient.PatientIntegrationModuleV4
decryptListPatientPrescriptionsResult
-
-
-
-
Method Detail
-
createSecuredContentTypeV4
public SecuredContentType createSecuredContentTypeV4(byte[] content)
Creates the secured content type.- Parameters:
content- the content- Returns:
- the secured content type
-
revokePrescription
public void revokePrescription(String rid, String reason)
- Specified by:
revokePrescriptionin interfacePatientIntegrationModuleV4- Parameters:
rid- the ridreason- the reason
-
getPrescription
public GetPrescriptionForPatientResult getPrescription(String rid)
- Specified by:
getPrescriptionin interfacePatientIntegrationModuleV4- Parameters:
rid- the rid- Returns:
- GetPrescriptionForPatientResult
-
getData
public GetVisionResult getData(GetVisionParam data)
Gets the vision.- Specified by:
getDatain interfacePatientIntegrationModuleV4- Parameters:
data- theGetVisionParam- Returns:
- the
GetVisionResult@ the integration module exception
-
putData
public PutVisionResult putData(PutVisionParam putVisionParam)
Put the vision .- Specified by:
putDatain interfacePatientIntegrationModuleV4- Parameters:
putVisionParam- thePutVisionParam- Returns:
- the
PutVisionResult@ the integration module exception
-
putData
public CreateReservationResult putData(CreateReservationParam param)
Put the reservation data.- Specified by:
putDatain interfacePatientIntegrationModuleV4- Parameters:
param- theCreateReservationParam- Returns:
- the
CreateReservationResult@ the integration module exception
-
listOpenPrescriptions
public ListPatientPrescriptionsResult listOpenPrescriptions(ListPatientPrescriptionsParam param)
- Specified by:
listOpenPrescriptionsin interfacePatientIntegrationModuleV4- Returns:
- ListPatientPrescriptionsResult
-
getData
public GetPrescriptionStatusResult getData(GetPrescriptionStatusParam data)
Gets the prescription status.- Specified by:
getDatain interfacePatientIntegrationModuleV4- Parameters:
data- theGetPrescriptionStatusParam- Returns:
- the
GetPrescriptionStatusResult@ the integration module exception
-
getData
public ListOpenRidsResult getData(ListOpenRidsParam data)
Gets the open prescription list.- Specified by:
getDatain interfacePatientIntegrationModuleV4- Parameters:
data- theListOpenRidsParam- Returns:
- the
ListOpenRidsResult@ the integration module exception
-
getVisionRequest
protected GetVisionRequest getVisionRequest(GetVisionParam data)
Gets the vision request.- Parameters:
data- the data- Returns:
- the vision request @ the integration module exception
-
putVision
protected PutVisionForPatientRequest putVision(PutVisionParam data)
Put vision request.- Parameters:
data- the data- Returns:
- the put data @ the integration module exception
-
getCreateReservationRequest
public CreateReservationRequest getCreateReservationRequest(CreateReservationParam data)
Put reservation request.- Parameters:
data- the data- Returns:
- the put data @ the integration module exception
-
getListOpenRids
protected ListOpenRidsRequest getListOpenRids(ListOpenRidsParam data)
Gets the list open prescriptions request.- Parameters:
data- the data- Returns:
- the list open prescriptions request @ the integration module exception
-
getSealedData
public byte[] getSealedData(GetPrescriptionStatusParam request)
Gets the sealed data.- Parameters:
request- the request- Returns:
- the sealed data @ the integration module exception
-
getSealedData
public byte[] getSealedData(PutVisionParam request)
Gets the sealed data.- Parameters:
request- the request- Returns:
- the sealed data @ the integration module exception
-
-