D SR Encoding Example (Informative)

This Annex was formerly located in Annex K in PS3.3 in the 2003 and earlier revisions of the standard.

The following is a simple and non-comprehensive illustration of the encoding of the Informative SR Content Tree Example in PS3.3.

SR Tree Depth

Nesting

Attribute

Tag

VR

VL (hex)

Value

SOP Class UID

(0008,0016)

UI

001e

1.2.840.10008.5.1.4.1.1.88.33

SOP Instance UID

(0008,0018)

UI

0012

1.2.3.4.5.6.7.300

Study Date

(0008,0020)

DA

0008

19991029

Content Date

(0008,0023)

DA

0008

19991029

Study Time

(0008,0030)

TM

0006

154500

Content Time

(0008,0033)

TM

0006

154510

Accession Number

(0008,0050)

SH

0006

123456

Modality

(0008,0060)

CS

0002

SR

Manufacturer

(0008,0070)

LO

0004

WG6

Referring Physician's Name

(0008,0090)

PN

0014

Luke^Will^^Dr.^M.D.

Coding Scheme Identification Sequence

(0008,0110)

SQ

ffffffff

%item

Coding Scheme Designator

(0008,0102)

SH

000e

99STElsewhere

Coding Scheme UID

(0008,010C)

UI

0010

1.2.3.4.6.7.8.91

Responsible Organization

(0008,0116)

ST

0034

Informatics Dept

St Elsewhere Hosp

Boston, MA 02390

%enditem

%endseq

Referenced Performed Procedure Step Sequence

(0008,1111)

SQ

ffffffff

%endseq

Patient's Name

(0010,0010)

PN

000e

Homer^Jane^^^

Patient's ID

(0010,0020)

LO

0006

234567

Patient's Birth Date

(0010,0030)

DA

0008

19991109

Patient's Sex

(0010,0040)

CS

0002

F

Study Instance UID

(0020,000D)

UI

0012

1.2.3.4.5.6.7.100

Series Instance UID

(0020,000E)

UI

0012

1.2.3.4.5.6.7.200

Study ID

(0020,0010)

SH

0006

345678

Series Number

(0020,0011)

IS

0002

1

Instance (formerly Image) Number

(0020,0013)

IS

0002

1

1

Value Type

(0040,a040)

CS

000a

CONTAINER

1

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1

%item

1

>

Code Value

(0008,0100)

SH

0006

333300

1

>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1

>

Code Meaning

(0008,0104)

LO

000c

Chest X-Ray

1

%enditem

%endseq

1

Continuity Of Content

(0040,a050)

CS

0008

SEPARATE

Verifying Observer Sequence

(0040,a073)

SQ

ffffffff

%item

>

Verifying Organization

(0040,a027)

LO

0004

WG6

>

Verification DateTime

(0040,a030)

DT

000e

19991029154510

>

Verifying Observer Name

(0040,a075)

PN

000e

Jones^Joe^^Dr^

>

Verifying Observer Identification Code Sequence

(0040,a088)

SQ

ffffffff

%item

>>

Code Value

(0008,0100)

SH

0006

369842

>>

Coding Scheme Designator

(0008,0102)

SH

000e

99STElsewhere

>>

Code Meaning

(0008,0104)

LO

0006

369842

%enditem

%endseq

%enditem

%endseq

Referenced Request Sequence

(0040,a370)

SQ

ffffffff

%item

>

Accession Number

(0008,0050)

SH

0006

123456

>

Referenced Study Sequence

(0008,1110)

SQ

ffffffff

%endseq

>

Study Instance UID

(0020,000D)

UI

0012

1.2.3.4.5.6.7.100

>

Requested Procedure Description

(0032,1060)

LO

000a

Chest Xray

>

Requested Procedure Code Sequence

(0032,1064)

SQ

ffffffff

%item

>>

Code Value

(0008,0100)

SH

0006

369475

>>

Coding Scheme Designator

(0008,0102)

SH

000e

99STElsewhere

>>

Code Meaning

(0008,0104)

LO

000a

Chest XRay

%enditem

%endseq

>

Requested Procedure ID

(0040,1001)

SH

0006

012340

>

Placer Order Number/Imaging Service Request

(0040,2016)

LO

0

>

Filler Order Number/Imaging Service Request

