![]() ![]() stored in a DICOM files set, and it does not make reference to files that. So, if there is any way to add report using AddFile API, it will save my efforts. Hence, I went for manual creation of DICOMDIR structure but could not add Tags information to RootDirectoryRecord itself. Is there another source of definitions in DICOM standard? otherwise I would complete the list ad defined in F. Structure of a DICOMDIR file and its representation in a physical storage. Adding structured report to DICOMDIR file gets added as an image means the DirectoryRecordType becomes IMAGE instead of REPORT for that file. An overview of the File-set’s contents is shown when. But I could not find a definition where the DirectionryRecordType would we "REPORT". To load an existing File-set just pass a DICOMDIR Dataset or the path to the DICOMDIR file to FileSet: > from pydicom.fileset import FileSet > path gettestdatafile('DICOMDIR') > ds dcmread(path) > fs FileSet(ds) or FileSet (path) Copy to clipboard. I can see the entry type F.5.25 "SR Document Directory Record Definition" where the DirectoryRecordType is "SR DOCUMENT". ![]() I can confirm, that the RecordEntryTypes in DicomDirectory are not complete. README, default: no descriptor) +C -char-set charset: string add a specific character set for descriptor (default: 'ISOIR 100' if descriptor present) reading: +id -input-directory directory: string. If ((DicomTag.DirectoryRecordType) = "IMAGE")ĭ(DicomTag.DirectoryRecordType, "REPORT") ĭ(DicomTag.CompletionFlag, 1) ĭ(DicomTag.VerificationFlag, 0) DICOMDIR identifiers: +D -output-file filename: string generate specific DICOMDIR file (default: DICOMDIR in current directory) +F -fileset-id id: string (default: DCMTKMEDIADEMO) use specific file set ID +R -descriptor filename: string add a file set descriptor file ID (e.g. now directoryEntry has 4 properties that link to the 4 datasets in each hierachy. Listing All Tags of a DICOM file to Console. Var directoryEntry = dd.AddFile(datasetWithReport)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |