Comments (8)
Not sure if this is the associated trace message:
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.421 DEBUG [io-8080-exec-33] c.l.PatientWriteOpLockRegistry: Acquiring patient write operation lock for 64370848-bed5-46c4-972f-05b410b59235
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.421 DEBUG [io-8080-exec-33] t.p.p.ProvideDocumentProcessor: Route: ProvideDocumentProcessor
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.421 WARN [io-8080-exec-33] hir.parser.LenientErrorHandler: Unknown element 'id' found while parsing
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.800 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: The document is invalid
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=287,row=1,locationString=Bundle.entry[0],message=This element does not match any known slice defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-pharmaceuticaladvice,severity=information]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=2,row=1,locationString=Bundle,message=Bundle.entry:Composition: minimum required = 1, but only found 0 (from http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-pharmaceuticaladvice),severity=error]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=1326,row=1,locationString=Bundle.entry[0].resource.ofType(Composition).confidentiality.extension[0].value.ofType(CodeableConcept),message=None of the codings provided are in the value set 'DocumentEntry.confidentialityCode' (http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.confidentialityCode), and a coding from this value set is required) (codes = http://snomed.info/sct#17621005),severity=error]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=1943,row=1,locationString=Bundle.entry[2],message=Entry 'urn:uuid:63c9323d-9220-4f5f-a99d-e62ff28b0dde' isn't reachable by traversing from first Bundle entry,severity=error]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=2,row=1,locationString=Bundle.meta.profile[0],message=Profile reference 'http://example.com/StructureDefinition/padvDoc' has not been checked because it is unknown,severity=error]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=1943,row=1,locationString=Bundle.entry[2],message=Entry 'urn:uuid:63c9323d-9220-4f5f-a99d-e62ff28b0dde' isn't reachable by traversing from first Bundle entry,severity=error]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.801 INFO [io-8080-exec-33] ProvideEmedDocumentCoprocessor: SingleValidationMessage[col=2,row=1,locationString=Bundle.meta.profile[0],message=Profile reference 'http://example.com/StructureDefinition/padvDoc' has not been checked because it is unknown,severity=error]
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.813 ERROR [io-8080-exec-33] c.PublishingNewEmedCoprocessor: Unexpected exception while building the medication treatment
[2023-01-12 18:25:28] [info] java.lang.IllegalArgumentException: Passed resource is not a supported author
[2023-01-12 18:25:28] [info] at org.projecthusky.fhir.emed.ch.epr.model.common.Author.(Author.java:65)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.emed.aggregators.PadvCommentAggregator.aggregate(PadvCommentAggregator.java:51)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.emed.aggregators.PadvAggregator.aggregate(PadvAggregator.java:110)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.emed.aggregators.ItemAggregator.aggregate(ItemAggregator.java:125)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.transactions.pmp.provide.coprocessors.PublishingNewEmedCoprocessor.process(PublishingNewEmedCoprocessor.java:170)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.transactions.pmp.provide.coprocessors.ProvideEmedDocumentCoprocessor.process(ProvideEmedDocumentCoprocessor.java:245)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.transactions.pmp.provide.ProvideDocumentProcessor.process(ProvideDocumentProcessor.java:127)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.transactions.pmp.ProcessorForAuthorizedRequest.process(ProcessorForAuthorizedRequest.java:26)
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.816 INFO [io-8080-exec-33] xds-iti41-consumer : ITI-41 route: responding early: There were errors in the processing
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.816 DEBUG [io-8080-exec-33] p.t.c.i.Iti41ResponseConverter: ITI-41 route: Iti41ResponseConverter processor
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.817 INFO [io-8080-exec-33] p.t.c.i.Iti41ResponseConverter: Uncaught exception while processing ITI-41 transaction
[2023-01-12 18:25:28] [info] ch.qligier.hug.pmp.common.errors.exceptions.GoToResponseCreationException: There were errors in the processing
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.transactions.pmp.provide.ProvideDocumentProcessor.process(ProvideDocumentProcessor.java:144)
[2023-01-12 18:25:28] [info] at ch.qligier.hug.pmp.transactions.pmp.ProcessorForAuthorizedRequest.process(ProcessorForAuthorizedRequest.java:26)
[2023-01-12 18:25:28] [info] at org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:108)
[2023-01-12 18:25:28] [info] at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:81)
[2023-01-12 18:25:28] [info] at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:812)
[2023-01-12 18:25:28] [info] at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:720)
[2023-01-12 18:25:28] [info] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:193)
[2023-01-12 18:25:28] [info] at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:64)
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.817 DEBUG [ async-1] tDemographicsEncounterListener: Processing demographics encounter for patient MPI-PID 64370848-bed5-46c4-972f-05b410b59235
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.822 DEBUG [io-8080-exec-33] p.t.c.i.Iti41ResponseConverter: Sending response: Response(status=FAILURE, errors=[ErrorInfo[codeContext=DocumentEntry.sourcePatientInfo has not been saved,customErrorCode=,errorCode=EXTRA_METADATA_NOT_SAVED,location=,severity=WARNING], ErrorInfo[codeContext=The PMP has encountered an internal error while aggregating the CDA document '9d3b7bda-2898-449b-91c2-9c7047f088c6', item: '552b20d5-22c5-4bc8-ae2c-373a32aca68e',customErrorCode=,errorCode=REGISTRY_ERROR,location=,severity=ERROR]])
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.822 DEBUG [io-8080-exec-33] c.l.PatientWriteOpLockRegistry: Releasing patient write operation lock for 64370848-bed5-46c4-972f-05b410b59235
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.823 ERROR [ async-1] eAsyncUncaughtExceptionHandler: Unexpected exception occurred invoking async method: public void ch.qligier.hug.pmp.application.listeners.PatientDemographicsEncounterListener.onApplicationEvent(ch.qligier.hug.pmp.common.models.events.PatientDemographicsEncounterEvent)
[2023-01-12 18:25:28] [info] org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [ch.qligier.hug.pmp.storage.entities.PatientDemographicEntity#64370848-bed5-46c4-972f-05b410b59235]
[2023-01-12 18:25:28] [info] at org.hibernate.engine.internal.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:696)
[2023-01-12 18:25:28] [info] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:287)
[2023-01-12 18:25:28] [info] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:230)
[2023-01-12 18:25:28] [info] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:95)
[2023-01-12 18:25:28] [info] at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:75)
[2023-01-12 18:25:28] [info] at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107)
[2023-01-12 18:25:28] [info] at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:652)
[2023-01-12 18:25:28] [info] at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:645)
[2023-01-12 18:25:28] [info] 2023-01-12 18:25:28.824 INFO [io-8080-exec-33] MemoryAuditMessageTransmission: Saving a new ATNA mess
from ch-emed-pmp.
Example for this morning
from ch-emed-pmp.
The PMP is not handling the Observation.note.author properly. I'll fix this bug next week!
from ch-emed-pmp.
I've redeployed with a fix.
from ch-emed-pmp.
When I sent a new PADV, I received this response:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "warning",
"code": "invalid",
"details": {
"coding": [
{
"code": "EXTRA_METADATA_NOT_SAVED"
}
],
"text": "DocumentEntry.sourcePatientInfo has not been saved"
}
},
{
"severity": "error",
"code": "invalid",
"details": {
"coding": [
{
"code": "REGISTRY_ERROR"
}
],
"text": "The PMP has encountered an internal error while aggregating the eMed document 'bd779117-070b-4e32-8c2c-051965b918f3', item: '1c950959-a20c-4b6b-a41c-4506786cd462'"
}
}
]
}
from ch-emed-pmp.
When I check the logs, I saw this error now maybe related to: #32
[2023-01-17 16:38:05] [info] java.lang.NullPointerException: Cannot invoke "java.util.Date.toInstant()" because the return value of "org.hl7.fhir.r4.model.Annotation.getTime()" is null
from ch-emed-pmp.
Redeployed with a fix.
from ch-emed-pmp.
Tested Fix 10:57 EST Jan 18 PADV saved successfully
I noticed the Medication Card for this same patient is not generated now - I will open a different issue.
from ch-emed-pmp.
Related Issues (20)
- ITI-65 for CHUV001-010 patients returns a "UNKNOWN_PATIENT_ID" HOT 7
- xds-iti43: An unexpected exception occurred (5afb74b9) HOT 1
- Medication Card: Unable to retrieve medication card ITI-68 when dose is not structured HOT 4
- id of contained resources HOT 1
- Patient demographics changing in pdf after documents are exported to CARA (Cheri Gey) HOT 2
- Error when retrieving medication card HOT 6
- CARA's integration platform under maintenance HOT 5
- Next deployment HOT 8
- Unable to save MTP HOT 33
- Patients consenting to eMedication service HOT 2
- Unable to retrieve medication card after a PADV HOT 5
- Unable to save MTP HOT 4
- Unable to generate medication card for CHUV010 (after export with bad GLN) HOT 6
- MTP validation error - matchboxv3/fhir/$validate HOT 8
- Validation service (https://test.ahdis.ch/matchboxv3/fhir/$validate) takes longer than expected HOT 3
- FHIR Validation tool fails with Caused by: java.io.IOException: Invalid HTTP response 404 from http://build.fhir.org/hl7.fhir.r5.core.tgz (Not Found) (no content) HOT 3
- Unable to open medication card HOT 6
- CARA accepting bad doseQuantity.system on MTP document, which should be rejected HOT 2
- Medication Dose display on the pdf when we have structured quantity/rate and we are missing the when may be confusing to the reader HOT 3
- MTP and PADV Change documents are erroring when MedicationStatement.reasonCode.text field length is >255 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ch-emed-pmp.