(0040,2017)

LO

0

%enditem

%endseq

Performed Procedure Code Sequence

(0040,a372)

SQ

ffffffff

%item

>

Code Value

(0008,0100)

SH

0006

369475

>

Coding Scheme Designator

(0008,0102)

SH

000e

99STElsewhere

>

Code Meaning

(0008,0104)

LO

000a

Chest XRay

%enditem

%endseq

Current Requested Procedure Evidence Sequence

(0040,a375)

SQ

ffffffff

%item

>

Referenced Series Sequence

(0008,1115)

SQ

ffffffff

%item

>>

Referenced SOP Sequence

(0008,1199)

SQ

ffffffff

%item

>>>

Referenced SOP Class UID

(0008,1150)

UI

0008

1.2.3.4

>>>

Referenced SOP Instance UID

(0008,1155)

UI

000a

1.2.3.4.5

%enditem

%endseq

>>

Series Instance UID

(0020,000E)

UI

0012

1.2.3.4.5.6.7.200

%enditem

%endseq

>

Study Instance UID

(0020,000D)

UI

0012

1.2.3.4.5.6.7.100

%enditem

%endseq

Completion Flag

(0040,a491)

CS

0008

COMPLETE

Verification Flag

(0040,a493)

CS

0008

VERIFIED

1

Content Sequence

(0040,a730)

SQ

ffffffff

1.1

%item

1.1

>

Relationship Type

(0040,a010)

CS

0010

HAS OBS CONTEXT

1.1

>

Value Type

(0040,a040)

CS

0006

PNAME

1.1

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.1

%item

1.1

>>

Code Value

(0008,0100)

SH

0006

000555

1.1

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.1

>>

Code Meaning

(0008,0104)

LO

0012

Recording Observer

1.1

%enditem

1.1

%endseq

1.1

>

Person Name

(0040,a123)

PN

0010

Smith^John^^Dr^

1.1

%enditem

1.2

%item

1.2

>

Relationship Type

(0040,a010)

CS

0010

HAS OBS CONTEXT

1.2

>

Value Type

(0040,a040)

CS

0006

UIDREF

1.2

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.2

%item

1.2

>>

Code Value

(0008,0100)

SH

0006

000599

1.2

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.2

>>

Code Meaning

(0008,0104)

LO

0036

Study Instance UID of Evidence Directly Examined by RO

1.2

%enditem

1.2

%endseq

1.2

>

UID

(0040,a124)

UI

0012

1.2.3.4.5.6.7.100

1.2

%enditem

1.3

%item

1.3

>

Relationship Type

(0040,a010)

CS

0010

HAS OBS CONTEXT

1.3

>

Value Type

(0040,a040)

CS

0006

PNAME

1.3

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.3

%item

1.3

>>

Code Value

(0008,0100)

SH

0006

000579

1.3

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.3

>>

Code Meaning

(0008,0104)

LO

0020

Patient-Data-Acquisition Subject

1.3

%enditem

1.3

%endseq

1.3

>

Person Name

(0040,a123)

PN

000e

Homer^Jane^^^

1.3

%enditem

1.4

%item

1.4

>

Relationship Type

(0040,a010)

CS

0008

CONTAINS

1.4

>

Value Type

(0040,a040)

CS

0004

CODE

1.4

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.4

%item

1.4

>>

Code Value

(0008,0100)

SH

0006

000444

1.4

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.4

>>

Code Meaning

(0008,0104)

LO

0008

Finding

1.4

%enditem

1.4

%endseq

1.4

>

Concept Code Sequence

(0040,a168)

SQ

ffffffff

1.4

%item

1.4

>>

Code Value

(0008,0100)

SH

0006

000333

1.4

>>

Coding Scheme Designator

(0008,0102)

SH

000e

99STElsewhere

1.4

>>

Code Meaning

(0008,0104)

LO

0004

Mass

1.4

%enditem

1.4

%endseq

1.4

>

Content Sequence

(0040,a730)

SQ

ffffffff

1.4.1

%item

1.4.1

>>

Relationship Type

(0040,a010)

CS

000e

HAS PROPERTIES

1.4.1

>>

Value Type

(0040,a040)

CS

0004

NUM

1.4.1

>>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.4.1

%item

1.4.1

