<book xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0">
    <title>CP-1844</title>
    <subtitle>Restore group length VR definition even though retired</subtitle>
    <chapter>
        <title></title>
        <informaltable rules="all" frame="box">
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Status</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>Assigned</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Date of Last Update</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>2018/09/13</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Person Assigned</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>David Clunie</para><para><link
                    xl:href="mailto:dclunie@dclunie.com"/></para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Submitter Name</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>David Clunie</para><para><link
                    xl:href="mailto:dclunie@dclunie.com"/></para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Submission Date</para></td>
                <td rowspan="1" colspan="1" valign="top"><para>2018/07/06</para></td>
            </tr>
        </informaltable>
        <informaltable rules="all" frame="box">
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Correction Number CP-1844</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Log Summary: Restore group length VR definition even though retired</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top">
                    <para>Name of Standard</para>
                    <para>PS3.5</para>
                </td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Rationale for Correction:</para>
                    <para>CP 172 generalized the VR definition for group length data elements
                    rather than depending on their description per group in PS3.6, which also
                    had the effect of defining the VR for private group length data elements.</para>
                    <para>When CP 707 retired group length data elements it removed the VR
                    definition.</para>
                    <para>Restore the VR definition and also mention that private group length data
                        elements exist and are retired.</para>
                </td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top">Correction Wording:</td>
            </tr>
        </informaltable>
    </chapter>
    <chapter>
        <title/>

      <informaltable rules="all" frame="box">
        <tr>
          <td>
            <para><emphasis role="italic">Amend DICOM PS3.5 as follows (changes to existing text are bold and <emphasis role="bold"><emphasis role="underline">underlined</emphasis></emphasis> for additions and <emphasis role="bold"><emphasis role="strikethrough">struckthrough</emphasis></emphasis> for removals):</emphasis></para>
          </td>
        </tr>
      </informaltable>
        
        
        <section label="7.2" status="2" xml:id="sect_7.2">
            <title>Group Length</title>
            <para xml:id="para_6bd08183-dd74-4f1d-b6a0-b89c9108bb85">Group Length (gggg,0000) <emphasis role="bold"><emphasis role="strikethrough">Standard </emphasis></emphasis>Data Elements <emphasis role="bold"><emphasis role="underline">were implicitly defined for Standard and Private Data Element groups with a Value Representation of UL and a Value Multiplicity of 1, but </emphasis></emphasis>have been retired. See PS3.5-2007.</para>
            <para xml:id="para_bfa1c83e-e646-4a00-966a-aa9aca360306">All implementations shall be able to parse Group Length elements, and may discard and not insert or re-insert them; if present they shall be consistent with the encoding of the Data Set even if the Transfer Syntax is changed resulting in a change in the actual length of a group of elements. No implementation shall require the presence of Group Length elements.</para>
            <note>
                <orderedlist numeration="arabic">
                    <listitem>
                        <para xml:id="para_e3f1b1e5-fb75-424a-90f8-a54472b79198">Elements in groups 0, 2, 4 and 6 are not Standard Data Elements. Mandatory requirements for Group Length for groups 0 and 2 are specified elsewhere in the standard.</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_7b87bd2c-482b-41dc-a981-95b807922129">It is recommended that Group Length elements be removed during storage or transfer in order to avoid the risk of inconsistencies arising during coercion of data element values and changes in Transfer Syntax.</para>
                    </listitem>
                </orderedlist>
            </note>
        </section>
        
        
        <section label="7.8" status="2" xml:id="sect_7.8">
            <title>Private Data Elements</title>
            <para xml:id="para_e664af99-e0e2-4ea1-845d-53edb6cd7701">Implementations may require communication of information that cannot be contained in Standard Data Elements. Private Data Elements are intended to be used to contain such information. Such Private Data Elements shall not change the semantics of the Information Object Definition or SOP Class Definition.</para>
            <para xml:id="para_5c57ea50-c49a-4aa6-bfbd-f07befbfa0b3">Private Data Elements have the same structure as Standard Data Elements specified earlier in <xref linkend="sect_7.1" xrefstyle="select: label"/> (i.e., Data Element Tag field, optional VR field, length field, and value field). The Group Number used in the Element Tag of Private Data Elements shall be an odd number. Private Data Elements shall be contained in the Data Set in increasing numeric order of Data Element Tag. The Value Field of a Private data element shall have one of the VRs specified by this standard in <xref linkend="sect_6.2" xrefstyle="select: label"/>.</para>
            <para xml:id="para_306e0e6f-8b81-4ed6-b11a-7fcfca5c3faa">For each Information Object Definition or SOP Class Definition, certain Data Elements are required (Data Element Type 1, 1C, 2, or 2C) as specified in <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/> and <olink targetdoc="PS3.4" targetptr="PS3.4" xrefstyle="select: labelnumber"/>. Private Data Elements shall not be used in place of required Standard Data Elements.</para>
            <section label="7.8.1" status="3" xml:id="sect_7.8.1">
                <title>Private Data Element Tags</title>
                <para xml:id="para_7984993b-9caf-4610-be77-8fa0ed194c66">It is possible that multiple implementers may define Private Elements with the same (odd) group number. To avoid conflicts, Private Elements shall be assigned Private Data Element Tags according to the following rules.</para>
                <orderedlist numeration="loweralpha">
                    <listitem>
                        <para xml:id="para_184c146b-050a-44b5-8420-fdf179f0bf0b">Private Creator Data Elements numbered (gggg,0010-00FF) (gggg is odd) shall be used to reserve a block of Elements with Group Number gggg for use by an individual implementer. The implementer shall insert an identification code in the first unused (unassigned) Element in this series to reserve a block of Private Elements. The VR of the private identification code shall be LO (Long String) and the VM shall be equal to 1. A Private Creator identifier may be used only once within a Group; reserving multiple blocks of Elements in the same Group with the same identifier is not allowed.
                            The Private Creator Data Elements shall only contain characters from the Default Character Repertoire and not an Extended or Replacement Character Repertoire, even though the LO VR is one that is affected by the Specific Character Set (0008,0005).</para>
                        <note>
                            <orderedlist>
                                <listitem>
                                    <para xml:id="para_057b129b-322a-455e-b352-40c6c0749bb4">If an implementer needs multiple repetitions of a private element, a private Sequence attribute (see <xref linkend="sect_7.5" xrefstyle="select: label"/>) may be used to contain these multiple items.</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_92d7dbb9-3596-4b2e-bd11-73c799bf71d2">An implementer may use the same Private Creator identifier for multiple Groups.</para>
                                </listitem>
                            </orderedlist>
                        </note>
                    </listitem>
                    <listitem>
                        <para xml:id="para_167ccd9d-9024-4382-b234-56ee7ed8d38a">Private Creator Data Element (gggg,0010), is a Type 1 Data Element that identifies the implementer reserving element (gggg,1000-10FF), Private Creator Data Element (gggg,0011) identifies the implementer reserving elements (gggg,1100-11FF), and so on, until Private Creator Data Element (gggg,00FF) identifies the implementer reserving elements (gggg,FF00-FFFF).</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_6b1b4fe8-7eec-4749-8b0c-0a6c405bbf1a">Encoders of Private Data Elements shall be able to dynamically assign private data to any available (unreserved) block(s) within the Private group, and specify this assignment through the blocks corresponding Private Creator Data Element(s). Decoders of Private Data shall be able to accept reserved blocks with a given Private Creator identification code at any position within the Private group specified by the blocks corresponding Private Creator Data Element.</para>
                        <note>
                            <orderedlist numeration="arabic">
                                <listitem>
                                    <para xml:id="para_38c1cb98-d250-4234-85cd-952956a94eef">The versions of this standard prior to V3.0 described shadow groups. These were groups with a group number one greater than the standard groups. Elimination of conflicts in Private Data Element Tags have made this distinction obsolete and this terminology has been retired.</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_8d59b8b6-aff4-4463-b947-e02b967a678f">The versions of this standard prior to V3.0 specified private group element numbers (gggg,10FF-7FFF) reserved for manufacturers and private group element numbers (gggg, 8100-FFFF) reserved for users. Elimination of conflicts in Private Data Element Tags has made this distinction obsolete and this specification has been retired.</para>
                                </listitem>
                                <listitem>
                                    <para xml:id="para_c772d8d5-6241-40f5-83e2-0a19653d6ee9">The requirements of this section do not allow any use of elements in the ranges (gggg,0001-000F) and (gggg,0100-0FFF) where gggg is odd.</para>
                                </listitem>
                            </orderedlist>
                        </note>
                    </listitem>
                    <listitem>
                        <para xml:id="para_48211f97-fbd7-4ca7-b1c6-cdffa8604549">Elements with Tags (0001,xxxx), (0003,xxxx), (0005,xxxx), and (0007,xxxx) shall not be used.</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_3dfe862d-2e2f-46ad-b450-323f886feb99">Whether or not Private Data Elements contain identifying information related to de-identification is defined by the Private Data Element Characteristics Sequence (0008,0300). See <olink targetdoc="PS3.3" targetptr="sect_C.12.1" xrefstyle="template:PS3.3 Section %n"/>.</para>
                    </listitem>
                    <listitem>
                        <para><emphasis role="bold"><emphasis role="underline">Data Elements numbered (gggg,0000) (gggg is odd) were Group Length Elements, which have been retired, See Section 7.2 Group Length.</emphasis></emphasis></para>
                    </listitem>
                </orderedlist>
                <para xml:id="para_e8d512ad-3fa1-4d18-b8d4-911673baeb0d">Since each Item within a sequence is a self contained Data Set (see <xref linkend="sect_7.5" xrefstyle="select: label"/> on the nesting of Data Sets via Sequences of Items), any Item that contains Private Data Elements shall also have Private Creator Data Elements reserving blocks of Elements for those Private Data Elements. The scope of the reservation is just within the Item. Items do not inherit the Private Data Element reservations made by Private Creator Data Elements in the Data Set in which the Item is nested.</para>
                <note>
                    <orderedlist numeration="arabic">
                        <listitem>
                            <para xml:id="para_1d3a3082-a8ce-4ba3-9681-f4f5b614662b">If a sequence is itself a Private Data Element and the Items within the sequence also have Private Data Elements, then there will be Private Creator Data Elements both outside the sequence and within the sequence Items.</para>
                        </listitem>
                        <listitem>
                            <para xml:id="para_6cd536a0-085e-44ba-b4ec-c8aec705a572">Different Items may reserve the same block of Private Data Elements for different private creators. This is necessary to allow the nesting of Data Sets collected from multiple sources into folders.</para>
                        </listitem>
                        <listitem>
                            <para xml:id="para_9665aefa-3958-479d-a71f-ca5556376029">The recommended convention for referencing a Private Data Element is (gggg,xxee,"pcde"), where gggg is the group number, xx is the string “xx”, ee is the element number within a reserved block, and pcde is the quoted value of the Private Creator Data Element that reserved the block, e.g., (0029,xx43,"Acme_CT_Parameters"). Alternatively, when a block of Private Data Elements is being described, one may factor out the description of the Private Creator Data Element value, e.g., Private Creator Data Element (0029,00xx) = "Acme_CT_Parameters", and (0029,xx43), (0029,xx44), etc.</para>
                        </listitem>
                    </orderedlist>
                </note>
            </section>
            <section label="7.8.2" status="3" xml:id="sect_7.8.2">
                <title>Encoding of Private Elements</title>
                <para xml:id="para_a67c52c0-e267-4abe-9448-e13a7e340e8d">The Value Representations used for Private Data Elements shall be the same as those VRs specified for Standard Data Elements in <xref linkend="sect_6.2" xrefstyle="select: label"/>. The encoding shall conform to the requirements for those VRs and shall be in accordance with the negotiated Transfer Syntax. A Private Data Element with SQ VR (a Private Data Sequence) may include Items with both Standard and Private Data Elements. Standard Data Elements used within a Private Data Sequence shall use the VRs as defined in <olink targetdoc="PS3.6" targetptr="PS3.6" xrefstyle="select: labelnumber"/> for those data elements.</para>
                <para xml:id="para_194a8d5e-3851-48e5-a1dc-6db8d1acd5bb">The semantics of Standard Data Elements within a Private Data Sequence, and the definition of Attribute Values, are implementation dependent.</para>
                <para xml:id="para_6ce35963-88c1-4134-b699-9648ab32e48e">For a Standard Extended SOP Class the Attributes Pixel Data (7FE0,0010), Float Pixel Data (7FE0,0008), Double Float Pixel Data (7FE0,0009), Waveform Data (5400,1010) and Overlay Data (60xx,3000) shall not be included within a Private Sequence Item, nor within a standard Sequence Item nested directly or indirectly within a Private Sequence Item.</para>
            </section>
        </section>
        
        
        
        
      
        
        
        
      
    </chapter>
</book>
