Giter VIP home page Giter VIP logo

dcm4chee-arc-light's Introduction

dcm4che DICOM Toolkit & Library

Sources: https://github.com/dcm4che/dcm4che
Binaries: https://sourceforge.net/projects/dcm4che/files/dcm4che3
Issue Tracker: https://github.com/dcm4che/dcm4che/issues
Build Status: Build

This is a complete rewrite of dcm4che-2.x.

One main focus was to minimize the memory footprint of the DICOM data sets. It already provides modules to store/fetch configuration data to/from LDAP, compliant to the DICOM Application Configuration Management Profile, specified in DICOM PS 3.15, Annex H.

dcm4che uses a native library for the compression and decompression of images. Here is the list of supported systems and architectures:

System Architecture Package Requirement
Linux x86 64-bit linux-x86-64 GLIBC_2.17
Linux ARM 64-bit linux-aarch64 GLIBC_2.27
Linux ARM 32-bit linux-armv7a GLIBC_2.28
Windows x86 64-bit windows-x86-64 Windows 7 or higher
Windows x86 32-bit windows-x86 Windows 7 or higher
Mac OS x86 64-bit macosx-x86-64 Mac OS 10.13 or higher
Mac OS ARM 64-bit macosx-aarch64 Mac OS 11 or higher

Build

Make sure you have Java 17 (JDK) or newer installed.

Run the Maven Wrapper script for building:

./mvnw install

or on Windows:

.\mvnw install

Modules

  • dcm4che-audit
  • dcm4che-audit-keycloak
  • dcm4che-conf
    • dcm4che-conf-api
    • dcm4che-conf-api-hl7
    • dcm4che-conf-json
    • dcm4che-conf-json-schema
    • dcm4che-conf-ldap
    • dcm4che-conf-ldap-audit
    • dcm4che-conf-ldap-hl7
    • dcm4che-conf-ldap-imageio
    • dcm4che-conf-ldap-schema
  • dcm4che-core
  • dcm4che-dcmr
  • dcm4che-deident
  • dcm4che-dict
  • dcm4che-dict-priv
  • dcm4che-emf
  • dcm4che-hl7
  • dcm4che-image
  • dcm4che-imageio
  • dcm4che-imageio-opencv
  • dcm4che-imageio-rle
  • dcm4che-js-dict
  • dcm4che-json
  • dcm4che-mime
  • dcm4che-net
  • dcm4che-net-audit
  • dcm4che-net-hl7
  • dcm4che-net-imageio
  • dcm4che-soundex
  • dcm4che-ws-rs
  • dcm4che-xdsi
  • dcm4che-jboss-modules

Utilities

  • agfa2dcm: Extract DICOM files from Agfa BLOB file
  • agfa2sr: Extract concatenated XML Agfa Reports and convert them to DICOM SR Documents
  • dcm2dcm: Transcode DICOM file according the specified Transfer Syntax
  • dcm2jpg: Convert DICOM image to JPEG or other image formats
  • dcm2json: Convert DICOM file in JSON presentation
  • dcm2pdf: Extract encapsulated PDF, CDA or STL from DICOM file
  • dcm2str: Apply Attributes Format Pattern to dicom file or command line parameters.
  • dcm2xml: Convert DICOM file in XML presentation
  • dcmbenchmark: Parse a DICOM file repetitively, measuring time and used memory
  • dcmdir: Dump, create or update DICOMDIR file
  • dcmdump: Dump DICOM file in textual form
  • dcmldap: Insert/remove configuration entries for Network AEs into/from LDAP server
  • dcmqrscp: Simple DICOM archive
  • dcmvalidate: Validate DICOM object according a specified Information Object Definition
  • deidentify: De-identify one or several DICOM files
  • emf2sf: Convert DICOM Enhanced Multi-frame image to legacy DICOM Single-frame images
  • findscu: Invoke DICOM C-FIND Query Request
  • fixlo2un: Fixes length of private tags truncated to 2 bytes on conversion from implicit VR to explicit VR Transfer Syntax
  • getscu: Invoke DICOM C-GET Retrieve Request
  • hl72xml: Convert HL7 v2.x message in XML presentation
  • hl7pdq: Query HL7 v2.x Patient Demographics Supplier
  • hl7pix: Query HL7 v2.x PIX Manager
  • hl7rcv: HL7 v2.x Receiver
  • hl7snd: Send HL7 v2.x message
  • ianscp: DICOM Instance Availability Notification receiver
  • ianscu: Send DICOM Instance Availability Notification
  • jpg2dcm: Convert JPEG images or MPEG videos in DICOM files
  • json2dcm: Converts JSON file to DICOM file
  • json2index: Creates search index for UI configuration from JSON schema files
  • json2props: Convert Archive configuration schema JSON files to key/value properties files and vice versa
  • json2rst: Generate ReStructuredText files from Archive configuration schema JSON files
  • maskpxdata: Mask information burned into the Pixel Data
  • mkkos: Make DICOM Key Object Selection Document
  • modality: Simulates DICOM Modality
  • movescu: Invoke DICOM C-MOVE Retrieve request
  • mppsscp: DICOM Modality Performed Procedure Step Receiver
  • mppsscu: Send DICOM Modality Performed Procedure Step
  • pdf2dcm: Convert PDF file into DICOM file
  • planarconfig: Detects the actual planar configuration of uncompressed pixel data of color images with Photometric Interpretation RGB or YBR_FULL and optionally correct non matching values of attribute Planar Configuration of the image
  • qstar: QStar SOAP Client to prefetch/retrieve or fetch file information of specified files
  • stgcmtscu: Invoke DICOM Storage Commitment Request
  • storescp: DICOM Composite Object Receiver
  • storescu: Send DICOM Composite Objects
  • stowrs: Send DICOM Composite Objects or Bulkdata file over Web
  • stowrsd: STOW-RS Server
  • swappxdata: Swaps bytes of uncompressed pixel data in DICOM files
  • syslog: Send Syslog messages via TCP/TLS or UDP to a Syslog Receiver
  • syslogd: Receives RFC 5424 Syslog messages via TCP/TLS or UDP
  • tpl2xml: Converts private dictionaries present in template file(s) to xml file(s).
  • upsscu: Invokes services of Unified Procedure Step Service Class
  • wadors: Wado RS Client Simulator
  • wadows: Wado WS Client Simulator
  • xml2dcm: Create/Update DICOM file from/with XML presentation
  • xml2hl7: Create HL7 v2.x message from XML presentation
  • xroad: XRoad SOAP Client to query Estonia National Patient Registry for Patient Demographics

