Search found 27 matches

by w.bahadoer
Sun, 2022-04-10, 11:55
Forum: DCMTK - General
Topic: Query/retrieve study root information model
Replies: 1
Views: 1220

Query/retrieve study root information model

Hi, I have a C++/ dcmtk application that uploads a DICOM data to an Orthanc server and another application that tries to retrieve that data and visualizes it. So far the upload part works because I can see my data uploaded in Orthanc via any browser, I can also view the png that is uploaded in the O...
by w.bahadoer
Fri, 2020-05-22, 09:43
Forum: DCMTK - General
Topic: tool to extract cda from dcm
Replies: 1
Views: 1268

tool to extract cda from dcm

There is a command line tool cda2dcm that encapsulates a cda document in a DICOM object but is there a tool to extract it as well?
by w.bahadoer
Wed, 2020-05-20, 14:47
Forum: DCMTK - General
Topic: encapsulate PDF and CDA in one DICOM object
Replies: 2
Views: 1693

Re: encapsulate PDF and CDA in one DICOM object

Thank you for the answer
by w.bahadoer
Sat, 2020-05-16, 17:11
Forum: DCMTK - General
Topic: encapsulate PDF and CDA in one DICOM object
Replies: 2
Views: 1693

encapsulate PDF and CDA in one DICOM object

Hi,

I'm able to encapsulate a pdf in a dicom object and a cda document in another dicom object, but is it possible to encapsulate both in 1 DICOM object. If so, what would the risks be for implementing such a design?
by w.bahadoer
Thu, 2020-03-12, 12:14
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

Re: encapsulate cda in dicom

Thank you very much for the info....greatly appreciated :)
by w.bahadoer
Tue, 2020-03-10, 13:23
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

Re: encapsulate cda in dicom

In the link you provided earlier, I clicked on the "Encapsulated Document - SOP Common C12.1 " link which lead me to http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1 and there I see that these attributes are of type 1 and those are mandatory, right??
by w.bahadoer
Mon, 2020-03-09, 13:40
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

Re: encapsulate cda in dicom

J.Reismeier, thank you very much, it's always good to have somebody else look at the code. I was too focused on the dataset side and adding the correct attributes that I didn't see the uninitialized transfersyntax. It works now DcmFileFormat _fileformat( dataset ); OFCondition result = _fileformat.s...
by w.bahadoer
Mon, 2020-03-09, 12:37
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

Re: encapsulate cda in dicom

I added my code in the first posting where I created a DcmDataset* in the beginning and the start populating DcmDataset. I save the dataset to a dicom file with this DcmFileFormat _fileformat( dataset ); E_TransferSyntax writeXfer; result = _fileformat.saveFile("c:\\temp\\test.dcm", writeX...
by w.bahadoer
Mon, 2020-03-09, 09:10
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

Re: encapsulate cda in dicom

J.Reismeier, c:\Development\dcmtk\build\bin>dcmdump.exe +f c:\temp\test.dcm # Dicom-File-Format # Dicom-Meta-Information-Header # Used TransferSyntax: Little Endian Explicit (0002,0000) UL 182 # 4, 1 FileMetaInformationGroupLength (0002,0001) OB 00\01 # 2, 1 FileMetaInformationVersion (0002,0002) UI...
by w.bahadoer
Fri, 2020-03-06, 08:56
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

Re: encapsulate cda in dicom

Based on J.Reismeier's comment and the link he supplied Encapsulated CDA IOD I have added all the mandatory dicom attributes ( by my best knowledge ) but still the dicom object is 1 kb. I can encapsulate a pdf though but not a CDA file. These where the missing tags dataset->putAndInsertString(DCM_Ac...
by w.bahadoer
Tue, 2020-03-03, 09:59
Forum: DCMTK - General
Topic: encapsulate cda in dicom
Replies: 11
Views: 4415

encapsulate cda in dicom

I'm encapsulating a cda structured file in my dicom file, the file gets uploaded to my DICOM/PACS Orthanc server but how can I verify that the dicom file holds the cda file? I could view an encapsulated pdf document with the Osimis dicom viewer, but how to confirm the cda (xml) file? OFCondition res...
by w.bahadoer
Mon, 2020-03-02, 15:55
Forum: DCMTK - General
Topic: xml to dicom
Replies: 6
Views: 3315

Re: xml to dicom

By the way, we are getting off-topic now. The purpose of this discussion forum is to answer DCMTK-related questions, not general DICOM questions.
agreed :) .... I think I'll try the CDA approach, thanks for your help
by w.bahadoer
Sun, 2020-03-01, 13:48
Forum: DCMTK - General
Topic: xml to dicom
Replies: 6
Views: 3315

Re: xml to dicom

J.Reismeier, the xml document holds eye topography data OPM modality( e.g. astigmatism related values for cataract surgery ), I guess it can be considered as a CDA file but then I have to change a couple of XML tags so it will match the HL7 CDA structure guidelines but I'm not sure which tags to use...
by w.bahadoer
Fri, 2020-02-28, 15:33
Forum: DCMTK - General
Topic: xml to dicom
Replies: 6
Views: 3315

Re: xml to dicom

Yes, I have compiled it myself and just recompiled it again .... and it works. But I might have posted a bit too early because I read a bit more in detail about this and found out that xml2dcm ( in contrary to pdf2dcm ) is not what I thought it would do. The question remains how can I encapsulate a ...
by w.bahadoer
Fri, 2020-02-28, 14:24
Forum: DCMTK - General
Topic: xml to dicom
Replies: 6
Views: 3315

xml to dicom

So I thought I give it a shot to encapsulate a xml in a DICOM object and upload that, since I'm able to upload a PDF encapsulated document in DICOM with the help of J.Reismeier ( thanks, again ). I tried the command line tool first xml2dcm but that failed with the following message xml2dcm requires ...