15:01:43 RRSAgent has joined #hcls 15:01:44 logging to http://www.w3.org/2017/03/21-hcls-irc 15:01:46 RRSAgent, make logs world 15:01:46 Zakim has joined #hcls 15:01:48 Zakim, this will be HCLS 15:01:48 ok, trackbot 15:01:49 Meeting: Semantic Web Health Care and Life Sciences Interest Group Teleconference 15:01:49 Date: 21 March 2017 15:03:22 Present: Louis Amanis, Julia Chan, Harold Solbrig, David Booth 15:05:24 Topic: FHIR RDF and OWL Tutorial (Harold) 15:06:21 https://github.com/BD2KOnFHIR/BLENDINGFHIRandRDF 15:06:44 harold: Files with .owl extension are OWL functional syntax 15:07:16 ... wrapper.owl names the prefixes that we use, and imports all the files that are used. 15:08:13 ... We want the FHIR files to be static, so several of these files on github are copies of FHIR files. 15:08:30 ... FHIR just went to STU3. 15:09:03 ... The FHIR ontology, fhir.ttl, is about FHIR clinical records -- not about patients, tests, diagnoses, etc. It is an ont about what FHIR records about those things. 15:09:25 ... It's generated from the FHIR build using Apache2 jena, though we want to switch to the OWL API. 15:09:47 ... Everything in here is a transformation of things on the FHIR site. 15:10:43 ... This ont has changed radically since it was first done about a year ago. 15:11:18 ... It uses OWL features that are friendly to reasoners. 15:11:40 ... Need to decide whether it needs to talk about datatypes (concrete ranges). 15:12:20 ... The w5 ont (who what why where when) is used in generating the FHIR front page. 15:13:15 ... If you found Patient in the fhir.ttl ont it would be a subclass of something in the w5 ont. 15:13:54 dbooth: what is the benefit of Patient being a subclass of a w5 class? 15:14:34 harold: w5 acts as a small upper ont. 15:16:12 ... snomed_subset.ttl is a subset of SNOMED CT. Because the FHIR ont and the rules take advantage of data properties and other things, we cannot use SNOROCKET classifier, and that's the only one that can handle all of SNOMED CT. 15:17:10 ... So we extracted a neighborhood of concepts used for this demo. There's a tool for making that extraction SNOMEDtoOWL. 15:17:40 ... The SNOMEDtoOWL repository is actively in dev to support a formal spec for how SNOMED CT should be represented in OWL. 15:18:12 ... There's also Kent Spackman's perl script for generating OWL, but IHTSDO never said formally what the OWL should be. 15:18:29 ... But the perl script only works on SNOMED international, and even on that it does odd things. 15:19:07 ... The spec being defined in this repository should be finalized in April. 15:19:32 ... I also built a tool RF2Filter that makes a subset of OWL.. 15:20:57 ... The script snomed_subset.sh gets all the ancestors and descendants of specified classes. 15:21:27 ... All the rules were previously used. 15:22:39 ... In this brainct.ttl example, the status is final. 15:23:17 ... A DiagnosticReport can be a patient or a device, but we're specifically looking for patients. 15:23:37 ... We've included an assertion that patient f201 is a fhir:Patient. 15:24:14 ... Also interested in the codedDiagnosis 15:24:50 ... We've said that it is an instance of snomed class sct:188340000 15:26:04 ... This file also declares f201.ttl to be an owl:Ontology and imports fhir.ttl to make protege happy. It also declares the version of this turtle. 15:26:59 ... This specifies the specific version of f201.ttl 15:27:24 ... For STU3 grahame gave this an STU3-specific URI, and we'll discuss that later. 15:28:00 ... The final bit is a set of rules rules.owl that we have authored. 15:29:36 ... A FinalizedReport is equivalent to any DiagnosticReport that has a status of final, amended, corrected, appended. 15:30:07 ... And corrected and appended statuses are sub-statuses of amended, so it's a mini-ontology. 15:30:29 ... But the folks who defined those need to decide exactly which ones should be considered final. 15:30:56 ... Also the use of these strings in rules.owl gives trouble to a lot of reasoners. 15:33:50 ... If these strings were URIs instead (in a mini ont, with a single superclass for final) then this would work with a lot more, simpler reasoners. 15:34:12 Present+ EricP 15:36:46 harold: To simplify the rules, we're defining property chains. 15:40:49 ... And if we had URIs for the statuses, then the status would be an instance of one of the status classes. 15:43:40 ... So then in protege if you load wrapper.owl, and open the FACT++ classifier and classify it ... 15:46:43 ... and view individuals ... 15:48:37 ... While that's running the reasoner, there are two catalog.xml files that protege likes to use. One is local. YOu need to use one of them. 15:48:55 (back to the reasoner in protege) 15:50:12 harold: now I can show (if it works right) all the individuals in the CancerDiagnosis class, including patient f201. 15:51:38 ... Success! It just took a while to run. 15:54:25 (insert f201 screenshot here) 15:55:43 harold: We should consider converting the SNOMED compositional grammar to OWL, to enable things like left femur to be determined. 15:56:10 eric: I think we want a tool that pushes everything into snomed. 15:56:27 harold: This imaging study example will be in the upcoming AMIA paper. 15:57:27 ... It includes a body site and laterality. I looked into how we would classify it, but it would require shuffling. The laterality is implied, not explicit. This makes a compelling case for the work that Lynda Byrd and Grahame are doing. 15:58:49 ... They are working on using the finer mapping language to put this into the laterality to create the right compositional expression. As is I can't find a way to make this classify as left femur. 16:00:19 dbooth: Would microparsing those snomed compositional strings using ShEx make sense? 16:00:49 harold: It would only use the regex capability, so that would be done better at a different level. 16:01:12 ... But shex could be an alternative to the approach that Linda and Grahame 16:04:01 harold: If you see issues with the instructions in the github, then file an issue please. 16:08:21 s|(insert f201 screenshot here)|Screenshot: https://lists.w3.org/Archives/Public/www-archive/2017Mar/att-0007/2017-03-21-120129_1600x1172_scrot.png| 16:08:29 rrsagent, draft minutes 16:08:29 I have made the request to generate http://www.w3.org/2017/03/21-hcls-minutes.html dbooth 16:09:34 ADJOURNED 16:09:45 chair: David Booth 16:10:09 rrsagent, draft minutes 16:10:09 I have made the request to generate http://www.w3.org/2017/03/21-hcls-minutes.html dbooth 17:49:54 Zakim has left #hcls