License

dcm4chee-arc-light's People

Contributors

andor-pierdelacabeza avatar arnold-maderthaner avatar dependabot[bot] avatar gunterze avatar hczedik avatar isolovey avatar kkostikov avatar maherjendoubi avatar mklassen avatar shral avatar vrindanayak avatar ztech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcm4chee-arc-light's Issues

Storage fails if there are multiple records for the Patient ID in the DB

2016-01-06 04:28:20,247 ERROR [org.jboss.as.ejb3.invocation] (EE-ManagedExecutorService-default-Thread-3) WFLYEJB0034: EJB Invocation failed on component PatientServiceEJB for method public abstract org.dcm4chee.arc.entity.Patient org.dcm4chee.arc.patient.PatientService.findPatient(org.dcm4che3.data.Attributes,boolean) throws org.dcm4chee.arc.patient.NonUniquePatientException,org.dcm4chee.arc.patient.PatientMergedException,org.dcm4chee.arc.patient.CircularPatientMergeException: javax.ejb.EJBTransactionRolledbackException: Multiple Patients with ID SCSGERM
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)
    at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
    at org.dcm4chee.arc.patient.PatientService$$$view15.findPatient(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:434)
    at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
    at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.dcm4chee.arc.patient.impl.PatientService$251853255$Proxy$_$$_Weld$EnterpriseProxy$.findPatient(Unknown Source)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB.findPatient(StoreServiceEJB.java:339)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB.createInstance(StoreServiceEJB.java:326)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB.updateDB(StoreServiceEJB.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
    at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
    at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
    at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)
    at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB$$$view14.updateDB(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:434)
    at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
    at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateDB(Unknown Source)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:85)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl$Proxy$_$$_WeldClientProxy.store(Unknown Source)
    at org.dcm4chee.arc.store.scp.CStoreSCP.store(CStoreSCP.java:36)
    at org.dcm4che3.net.service.BasicCStoreSCP.onDimseRQ(BasicCStoreSCP.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.jboss.weld.proxies.DicomService$160215610$Proxy$_$$_WeldClientProxy.onDimseRQ(Unknown Source)
    at org.dcm4che3.net.service.DicomServiceRegistry.onDimseRQ(DicomServiceRegistry.java:86)
    at org.dcm4che3.net.ApplicationEntity.onDimseRQ(ApplicationEntity.java:399)
    at org.dcm4che3.net.Association.onDimseRQ(Association.java:649)
    at org.dcm4che3.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:459)
    at org.dcm4che3.net.Association.handlePDataTF(Association.java:633)
    at org.dcm4che3.net.State$4.onPDataTF(State.java:103)
    at org.dcm4che3.net.Association.onPDataTF(Association.java:629)
    at org.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:177)
    at org.dcm4che3.net.Association$2.run(Association.java:479)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Caused by: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID SCSGERM
    at org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(PatientServiceEJB.java:103)