>>>

Code Value

(0008,0100)

SH

0006

000222

1.4.1

>>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.4.1

>>>

Code Meaning

(0008,0104)

LO

0008

Diameter

1.4.1

%enditem

1.4.1

%endseq

1.4.1

>>

Measured Value Sequence

(0040,a300)

SQ

ffffffff

1.4.1

%item

1.4.1

>>>

Measurement Units Code Sequence

(0040,08ea)

SQ

ffffffff

1.4.1

%item

1.4.1

>>>>

Code Value

(0008,0100)

SH

0006

000111

1.4.1

>>>>

Coding Scheme Designator

(0008,0102)

SH

0008

SNMdemo

1.4.1

>>>>

Code Meaning

(0008,0104)

LO

0002

cm

1.4.1

%enditem

1.4.1

%endseq

1.4.1

>>>

Numeric Value

(0040,a30a)

DS

0004

1.3

1.4.1

%enditem

1.4.1

%endseq

1.4.1

%enditem

1.4.2

%item

1.4.2

>>

Relationship Type

(0040,a010)

CS

000e

HAS PROPERTIES

1.4.2

>>

Value Type

(0040,a040)

CS

0004

CODE

1.4.2

>>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.4.2

%item

1.4.2

>>>

Code Value

(0008,0100)

SH

0006

111000

1.4.2

>>>

Coding Scheme Designator

(0008,0102)

SH

0008

SNMdemo

1.4.2

>>>

Code Meaning

(0008,0104)

LO

000c

Margination

1.4.2

%enditem

1.4.2

%endseq

1.4.2

>>

Concept Code Sequence

(0040,a168)

SQ

ffffffff

1.4.2

%item

1.4.2

>>>

Code Value

(0008,0100)

SH

0006

222000

1.4.2

>>>

Coding Scheme Designator

(0008,0102)

SH

0008

SNMdemo

1.4.2

>>>

Code Meaning

(0008,0104)

LO

000c

Infiltrative

1.4.2

%enditem

1.4.2

%endseq

1.4.2

%enditem

1.4

%endseq

1.4

%enditem

1.5

%item

1.5

>

Referenced SOP Sequence

(0008,1199)

SQ

ffffffff

1.5

%item

1.5

>>

Referenced SOP Class UID

(0008,1150)

UI

0008

1.2.3.4

1.5

>>

Referenced SOP Instance UID

(0008,1155)

UI

000a

1.2.3.4.5

1.5

%enditem

1.5

%endseq

1.5

>

Relationship Type

(0040,a010)

CS

0008

CONTAINS

1.5

>

Value Type

(0040,a040)

CS

0006

IMAGE

1.5

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.5

%item

1.5

>>

Code Value

(0008,0100)

SH

0006

333000

1.5

>>

Coding Scheme Designator

(0008,0102)

SH

0008

SNMdemo

1.5

>>

Code Meaning

(0008,0104)

LO

0008

Baseline

1.5

%enditem

1.5

%endseq

1.5

%enditem

1.6

%item

1.6

>

Relationship Type

(0040,a010)

CS

0008

CONTAINS

1.6

>

Value Type

(0040,a040)

CS

000a

CONTAINER

1.6

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.6

%item

1.6

>>

Code Value

(0008,0100)

SH

0006

555000

1.6

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.6

>>

Code Meaning

(0008,0104)

LO

000c

Conclusions

1.6

%enditem

1.6

%endseq

1.6

Continuity Of Content

(0040,a050)

CS

0008

SEPARATE

1.6

>

Content Sequence

(0040,a730)

SQ

ffffffff

1.6.1

%item

1.6.1

>>

Relationship Type

(0040,a010)

CS

0008

CONTAINS

1.6.1

>>

Value Type

(0040,a040)

CS

0004

CODE

1.6.1

>>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.6.1

%item

1.6.1

>>>

Code Value

(0008,0100)

SH

0006

777000

1.6.1

>>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.6.1

>>>

Code Meaning

(0008,0104)

LO

000a

Conclusion

1.6.1

%enditem

1.6.1

%endseq

1.6.1

>>

Concept Code Sequence

(0040,a168)

SQ

ffffffff

1.6.1

%item

1.6.1

>>>

Code Value

(0008,0100)

SH

0006

888000

