<book xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0">
    <title>CP-2389</title>
    <subtitle>Define Fragment</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>Letter Ballot</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>2024/08/24</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>Jörg Riesmeier</para><para><link
                    xl:href="mailto:dicom@jriesmeier.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>2024/01/08</para></td>
            </tr>
        </informaltable>
        <informaltable rules="all" frame="box">
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Correction Number CP-2389</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Log Summary: Define Fragment and Frame</para></td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top">
                    <para>Name of Standard</para>
                    <para>PS3.3, PS3.5, PS3.18</para>
                </td>
            </tr>
            <tr>
                <td rowspan="1" colspan="1" valign="top"><para>Rationale for Correction:</para>
                    <para>The terms "Fragment" and "Frame" and "Pixel Data Stream" are used without formal definitions, across multiple parts.</para>
                    <para>Add them, as well as editorial instruction to capitalize throughout. Also capitalize "Multi-frame Image" and "Cine Run" throughout.</para>
                    <para>Also, factor out implicit definitions.</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">Capitalize "Frame" and "Fragment" and "Multi-frame Image" when used as discrete words or phrases throughout all parts.</emphasis></para>
                </td>
            </tr>
        </informaltable>
        
        <informaltable rules="all" frame="box">
            <tr>
                <td>
                    <para><emphasis role="italic">Consistently hyphenate "octet-stream" throughout all parts.</emphasis></para>
                </td>
            </tr>
        </informaltable>
        
        <informaltable rules="all" frame="box">
            <tr>
                <td>
                    <para><emphasis role="italic">Amend DICOM PS3.3 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="3" status="1" xml:id="chapter_3">
            <title>Definitions</title>
            <para/>
            <glossary>
                <glossdiv label="3.5" status="2" xml:id="sect_3.5">
                    <title>DICOM Data Structures and Encoding</title>
                    <para xml:id="para_1b4e328a-0193-4636-88c9-079655a44d01">This Part of the Standard makes use of the following terms defined in <olink targetdoc="PS3.5" targetptr="PS3.5" xrefstyle="select: labelnumber"/>:</para>
                    <glossentry xml:id="glossentry_BasicOffsetTable" xreflabel="Basic Offset Table (BOT)">
                        <glossterm>Basic Offset Table</glossterm>
                        <acronym>BOT</acronym>
                        <glossdef>
                            <para xml:id="para_40b25cbb-69cf-4235-b876-8588e5680d62">
                                <olink targetdoc="PS3.5" targetptr="glossentry_BasicOffsetTable" xrefstyle="template:See %t in %o"/>.</para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_ExtendedOffsetTable" xreflabel="Extended Offset Table (EOT)">
                        <glossterm>Extended Offset Table</glossterm>
                        <acronym>EOT</acronym>
                        <glossdef>
                            <para xml:id="para_65922379-4fd4-406f-b8d5-b1256a219d37">
                                <olink targetdoc="PS3.5" targetptr="glossentry_ExtendedOffsetTable" xrefstyle="template:See %t in %o"/>.</para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_EncapsulatedFormat" xreflabel="EncapsulatedFormat">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Encapsulated Format</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Encapsulated Format in PS3.5<!--<olink targetdoc="PS3.5" targetptr="glossentry_EncapsulatedFormat" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_Fragment" xreflabel="Fragment">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Fragment</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Fragment in PS3.5<!--<olink targetdoc="PS3.5" targetptr="glossentry_Fragment" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_NativeFormat" xreflabel="NativeFormat">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Native Format</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Native Format in PS3.5<!--<olink targetdoc="PS3.5" targetptr="glossentry_NativeFormat" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                </glossdiv>
                <glossdiv label="3.8" status="2" xml:id="sect_3.8">
                    <title>DICOM Information Object</title>
                    <glossentry xml:id="glossentry_CineRun" xreflabel="Cine Run">
                        <glossterm>Cine Run</glossterm>
                        <glossdef>
                            <para xml:id="para_8534fbb4-c51c-4888-a5e5-45b068434a2d">A set of temporally related <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>rames acquired at constant or variable frame rates. This term incorporates the general class of serialography<emphasis role="bold"><emphasis role="underline"> (archaic)</emphasis></emphasis>. <note>
                                    <para xml:id="para_194f585a-2c6f-4d0b-a9a0-c6e03dec7b1a">A Cine Run is typically encoded as a <emphasis role="bold"><emphasis role="strikethrough">m</emphasis><emphasis role="underline">M</emphasis></emphasis>ulti-frame <emphasis role="bold"><emphasis role="strikethrough">i</emphasis><emphasis role="underline">I</emphasis></emphasis>mage.</para>
                                </note>
                            </para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_Frame" xreflabel="Frame">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Frame</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para><emphasis role="bold"><emphasis role="underline">A single two-dimensional pixel plane of a Multi-frame Image.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_MultiFrameImage" xreflabel="Multi-frame Image">
                        <glossterm>Multi-frame Image</glossterm>
                        <glossdef>
                            <para xml:id="para_97cbf9b3-31cd-4be3-b7be-4aca4c74b783">Image that contains multiple two-dimensional pixel planes.</para>
                        </glossdef>
                    </glossentry>
                </glossdiv>
            </glossary>
        </section>
        
        
        
        
 
 
        
        <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="3" status="1" xml:id="chapter_3">
            <title>Definitions</title>
            <para/>
            <glossary>
                <glossdiv label="3.7" status="2" xml:id="sect_3.7">
                    <title>DICOM Information Object Definitions</title>
                    <glossentry xml:id="glossentry_Frame" xreflabel="Frame">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Frame</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Frame in PS3.3<!--<olink targetdoc="PS3.3" targetptr="glossentry_Frame" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_MultiFrameImage" xreflabel="Multi-frame Image">
                        <glossterm>Multi-frame Image</glossterm>
                           <glossdef>
                            <para xml:id="para_e83040f0-999b-4d1a-abdf-86b80227be3e">
                                <olink targetdoc="PS3.3" targetptr="glossentry_MultiFrameImage" xrefstyle="template:See %t in %o"/>.</para>
                        </glossdef>
                    </glossentry>
                </glossdiv>
                
                <glossdiv label="3.10" status="2" xml:id="sect_3.10">
                    <title>DICOM Data Structures and Encoding Definitions</title>
                    <glossentry xml:id="glossentry_EncapsulatedFormat" xreflabel="EncapsulatedFormat">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Encapsulated Format</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para><emphasis role="bold"><emphasis role="underline">The Pixel Data Stream is encoded in a form wherein Fragments are contained within Item Tags within the Pixel Data (7FE0,0010) Data Element, usually used for compressed data.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_Fragment" xreflabel="Fragment">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Fragment</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para><emphasis role="bold"><emphasis role="underline">One part or all of a Pixel Data Stream encoded within Encapsulated Pixel Data.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_FragmentableEncapsulatedTransferSyntax" xreflabel="FragmentableEncapsulatedTransferSyntax">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Fragmentable Encapsulated Transfer Syntax</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para xml:id="para_289bc48e-549d-4bbd-82c2-35b261235538"><emphasis role="bold"><emphasis role="underline">A Transfer Syntax that allows the Encapsulated Format Pixel Data Stream to be split into one or more Fragments.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_NativeFormat" xreflabel="NativeFormat">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Native Format</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para><emphasis role="bold"><emphasis role="underline">The Pixel Data Stream is encoded in an uncompressed form and occupies the entire Value of the Pixel Data (7FE0,0010) Data Element.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_PixelData" xreflabel="Pixel Data">
                        <glossterm>Pixel Data</glossterm>
                        <glossdef>
                            <para xml:id="para_9c374584-1131-4a72-8928-ebe873b2c1be">Graphical data (e.g., images) of variable pixel-depth encoded in the Pixel Data, Float Pixel Data or Double Float Pixel Data Element.</para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_PixelDataStream" xreflabel="Pixel Data Stream">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Pixel Data Stream</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para><emphasis role="bold"><emphasis role="underline">The compressed or uncompressed octet-stream that constitutes the Pixel Data itself, without any DICOM-specific encapsulation structures.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_NonFragmentableEncapsulatedTransferSyntax" xreflabel="NonFragmentableEncapsulatedTransferSyntax">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Non-Fragmentable Encapsulated Transfer Syntax</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para xml:id="para_c2b51c46-a6b2-448e-97d2-cad7b38e6597"><emphasis role="bold"><emphasis role="underline">A Transfer Syntax that requires the entire Encapsulated Format Pixel Data Stream be encoded in a single Fragment.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                </glossdiv>
            </glossary>
        </section>