Change default configuration to enable outgoing connections to remote DICOM peers

The default configuration specifies "localhost" as host name for archive connections. If no client bind address is specified, the archive uses the host name also as client bind address for outgoing connections, which results that the archive can only open connections to local DICOM peers.

To enable to initiate TCP connections to remote hosts without having to configure the actual host name of the archive, the client bind address shall be explicitly specified as 0.0.0.0in the default configuration.

Location of files for C-GET

I am using the GetSCU class to get the dicom objects from DICOM server,i am getting status 0H.but i am unable to find the location where exactly file(Dicom object) is stored.

Where will the configuration for strorage location for C-GET service,

I can see the configuration for Storage (C-STORE) in default-config.ldif(dcmURI: file:///var/local/dcm4chee-arc/fs1)

Provide RESTful Service to reject Instances

rejectStudy:
aets/{AETitle}/rs/studies/{StudyUID}/reject/{CodeValue}^{CodingSchemeDesignator}

rejectSeries:
aets/{AETitle}/rs/studies/{StudyUID}/series/{SeriesUID}/reject/{CodeValue}^{CodingSchemeDesignator}

rejectInstance:
aets/{AETitle}/rs/studies/{StudyUID}/series/{SeriesUID}/instances/{ObjectUID}/reject/{CodeValue}^{CodingSchemeDesignator}

queryRejectionCodes:
reject
Response:

[
  {
    "codeValue": "REVOKE_REJECTION",
    "codingSchemeDesignator": "99DCM4CHEE",
    "codeMeaning": "Restore rejected Instances"
  },
  {
    "codeValue": "113001",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Rejected for Quality Reasons"
  },
  {
    "codeValue": "113039",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Data Retention Policy Expired"
  },
  {
    "codeValue": "113037",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Rejected for Patient Safety Reasons"
  },
  {
    "codeValue": "113038",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Incorrect Modality Worklist Entry"
  }
]

Add Maven profiles to build secured version of UI and RESTful services

Maven Profiles:

  • secure: Includes

    <security-constraint>
      <web-resource-collection>
        <web-resource-name>DICOM</web-resource-name>
        <url-pattern>/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
        <role-name>user</role-name>
      </auth-constraint>
    </security-constraint>
    <login-config>
      <auth-method>KEYCLOAK</auth-method>
      <realm-name>dcm4che</realm-name>
    </login-config>
    <security-role>
      <role-name>user</role-name>
    </security-role>

    in web.xml of UI (dcm4chee-arc-ui-VERSION-secure.war) and RESTful services (dcm4chee-arc-war-VERSION-secure.war) and pack it in EAR: dcm4chee-arc-ear-VERSION-secure.ear

  • secure-ui: Only add <security-constraint> in web.xml of UI (dcm4chee-arc-ui-VERSION-secure.war), but not in RESTful services (dcm4chee-arc-war-VERSION-unsecure.war) and pack it in EAR: dcm4chee-arc-ear-VERSION-secure-ui.ear

  • unsecure: No <security-constraint> in web.xml of UI (dcm4chee-arc-ui-VERSION-unsecure.war) and RESTful services (dcm4chee-arc-war-VERSION-unsecure.war). Created EAR: dcm4chee-arc-ear-VERSION.ear. Activated by default.

QIDO-RS limit does not work properly with rejected instances

Currently Studies (or Series) which only contains rejected instances are not returned by the QIDO-RS service, but no additional study will be returned to match the specified limit count.

The simplest solution is to return also records for Studies (or Series) without non-rejected instances.

Audit Message are not sent if audit spool directory does not exists

e.g.:

11:13:45,328 WARN  [org.dcm4chee.arc.audit.AuditService] (default task-22) Failed to write to Audit Spool File - {} : java.nio.file.NoSuchFileException: /home/gunter/wildfly-9.0.2.Final/standalone/data/audit-spool/QUERY_QIDO1717509521485769829.tmp
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
    at java.nio.file.Files.newByteChannel(Files.java:317)
    at java.nio.file.Files.createFile(Files.java:588)
    at java.nio.file.TempFileHelper.create(TempFileHelper.java:138)
    at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:161)
    at java.nio.file.Files.createTempFile(Files.java:805)
    at org.dcm4chee.arc.audit.AuditService.spoolQuery(AuditService.java:406)

Fix NPE in Transcoder on parsing Data Fragments before the Pixel Data attribute