1.6.1

>>>

Coding Scheme Designator

(0008,0102)

SH

000e

99STElsewhere

1.6.1

>>>

Code Meaning

(0008,0104)

LO

0014

Probable malignancy

1.6.1

%enditem

1.6.1

%endseq

1.6.1

>>

Content Sequence

(0040,a730)

SQ

ffffffff

1.6.1.1

%item

1.6.1.1

>>>

Relationship Type

(0040,a010)

CS

000e

INFERRED FROM

1.6.1.1

>>>

Referenced Content Item Identifier

(0040,db73)

UL

000c

0001,0004,0002

1.6.1.1

%enditem

1.6.1.2

%item

1.6.1.2

>>>

Relationship Type

(0040,a010)

CS

000e

INFERRED FROM

1.6.1.2

>>>

Referenced Content Item Identifier

(0040,db73)

UL

000c

0001,0007,0001

1.6.1.2

%enditem

1.6.1

%endseq

1.6.1

%enditem

1.6

%endseq

1.6

%enditem

1.7

%item

1.7

>

Relationship Type

(0040,a010)

CS

0008

CONTAINS

1.7

>

Value Type

(0040,a040)

CS

000a

CONTAINER

1.7

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.7

%item

1.7

>>

Code Value

(0008,0100)

SH

0006

999000

1.7

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.7

>>

Code Meaning

(0008,0104)

LO

0018

Specific Image Findings

1.7

%enditem

1.7

%endseq

1.7

Continuity Of Content

(0040,a050)

CS

0008

SEPARATE

1.7

>

Content Sequence

(0040,a730)

SQ

ffffffff

1.7.1

%item

1.7.1

>>

Relationship Type

(0040,a010)

CS

0008

CONTAINS

1.7.1

>>

Value Type

(0040,a040)

CS

0006

SCOORD

1.7.1

>>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.7.1

%item

1.7.1

>>>

Code Value

(0008,0100)

SH

0006

333001

1.7.1

>>>

Coding Scheme Designator

(0008,0102)

SH

0008

SNMdemo

1.7.1

>>>

Code Meaning

(0008,0104)

LO

001e

Best illustration of findings

1.7.1

%enditem

1.7.1

%endseq

1.7.1

>>

Content Sequence

(0040,a730)

SQ

ffffffff

1.7.1.1

%item

1.7.1.1

>>>

Referenced SOP Sequence

(0008,1199)

SQ

ffffffff

1.7.1.1

%item

1.7.1.1

>>>>

Referenced SOP Class UID

(0008,1150)

UI

0008

1.2.3.4

1.7.1.1

>>>>

Referenced SOP Instance UID

(0008,1155)

UI

000a

1.2.3.4.6

1.7.1.1

%enditem

1.7.1.1

%endseq

1.7.1.1

>>>

Relationship Type

(0040,a010)

CS

000e

SELECTED FROM

1.7.1.1

>>>

Value Type

(0040,a040)

CS

0006

IMAGE

1.7.1.1

%enditem

1.7.1

%endseq

1.7.1

>>

Graphic Data

(0070,0022)

FL

0020

0,0,0,0,0,0,0,0

1.7.1

>>

Graphic Type

(0070,0023)

CS

0008

POLYLINE

1.7.1

%enditem

1.7

%endseq

1.7

%enditem

1.8

%item

1.8

>

Relationship Type

(0040,a010)

CS

0010

HAS CONCEPT MOD

1.8

>

Value Type

(0040,a040)

CS

0004

CODE

1.8

>

Concept Name Code Sequence

(0040,a043)

SQ

ffffffff

1.8

%item

1.8

>>

Code Value

(0008,0100)

SH

0006

123456

1.8

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.8

>>

Code Meaning

(0008,0104)

LO

0006

Views

1.8

%enditem

1.8

%endseq

1.8

>

Concept Code Sequence

(0040,a168)

SQ

ffffffff

1.8

%item

1.8

>>

Code Value

(0008,0100)

SH

0006

123457

1.8

>>

Coding Scheme Designator

(0008,0102)

SH

0006

LNdemo

1.8

>>

Code Meaning

(0008,0104)

LO

000e

PA and Lateral

1.8

%enditem

1.8

%endseq

1.8

%enditem

1

%endseq