a) just remove the brackets [leave the issuer? as criteria] - this will force a check on all criteria, but will most likely lead to unwanted duplicate patient records (e.g. if modalities mess up one of the parameters)
2014-06-02 23:55:23,880 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] received [pc-1] 1:C_STORE_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.1.1/Computed Radiography Image Storage
inst: 1.2.392.200036.9107.500.305.6430.20120626.172404.703.106430/?
2014-06-02 23:55:23,912 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Free disk space on G:\VitalPACS\Server\dcm4chee-2.17.3-psql\server\default\archive: 25.59365GB
2014-06-02 23:55:23,917 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.dcm.storescp.StoreScpService] M-WRITE file:G:\VitalPACS\Server\dcm4chee-2.17.3-psql\server\default\archive\2014\6\2\23\B7C806B6\22835984\12A6A2F2
2014-06-02 23:55:24,100 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.ejb.session.StorageBean] inserting instance FileMetaInfo[uid=1.2.392.200036.9107.500.305.6430.20120626.172404.703.106430
class=1.2.840.10008.5.1.4.1.1.1/Computed Radiography Image Storage
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
impl=1.2.40.0.13.1.1.1-dcm4che-1.4.33]
2014-06-02 23:55:24,118 WARN OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.ejb.session.StorageBean] inserting records for instance[uid=1.2.392.200036.9107.500.305.6430.20120626.172404.703.106430] failed: Existing Patient[pk=8751, pid=-1, issuer=TEST, name=MUSTERMANN^DONALD^^^] with equal Patient ID but different demographis than Patient[id=-1, issuer=TEST, name=ANONYMOUS^382^null^null]
2014-06-02 23:55:24,122 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.dcm.storescp.StoreScpService] Generate Patient ID: PACS-1973068499^^^DCM4CHEE for Patient: Anonymous^382
2014-06-02 23:55:24,126 ERROR OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.dcm.storescp.StoreScpService]
java.lang.NullPointerException
at org.dcm4chex.archive.dcm.storescp.StoreScp.doActualCStore(StoreScp.java:718)
at org.dcm4chex.archive.dcm.storescp.StoreScp.doCStore(StoreScp.java:471)
at org.dcm4che.net.DcmServiceBase.c_store(DcmServiceBase.java:116)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:230)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:164)
at org.dcm4cheri.server.DcmHandlerImpl.handle(DcmHandlerImpl.java:249)
at org.dcm4cheri.server.ServerImpl.run(ServerImpl.java:288)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.server.ServerImpl$1.run(ServerImpl.java:242)
at java.lang.Thread.run(Thread.java:724)
2014-06-02 23:55:24,127 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4chex.archive.dcm.storescp.StoreScpService] M-DELETE file:G:\VitalPACS\Server\dcm4chee-2.17.3-psql\server\default\archive\2014\6\2\23\B7C806B6\22835984\12A6A2F2
2014-06-02 23:55:24,130 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] sending [pc-1] 1:C_STORE_RSP
class: 1.2.840.10008.5.1.4.1.1.1/Computed Radiography Image Storage
inst: 1.2.392.200036.9107.500.305.6430.20120626.172404.703.106430/?
status: 110
error comment: java.lang.NullPointerException
2014-06-02 23:55:24,168 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] received A-RELEASE-RQ
2014-06-02 23:55:24,175 INFO OREX->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RP
b) drop the patient id and the issuer in a calling aet (of the import tool used) specific cstorerq.xsl - this will cause dcm4chee to generate a new patient id [according to storescp config], e.g.: