scandihealth / lpr3-docs

https://scandihealth.github.io/lpr3-docs/
MIT License
11 stars 7 forks source link

Test: javax.persistence.PersistenceException: ........ could not execute batch #325

Closed Kashif-Ali-110 closed 5 years ago

Kashif-Ali-110 commented 5 years ago

Hi

I have came across with the interesting error message.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute batch</faultstring></soap:Fault></soap:Body></soap:Envelope>

The reporting data/ClinicalDocument is quite simple, just one contact along with action diagnose and few operation codes. LPR3_CDA_1022148828.txt

LPR3_CDA_1022148828Response.txt

When I do validation along the endpoint. https://lprws-test.sds.dsdn.dk/cda-ws/DocumentRepository_Service/PatientHealthcareValidateReportingService It goes successful with no error.

But when i sent it to the other two endpoints. https://lprws-test.sds.dsdn.dk/cda-ws/DocumentRepository_Service/PatientHealthcareReportingService or https://lprws-test.sds.dsdn.dk/cda-ws/DocumentRepository_Service/PatientHealthcareSaveIfNoErrorsReportingService

The "could not execute batch" kind of message comes.

I had experienced this kind of error when i report patient along with Forløbstidslut.

Any idea about it will highly appreciable,

With best, Kashif @ MyClinic .