Multiple worklist entries created from single ORM (orm2dcm.xsl ?)

308 views
Skip to first unread message

Marek Święcicki

unread,
May 22, 2014, 7:22:22 AM5/22/14
to dcm...@googlegroups.com
Hi,
I get orm with multiple ORC and OBR segments and i want to create separate worklist entry for each procedure
(pair of segments mentioned above) of course for same patient data.
I suppose i can achieve that in orm2dcm.xsl, but im not entirely sure how...
I hope someone here could give me a hint.
Thanks in advance

Armin Berger

unread,
May 22, 2014, 2:50:26 PM5/22/14
to dcm...@googlegroups.com
Hi Marek!
We use the systema_orm2dcm.xsl included in hl7 directory. it generates worklist entrys for every orc segment, using obr-4 for ordercode, sched proc descr, modalitytype and scheduled station ae.
if you need more detailed information i would look about at work tomorrow.
sincerely 

Marek Święcicki

unread,
May 23, 2014, 3:54:48 AM5/23/14
to dcm...@googlegroups.com
HI Armin :)

Thanks for response. I took a look at systema_orm2dcm.xsl (im pretty sure its still default, unmodified one) and im not entirely sure how it differs from orm2dcm.xsl.
I mean, sure, it is not all the same, but i didn't notice any ORC/OBR specific magic there.
I was kinda experimenting yesterday and managed to produce patient without any study (by incrementaly adding content to .xsl); so i guess to create multiple studies
based on ORC/OBR segments im supposingly should make some kind of sequence filled with these data ? I'm not sure....
I'm rather newbie to dcm4chee and i didn't find any comprehensive documentation on .xsl files so im struggling.

Regards.

Armin Berger

unread,
May 23, 2014, 4:25:15 AM5/23/14
to dcm...@googlegroups.com
Hi Marek!
javawillis magic starts at line 122 to 155 in systema_.....
for each orc segment a sched proc step id is generated from ordernumber + position
this works fine for messages like this:
   MSH-3:MPA
   MSH-4:SYSTEMA
   MSH-5:TIANI
   MSH-6:67UCROA
   MSH-7:201405230951
   MSH-9:ORM^O01
   MSH-10:MSG220485
   MSH-11:P
   MSH-12:2.3
   PID-3:xxxx
   PID-5:xxxxxx^xxxxxxx
   PID-6:xxxx
   PID-7:xxxxx
   PID-8:M
   PID-11:xxxxxxxxxx
   PID-13:xxxxxxxxxxx
   PID-19:5010
   PID-23:xxx
   PID-27:xx
   PV1-2:O
   PV1-19:6714016890^^^^6714016890
   PV1-44:20140523
   ORC-1:NW
   ORC-2:2269792
   ORC-7:^^^^20140523^R
   ORC-9:20140523095140
   ORC-10:xxxxxxxxxx
   ORC-12:Routine;;null^xxxxxxxxx
   ORC-13:67UCA^67UC
   OBR-1:1
   OBR-2:2269792
   OBR-4:387.UNF^Knie links^CR^AU
   OBR-27:^^^^20140523^R
   ORC-1:NW
   ORC-2:2269792
   ORC-7:^^^^20140523^R
   ORC-9:20140523095140
   ORC-10:xxxxxxxx
   ORC-12:Routine;;null^xxxxx
   ORC-13:67UCA^67UC
   OBR-1:2
   OBR-2:2269792
   OBR-4:113.LI^Sprunggelenk links^CR^AU
   OBR-27:^^^^20140523^R
maybe you can post a sample of your orm message
 
regards

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/EC5iUqUjH1o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Marek Święcicki

unread,
May 23, 2014, 6:30:28 AM5/23/14
to dcm...@googlegroups.com
I thnik i get you, but for now im dealing with issue that, as i said i managed to make orm that do not create study, but now i have no idea why ... 
Thats kinda embarassing - i took a look at logged orm's (including older ones which created study) and i don't see where i could make a mistake.
Also i tried a bunch of orm2dcm (it accumulated a bit after all those experiments) and however each 'pair' create entry i cannot find one to create a study.
Thats a bit frustrating :/

Here is my sample ORM (bit of additional stuff which is not really used i know, but thats what i got from HIS), also here is only one obr and orc (i tried to understand principle):

MSH|^~\&|TEST_APP|TEST_FAC|ARCHIMEDIC|PACS_HOST|20140523102300||ORM^O01|MSG_TEST_C_ID_1|P|2.3|||AL|NE|POL|CP1250|PL
PID|1|01013010|010101010||test_pat_13||19820123000000|M|||Kdfsafdowa 12^^Rfsdfsica^^26-734
PV1|1|O|501-07-06^^^^^^^^zzzzzz ddddd 33|||||||||||||||||||||||||||||||||||||||||2014-05-15 17:30|2014-05-15 18:30
NTE|1|DEVELOPER|dsfsadfasdfasfsafas
ORC|NW|2010131010||30101010|||^^^20140523183000^^R||20140523183000|||1950008^Gfasdfas^Gfdaasfas
OBR|1|2010131010||R999^zzz sssssI|||||||||||^^^^^^^||||R999||||||||||||||
DG1|1|ICD-10|I10|dhgdhfhdfg (dghdfhfh) sfgsdgsdfgfsd 
BLG||DP|xxx-xx-xx^yyyyyyy (41449)

Marek Święcicki

unread,
May 26, 2014, 3:36:54 AM5/26/14
to dcm...@googlegroups.com
Ok, i managed to figure it all out. Thanks Armin :)
Reply all
Reply to author
Forward
0 new messages