W3C home > Mailing lists > Public > public-semweb-lifesci@w3.org > May 2011

[TERM] query to find missing radiology/pathology mismatch

From: Eric Prud'hommeaux <eric@w3.org>
Date: Tue, 10 May 2011 11:17:27 -0400
To: "Daniel L. Rubin, MD, MS" <dlrubin@stanford.edu>, "M. Scott Marshall" <mscottmarshall@gmail.com>, John Madden <john.madden@duke.edu>
Cc: public-semweb-lifesci@w3.org
Message-ID: <20110510151726.GC30384@w3.org>
Coding up
<http://www.w3.org/wiki/HCLSIG/Terminology/PathRadCorrelation>, it
looks like the radiology report includes only two of the three lumps
reported by radiology:

sparql -8 -d ~/asdf.ttl -e "\
PREFIX term: <term:/>\
SELECT * {\
  { [ a term:MammogramReport ;\
      term:finding [\
          term:location [\
              term:laterality ?lat ;\
              term:position ?clock\
          ]\
      ]\
    ] } MINUS\
  { [ a term:PathologyReport ;\
      term:finding [\
          term:location [\
              term:laterality ?lat ;\
              term:position ?clock\
          ]\
      ]\
    ] }\
}" 
┌──────────────┬──────────────┬──────────────┬────────────────────────┬──────────────┐
│ _:b0x29ac5a0 │ _:b0x29ac620 │ _:b0x29beb80 │ ?clock                 │ ?lat         │
│ _:b0x29ba430 │ _:b0x29bab40 │ _:b0x29b7500 │ "2:00"^^<units:/clock> │ <term:/left> │
└──────────────┴──────────────┴──────────────┴────────────────────────┴──────────────┘

No biopsy for the lump at 2:00?
<asdf.ttl attached>
-- 
-ericP
Received on Tuesday, 10 May 2011 15:18:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:01:01 GMT