15:00:36 RRSAgent has joined #hcls 15:00:36 logging to http://www.w3.org/2015/06/10-hcls-irc 15:00:38 RRSAgent, make logs world 15:00:39 Zakim has joined #hcls 15:00:40 Zakim, this will be HCLS 15:00:40 ok, trackbot; I see SW_HCLS()11:00AM scheduled to start now 15:00:41 Meeting: Semantic Web Health Care and Life Sciences Interest Group Teleconference 15:00:41 Date: 10 June 2015 15:10:55 Topic: Why do we need 'value' in FHIR RDF? 15:13:18 hsolbrig has joined #hcls 15:13:30 egonw_ has joined #HCLS 15:13:35 +1https://www.w3.org/wiki/HCLS/ClinicalObservationsInteroperability/FHIR#Issues 15:13:44 Tony has joined #HCLS 15:13:57 https://www.w3.org/wiki/HCLS/ClinicalObservationsInteroperability/FHIR#Issues 15:15:00 rhausam has joined #HCLS 15:15:26 https://www.w3.org/wiki/HCLS/ClinicalObservationsInteroperability/FHIR#Issues 15:16:22 tony: really the issue is why there is an extra blank node with an enclosed 'value' property 15:17:07 eric: I think the motivation on datatypes is that there may be an extension attached. 15:18:58 egonw_ has joined #HCLS 15:19:32 eric: Would anyone ever put an extension on a datatype and expect others to understand it? 15:19:52 harold: This sounds like RIM version 3. We're getting close to making this non-useful in RDF. 15:22:46 eric: I'm surprised there was no pushback in the JSON serialization 15:23:24 https://hl7-fhir.github.io/json.html 15:24:43 egonw_ has joined #HCLS 15:25:04 harold: We need the equiv of an underscore predicate 15:26:47 See slide 27: http://dbooth.org/2015/fhir/json-ld/fhir-in-json-ld.pdf 15:27:55 eric: For modifying extensions, in RDF we changed the name so that it will not accidentally show up in a query. 15:28:15 ... But they didn't want to have two different names when trying to display things. 15:29:06 ... If you say that modifying extensions must rename the property, then the display system won't know how to display it. 15:29:32 egonw_ has joined #HCLS 15:29:35 ... I'm concerned that any modifying extension will break things. 15:30:50 tony: XML techniques for disambiguation cannot be used either (like namespace) 15:32:16 q+ do say that we can make different, related URIs for the value and the extension data 15:32:32 q+ to say that we can make different, related URIs for the value and the extension data 15:33:38 q+ to say we have multiple issues here: 1. how to handle modifying extensions wrt monotonicity; 2. how to model extensions 15:34:34 See slide 27: http://dbooth.org/2015/fhir/json-ld/fhir-in-json-ld.pdf 15:37:09 :john :dob "2003-12-12" . 15:37:42 :john :_dob _foo . 15:38:24 where _foo is the extension stuff. 15:38:56 And somewhere else there would have to be a statement like this: 15:39:20 :dob fhir:hasExtension :_dob . 15:40:31 eric: If it were not a literal datatype property, then we could just add predicates. 15:40:51 ... For literals, we could do the same thing by adding an intervening blank node. 15:40:58 egonw_ has joined #HCLS 15:41:12 ... But that is less palatable than directly having the value. 15:42:38 eric: we could call the value :code and the extension :_code . 15:46:00 q+ to say that there still has to be an explicit assertion of the :code and :_code relationship (:_code ex:extends :code) 15:46:12 egonw_ has joined #HCLS 15:47:13 # With extensions: 15:47:13 fhir:CodeableConcept.coding [ 15:47:13 a fhir:Coding; 15:47:13 fhir:Coding.system ; 15:47:14 fhir:Coding._system [ :mySysExtension "foo" ] ; 15:47:14 fhir:Coding.code "66493003"^^fhir:code; 15:47:16 fhir:Coding._code [ :myCodeExtension "bar" ] ; 15:47:18 ]; 15:47:24 ack hsolbrig 15:47:24 hsolbrig, you wanted to say that there still has to be an explicit assertion of the :code and :_code relationship (:_code ex:extends :code) 15:47:49 Lloyd has joined #HCLS 15:48:34 ack dbooth 15:48:34 dbooth, you wanted to say that we can make different, related URIs for the value and the extension data and to say we have multiple issues here: 1. how to handle modifying 15:48:38 ... extensions wrt monotonicity; 2. how to model extensions 15:49:42 # With extensions: 15:49:42 fhir:CodeableConcept.coding [ 15:49:42 a fhir:Coding; 15:49:42 fhir:Coding.system ; 15:49:43 fhir:Coding._system [ myext:moreSysInfo "foo" ] ; 15:49:43 fhir:Coding.code "66493003"^^fhir:code; 15:49:45 fhir:Coding._code [ myext:moreCodeInfo "bar" ] ; 15:49:47 ]; 15:50:13 and in an ontology: 15:50:41 fhir:Coding.code fhir:hasExtensionProperty fhir:Coding._code 15:51:57 egonw_ has joined #HCLS 15:56:41 # SPARQL to select all code extensions: 15:56:41 select * { 15:56:41 ?something a fhir:Coding ; 15:56:41 fhir:Coding._code ?ext . 15:56:42 } 15:57:36 eric: How often are IDs and other things attached to these? 15:57:49 lloyd: Infrequently. usually to attach narrative. 15:59:16 eric: I would expect IDs to be most often used on complex types, rather than on simple datatypes. 15:59:29 lloyd: Not necessarily. Might point to display name. 16:00:17 eric: Want good practice to be terse, and bad practice still accommodated. 16:00:50 lloyd: Wide variety of reasons for putting IDs on things. 16:01:30 ... IDs are not commonly used, but when used are usually for sophisticated things. 16:01:56 eric: Let's try going with the underbar/JSON style. 16:03:39 # SPARQL to select all code extensions: 16:03:39 select * { 16:03:39 ?something a fhir:Coding ; 16:03:39 fhir:Coding.code ?code ; 16:03:40 fhir:Coding.code fhir:hasExtensionProperty ?underbar ; 16:03:40 fhir:Coding._code ?ext . 16:03:42 } 16:04:16 trying again: 16:04:17 # SPARQL to select all code extensions: 16:04:17 select * { 16:04:17 ?something a fhir:Coding ; 16:04:17 fhir:Coding.code ?code ; 16:04:17 fhir:Coding.code fhir:hasExtensionProperty ?underbar ; 16:04:19 ?underbar ?ext . 16:04:21 } 16:04:31 rhausam has joined #HCLS 16:04:47 # SPARQL to select all code extensions: 16:04:47 select * { 16:04:47 ?something a fhir:Coding ; 16:04:47 fhir:Coding.code ?code ; 16:04:48 fhir:Coding.code fhir:hasExtensionProperty ?underbar ; 16:04:48 ?underbar ?ext . 16:04:50 } 16:05:36 lloyd: This would mean two different ways of finding extensions. Same as in JSON. 16:05:49 ... But you're typically not doing queries as much in JSON. 16:05:57 ... Possible to do a property chain? 16:07:03 ... Would it be possible to have the same query structure for both datatype extensions and object extensions? 16:07:57 eric: we could also decide what is needed for serialization vs what is inferred by an ont. 16:11:11 With an extra bnode, queries would say '?foo fhir:Coding.code / fhir:value ?value' instead of '?foo fhir:Coding.code ?value' 16:12:21 Eric: Could have fhir:Coding.code be both a datatype property and a datatype property. 16:14:05 dbooth: That would force the query to use a FILTER clause to distinguish between an object value and a literal value. 16:16:38 http://www.w3.org/wiki/HCLS/ClinicalObservationsInteroperability/FHIR#Use 16:18:28 lloyd: Saving an extra node seems insignificant. It feels like the underbar approach interferes with the elegance of query. 16:19:29 ... Will it feel more natural to have the extra bnode and value property, or the underbar approach? 16:19:47 ... I suspect the extra bnode would be more natural to RDF people. 16:20:14 eric: Lots of people will ask why the extra bnode is there. 16:20:19 Q+ 16:20:31 lloyd: And they ask that in XML, and we say that it is because of extensions, and they they move on. 16:21:06 ... I'm less concerned with questions that people saying 'that is totally unnatural'. 16:21:40 ... Underbar will be harder for people to wrap their heads around. 16:21:47 ack tony 16:22:14 q+ to agree with lloyd 16:23:21 tony: extra blank node aligns better with FHIR 16:24:02 rhausam_ has joined #HCLS 16:24:06 ack dbooth 16:24:06 dbooth, you wanted to agree with lloyd 16:25:04 lloyd: Not a violation of our approach, because JSON does that, but from a class model perspective it should be there in RDF because that's what's going on. RDF should better reflect the class semantics than JSON. 16:25:08 +q 16:25:27 ack rhausam 16:25:51 rob: Agree with blank node approach. 16:26:41 eric: Net pain seems lower with underbar approach, but I understand the other arguments expressed. 16:26:59 ... Also cannot reused things from RIM. 16:27:26 lloyd: My leaning on that, is that when we get into ORIM alignment, I'm happy to change ORIM to align with FHIR. 16:28:37 eric: If these cases are rare, then there will be more pain with the blank node approach. 16:28:45 ... Also, need to handle modifying extensions. 16:30:20 AGREED: Go ahead with blank node and 'value' property approach 16:30:39 http://www.w3.org/wiki/HCLS/ClinicalObservationsInteroperability/FHIR#Use 16:30:47 Topic: View FHIR as Turtle 16:30:55 http://www.w3.org/wiki/HCLS/ClinicalObservationsInteroperability/FHIR#Use 16:32:24 ADJOURNED 16:52:31 rrsagent, draft minutes 16:52:31 I have made the request to generate http://www.w3.org/2015/06/10-hcls-minutes.html dbooth 17:05:09 egonw_ has joined #HCLS 17:44:38 egonw_ has joined #HCLS 18:29:29 Chair: David Booth 18:31:07 Present: Tony Mallia, EricP Harold Solbrig, Lloyd McKenzie, Rob Hausam 18:31:13 rrsagent, draft minutes 18:31:13 I have made the request to generate http://www.w3.org/2015/06/10-hcls-minutes.html dbooth 18:58:04 Zakim has left #hcls