Posts by backsubzero



    I removed the mpps and follow his guidance, recreated by the graphical user interface files and is working, but it does not receive densitometer images.


    you have any idea how I can implement externally mpps "something like Moon" ?


    thanks for help


    sorry by delay "this machine is a friend and I can only use it when it is unoccupied"

    #
    # DICOM Application / sop / transfer UID list.
    #
    # This list is used by the CheckedPDU_Service ( "filename" ) service
    # class. All incoming associations will be verified against this
    # file.
    #
    # Revision 2: disabled GEMRStorage and GECTStorage
    # Revision 3: extended with new sops and with JPEG transfer syntaxes
    # Revision 4: added Modality Worklist query
    #
    #None none RemoteAE
    #None none LocalAE
    DICOM 1.2.840.10008.3.1.1.1 application
    Verification 1.2.840.10008.1.1 sop
    StoredPrintStorage 1.2.840.10008.5.1.1.27 sop
    mpps 1.2.840.10008.3.1.2.3.3 sop
    HardcopyGrayscaleImageStorage 1.2.840.10008.5.1.1.29 sop
    HardcopyColorImageStorage 1.2.840.10008.5.1.1.30 sop
    CRStorage 1.2.840.10008.5.1.4.1.1.1 sop
    DXStorageForPresentation 1.2.840.10008.5.1.4.1.1.1.1 sop
    DXStorageForProcessing 1.2.840.10008.5.1.4.1.1.1.1.1 sop
    DMStorageForPresentation 1.2.840.10008.5.1.4.1.1.1.2 sop
    DMStorageForProcessing 1.2.840.10008.5.1.4.1.1.1.2.1 sop
    DOralStorageForPresentation 1.2.840.10008.5.1.4.1.1.1.3 sop
    DOralStorageForProcessing 1.2.840.10008.5.1.4.1.1.1.3.1 sop
    CTStorage 1.2.840.10008.5.1.4.1.1.2 sop
    RetiredUSMultiframeStorage 1.2.840.10008.5.1.4.1.1.3 sop
    USMultiframeStorage 1.2.840.10008.5.1.4.1.1.3.1 sop
    MRStorage 1.2.840.10008.5.1.4.1.1.4 sop
    MRImageStorageEnhanced 1.2.840.10008.5.1.4.1.1.4.1 sop
    MRStorageSpectroscopy 1.2.840.10008.5.1.4.1.1.4.2 sop
    RetiredNMStorage 1.2.840.10008.5.1.4.1.1.5 sop
    RetiredUSStorage 1.2.840.10008.5.1.4.1.1.6 sop
    USStorage 1.2.840.10008.5.1.4.1.1.6.1 sop
    SCStorage 1.2.840.10008.5.1.4.1.1.7 sop
    SCStorageSingleBitMF 1.2.840.10008.5.1.4.1.1.7.1 sop
    SCStorageGrayscaleByteMF 1.2.840.10008.5.1.4.1.1.7.2 sop
    SCStorageGrayscaleWordMF 1.2.840.10008.5.1.4.1.1.7.3 sop
    SCStorageTrueColorMF 1.2.840.10008.5.1.4.1.1.7.4 sop
    StandaloneOverlayStorage 1.2.840.10008.5.1.4.1.1.8 sop
    StandaloneCurveStorage 1.2.840.10008.5.1.4.1.1.9 sop
    #WFStorageTwelveLeadECG 1.2.840.10008.5.1.4.1.1.9.1.1 sop
    #WFStorageGeneralECG 1.2.840.10008.5.1.4.1.1.9.1.2 sop
    #WFStorageAmbulatoryECG 1.2.840.10008.5.1.4.1.1.9.1.3 sop
    #WFStorageHemodynamic 1.2.840.10008.5.1.4.1.1.9.2.1 sop
    #WFStorageCardiacElectrophysiology 1.2.840.10008.5.1.4.1.1.9.3.1 sop
    #WFStorageBasicVoiceAudio 1.2.840.10008.5.1.4.1.1.9.4.1 sop
    StandaloneModalityLUTStorage 1.2.840.10008.5.1.4.1.1.10 sop
    StandaloneVOILUTStorage 1.2.840.10008.5.1.4.1.1.11 sop
    GrayscaleSoftcopyPresentationStateStorage 1.2.840.10008.5.1.4.1.1.11.1 sop
    RetiredXASinglePlaneStorage 1.2.840.10008.5.1.4.1.1.12 sop
    XASinglePlaneStorage 1.2.840.10008.5.1.4.1.1.12.1 sop
    RFStorage 1.2.840.10008.5.1.4.1.1.12.2 sop
    XABiPlaneStorage 1.2.840.10008.5.1.4.1.1.12.3 sop
    NMStorage 1.2.840.10008.5.1.4.1.1.20 sop
    VLImageStorage 1.2.840.10008.5.1.4.1.1.77.1 sop
    VLMultiFrameImageStorage 1.2.840.10008.5.1.4.1.1.77.2 sop
    VLMicroscopicSlideStorage 1.2.840.10008.5.1.4.1.1.77.3 sop
    VLPhotographicStorage 1.2.840.10008.5.1.4.1.1.77.4 sop
    VLEndoscopicImageStorage 1.2.840.10008.5.1.4.1.1.77.1.1 sop
    VLMicroscopicImageStorage 1.2.840.10008.5.1.4.1.1.77.1.2 sop
    VLSlideCoordinatesMicroscopicImageStorage 1.2.840.10008.5.1.4.1.1.77.1.3 sop
    VLPhotographicImageStorage 1.2.840.10008.5.1.4.1.1.77.1.4 sop
    BasicTextSR 1.2.840.10008.5.1.4.1.1.88.11 sop
    EnhancedSR 1.2.840.10008.5.1.4.1.1.88.22 sop
    ComprehensiveSR 1.2.840.10008.5.1.4.1.1.88.33 sop
    MammographyCADSR 1.2.840.10008.5.1.4.1.1.88.50 sop
    KeyObjectSelectionDocument 1.2.840.10008.5.1.4.1.1.88.59 sop
    PETStorage 1.2.840.10008.5.1.4.1.1.128 sop
    StandalonePETCurveStorage 1.2.840.10008.5.1.4.1.1.129 sop
    RTImageStorage 1.2.840.10008.5.1.4.1.1.481.1 sop
    RTDoseStorage 1.2.840.10008.5.1.4.1.1.481.2 sop
    RTStructureStorage 1.2.840.10008.5.1.4.1.1.481.3 sop
    RTTreatmentRecordStorage 1.2.840.10008.5.1.4.1.1.481.4 sop
    RTPlanStorage 1.2.840.10008.5.1.4.1.1.481.5 sop
    RTBrachyTreatmentRecordStorage 1.2.840.10008.5.1.4.1.1.481.6 sop
    RTTreatmentSummaryRecordStorage 1.2.840.10008.5.1.4.1.1.481.7 sop
    GEMRStorage 1.2.840.113619.4.2 sop
    GECTStorage 1.2.840.113619.4.3 sop
    GE3DModelObjectStorage 1.2.840.113619.4.26 sop
    GERTPlanStorage 1.2.840.113619.5.249 sop
    GERTPlanStorage2 1.2.840.113619.4.5.249 sop
    GESaturnTDSObjectStorage 1.2.840.113619.5.253 sop
    Philips3DVolumeStorage 1.2.46.670589.5.0.1 sop
    Philips3DObjectStorage 1.2.46.670589.5.0.2 sop
    PhilipsSurfaceStorage 1.2.46.670589.5.0.3 sop
    PhilipsCompositeObjectStorage 1.2.46.670589.5.0.4 sop
    PhilipsMRCardioProfileStorage 1.2.46.670589.5.0.7 sop
    PhilipsMRCardioImageStorage 1.2.46.670589.5.0.8 sop
    PatientRootQuery 1.2.840.10008.5.1.4.1.2.1.1 sop
    PatientRootRetrieve 1.2.840.10008.5.1.4.1.2.1.2 sop
    StudyRootQuery 1.2.840.10008.5.1.4.1.2.2.1 sop
    StudyRootRetrieve 1.2.840.10008.5.1.4.1.2.2.2 sop
    PatientStudyOnlyQuery 1.2.840.10008.5.1.4.1.2.3.1 sop
    PatientStudyOnlyRetrieve 1.2.840.10008.5.1.4.1.2.3.2 sop
    FindModalityWorkList 1.2.840.10008.5.1.4.31 sop
    PatientRootRetrieveNKI 1.2.826.0.1.3680043.2.135.1066.5.1.4.1.2.1.2 sop
    StudyRootRetrieveNKI 1.2.826.0.1.3680043.2.135.1066.5.1.4.1.2.2.2 sop
    PatientStudyOnlyRetrieveNKI 1.2.826.0.1.3680043.2.135.1066.5.1.4.1.2.3.2 sop
    BasicGrayscalePrintManagementMeta 1.2.840.10008.5.1.1.9 sop
    BasicColorPrintManagementMeta 1.2.840.10008.5.1.1.18 sop
    BasicFilmSession 1.2.840.10008.5.1.1.1 sop
    BasicFilmBox 1.2.840.10008.5.1.1.2 sop
    BasicGrayscaleImageBox 1.2.840.10008.5.1.1.4 sop
    BasicColorImageBox 1.2.840.10008.5.1.1.4.1 sop
    BasicPrinter 1.2.840.10008.5.1.1.16 sop
    LittleEndianImplicit 1.2.840.10008.1.2 transfer
    LittleEndianExplicit 1.2.840.10008.1.2.1 transfer
    BigEndianExplicit 1.2.840.10008.1.2.2 transfer
    JPEGBaseLine1 1.2.840.10008.1.2.4.50 transfer LittleEndianExplicit
    JPEGExtended2and4 1.2.840.10008.1.2.4.51 transfer LittleEndianExplicit


    JPEGExtended3and5 1.2.840.10008.1.2.4.52 transfer LittleEndianExplicit


    JPEGSpectralNH6and8 1.2.840.10008.1.2.4.53 transfer LittleEndianExplicit


    JPEGSpectralNH7and9 1.2.840.10008.1.2.4.54 transfer LittleEndianExplicit


    JPEGFulllNH10and12 1.2.840.10008.1.2.4.55 transfer LittleEndianExplicit
    #JPEGFulllNH11and13 1.2.840.10008.1.2.4.56 transfer LittleEndianExplicit
    JPEGLosslessNH14 1.2.840.10008.1.2.4.57 transfer LittleEndianExplicit
    #JPEGLosslessNH15 1.2.840.10008.1.2.4.58 transfer LittleEndianExplicit
    #JPEGExtended16and18 1.2.840.10008.1.2.4.59 transfer LittleEndianExplicit
    #JPEGExtended17and19 1.2.840.10008.1.2.4.60 transfer LittleEndianExplicit
    #JPEGSpectral20and22 1.2.840.10008.1.2.4.61 transfer LittleEndianExplicit
    #JPEGSpectral21and23 1.2.840.10008.1.2.4.62 transfer LittleEndianExplicit


    #JPEGFull24and26 1.2.840.10008.1.2.4.63 transfer LittleEndianExplicit
    #JPEGFull25and27 1.2.840.10008.1.2.4.64 transfer LittleEndianExplicit
    #JPEGLossless28 1.2.840.10008.1.2.4.65 transfer LittleEndianExplicit
    #JPEGLossless29 1.2.840.10008.1.2.4.66 transfer LittleEndianExplicit
    JPEGLossless 1.2.840.10008.1.2.4.70 transfer LittleEndianExplicit


    JPEGLS_Lossless 1.2.840.10008.1.2.4.80 transfer LittleEndianExplicit


    #JPEGLS_Lossy 1.2.840.10008.1.2.4.81 transfer LittleEndianExplicit
    #RLELossless 1.2.840.10008.1.2.5 transfer LittleEndianExplicit


    LittleEndianExplicitDeflated 1.2.840.10008.1.2.1.99 transfer LittleEndianExplicit


    JPEG2000LosslessOnly 1.2.840.10008.1.2.4.90 transfer LittleEndianExplicit
    JPEG2000 1.2.840.10008.1.2.4.91 transfer LittleEndianExplicit

    Hi Marcel,


    I try to save in my desktop GE lunar images but show this error "0140 failed"


    you could give me a way for me to try to understand what is my mistake?



    C:\CONQUEST>dgate.exe -v
    Monitoring for files in: D:\data\incoming\
    DGATE (1.4.17d, build Sun Mar 09 17:54:18 2014, bits 32) is running as threaded
    server
    Database type: ODBC connection
    Started 3 export queue thread(s)
    Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'


    UPACS THREAD 0: STARTED AT: Wed Jan 20 18:44:49 2016
    A-ASSOCIATE-RQ Packet Dump
    Calling Application Title : "GELUNAR "
    Called Application Title : "CONQUEST "
    Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    Number of Proposed Presentation Contexts: 2
    Presentation Context 0 "1.2.840.10008.3.1.2.3.3" 1
    Presentation Context 1 "1.2.840.10008.1.1" 1
    Server Command := 0140
    Message ID := 0028
    0000,0002 24 UI AffectedSOPClassUID "1.2.840.10008.3.1.2.3.3"
    0000,0100 2 US CommandField 320
    0000,0110 2 US MessageID 40
    0000,0800 2 US DataSetType 0
    0000,1000 38 UI AffectedSOPInstanceU "1.2.840.113619.2.110.20160120184234.37"
    0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"


    ***Client Error: command 0140 failed **
    ***Connection Terminated
    0000,0002 24 UI AffectedSOPClassUID "1.2.840.10008.3.1.2.3.3"
    0000,0100 2 US CommandField 320
    0000,0110 2 US MessageID 40
    0000,0800 2 US DataSetType 0
    0000,1000 38 UI AffectedSOPInstanceU "1.2.840.113619.2.110.20160120184234.37"
    0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"

    Marcel, have available the alpha version for linux? it is already compatible with postgresql 9.2? Tested on windows and noticed an improvement in stability, however I wanted to test on Linux where I am more accustomed :D

    Marcel,


    Print server works only in windows GUI ? I try using windows and works fine, but in my linux don´t works :(


    you could give me a direction where I check in source ?


    thanks for help.

    Hello Marcel,


    I try to create one Dicom Print Server using conquest, where I configure for use my hp deskjet k550 printer ? "this is only printer I have and default printer" ...


    I only send from mac to PC for test and crash/stop aplication dgate.


    thanks for help.


    [DICOM_PRINTER] Connected by address: a8c8a8c0
    [DICOM_PRINTER] Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'
    [DICOM_PRINTER]
    [DICOM_PRINTER] UPACS THREAD 257: STARTED AT: Wed May 13 18:01:08 2015
    [DICOM_PRINTER] A-ASSOCIATE-RQ Packet Dump
    [DICOM_PRINTER] Calling Application Title : "MAC001_PACS_WS "
    [DICOM_PRINTER] Called Application Title : "DICOM_PRINTER "
    [DICOM_PRINTER] Application Context : "1.2.840.10008.3.1.1.1", PDU length: 16384
    [DICOM_PRINTER] Number of Proposed Presentation Contexts: 1
    [DICOM_PRINTER] Presentation Context 0 "1.2.840.10008.5.1.1.9" 1
    [DICOM_PRINTER] Server Command := 0110
    [DICOM_PRINTER] Message ID := 0001
    [DICOM_PRINTER] 0000,0003 22 UI RequestedSOPClassUID "1.2.840.10008.5.1.1.16"
    [DICOM_PRINTER] 0000,0100 2 US CommandField 272
    [DICOM_PRINTER] 0000,0110 2 US MessageID 1
    [DICOM_PRINTER] 0000,0800 2 US DataSetType 257
    [DICOM_PRINTER] 0000,1001 22 UI RequestedSOPInstance "1.2.840.10008.5.1.1.17"
    [DICOM_PRINTER] 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2"
    [DICOM_PRINTER] getting Printer

    Accurate, using the serversideviewer works viewing, just can not use the DWV, always gives 500 error, I changed all the settings that I knew and I could not really, that's why I decided to ask you for help :)


    if I put in chrome URL http://192.168.254.50/dwv/ show dwv page, I download and put in /var/www/html/dwv/ as explained in forum...


    I test dwv in chrome http://192.168.254.50/cgi-bin/dgate?mode=dwv
    I'm doing something wrong?


    more one detail, look this:


    [272617.551037] dgate[18480]: segfault at 4 ip 00000000004d456c sp 00007fff6c78aa60 error 4 in dgate[400000+1ff000]
    [273406.285137] dgate[18734]: segfault at 4 ip 00000000004d456c sp 00007fff38349020 error 4 in dgate[400000+1ff000]
    [274974.829277] dgate[19995]: segfault at 4 ip 00000000004d456c sp 00007fff208bb800 error 4 in dgate[400000+1ff000]
    [275119.542266] dgate[20111]: segfault at 4 ip 00000000004d456c sp 00007fffa23ec050 error 4 in dgate[400000+1ff000]
    [275653.671784] dgate[20463]: segfault at 4 ip 00000000004d456c sp 00007fff18bcc390 error 4 in dgate[400000+1ff000]
    [275822.704188] dgate[20527]: segfault at 4 ip 00000000004d456c sp 00007fff409fd300 error 4 in dgate[400000+1ff000]
    [275853.737840] dgate[20544]: segfault at 4 ip 00000000004d456c sp 00007fffdf898af0 error 4 in dgate[400000+1ff000]
    [277361.993733] dgate[21145]: segfault at 4 ip 00000000004d456c sp 00007fffa3c52b70 error 4 in dgate[400000+1ff000]
    [277576.700087] dgate[21376]: segfault at 4 ip 00000000004d456c sp 00007fff3a9bbc90 error 4 in dgate[400000+1ff000]
    [277587.163642] dgate[21388]: segfault at 4 ip 00000000004d456c sp 00007fffaf9f8aa0 error 4 in dgate[400000+1ff000]
    [277664.189487] dgate[21410]: segfault at 4 ip 00000000004d456c sp 00007fffdb0d8590 error 4 in dgate[400000+1ff000]



    if I click in reload using in chrome http://192.168.254.50/cgi-bin/dgate?mode=dwv , add more one line in dmesg :(


    Thanks for help.

    Never worked, this is a new installation just to try to make the DWV work, this will be the new server based on debian, more can I format and switch to hundreds again, just changed the door so as not to conflict with each other in the e-micro terminal film, I want to make working not to use more windows here, so I tried all viewers, versions with java no longer work because they need signature, so I thought the initiative in html5 an optimal option.


    If you have a working example in linux with sqlite or any other format and can pass me already helps me a lot.


    I tried using 127.0.0.1 and also the name of the machine, no config URL worked for me.


    Thanks for help.

    Marcel,


    I download the version 1.4.17e2, compile in my AMD Turion(tm) II Neo N40L Dual-Core Processor using ubuntu server and all works, but I try to use DWV viewer and no work, if I put in chrome http://192.168.254.50/cgi-bin/dgate?mode=top show conquest page and list patient, but if I put http://192.168.254.50/cgi-bin/dgate?mode=dwv show :


    Internal Server Error


    The server encountered an internal error or misconfiguration and was unable to complete your request.


    Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.


    More information about this error may be available in the server error log.


    Apache/2.4.7 (Ubuntu) Server at 192.168.254.50 Port 80




    my cfg files:


    # This file contains configuration information for the DICOM server
    # Example Linux version using SqLite
    # Copy this file to dicom.ini to use it




    [sscscp]
    MicroPACS = sscscp
    Edition = Personal


    # Network configuration: server name and TCP/IP port#
    MyACRNema = DCVD01
    TCPPort = 3991


    # Reference to other files: known dicom servers; database layout; sops
    ACRNemaMap = acrnema.map
    kFactorFile = dicom.sql
    SOPClassList = dgatesop.lst


    # Host for postgres or mysql only, name, username and password for database
    SQLHost = localhost
    SQLServer = ./data/dbase/conquest.db3
    Username = dontcare
    Password = dontcare
    PostGres = 0
    MySQL = 0
    SQLite = 1


    UseEscapeStringConstants = 0
    DoubleBackSlashToDB = 0
    #IndexDBF = 1
    #PackDBF = 0
    #LongQueryDBF = 1000


    # Configure database
    TruncateFieldNames = 10
    MaxFieldLength = 254
    MaxFileNameLength = 255
    FixPhilips = 0
    FixKodak = 0
    UIDPrefix = 99999.99999
    EnableReadAheadThread = 1
    PatientQuerySortOrder =
    StudyQuerySortOrder =
    SeriesQuerySortOrder =
    ImageQuerySortOrder =
    EnableComputedFields = 1
    TCPIPTimeOut = 300
    FailHoldOff = 60
    RetryDelay = 100
    QueueSize = 128
    WorkListMode = 0
    WorkListReturnsISO_IR_100 = 1
    DebugLevel = 0
    Prefetcher = 0
    LRUSort =
    AllowTruncate =
    DecompressNon16BitsJpeg = 1
    UseBuiltInJPEG = 1
    IgnoreOutOfMemoryErrors = 0
    PadAEWithZeros = 0
    FileNameSyntax = 3


    # Configuration of compression for incoming images and archival
    DroppedFileCompression = un
    IncomingCompression = un
    ArchiveCompression = as


    # Names of the database tables
    PatientTableName = DICOMPatients
    StudyTableName = DICOMStudies
    SeriesTableName = DICOMSeries
    ImageTableName = DICOMImages
    DMarkTableName = DICOMAccessUpdates
    RegisteredMOPDeviceTable = RegisteredMOPIDs
    UIDToMOPIDTable = UIDToMOPID
    UIDToCDRIDTable = UIDToCDRID


    # Banner and host for debug information
    PACSName = CONQUESTSRV1
    OperatorConsole = 127.0.0.1


    # Configuration of disk(s) to store images
    MAGDeviceThreshhold = 0
    MAGDevices = 1
    MAGDevice0 = ./data/



    CFG of apache2.


    #
    # This file contains configuration information for the conquest cgi web server;
    # it must be in the same directory as the dgate.exe in the web server script directory.
    # For wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-bin
    # The server home page is then "http://127.0.0.1/cgi-bin/dgate.exe?mode=top"
    # The cgi interface has been tested with wamp5, dgate4.12d, and ie6sp1
    #
    # modified 20070213: default to n4, note about ocx only required on client
    # modified 20080902: webreadonly ON; graphics and viewer configs; sample scripted web pages
    # modified 20101121: Added wadoservers section
    #


    [sscscp]
    MicroPACS = sscscp



    # database layout (copy dicom.sql to the web server script directory or point to the one in your dicom server directory)


    kFactorFile = .\dicom.sql
    TruncateFieldNames = 10



    # default IP address and port of DICOM server (may be non-local, web pages empty if wrong)
    # use version 1.4.14 up, if an older version some feautues will not work


    WebServerFor = 192.168.254.50
    TCPPort = 3991



    # path to script engine: ocx will not download images if wrong - shows as black square with controls
    # for wamp: dgate.exe runs if it is put in C:\wamp\Apache2\cgi-bin


    WebScriptAddress = http://192.168.254.50/cgi-bin/dgate



    # web or local location of ActiveFormProj1.ocx for download (include trailing / or \)
    # the activeX control will not download if wrong or security too high - shows as white square with red x
    # note: it only needs to be registered by the client, not the server!
    # for wamp: the ocx canNOT be in C:\wamp\Apache2\cgi-bin, I put it in c:\wamp\www (above cgi-bin)
    # - the default value is derived from WebScriptAddress


    WebCodeBase = http://192.168.254.50/



    # if set to 1, the web user cannot edit databases and (in future) other things
    #WebReadonly = 1
    WebReadonly = 0
    WebPush = 1


    # this is an optional virtual directory used to http: all images from mag0
    # this entry is experimental and unused except for viewer=seriesviewer2
    # in this mode (only) ocx will not download images if wrong - shows as black square with
    # controls - the default value is derived from WebScriptAddress


    WebMAG0Address = http://192.168.254.50/mag0


    # excerpt from C:\wamp\Apache2\conf\httpd.conf required for WebMAG0Address (un-# there)
    # or use the wamp traybar menu to create the alias


    #Alias /mag0/ "c:/dicomserver/data/"
    #
    #<Directory "c:/dicomserver/data">
    # Options Indexes MultiViews
    # AllowOverride None
    # Order allow,deny
    # Allow from all
    #</Directory>



    # these settings control size of slice and series viewers, max size of transmitted dicom images
    # (0=original), compression for images sent to the activex (may be un,n1..4,j1,j2), the size of
    # the icons in the image list, the image type used for icons and slice display, and the dgate
    # mode containing the viewer (may be seriesviewer, seriesviewer2, noviewer, serversideviewer,
    # or aiviewer - java code of the latter not included with 1.4.14).
    # note: all items require at least one space left and right of the '=' !



    [webdefaults]
    size = 560
    dsize = 0
    compress = un
    iconsize = 48
    graphic = gif
    #viewer = dwv
    # serversideviewer
    viewer = serversideviewer
    studyviewer = dwv
    #studyweasis
    # enter address (up to not including the ?) of the WADO server for each DICOM AE listed
    # the sample (for AE TESTWADOSRV) comes from the DICOM standard and is not valid
    # the default is the local conquest server (which could use virtualservers as WADO bridge)
    # These WADO entries are used in 'list .... on ....'


    [wadoservers]
    TESTWADOSRV = http://www.hospital-stmarco/radiology/wado.php


    # Here are scripted series viewers: ImageJA, dwv, flexviewer (=aiviewer), weasis
    # And one scripted study viewer: studyweasis


    [imagejaviewer]
    source = viewers/imagejaviewer.cq


    [dwv]
    source = viewers/dwv.lua


    [flexviewer]
    source = viewers/flexviewer.lua


    [weasis]
    source = viewers/LaunchWeasis.cq
    header = Content-Type: application/x-java-jnlp-file\


    # The scripted study viewer: studyweasis


    [studyweasis]
    source = viewers/LaunchWeasisStudy.cq
    header = Content-Type: application/x-java-jnlp-file\


    # These entries enable the OpenClinica - Conquest interface


    # default
    [DefaultPage]
    source = *.lua


    [OpenClinica]


    Source=(local)
    TargetServer=user@server.domain:
    password=xxxxx


    # Below here are all samples with no clear functionality


    # Here are some sample web pages to show how scripting works

    [sample]
    variable = sample 1
    source = samples/sample.cq


    # this creates web page http://xxxxx/cgi-bin/dgate.exe?mode=sample2
    # This sample posts a file
    # Note: in the header parameter newline is written as \


    [sample2]
    variable = sample 2
    header= Content-type: text/html\Cache-Control: no-cache\
    line0 = <HEAD><TITLE>Conquest DICOM server - %variable%</TITLE></HEAD>
    line1 = <BODY BGCOLOR='CFDFCF'>
    line2 = <H2>Conquest DICOM server - %query_string%</H2>
    line3 = <FORM ACTION="dgate.exe" METHOD=POST ENCTYPE="multipart/form-data">
    line4 = <INPUT NAME=mode TYPE=HIDDEN VALUE=soaprequest>
    line5 = <INPUT NAME=port TYPE=HIDDEN VALUE=5678>
    line6 = <INPUT NAME=address TYPE=HIDDEN VALUE=127.0.0.1>
    line7 = Upload file to enter into server (dcm/v2/HL7/zip/7z/gz/tar): <INPUT NAME=filetoupload SIZE=40 TYPE=file VALUE=>
    line8 = <INPUT TYPE=SUBMIT VALUE=Go>
    line9 = </FORM>
    line10 = </BODY>


    # this creates a web page scripted in lua http://xxxxx/cgi-bin/dgate.exe?mode=sample3
    #[sample3]
    #source = samples/sample3.lua


    # these entries create an experimental SOAP interface scripted in lua


    [wsdl]
    source = soap/wsdl.xml
    header = Content-type: text/xml\


    [soaprequest]
    source = soap/soaprequest.lua


    # these entries create an experimental JSON interface scripted in lua


    [sample4]
    source = json/json_sample.html
    header = Content-type: text/html\Cache-Control: no-cache\


    [jsonrequest]
    source = json/jsonrequest.lua


    # these entries create a simple eCRF interface
    # ..?mode=studyfinder&dest=CONQUESTSRV1&key=afc0501:baseline&query==2040XXXX


    # creates SQL database and enters information
    [markstudy]
    source = ecrf/markstudyseries.lua
    caption= Select for submission


    [markseries]
    source = ecrf/markstudyseries.lua
    caption= Select for submission


    # show SQL database and selects processing
    [shoppingcart]
    source = ecrf/shoppingcart.lua
    caption= Process selected data


    # process information
    [ecrfprocess]
    source = ecrf/ecrfprocess.lua


    # new query form
    [queryforecrf]
    source = ecrf/queryforecrf.lua


    ##################



    Do you have any idea where is my mistake? I'm a few days testing various options and really did not think yet .... figured it was the ip and I've tried in many ways, localhost or direct ip ...



    thanks for help,

    Macel good day,
    I have 4 units "MAG devices" in my Linux PC, the unit mag3 I would like to clear the all record and regenerate when command regen it does, however still get the previous records of patients who are no longer there, how can I clean these registers ?


    Could you help me?

    so I can create a temporary server on a PC, copy this main disk to create mag0 there, then connect to the new server and sending all studies?


    if so, what command to send all studies to the new server?


    I liked the solution if I understood correctly is super simple to implement :)


    Thanks Marcel,

    Hi,


    I have one US logic3 and one CR agfa, I put linux server with one hardisk "Centos 6" 2 years ago, now I buy 2 external hardisks from seagate, works fine, my cfg is:


    MAGDevice0 = /data/
    MAGDevice1 = /data1/
    MAGDevice2 = /data2/


    I put in lua:


    [lua]


    ImportConverter0 = if Data.Modality=='US' then Data.Storage='MAG1' end;
    ImportConverter1 = if Data.Modality=='CR' then Data.Storage='MAG2' end;


    these move automatic works fine, but in my mag0 have pacients with mixed files "US and CR in one directory", I need to reorganize mag0, for this I need one way to move from mag0 to mag1 all US files,


    anyone have any idea how to do this? I tried in most LUA unable :(

    need some help, I have 3 modality, I would send one to each MAG, so I can separate what is important from what is not, someone would know how to help me?
    the idea would be for US move to MAG3, CR move to MAG2 and CT move to MAG1


    MAG0 the hd is small however is fast "SCSI" and always come excluding all now got 3 USB hds external and got put on the server, Centos recognized and is already assembled and tested in the conquest, the move could do more night he separated by type/modality


    Thanks for help.

    Quote from marcelvanherk

    Hi,


    did you try disabling LittleEndianExplicit is dgatesop.lst on a fresh 1.4.13 install? This is the main difference I know between the two releases. Please compare the files or copy the 1.4.12c into 1.4.13 and restart it.


    Marcel


    THANKS !!!!!, ALL WORK'S !!!!


    I only put the "#" and save, I retry in test software and all work....


    Equipment GE really has some thing missed in relation to the LittleEndianExplicit :)


    sds
    Marcelino

    Quote from marcelvanherk

    Hi,


    I would put everything in the worklist database that GE asks for, listed on the top of the query.


    Marcel



    I made this and exactly thus it did not twirl.


    I install 1.4.12c from zero, in new machine, c:\dicomserver\dicom\a , b, c
    a - dbase3
    b - access
    c - Microsoft SQL 2000


    all installs works Storage and WorkList.


    in this machine install 1.4.13 in c:\dicomserver\1413\a, b , c , d


    a - dbase3
    b - access
    c - Microsoft SQL 2000
    d - Mysql 5.0.45community


    MSG from WL software test, "Data Received is too short" - DicomObjects -
    and in logic5 reboot


    Store works, MWL not, the error persists


    all instalations I'm using default, for test worklist I put your HL7 sample file



    Best Regards
    Marcelino



    I make your modification, but not resolved :(


    I call GE too and the guy talk about "conformance DICOM" I need to put another information in the worklist for not reset .... I not understand....



    [PACS] A-ASSOCIATE-RQ Packet Dump
    [PACS] Calling Application Title : "L5-0 "
    [PACS] Called Application Title : "WORKLIST "
    [PACS] Application Context : "1.2.840.10008.3.1.1.1"
    [PACS] Number of Proposed Presentation Contexts: 1
    [PACS] Presentation Context 0 "1.2.840.10008.1.1"
    [PACS] Server Command := 0030
    [PACS] Message ID := 0000
    [PACS] 0000,0002 18 UI AffectedSOPClassUID "1.2.840.10008.1.1"
    [PACS] 0000,0100 2 US CommandField 48
    [PACS] 0000,0110 2 US MessageID 0
    [PACS] 0000,0800 2 US DataSetType 257
    [PACS] 0002,0010 19 UI TransferSyntaxUID "1.2.840.10008.1.2.1"
    [PACS] C-Echo
    [PACS] UPACS THREAD 98: ENDED AT: Mon Mar 03 15:49:08 2008
    [PACS] UPACS THREAD 98: TOTAL RUNNING TIME: 1 SECONDS
    [PACS]
    [PACS] UPACS THREAD 99: STARTED AT: Mon Mar 03 15:49:08 2008
    [PACS] A-ASSOCIATE-RQ Packet Dump
    [PACS] Calling Application Title : "L5-0 "
    [PACS] Called Application Title : "WORKLIST "
    [PACS] Application Context : "1.2.840.10008.3.1.1.1"
    [PACS] Number of Proposed Presentation Contexts: 1
    [PACS] Presentation Context 0 "1.2.840.10008.5.1.4.31"
    [PACS] Server Command := 0020
    [PACS] Message ID := 0001
    [PACS] 0000,0002 22 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.31"
    [PACS] 0000,0100 2 US CommandField 32
    [PACS] 0000,0110 2 US MessageID 1
    [PACS] 0000,0700 2 US Priority 0
    [PACS] 0000,0800 2 US DataSetType 0
    [PACS] 0002,0010 19 UI TransferSyntaxUID "1.2.840.10008.1.2.1"
    [PACS] (ModalityWorkListQuery) search level:
    [PACS] 0002,0010 19 UI TransferSyntaxUID "1.2.840.10008.1.2.1"
    [PACS] 0008,0050 0 SH AccessionNumber (empty)
    [PACS] 0008,0090 0 PN ReferringPhysicianNa (empty)
    [PACS] 0008,1110 0 SQ ReferencedStudySeque Sequence Item
    [PACS] 0008,1120 0 SQ ReferencedPatientSeq Sequence Item
    [PACS] 0010,0010 0 PN PatientName (empty)
    [PACS] 0010,0020 0 LO PatientID (empty)
    [PACS] 0010,0030 0 DA PatientBirthDate (empty)
    [PACS] 0010,0032 0 TM PatientBirthTime (empty)
    [PACS] 0010,0040 0 CS PatientSex (empty)
    [PACS] 0010,1000 0 LO OtherPatientID (empty)
    [PACS] 0010,1020 0 DS PatientSize (empty)
    [PACS] 0010,1030 0 DS PatientWeight (empty)
    [PACS] 0010,2000 0 LO MedicalAlerts (empty)
    [PACS] 0010,2110 0 LO ContrastAllergies (empty)
    [PACS] 0010,2160 0 SH EthnicGroup (empty)
    [PACS] 0010,21c0 0 US PregnancyStatus (empty)
    [PACS] 0020,000d 0 UI StudyInstanceUID (empty)
    [PACS] 0032,1032 0 PN RequestingPhysician (empty)
    [PACS] 0032,1033 0 LO RequestingService (empty)
    [PACS] 0032,1060 0 LO RequestedProcedureDe (empty)
    [PACS] 0032,1064 0 SQ RequestedProcedureCo Sequence Item
    [PACS] 0038,0010 0 LO AdmissionID (empty)
    [PACS] 0038,0300 0 LO CurrentPatientLocati (empty)
    [PACS] 0040,0100 0 SQ ScheduledProcedureSt Sequence Item
    [PACS] >0008,0060 2 CS Modality "US"
    [PACS] >0040,0001 0 AE ScheduledStationAETi (empty)
    [PACS] >0040,0002 8 DA ScheduledProcedureSt "20080303"
    [PACS] >0040,0003 0 TM ScheduledProcedureSt (empty)
    [PACS] >0040,0006 0 PN ScheduledPerformingP (empty)
    [PACS] >0040,0007 0 LO ScheduledProcedureSt (empty)
    [PACS] >0040,0008 0 SQ ScheduledProcedureSt Sequence Item
    [PACS] >0040,0009 0 SH ScheduledProcedureSt (empty)
    [PACS] >0040,0010 0 SH ScheduledStationName (empty)
    [PACS] >0040,0011 0 SH ScheduledProcedureSt (empty)
    [PACS] 0040,1001 0 SH RequestedProcedureID (empty)
    [PACS] 0040,1010 0 UN (empty)
    [PACS] Query On Modality WorkList
    [PACS] Failed on VR Search: 0002 0010
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0008 0090
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0008 1110
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0008 1120
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0010 0032
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0010 1000
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0010 1020
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0010 1030
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0010 2160
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0010 21c0
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0032 1033
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0032 1064
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0038 0010
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0038 0300
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0040 0008
    [PACS] (testing phase) - ignored
    [PACS] Failed on VR Search: 0040 1010
    [PACS] (testing phase) - ignored
    [PACS] Issue Query on Columns: DICOMWorkList.AccessionN, DICOMWorkList.PatientNam, DICOMWorkList.PatientID, DICOMWorkList.PatientBir, DICOMWorkList.PatientSex, DICOMWorkList.MedicalAle, DICOMWorkList.ContrastAl, DICOMWorkList.StudyInsta, DICOMWorkList.ReqPhysici, DICOMWorkList.ReqProcDes, DICOMWorkList.Modality, DICOMWorkList.ScheduledA, DICOMWorkList.StartDate, DICOMWorkList.StartTime, DICOMWorkList.PerfPhysic, DICOMWorkList.SchedPSDes, DICOMWorkList.SchedPSID, DICOMWorkList.SchedStati, DICOMWorkList.SchedPSLoc, DICOMWorkList.ReqProcID
    [PACS] Values: DICOMWorkList.Modality = 'US' and DICOMWorkList.StartDate = '20080303'
    [PACS] Tables: DICOMWorkList
    [PACS] Sorting (DICOMWorkList.PatientNam) DoSort := 1
    [PACS] Query Distinct Tables: DICOMWorkList
    [PACS] Columns : DICOMWorkList.AccessionN, DICOMWorkList.PatientNam, DICOMWorkList.PatientID, DICOMWorkList.PatientBir, DICOMWorkList.PatientSex, DICOMWorkList.MedicalAle, DICOMWorkList.ContrastAl, DICOMWorkList.StudyInsta, DICOMWorkList.ReqPhysici, DICOMWorkList.ReqProcDes, DICOMWorkList.Modality, DICOMWorkList.ScheduledA, DICOMWorkList.StartDate, DICOMWorkList.StartTime, DICOMWorkList.PerfPhysic, DICOMWorkList.SchedPSDes, DICOMWorkList.SchedPSID, DICOMWorkList.SchedStati, DICOMWorkList.SchedPSLoc, DICOMWorkList.ReqProcID
    [PACS] Where : DICOMWorkList.Modality = 'US' and DICOMWorkList.StartDate = '20080303'
    [PACS] Order : DICOMWorkList.PatientNam
    [PACS] 0008,0050 8 SH AccessionNumber "20080101"
    [PACS] 0010,0010 16 PN PatientName "SILVA SAURO^DINO"
    [PACS] 0010,0020 6 LO PatientID "157828"
    [PACS] 0010,0030 8 DA PatientBirthDate "19750901"
    [PACS] 0010,0040 2 CS PatientSex "M "
    [PACS] 0010,2000 0 LO MedicalAlerts ""
    [PACS] 0010,2110 0 LO ContrastAllergies ""
    [PACS] 0020,000d 0 UI StudyInstanceUID ""
    [PACS] 0032,1032 0 PN RequestingPhysician ""
    [PACS] 0032,1060 0 LO RequestedProcedureDe ""
    [PACS] Coding sequence (0040,0100), level=1
    [PACS] 0008,0060 2 CS Modality "US"
    [PACS] 0040,0001 0 AE ScheduledStationAETi ""
    [PACS] 0040,0002 8 DA ScheduledProcedureSt "20080303"
    [PACS] 0040,0003 0 TM ScheduledProcedureSt ""
    [PACS] 0040,0006 0 PN ScheduledPerformingP ""
    [PACS] 0040,0007 0 LO ScheduledProcedureSt ""
    [PACS] 0040,0009 0 SH ScheduledProcedureSt ""
    [PACS] 0040,0010 0 SH ScheduledStationName ""
    [PACS] 0040,0011 0 SH ScheduledProcedureSt ""
    [PACS] 0040,1001 0 SH RequestedProcedureID ""
    [PACS] Records = 1
    [PACS] First record of cleaned response:
    [PACS] 0008,0050 8 SH AccessionNumber "20080101"
    [PACS] 0008,1110 0 SQ ReferencedStudySeque Sequence Item
    [PACS] 0008,1120 0 SQ ReferencedPatientSeq Sequence Item
    [PACS] 0010,0010 16 PN PatientName "SILVA SAURO^DINO"
    [PACS] 0010,0020 6 LO PatientID "157828"
    [PACS] 0010,0030 8 DA PatientBirthDate "19750901"
    [PACS] 0010,0040 2 CS PatientSex "M "
    [PACS] 0010,2000 0 LO MedicalAlerts ""
    [PACS] 0010,2110 0 LO ContrastAllergies ""
    [PACS] 0020,000d 0 UI StudyInstanceUID ""
    [PACS] 0032,1032 0 PN RequestingPhysician ""
    [PACS] 0032,1060 0 LO RequestedProcedureDe ""
    [PACS] 0040,0100 0 SQ ScheduledProcedureSt Sequence Item
    [PACS] >0008,0060 2 CS Modality "US"
    [PACS] >0040,0001 0 AE ScheduledStationAETi ""
    [PACS] >0040,0002 8 DA ScheduledProcedureSt "20080303"
    [PACS] >0040,0003 0 TM ScheduledProcedureSt ""
    [PACS] >0040,0006 0 PN ScheduledPerformingP ""
    [PACS] >0040,0007 0 LO ScheduledProcedureSt ""
    [PACS] >0040,0009 0 SH ScheduledProcedureSt ""
    [PACS] >0040,0010 0 SH ScheduledStationName ""
    [PACS] >0040,0011 0 SH ScheduledProcedureSt ""
    [PACS] >0040,1001 0 SH RequestedProcedureID ""
    [PACS] C-Find (Modality Work List) located 1 records
    [PACS] UPACS THREAD 99: ENDED AT: Mon Mar 03 15:49:14 2008
    [PACS] UPACS THREAD 99: TOTAL RUNNING TIME: 6 SECONDS




    The GE Call to me now, send 2 files for logic and voluson, and URL.


    how I can adjust established in these information?


    http://www.gehealthcare.com/us…cts/ultrasound_dicom.html


    the voluson is here....
    2.3.2.1.1.1 SOP Specific Conformance Statement to Modality Worklist Service SOP Class
    Each module which is used by the Worklist AE has a table below which indicates the elements supported.
    Scheduled Procedure Step Module Elements
    Name Tag Return Type Mapped into image Description
    Scheduled Procedure Step
    Sequence 0040, 0100 1 No Used
    >Scheduled Station AE Title 0040, 0001 1 No Used
    >Scheduled Procedure Step
    Start Date 0040, 0002 1 No Used
    >Scheduled Procedure Step
    Start Time 0040, 0003 1 No Used
    >Modality 0008, 0060 1 Yes “US” or zero length
    >Scheduled Performing
    Physician’s Name 0040, 0006 2 Yes Used
    >Scheduled Procedure Step
    Description 0040, 0007 1C No Used
    >Scheduled Station Name 0040,0010 2 No Used if present in the query form
    >Scheduled Procedure Step ID 0040, 0009 1 No Used


    Requested Procedure Module Elements
    Name Tag Return Type Mapped into image Description
    Requested Procedure ID 0040, 1001 1 No Used
    Requested Procedure
    Description 0032, 1060 1C No Used for Exam Type
    Study Instance UID 0020, 000D 1 No Used


    Imaging Service Request Module Elements
    Name Tag Return Type Mapped into image Description
    Accession Number 0008, 0050 2 Yes Used
    Referring Physician’s Name 0008, 0090 2 Yes Used


    Patient Identification Module Elements
    Name Tag Return Type Mapped into image Description
    Patient’s Name 0010, 0010 1 Yes Used
    Patient ID 0010, 0020 1 Yes Used


    Patient Demographic Module Elements
    Name Tag Return Type Mapped into image Description
    Patient’s Birth Date 0010, 0030 2 Yes Used
    Patient’s Sex 0010, 0040 2 Yes Used
    Patient’s Size 0010,0020



    thanks for all help.


    sds
    Marcelino

    Quote from marcelvanherk

    Hi,


    did you already edit dicom.sql to inlude the Last Menstrual Date. If so, can you show me the edited worklist items?


    Marcel


    I am trying everything that is possible, exactly thus the GE ultrasounds continue giving to error the Dr. Alain Godard helped very, I followed howto of it, more the only thing that gives error is worklist, the remaining portion I obtained to make to function.


    I try various forms, but no success :(


    I send a private e-mail with these information, I put here for another's guys with my problem read.


    I call to GE technical assistance in USA, "I live in Brazil" and talk about my problem with worklist, these guy talk to me about a dicom log in internal GE software, and show to me the password Smile


    well, I find the error and in log have 2 msgs:


    DicomLog_MWL_sc01_Worklist (1148) 02-28 14:03:58.14 MC3 E: | Unexpected end of stream data


    DicomLog_MWL_sc01_Worklist (1148) 02-28 14:03:58.14 MC3 E: (0040,0100): Error during MC_Stream_To_Message:



    the problem is simple, after I query WorkList the machine only reboot.


    GE Ultrasound Logic 5


    the error is little diference to V730 Voluson, show DLL error and Reboot.



    ***************** dicom.sql ************


    /*
    # DICOM Database layout
    # Example version for all SQL servers (mostly normalized)
    #
    # (File DICOM.SQL)
    # ** DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING **
    #
    # Version with modality moved to the series level and EchoNumber in image table
    # Revision 3: Patient birthday and sex, bolus agent, correct field lengths
    # Revision 4: Studymodality, Station and Department in study
    # Manufacturer, Model, BodyPart and Protocol in series
    # Acqdate/time, coil, acqnumber, slicelocation and pixel info in images
    # Notes for revision 4:
    # InstitutionalDepartmentName in study (should officially be in series, but eFilm expects it in study)
    # StationName is in study (should officially be in series, but more useful in study)
    # Revision 5: Added patientID in series and images for more efficient querying
    # Revision 6: Added frame of reference UID in series table
    # Revision 7: Added ImageType in image table, StudyModality to 64 chars, AcqDate to SQL_C_DATE
    # Revision 8: Denormalized study table (add patient ID, name, birthdate) to show consistency problems
    # Revision 10: Fixed width of ReceivingCoil: to 16 chars
    # Revision 13: Added ImageID to image database
    # Revision 14: Added WorkList database with HL7 tags
    #
    #
    # 5 databases need to be defined:
    #
    # *Patient*
    # *Study*
    # *Series*
    # *Image*
    # *WorkList*
    #
    #
    # The last defined element of Study is a link back to Patient
    # The last defined element of Series is a link back to Study
    # The last defined element of Image is a link back to Series
    #
    #
    # Format for DICOM databases :
    # { Group, Element, Column Name, Column Length, SQL-Type, DICOM-Type }
    # Format for Worklist database :
    # { Group, Element, Column Name, Column Length, SQL-Type, DICOM-Type, HL7 tag}
    # HL7 tags include SEQ.N, SEQ.N.M, SEQ.N.DATE, SEQ.N.TIME, *AN, *UI
    */


    *Patient*
    {
    { 0x0010, 0x0020, "PatientID", 64, SQL_C_CHAR, DT_STR },
    { 0x0010, 0x0010, "PatientName", 64, SQL_C_CHAR, DT_STR },
    { 0x0010, 0x0030, "PatientBirthDate", 8, SQL_C_DATE, DT_DATE },
    { 0x0010, 0x0040, "PatientSex", 16, SQL_C_CHAR, DT_STR }
    }


    *Study*
    {
    { 0x0020, 0x000d, "StudyInstanceUID", 64, SQL_C_CHAR, DT_UI },
    { 0x0008, 0x0020, "StudyDate", 8, SQL_C_DATE, DT_DATE },
    { 0x0008, 0x0030, "StudyTime", 16, SQL_C_CHAR, DT_TIME },
    { 0x0020, 0x0010, "StudyID", 16, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x1030, "StudyDescription", 64, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0050, "AccessionNumber", 16, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0090, "ReferPhysician", 64, SQL_C_CHAR, DT_STR },
    { 0x0010, 0x1010, "PatientsAge", 16, SQL_C_CHAR, DT_STR },
    { 0x0010, 0x1030, "PatientsWeight", 16, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0061, "StudyModality", 64, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x1010, "StationName", 16, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x1040, "InstitutionalDepartmentName", 64, SQL_C_CHAR, DT_STR },


    { 0x0010, 0x0010, "PatientName", 64, SQL_C_CHAR, DT_STR },
    { 0x0010, 0x0030, "PatientBirthDate", 8, SQL_C_DATE, DT_DATE },
    { 0x0010, 0x0040, "PatientSex", 16, SQL_C_CHAR, DT_STR }


    { 0x0010, 0x0020, "PatientID", 64, SQL_C_CHAR, DT_STR }
    }


    *Series*
    {
    { 0x0020, 0x000e, "SeriesInstanceUID", 64, SQL_C_CHAR, DT_UI },
    { 0x0020, 0x0011, "SeriesNumber", 12, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0021, "SeriesDate", 8, SQL_C_DATE, DT_DATE },
    { 0x0008, 0x0031, "SeriesTime", 16, SQL_C_CHAR, DT_TIME },
    { 0x0008, 0x103e, "SeriesDescription", 64, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0060, "Modality", 16, SQL_C_CHAR, DT_STR },
    { 0x0018, 0x5100, "PatientPosition", 16, SQL_C_CHAR, DT_STR },
    { 0x0018, 0x0010, "ContrastBolusAgent", 64, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0070, "Manufacturer", 64, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x1090, "ModelName", 64, SQL_C_CHAR, DT_STR },
    { 0x0018, 0x0015, "BodyPartExamined", 64, SQL_C_CHAR, DT_STR },
    { 0x0018, 0x1030, "ProtocolName", 64, SQL_C_CHAR, DT_STR },
    { 0x0020, 0x0052, "FrameOfReferenceUID", 64, SQL_C_CHAR, DT_UI },
    { 0x0010, 0x0020, "SeriesPat", 64, SQL_C_CHAR, DT_STR },
    { 0x0020, 0x000d, "StudyInstanceUID", 64, SQL_C_CHAR, DT_UI }
    }


    *Image*
    {
    { 0x0008, 0x0018, "SOPInstanceUID", 64, SQL_C_CHAR, DT_UI },
    { 0x0008, 0x0016, "SOPClassUID", 64, SQL_C_CHAR, DT_UI },
    { 0x0020, 0x0013, "ImageNumber", 12, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0023, "ImageDate", 8, SQL_C_DATE, DT_DATE },
    { 0x0008, 0x0033, "ImageTime", 16, SQL_C_CHAR, DT_TIME },
    { 0x0018, 0x0086, "EchoNumber", 12, SQL_C_CHAR, DT_STR },
    { 0x0028, 0x0008, "NumberOfFrames", 12, SQL_C_CHAR, DT_STR },
    { 0x0008, 0x0022, "AcqDate", 8, SQL_C_DATE, DT_DATE },
    { 0x0008, 0x0032, "AcqTime", 16, SQL_C_CHAR, DT_TIME },
    { 0x0018, 0x1250, "ReceivingCoil", 16, SQL_C_CHAR, DT_STR },
    { 0x0020, 0x0012, "AcqNumber", 12, SQL_C_CHAR, DT_STR },
    { 0x0020, 0x1041, "SliceLocation", 16, SQL_C_CHAR, DT_STR },
    { 0x0028, 0x0002, "SamplesPerPixel", 5, SQL_C_CHAR, DT_UINT16 },
    { 0x0028, 0x0004, "PhotoMetricInterpretation", 16, SQL_C_CHAR, DT_STR },
    { 0x0028, 0x0010, "Rows", 5, SQL_C_CHAR, DT_UINT16 },
    { 0x0028, 0x0011, "Colums", 5, SQL_C_CHAR, DT_UINT16 },
    { 0x0028, 0x0101, "BitsStored", 5, SQL_C_CHAR, DT_UINT16 },
    { 0x0008, 0x0008, "ImageType", 128, SQL_C_CHAR, DT_STR },
    { 0x0054, 0x0400, "ImageID", 16, SQL_C_CHAR, DT_STR },
    { 0x0010, 0x0020, "ImagePat", 64, SQL_C_CHAR, DT_STR },
    { 0x0020, 0x000e, "SeriesInstanceUID", 64, SQL_C_CHAR, DT_UI }
    }


    *WorkList*
    {
    { 0x0008, 0x0050, "AccessionNumber", 16, SQL_C_CHAR, DT_STR, "OBR.3" },
    { 0x0010, 0x0020, "PatientID", 64, SQL_C_CHAR, DT_STR, "PID.4" },
    { 0x0010, 0x0010, "PatientName", 64, SQL_C_CHAR, DT_STR, "PID.5" },
    { 0x0010, 0x0030, "PatientBirthDate", 8, SQL_C_DATE, DT_DATE, "PID.7.DATE" },
    { 0x0010, 0x0040, "PatientSex", 16, SQL_C_CHAR, DT_STR, "PID.8" },


    { 0x0010, 0x2000, "MedicalAlerts", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0010, 0x2110, "ContrastAllergies", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0020, 0x000d, "StudyInstanceUID", 64, SQL_C_CHAR, DT_UI, "---" },
    { 0x0032, 0x1032, "ReqPhysician", 64, SQL_C_CHAR, DT_STR, "OBR.16" },
    { 0x0032, 0x1060, "ReqProcDescription", 16, SQL_C_CHAR, DT_STR, "OBR.4.1" },


    { 0x0010, 0x21d0, "LastMenstrualDate", 8, SQL_C_DATE, DT_DATE, "---" },


    { 0x0040, 0x0100, "--------", 0, SQL_C_CHAR, DT_STARTSEQUENCE, "---" },
    { 0x0008, 0x0060, "Modality", 16, SQL_C_CHAR, DT_STR, "OBR.21" },
    { 0x0032, 0x1070, "ReqContrastAgent", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0001, "ScheduledAE", 16, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0002, "StartDate", 8, SQL_C_DATE, DT_DATE, "OBR.7.DATE" },
    { 0x0040, 0x0003, "StartTime", 16, SQL_C_CHAR, DT_TIME, "OBR.7.TIME" },
    { 0x0040, 0x0006, "PerfPhysician", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0007, "SchedPSDescription", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0009, "SchedPSID", 16, SQL_C_CHAR, DT_STR, "OBR.4" },
    { 0x0040, 0x0010, "SchedStationName", 16, SQL_C_CHAR, DT_STR, "OBR.24" },
    { 0x0040, 0x0011, "SchedPSLocation", 16, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0012, "PreMedication", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0400, "SchedPSComments", 64, SQL_C_CHAR, DT_STR, "---" },
    { 0x0040, 0x0100, "---------", 0, SQL_C_CHAR, DT_ENDSEQUENCE, "---" },


    { 0x0040, 0x1001, "ReqProcID", 16, SQL_C_CHAR, DT_STR, "OBR.4.0" },
    { 0x0040, 0x1003, "ReqProcPriority", 16, SQL_C_CHAR, DT_STR, "OBR.27 }
    }



    *********************** dicom configuration file*****************



    # This file contains configuration information for the DICOM server
    # Do not edit unless you know what you are doing


    [sscscp]
    MicroPACS = sscscp
    Edition = Personal


    # Network configuration: server name and TCP/IP port#
    MyACRNema = PACS
    TCPPort = 5678


    # Reference to other files: known dicom servers; database layout; sops
    ACRNemaMap = acrnema.map
    kFactorFile = dicom.sql
    SOPClassList = dgatesop.lst


    # Host(ignored), name, username and password for ODBC data source
    SQLHost = 192.168.200.253
    SQLServer = conquestpacs_s
    Username = sa
    Password = samsung
    DoubleBackSlashToDB = 0


    # Configure database
    TruncateFieldNames = 10
    MaxFieldLength = 254
    MaxFileNameLength = 255
    FixPhilips = 0
    FixKodak = 0
    KeepAlive = 0
    LargeFileSizeKB = 2048
    ZipTime = 05:
    UIDPrefix = 1.2.826.0.1.3680043.2.135.732969.52984875
    EnableReadAheadThread = 1
    PatientQuerySortOrder =
    StudyQuerySortOrder =
    SeriesQuerySortOrder =
    ImageQuerySortOrder =
    IndexDBF = 1
    PackDBF = 0
    LongQueryDBF = 1000
    TCPIPTimeOut = 300
    FailHoldOff = 60
    RetryDelay = 100
    QueueSize = 128
    WorkListMode = 0
    DebugLevel = 0
    Prefetcher = 0
    LRUSort =
    AllowTruncate =
    DecompressNon16BitsJpeg = 1
    UseBuiltInDecompressor = 1
    FileNameSyntax = 3


    # Configuration of compression for incoming images and archival
    DroppedFileCompression = un
    IncomingCompression = un
    ArchiveCompression = as


    # Names of the database tables
    PatientTableName = DICOMPatients
    StudyTableName = DICOMStudies
    SeriesTableName = DICOMSeries
    ImageTableName = DICOMImages
    DMarkTableName = DICOMAccessUpdates
    RegisteredMOPDeviceTable = RegisteredMOPIDs
    UIDToMOPIDTable = UIDToMOPID
    UIDToCDRIDTable = UIDToCDRID


    # Banner and host for debug information
    PACSName = PACS
    OperatorConsole = 127.0.0.1


    # Configuration of disk(s) to store images
    MAGDeviceThreshhold = 0
    MAGDevices = 1
    MAGDevice0 = C:\dicom\data\
    NightlyCleanThreshhold = 0


    #Export sr
    ExportConverters = 1
    ExportModality0 = SR
    ExportConverter0 = copy %f to C:\dicom\structured_report




    ********************************************


    sds
    Marcelino