Re: [nanodicom] parse

37 views
Skip to first unread message

Nano.

unread,
Oct 20, 2014, 6:58:09 PM10/20/14
to nano...@googlegroups.com
Hi Luiz Flavio,

Can you try something like this: https://gist.github.com/nanodocumet/9746854


Let me know if that helped you out.

Cheers,

Nano.

On Sat, Oct 18, 2014 at 1:19 AM, Luiz Flavio Jannuzzi <luizflavi...@gmail.com> wrote:
Hi,

I manage to run the example.php

and number 4, is returning like the text at the end of the message (dont worry data was changed)

How do i access the PatientName... because example number 2 and 3 (from example.php) are not returning the name...

how do i go down the three? i think it is DirectoryRecordSequence->Item->PatientName... i dont know how to get this path, please give an example... THANKS for the help! :)

ps: "$dicom->DirectoryRecordSequence->Item->PatientName" is not returning the name and gives error :(

------------------------------
4) Load only given tags. Dump it and print certain tags. Load 'dumper' directly.
00084 0002:0000 MetaElementGroupLength         UL 4   [196]
00090 0002:0001 FileMetaInformationVersion     OB 2   [BINARY. Element starts at 144]
0009E 0002:0002 MediaStorageSOPClassUID        UI 20  [1.2.540.15055.1.3.10]
000BA 0002:0003 MediaStorageSOPInstanceUID     UI 60  [1.3.46.650589.33.1.25025314552124066628.27855544753758682608]
000FE 0002:0010 TransferSyntaxUID              UI 20  [1.2.850.15508.1.2.1]
0011A 0002:0012 ImplementationClassUID         UI 20  [1.3.56.650589.33.1.1]
00136 0002:0013 ImplementationVersionName      SH 10  [BRCONN_4.0]
00148 0002:0016 SourceApplicationEntityTitle   AE 4   [EBW]
00154 0004:1130 FileSetID                      CS 0   []
0015C 0004:1200 RootDirectoryFirstRecord       UL 0   []
00164 0004:1202 RootDirectoryLastRecord        UL 0   []
0016C 0004:1212 FileSetConsistencyFlag         US 0   []
00174 0004:1220 DirectoryRecordSequence        SQ 418 []
 00180 FFFE:E000 Item                           IT 410 []
  00188 0004:1430 DirectoryRecordType            CS 6   [STUDY]
  00196 0004:1500 ReferencedFileID               CS 16  [S325550\DIRFILE]
  001AE 0008:0005 SpecificCharacterSet           CS 10  [ISO_IR 100]
  001C0 0008:0020 StudyDate                      DA 8   [20140524]
  001D0 0008:0030 StudyTime                      TM 6   [152557]
  001DE 0008:0050 AccessionNumber                SH 0   []
  001E6 0008:0061 ModalitiesInStudy              CS 2   [CT]
  001F0 0008:0080 InstitutionName                LO 8   [H  C  E]
  00200 0008:0090 ReferringPhysicianName         PN 0   []
  00208 0008:1030 StudyDescription               LO 16  [HEAD]
  00220 0008:1070 OperatorsName                  PN 0   []
  00228 0010:0010 PatientName                    PN 26  [JOHN DOE]

--
You received this message because you are subscribed to the Google Groups "nanodicom" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nanodicom+...@googlegroups.com.
To post to this group, send email to nano...@googlegroups.com.
Visit this group at http://groups.google.com/group/nanodicom.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages