File: Template.xml.in

package info (click to toggle)
gdcm 2.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 32,868 kB
  • sloc: cpp: 188,481; ansic: 124,526; xml: 41,799; sh: 7,162; python: 3,667; cs: 2,128; java: 1,344; lex: 1,290; tcl: 677; php: 128; makefile: 116
file content (34 lines) | stat: -rw-r--r-- 2,168 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<!--We need the DICOM Tag (group,element) but the Attribute is not necessary I don't see
why we should repeat it. Type is compulsary and Description is not necessary either.-->
<!-- Maybe we should double check that Attribute are consistent with the data dict -->
<!-- Description would be awsome for help bubbles -->
<!-- Sample XML file to test XML parser -->

<Table Name="Template">
<Entry Tag="0008,1080" Attribute="Admitting Diagnoses Description" Type="3" Description="Description of the admitting diagnosis (diagnoses)">

</Entry>
<!--Ex1:-->
<Entry
	Tag="(0028,0002)" Attribute="Samples per Pixel" Type="1" Description="Number of samples (planes) in this image. See C.7.6.3.1.1 for further explanation."/>
<!--Should be:-->
<Entry
	Tag="(0028,0002)" Attribute="Samples per Pixel" Type="1" Description="Number of samples (planes) in this image.">
  <Properties Ref="See C.7.6.3.1.1 for further explanation."/>
</Entry>
<!--Ex2:-->
<Entry
Tag="(0028,0103)" Attribute="Pixel Representation" Type="1" Description="Data representation of the pixel samples. Each sample shall have the same pixel representation. Enumerated Values: 0000H = unsigned integer. 0001H = 2's complement"/>
<!--Should be:-->
<Entry
Tag="(0028,0103)" Attribute="Pixel Representation" Type="1" Description="Data representation of the pixel samples. Each sample shall have the same pixel representation.">
<Properties EnumeratedValues="0000H,0001H" Comments="unsigned integer,2's complement">
</Entry>
<!--Ex3:-->
<Entry Tag="(0028,1102)" Attribute="Green Palette Color Lookup Table Descriptor" Type="1C" Description="Specifies the format of the Green Palette Color Lookup Table Data (0028,1202) Required if Photometric Interpretation (0028,0004) has a value of PALETTE COLOR. See C.7.6.3.1.5 for further explanation."/>
<!-- should be -->
<Entry Tag="(0028,1102)" Attribute="Green Palette Color Lookup Table Descriptor" Type="1C" Description="Specifies the format of the Green Palette Color Lookup Table Data (0028,1202)">
	<Required "if Photometric Interpretation (0028,0004) has a value of PALETTE COLOR. See C.7.6.3.1.5 for further explanation."/>
</Entry>
</Table>