1:C-STORE-RQ[pcid=3, prior=0
  orig=WFM1TLN >> 257:C-MOVE-RQ
  cuid=1.2.840.10008.5.1.4.1.1.2 - CT Image Storage
  iuid=1.2.840.113619.2.327.3.279736847.404.1423800678.586.1 - ?
  tsuid=1.2.840.10008.1.2.4.70 - JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]) failed. Caused by:    : org.dcm4che3.net.service.DicomServiceException: java.lang.IllegalArgumentException: Self-suppression not permitted
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:91)
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl$Proxy$_$$_WeldClientProxy.store(Unknown Source)
        at org.dcm4chee.arc.store.scp.CStoreSCP.store(CStoreSCP.java:36)
        at org.dcm4che3.net.service.BasicCStoreSCP.onDimseRQ(BasicCStoreSCP.java:72)
        at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
        at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
        at org.jboss.weld.proxies.DicomService$1281079750$Proxy$_$$_WeldClientProxy.onDimseRQ(Unknown Source)
        at org.dcm4che3.net.service.DicomServiceRegistry.onDimseRQ(DicomServiceRegistry.java:86)
        at org.dcm4che3.net.ApplicationEntity.onDimseRQ(ApplicationEntity.java:399)
        at org.dcm4che3.net.Association.onDimseRQ(Association.java:649)
        at org.dcm4che3.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:459)
        at org.dcm4che3.net.Association.handlePDataTF(Association.java:633)
        at org.dcm4che3.net.State$4.onPDataTF(State.java:103)
        at org.dcm4che3.net.Association.onPDataTF(Association.java:629)
        at org.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:177)
        at org.dcm4che3.net.Association$2.run(Association.java:479)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
        at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Caused by: java.lang.IllegalArgumentException: Self-suppression not permitted
        at java.lang.Throwable.addSuppressed(Throwable.java:1043)
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:83)
        ... 25 more
Caused by: java.lang.NullPointerException
        at org.dcm4che3.imageio.codec.Transcoder$1.readValue(Transcoder.java:317)
        at org.dcm4che3.io.DicomInputStream.readFragments(DicomInputStream.java:714)
        at org.dcm4che3.io.DicomInputStream.readValue(DicomInputStream.java:558)
        at org.dcm4che3.imageio.codec.Transcoder$1.readValue(Transcoder.java:303)
        at org.dcm4che3.io.DicomInputStream.readAttributes(DicomInputStream.java:537)
        at org.dcm4che3.imageio.codec.Transcoder.transcode(Transcoder.java:284)
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:83)

Add various Transfer Capabilities to default and sample configuration

Add Transfer Capabilities for Storage SOP Classes:

  • Legacy Converted Enhanced CT Image Storage
  • Legacy Converted Enhanced MR Image Storage
  • Breast Projection X-Ray Image Storage For Presentation
  • Breast Projection X-Ray Image Storage For Processing
  • VL Image Storage Trial (Retired)
  • VLMultiFrame Image Storage Trial (Retired)
  • Wide Field Ophthalmic Photography Stereographic Projection Image Storage
  • Wide Field Ophthalmic Photography 3D Coordinates Image Storage
  • Ophthalmic Thickness Map Storage
  • Corneal Topography Map Storage
  • Legacy Converted Enhanced PET Image Storage
  • Extensible SR Storage
  • Stored Print Storage SOP Class (Retired)
  • Hardcopy Grayscale Image Storage SOP Class (Retired)
  • Hardcopy Color Image Storage SOP Class (Retired)
  • Parametric Map Storage
  • Surface Scan Mesh Storage
  • Surface Scan Point Cloud Storage

Duplicate Code Entries in DB

Replace

alter table code add constraint unique (code_value, code_designator, code_version);

by

alter table code add constraint unique (code_value, code_designator);

to prevent duplicate Code Enties with code_version = NULL.

Breaks persistence of Codes which only differs on code_version - will be solved on demand

Support acting as retrieve cache proxy

Support acting as retrieve cache proxy, by forwarding C-MOVE RQs to a configurable fallback MOVE SCP, if none of the requested objects is available in the archive. But change the Move Destination AET to a configurable AET of the archive. So the fallback Move SCP will send the requested objects to the archive. After all objects are retrieved from the fallback MOVE SCP, the archive will forward the requested objects to the Move Destination specified in the original C-MOVE RQ. If the objects are rquested again by another C-MOVE RQ, they are already available in the archive and need not be retrieved from the fallback MOVE SCP.

Local AE based Access Control

Add ArchiveAEExtension properties:

  • storeAccessControlID - accessControlID assigned to studies received by this AE.
    If null, no accessControlID will be assigned to studies received by this AE
  • accessControlIDs - accessControlIDs assigned to query/retrieve requests received by the AE.
    If {}, studies with any accessControlID may be queried or retrieved from this AE.
    Otherwise only studies which accessControlID match one of these accessControlIDs
    and studies without accessControlID may be queried or retrieved from this AE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.