<section label="8.2" status="2" xml:id="sect_8.2">
            <title>Native or Encapsulated Format Encoding</title>
            <para xml:id="para_f9b54410-31ad-4044-9be0-651dd86c84b3">Pixel data conveyed in the Pixel Data (7FE0,0010) may be sent either in a Native (uncompressed) Format or in an Encapsulated Format (e.g., compressed).</para>
            <para xml:id="para_1767d1f2-fcf4-46b9-a6fa-21b2e61e9b5d">...</para>
            <para xml:id="para_7bc14864-77a5-4409-8ec0-c246cace4681">Pixel Data conveyed in the Float Pixel Data (7FE0,0008) or Double Float Pixel Data (7FE0,0009) shall be in a Native (uncompressed) Format if encoded in a Standard Transfer Syntax.</para>
            <note>
                <orderedlist>
                    <listitem>
                        <para xml:id="para_19247c30-979c-41f0-8ef0-f8174def91a2">In future, if Standard Transfer Syntaxes are defined for compression of Float Pixel Data (7FE0,0008) or Double Float Pixel Data (7FE0,0009), this constraint may be relaxed and Encapsulated Format permitted.</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_8f83d270-3f31-4a61-9325-e6f2a8e8c7f9">This constraint does not apply to Private Transfer Syntaxes.</para>
                    </listitem>
                </orderedlist>
            </note>
            <para xml:id="para_cdbe477b-a4f5-417d-bee0-82e5a0b1a9ad">If Pixel Data (7FE0,0010) is sent in a Native Format, the Value Representation OW is most often required. The Value Representation OB may also be used for Pixel Data (7FE0,0010) in cases where Bits Allocated has a Value less than or equal to 8, but only with Transfer Syntaxes where the Value Representation is explicitly conveyed (see <xref linkend="chapter_A" xrefstyle="template:Annex %n"/>).</para>
            <note>
                <orderedlist>
                    <listitem>
                        <para xml:id="para_ec814ff7-cbc9-4530-a0b6-a580a48d6cf4">...</para>
                    </listitem>
                </orderedlist>
            </note>
            <para xml:id="para_dec19bac-823e-44b1-ba85-3bc875c2010d">Float Pixel Data (7FE0,0008) is sent in Native Format; the Value Representation shall be OF, Bits Allocated (0028,0100) shall be 32, Bits Stored (0028,0101), High Bit (0028,0102) and Pixel Representation (0028,0103) shall not be present.</para>
            <para xml:id="para_c0645d98-0279-4962-b94a-7481a0897cf2">Double Float Pixel Data (7FE0,0009) is sent in Native Format; the Value Representation shall be OD, Bits Allocated (0028,0100) shall be 64, Bits Stored (0028,0101) and High Bit (0028,0102) and Pixel Representation (0028,0103) shall not be present.</para>
            <para xml:id="para_d6734089-67bc-433e-87f7-40f00a859a9d">Native format Pixel Cells are encoded as the direct concatenation of the bits of each Pixel Cell, ...</para>
            <para xml:id="para_6287384f-06a5-47f6-ab74-625074661b31">If sent in an Encapsulated Format (i.e., other than the Native Format) the Value Representation OB is used. The Pixel Cells are encoded according to the encoding process defined by one of the negotiated Transfer Syntaxes (see <xref linkend="chapter_A" xrefstyle="template:Annex %n"/>).</para>
            <para xml:id="para_289bc48e-549d-4bbd-82c2-35b261235538"><emphasis role="bold"><emphasis role="strikethrough">A Fragmentable Encapsulated Transfer Syntax allows the encapsulated pixel stream of encoded pixel data to be split into one or more Fragments.</emphasis></emphasis></para>
    <para xml:id="para_c2b51c46-a6b2-448e-97d2-cad7b38e6597"><emphasis role="bold"><emphasis role="strikethrough">A Non-Fragmentable Encapsulated Transfer Syntax requires the entire encapsulated pixel stream of encoded pixel data to be encoded in a single Fragment.</emphasis></emphasis></para>
            <para xml:id="para_fce5d1ef-597b-44a3-b82d-59a1ec97482a">...</para>
            <para xml:id="para_2a7369c2-643e-417c-9ca9-9b4b932a9dbb">The Sequence of Fragments of the encapsulated pixel stream is terminated by a Sequence Delimiter Item, thus allowing the support of encoding processes where the resulting length of the entire pixel stream is not known until it is entirely encoded. Encapsulated Formats support both Single-Frame and Multi-<emphasis role="bold"><emphasis role="strikethrough">F</emphasis><emphasis role="underline">f</emphasis></emphasis>rame images (as defined in <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>). At least one Frame shall be present, and hence at least one Fragment will be present.</para>
            <note>
                <orderedlist>
                    <listitem>
                        <para xml:id="para_b50189ee-a299-4737-bea1-c0510c91ffe1">Depending on the Fragmentable Encapsulated Transfer Syntax, a frame may be entirely contained within a single fragment, or may span multiple fragments to support buffering during compression or to avoid exceeding the maximum size of a fixed length fragment. A recipient can detect fragmentation of frames by comparing the number of fragments (the number of Items minus one for the Basic Offset Table) with the number of frames. Some performance optimizations may be available to a recipient in the absence of fragmentation of frames, but an implementation that fails to support such fragmentation does not conform to the Standard.</para>
                    </listitem>
                    <listitem>
                        <para xml:id="para_0ea29a5b-45f9-4acd-8d23-0a7be834f2fc">The total size of the encapsulated pixel stream, not including any trailing padding in the last Fragment, if known, may be encoded in Encapsulated Pixel Data Value Total Length (7FE0,0003); see <olink targetdoc="PS3.3" targetptr="sect_C.7.6.6" xrefstyle="template:PS3.3 Section %n “%t”"/> and <olink targetdoc="PS3.3" targetptr="sect_C.7.6.16" xrefstyle="template:PS3.3 Section %n “%t”"/>.</para>
                    </listitem>
                </orderedlist>
            </note>
        </section>
            
        <section label="A.4" status="2" xml:id="sect_A.4">
      <title>Transfer Syntaxes For Encapsulation of Encoded Pixel Data</title>
      <para xml:id="para_637df8e8-3ec9-4054-accf-ac88bdd73f9d">...</para>
      <orderedlist>
        <listitem>
          <para xml:id="para_c3892865-4597-489d-8746-df46215fe7d8">...</para>
        </listitem>
                <listitem>
                    <para>...</para>
                </listitem>
        <listitem>
          <para xml:id="para_b5e2af39-f545-4a58-bd8a-faef00bfac1c">The encoding of the Data Elements of the Data Set shall be as follows according to their Value Representations:</para>
          <itemizedlist>
            <listitem>
              <para xml:id="para_2f69630f-745c-44ad-8013-d58d1e40abc4">...</para>
            </listitem>
            <listitem>
              <para xml:id="para_428d2f48-a706-43e0-bb3d-2bc775291d51">For the Value Representations OB, OL, OV and OW, the encoding shall meet the following specification depending on the Data Element Tag:</para>
              <itemizedlist>
                <listitem>
                  <para xml:id="para_d11882a9-2d96-4239-8809-1d7343f9f6f6">Pixel Data (7FE0,0010) may be encapsulated or native.</para>
                  <para xml:id="para_6666f793-ab61-4d3f-8686-142a1fd52846">...</para>
                  <para xml:id="para_5755baf8-0054-4d4e-a46b-0d8c389d2cf5">If encapsulated, it has the Value Representation OB and is an octet-stream resulting from one of the encoding processes. It contains the encoded <emphasis role="bold"><emphasis role="strikethrough">p</emphasis><emphasis role="underline">P</emphasis></emphasis>ixel <emphasis role="bold"><emphasis role="strikethrough">d</emphasis><emphasis role="underline">D</emphasis></emphasis>ata <emphasis role="bold"><emphasis role="strikethrough">s</emphasis><emphasis role="underline">S</emphasis></emphasis>tream fragmented into one or more Item(s). This Pixel Data Stream may represent a Single or Multi-frame Image. See <xref linkend="table_A.4-1" xrefstyle="select: label"/> and <xref linkend="table_A.4-2" xrefstyle="select: label"/>.</para>
                  <itemizedlist>
                    <listitem>
                      <para xml:id="para_97c429e3-6c06-424d-9bce-7c3148ba1324">The Length of the Data Element (7FE0,0010) shall be set to the Value for Undefined Length (FFFFFFFFH).</para>
                    </listitem>
                    <listitem>
                      <para xml:id="para_665bb926-3c99-4450-84c8-a30b42b5ad98">Each Data Stream Fragment encoded according to the specific encoding process shall be encapsulated as a DICOM Item with a specific Data Element Tag of Value (FFFE,E000). The Item Tag is followed by a 4 byte Value (Item) Length Field encoding the explicit number of bytes of the Item.</para>
                      <note>
                        <para xml:id="para_f74b95b4-6980-45b2-94b7-a409737a5668">Whether more than one <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>ragment per <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>rame is permitted or not is defined per Transfer Syntax.</para>
                      </note>
                    </listitem>
                    <listitem>
                      <para xml:id="para_24cbd6af-a8d0-4517-b73f-2fc42dae65ee">All items containing an encoded <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>ragment shall be made of an even number of bytes greater or equal to two. The last <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>ragment of a <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>rame may be padded, if necessary, to meet the <emphasis role="bold"><emphasis role="strikethrough">s</emphasis><emphasis role="underline">S</emphasis></emphasis>equence <emphasis role="bold"><emphasis role="strikethrough">i</emphasis><emphasis role="underline">I</emphasis></emphasis>tem format requirements of the DICOM Standard.</para>
                      <note>
                        <orderedlist numeration="arabic">
                          <listitem>
                            <para xml:id="para_ae87ec68-d4d2-4819-8c38-1cf9cbe9c9c8">Any necessary padding may be added in the JPEG or JPEG-LS compressed data stream as per ISO 10918-1 and ISO 14495-1 such that the End of Image (EOI) marker ends on an even byte boundary, or may be appended after the EOI marker, depending on the implementation.</para>
                          </listitem>
                          <listitem>
                            <para xml:id="para_38bee48b-cd28-447b-be96-241c669b2359">ISO 10918-1 and ISO 14495-1 define the ability to add any number of padding bytes FFH before any marker (all of which also begin with FFH). It is strongly recommended that FFH padding bytes not be added before the Start of Image (SOI) marker.</para>
                          </listitem>
                        </orderedlist>
                      </note>
                    </listitem>
                    <listitem>
                      <para xml:id="para_468b80cc-d9c5-4d78-83d6-867548ed4e61">The first Item in the Sequence of Items before the encoded Pixel Data Stream shall be a Basic Offset Table item. The Basic Offset Table Item Value, however, is not required to be present:</para>
                      <itemizedlist>
                        <listitem>
                          <para xml:id="para_f97a5189-b573-4b93-bfd0-0f32e4b46a2e">When the Item Value is not present, the Item Length shall be zero (00000000H) (see <xref linkend="table_A.4-1" xrefstyle="select: label"/>).</para>
                        </listitem>
                        <listitem>
                          <para xml:id="para_ad21ce9b-a763-414a-8f87-752be151ef6b">When the Item Value is present, the Basic Offset Table Item Value shall contain concatenated 32-bit unsigned integer values that are byte offsets to the first byte of the Item Tag of the first fragment for each frame in the Sequence of Items. These offsets are measured from the first byte of the first Item Tag following the Basic Offset Table item (see <xref linkend="table_A.4-2" xrefstyle="select: label"/>).</para>
                          <note>
                            <orderedlist numeration="arabic">
                              <listitem>
                                <para xml:id="para_b12823cc-c49d-4ca1-b7a2-301cfc093866">For a Multi-<emphasis role="bold"><emphasis role="strikethrough">F</emphasis><emphasis role="underline">f</emphasis></emphasis>rame Image containing only one frame or a Single Frame Image, the Basic Offset Table Item Value may be present or not. If present it will contain a single 00000000H value.</para>
                              </listitem>
                              <listitem>
                                  <para xml:id="para_98b02555-b62d-4cc3-b2e4-37b1d94e2733">Decoders of encapsulated pixel data, whether Single Frame or Multi-<emphasis role="bold"><emphasis role="strikethrough">F</emphasis><emphasis role="underline">f</emphasis></emphasis>rame, need to accept both an empty Basic Offset Table (zero length) and a Basic Offset Table filled with 32 bit offset values.</para>
                              </listitem>
                                <listitem>
                                    <para xml:id="para_c09259a9-9178-46b0-81d7-a6cf0811f3af">A Basic Offset Table Item Value is not permitted (i.e., the Item Length of the first Item will be zero) if Extended Offset Table (7FE0,0001) is present.</para>
                                </listitem>
                            </orderedlist>
                          </note>
                        </listitem>
                      </itemizedlist>
                    </listitem>
                    <listitem>
                      <para xml:id="para_07969f96-31db-4ac2-8aa0-80fa310f4a9a">This Sequence of Items is terminated by a Sequence Delimiter Item with the Tag (FFFE,E0DD) and an Value (Item) Length Field of Value (00000000H) (i.e., no Value Field shall be present).</para>
                    </listitem>
                  </itemizedlist>
                </listitem>
                <listitem>
                  <para xml:id="para_972ccef9-9624-4ca5-8a18-5d7c3574a7c5">...</para>
                </listitem>
              </itemizedlist>
            </listitem>
          </itemizedlist>
        </listitem>
      </orderedlist>
        </section>
        
        
        
        <informaltable rules="all" frame="box">
            <tr>
                <td>
                    <para><emphasis role="italic">Amend DICOM PS3.18 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="3" status="1" xml:id="chapter_3">
            <title>Definitions</title>
            <para/>
            <glossary>
                <glossdiv label="3.4" status="2" xml:id="sect_3.4">
                    <title>DICOM Information Object Definitions</title>
                    <para xml:id="para_d8e13f34-4cfa-4516-a87c-c7a82d03b9e1">This Part of the Standard makes use of the following terms defined in <olink targetdoc="PS3.3" targetptr="PS3.3" xrefstyle="select: labelnumber"/>:</para>
                    <glossentry xml:id="glossentry_Frame" xreflabel="Frame">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Frame</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Frame in PS3.3<!--<olink targetdoc="PS3.3" targetptr="glossentry_Frame" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_MultiFrameImage" xreflabel="Multi-frame Image">
                        <glossterm>Multi-frame Image</glossterm>
                        <glossdef>
                            <para xml:id="para_102d7f37-1b19-44d9-9bb3-c7f8e344b0c5">
                                <olink targetdoc="PS3.3" targetptr="glossentry_MultiFrameImage" xrefstyle="template:See %t in %o"/>.</para>
                        </glossdef>
                    </glossentry>
                </glossdiv>
                <glossdiv label="3.6" status="2" xml:id="sect_3.6">
                    <title>DICOM Data Structures and Encoding</title>
                    <para xml:id="para_45970a7b-76d4-4629-97b4-e42480d0ee89">This Part of the Standard makes use of the following terms defined in <olink targetdoc="PS3.5" targetptr="PS3.5" xrefstyle="select: labelnumber"/>:</para>
                    <glossentry xml:id="glossentry_EncapsulatedFormat" xreflabel="EncapsulatedFormat">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Encapsulated Format</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Encapsulated Format in PS3.5<!--<olink targetdoc="PS3.5" targetptr="glossentry_EncapsulatedFormat" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_Fragment" xreflabel="Fragment">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Fragment</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Fragment in PS3.5<!--<olink targetdoc="PS3.5" targetptr="glossentry_Fragment" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_NativeFormat" xreflabel="NativeFormat">
                        <glossterm><emphasis role="bold"><emphasis role="underline">Native Format</emphasis></emphasis></glossterm>
                        <glossdef>
                            <para>
                                <emphasis role="bold"><emphasis role="underline">See Native Format in PS3.5<!--<olink targetdoc="PS3.5" targetptr="glossentry_NativeFormat" xrefstyle="template:See %t in %o"/>-->.</emphasis></emphasis></para>
                        </glossdef>
                    </glossentry>
                </glossdiv>
                <glossdiv label="3.9" status="2" xml:id="sect_3.9">
                    <title>Web Services Definitions</title>
                    <glossentry xml:id="glossentry_BulkData" xreflabel="Bulk Data">
                        <glossterm>Bulk Data</glossterm>
                        <glossdef>
                            <para xml:id="para_e99b62d6-45c9-4f13-bffe-f5fa3dfb4aa6">An object that contains an octet-stream containing one or more Value Fields (typically containing large data, such as Pixel Data) extracted from a DICOM Dataset. See <xref linkend="glossentry_Metadata" xrefstyle="select: label"/>.</para>
                            <note>
                                <orderedlist>
                                    <listitem>
                                        <para xml:id="para_fd2ed224-f2a1-4e16-b9c0-4533fc4b2d91">The octet-stream does not include the Attribute Tag, Value Representation, or Attribute Length.</para>
                                    </listitem>
                                    <listitem>
                                        <para xml:id="para_ed958a20-d7f3-44cf-a436-80d1ebe73673">For the value of a <emphasis role="bold"><emphasis role="strikethrough">f</emphasis><emphasis role="underline">F</emphasis></emphasis>rame of a Pixel Data Attribute encoded in a<emphasis role="bold"><emphasis role="underline">n</emphasis></emphasis>
                                            <emphasis role="bold"><emphasis role="strikethrough">compressed</emphasis><emphasis role="underline">Encapsulated</emphasis></emphasis> Transfer Syntax, it does not include the Basic Offset Table and <emphasis role="bold"><emphasis role="underline">Pixel </emphasis></emphasis>Data Stream Fragment Item tags and lengths.</para>
                                    </listitem>
                                </orderedlist>
                            </note>
                        </glossdef>
                    </glossentry>
                    <glossentry xml:id="glossentry_Metadata" xreflabel="Metadata">
                        <glossterm>Metadata</glossterm>
                        <glossdef>
                            <para xml:id="para_f8b9c2aa-32f8-4d28-a287-3bca9879b172">A DICOM Dataset where zero or more elements (typically containing large data, such as Pixel Data) have been replaced with Bulkdata URIs.</para>
                            <note>
                                <para xml:id="para_79c4b17f-f2d8-4270-8b1a-495c72fb75d9">Metadata does not include the Group 0002 File Meta Information Data Elements, which describe but are not part of a Dataset, per <olink targetdoc="PS3.10" targetptr="sect_7.1" xrefstyle="template:Section %n in PS3.10"/>.</para>
                            </note>
                        </glossdef>
                    </glossentry>
                </glossdiv>
            </glossary>
        </section>
        
        
        

        
        
        
        
        
    </chapter>
</book>
