Posts by ghassenbenmechichi

    -- this text between [[ ]] is the JNLP sample file from the weasis website without change, it is adapted by the lua code below

    -- I had to remove line <extension href="http://localhost:8080/weasis/substance.jnlp" />, for weasis_portable3.0

    local jnlp = [[

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0//EN" "">

    <jnlp spec="1.6+" codebase="http://localhost:8080/weasis" href="">



    <vendor>Weasis Team</vendor>

    <description>DICOM images viewer</description>

    <description kind="short">An application to visualize and analyze DICOM images.</description>

    <description kind="one-line">DICOM images viewer</description>

    <description kind="tooltip">Weasis</description>



    <all-permissions />



    <!-- Requires Java SE 8 for Weasis 2.5 and superior -->

    <java version="9+" href="" java-vm-args="--add-modules java.xml.bind --add-exports=java.base/ --add-exports=java.base/ --add-exports=java.base/ --add-exports=java.base/ --add-exports=java.base/ --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.base/ --add-opens=java.desktop/ --add-opens=java.desktop/javax.imageio=ALL-UNNAMED --add-opens=java.desktop/com.sun.awt=ALL-UNNAMED" initial-heap-size="128m" max-heap-size="768m" />

    <java version="9+" java-vm-args="--add-modules java.xml.bind --add-exports=java.base/ --add-exports=java.base/ --add-exports=java.base/ --add-exports=java.base/ --add-exports=java.base/ --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.base/ --add-opens=java.desktop/ --add-opens=java.desktop/javax.imageio=ALL-UNNAMED --add-opens=java.desktop/com.sun.awt=ALL-UNNAMED" initial-heap-size="128m" max-heap-size="768m" />

    <j2se version="1.8+" href="" initial-heap-size="128m" max-heap-size="768m" />

    <j2se version="1.8+" initial-heap-size="128m" max-heap-size="768m" />

    <jar href="http://localhost:8080/weasis/weasis-launcher.jar" main="true" />

    <jar href="http://localhost:8080/weasis/felix.jar" />

    <!-- Optional library (Substance Look and feel, only since version 1.0.8). Requires the new Java Plug-in introduced in the Java SE 6 update 10 release.For previous JRE 6, substance.jnlp needs a static codebase URL -->

    <!-- Allows to get files in pack200 compression, only since Weasis 1.1.2 -->

    <property name="jnlp.packEnabled" value="true" />

    <!-- ================================================================================================================= -->

    <!-- Security Workaround. Add prefix "jnlp.weasis" for having a fully trusted application without signing jnlp (only since weasis 1.2.9), -->

    <!-- Required parameter. Define the location of (the OSGI configuration and the list of plug-ins to install/start) -->

    <property name="" value="http://localhost:8080/weasis/conf/" />

    <!-- Optional parameter. Define the location of (extend/override -->

    <property name="" value="http://localhost:8080/weasis-ext/conf/" />

    <!-- Required parameter. Define the code base of Weasis for the JNLP -->

    <property name="jnlp.weasis.weasis.codebase.url" value="http://localhost:8080/weasis" />

    <!-- Optional parameter. Define the code base ext of Weasis for the JNLP -->

    <property name="jnlp.weasis.weasis.codebase.ext.url" value="http://localhost:8080/weasis-ext" />

    <!-- Required parameter. OSGI console parameter -->

    <property name="jnlp.weasis.gosh.args" value="-sc telnetd -p 17179 start" />

    <!-- Optional parameter. Allows to have the Weasis menu bar in the top bar on Mac OS X (works only with the native Aqua look and feel) -->

    <property name="" value="true" />

    <!-- Optional parameter. Allows to get plug-ins translations -->

    <property name="jnlp.weasis.weasis.i18n" value="http://localhost:8080/weasis-i18n" />

    <!-- Optional Weasis Documentation -->

    <!-- <property name="" value="${cdb}/../weasis-doc" /> -->

    <!-- ================================================================================================================= -->


    <application-desc main-class="org.weasis.launcher.WebstartLauncher">

    <!-- Example for opening dicom files from remote xml file -->

    <argument>$dicom:get -w "http://localhost:8080/dcm4chee-web/wadoQueries/wado_query3888637380.xml.gz"</argument>

    <!-- Example for opening dicom files from a local folder -->

    <argument>$dicom:get -l "/home/Images/MRIX LUMBAR/"</argument>

    <!-- Example for opening dicom files by embedding the xml file encoded in gzip and then in base64, it must be in one line without space at the beginning -->

    <argument>$dicom:get -i "H4sIAAAAAAAAALVV7Y+aMBz+vr+i6XdLXwDBHHdxpy4mvgX0dvtkOqnaBOGO1qn//RUQnW5uy3JHCC2/1+d5Wsrdw36TgB8iVzJLA0gQhkCkiyyW6SqAW71seBA83H+62/E4m79uR..."</argument>

    <!-- Example for opening dicom files from URLs -->

    <argument>$dicom:get -r "http://server/images/img1.dcm http://server/images/img2.dcm"</argument>




    this bloc ??

    -- start of xml generator

    -- split query information

    local patid = string.gsub(ident, ':[^:]-$', '')

    local uid = string.gsub(ident, '^.*:', '')

    local compress = CGI('compression', 'un')

    local source = servercommand('get_param:MyACRNema')

    local paq, stq, seq, inq


    But i regenerated this image

    ------------- Regen device MAG2 --------------------

    [CLINISYS] ---------- Start archival operation -----------

    [CLINISYS] Regen single device: MAG2

    [CLINISYS] [Regen] G:\2002\Juin\TEST\1.2.392.200036.9125.2.153123021197.64362859708.296255\1.2.392.200036.9125.3.153123021197.64362859708.296256\1.2.392.200036.9125.9.0.4228783145.3251638016.3860816339 -SUCCESS

    [CLINISYS] Regeneration Complete

    [CLINISYS] ---------- End of archival operation -----------

    another problem when opening a regenerated image

    [CLINISYS] Query On Study [CLINISYS] Queried item 0010 0021 is not in the database [CLINISYS] Issue Query on Columns: DICOMStudies.StudyDate, DICOMStudies.StudyTime, DICOMStudies.AccessionN, DICOMStudies.StudyModal, DICOMStudies.ReferPhysi, DICOMStudies.StudyDescr, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.PatientBir, DICOMStudies.PatientSex, DICOMStudies.StudyInsta, DICOMStudies.StudyID [CLINISYS] Values: DICOMStudies.PatientID = '1.2.392.200036.9125.2.153123021197.64362859708.296255' [CLINISYS] Tables: DICOMStudies [CLINISYS] Sorting (DICOMStudies.PatientNam) DoSort := 1 [CLINISYS] Records = 0

    Hi Conquest users

    I have a problem with regen device.

    [PACS] ***Dynamic_Parse encountered an invalid element length during load of DCM file (in 7fe00010)

    [PACS] ***Length = 6228352

    [PACS] ***Group Length = 11

    [PACS] ***[Regen] G:\1997\Juin\TEST\test\test\1.2.392.200036.9125.9.0.4061067668.3437956864.dcm -FAILED: Error on Load

    [PACS] Regeneration Complete