16:03:53 RRSAgent has joined #hcls 16:03:53 logging to http://www.w3.org/2016/02/16-hcls-irc 16:03:55 RRSAgent, make logs world 16:03:55 Zakim has joined #hcls 16:03:57 Zakim, this will be HCLS 16:03:57 I do not see a conference matching that name scheduled within the next hour, trackbot 16:03:58 Meeting: Semantic Web Health Care and Life Sciences Interest Group Teleconference 16:03:58 Date: 16 February 2016 16:04:20 Chair: David Booth 16:04:52 Present: Rob Hausam, Tony Mallia, Thomas Lukasik, Lloyd McKenzie 16:06:49 Topic: Modify the FHIR spec build process to produce RDF artifacts -- Who and how? 16:07:31 https://github.com/w3c/hcls-fhir-rdf/issues/7 16:08:49 tony: Will the build process produce the RDF artifact? 16:09:26 rhausam has joined #HCLS 16:09:31 lloyd: Yes. A few changes needed: 1. reference implementations, Java, C#, swift, Delphi Pascal, need to be updated to produce and consume RDF 16:10:26 ... That's the set of code that knows how to parse/serialize the FHIR XML, JSON and now RDF 16:11:06 ... Those get referenced in the build process 16:11:32 ... The build process generates Java code, C# code, Delphi code, etc. 16:11:59 ... It takes the definitions of the resources and turns that into class representations in the different languages to parse/serialize XML and JSON. We need to add RDF to that list. 16:12:25 ... The Java implementation is then used in the build process to convert examples from XML to JSON, and we'll use it to generate the examples in RDF. 16:13:04 Present+ Brian Pech 16:14:11 dbooth: That's instance data that is being parsed and serialized by the reference implementations. 16:14:18 tony: How's the XML Schema built? 16:14:54 lloyd: Generated by other java code. Takes the internal object representation and puts out the schema. 16:15:35 ... Two choices: Follow the same path as schema generation (Java) or use XSLT. 16:15:40 tony: ShEx? 16:16:03 lloyd: Reluctant, because of the number of people who can maintain ShEx 16:16:28 dbooth: Build process itself is written in Java? 16:16:33 lloyd: yes 16:20:16 lloyd: 1. need to update the reference impl. 2. Update the build process to generate the RDF examples 3. Modify the build tool's round trip tests 4. update the publication process, so that when you look at the list of examples you see the RDF alongside the XML and JSON 5. Generate the OWL for structure definitions for resources, datatypes and profiles, and expose that in the publication 6. Package the OWL into a zip file and make it accessible on the downloa 16:20:16 ds page. 7. Generate the OWL for the valuesets, which is different from what we've done before. No schemas for them, but we'll have OWL for them. 16:20:40 lloyd: Concept maps out of scope? We can bring that in release 2. 16:21:22 ... If we want to expose ShEx definitions then we need to generate those for structure defs and valuesets, and expose that in the publications. Need to figure out whether ShEx is a ref impl or closer to schema. 16:22:25 ISSUE: Should ShEx be a reference implementation or a schema? 16:22:25 Created ISSUE-19 - Should shex be a reference implementation or a schema?. Please complete additional details at . 16:25:49 lloyd: There's code that generates: 1. resoruce pages. 2. resource examples page. 3. Datatypes page 4. Profile page 16:26:17 ... That java code will have to be tweaked to show either a link to the OWL or RDF, depending. 16:26:41 ... In addition, there's code that generates zip files, and we'll want to add a zip file with all the OWL. 16:26:58 ... We'll also want to modify the zip file of examples to include RDF with the XML and JSON. 16:27:27 ... There's also a static HTML page, downloads.html, and we'll need to edit that to add a link to the ontology.zip that we'll produce. 16:28:27 dbooth (to eric): Should ShEx be a reference implementation or a schema? 16:29:30 eric: more of a schema. But there is also ShEx as handy tools to parse XML to RDF. 16:30:10 lloyd: We provide code people might want to use. The differentiator is whether it is executable. 16:30:24 Present+ Darrell Woelk, EricP 16:31:20 ... We have links to those extra tools now, but the intent is that it will move to fhir.org along with other tools that others may contribute. 16:32:32 lloyd: Ref impl do parsing, serializing, validation, simple clients that know how to manage the HTTP server calls 16:32:41 ... XSLT is not a full ref impl :) 16:33:23 eric: Hoping to use the ShEx and XSLT scripts to validate our definitions 16:33:34 ... Could figure out later whether to include it as a ref impl 16:34:12 lloyd: My view is that we'll modify the code generators to produce Java, C# and Delphi to natively consume/produce RDF. 16:35:00 ... But there may be other more esoteric languages that choose to implement only the XML and JSON, but use the XSLT transform for the RDF piece. 16:35:40 i/We provide/eric: There's XSLT that converts FHIR XML to FHIR RDF 16:36:16 Our deliverables: http://wiki.hl7.org/index.php?title=RDF_for_Semantic_Interoperability#Deliverables_and_Editors 16:37:04 lloyd: Anyone who wants commit privileges to modify the build tool should email me and agree to the HL7 policies. 16:37:41 dbooth: has Michael Van Der Zel done that yet? 16:38:11 lloyd: He's an observer now. 16:40:50 dbooth: Michael signed up for deliverable #5 Modify the FHIR spec build process. I'll point him to this discussion and see what he is able to do. 16:41:28 ACTION: David to transfer these notes about deliverables to the wiki 16:41:28 'David' is an ambiguous username. Please try a different identifier, such as family name or username (e.g., dbooth, dderour, dhansen2, dnewman, dshotton). 16:42:27 Topic: Should we change fhir:index from origin 1 to origin 0? 16:43:07 https://github.com/w3c/hcls-fhir-rdf/issues/5 16:44:31 dbooth: I think we shoudl change to origin 0 to be consistent 16:44:40 eric: Propose we go with 0. 16:44:51 rob: Sounds compelling 16:45:02 tony: Easy to change in the OWL 16:45:26 Seems to be informal consensus to use origin 0 16:46:53 topic: Issues list 16:47:03 https://github.com/w3c/hcls-fhir-rdf/issues 16:47:13 https://www.w3.org/2014/HCLS/track/issues 16:48:03 What should be the media type for FHIR RDF in Turtle or other serializations? 16:48:11 https://github.com/w3c/hcls-fhir-rdf/issues/4 16:48:40 eric: What are XML and JSON media types? 16:48:59 lloyd: application/xml+fhir and application/json+fhir 16:49:04 eric: registered? 16:49:24 lloyd: that was assigned to ITS group. Not sure they've done anything yet 16:50:14 eric: There's an RFC about using foo+xml. That allows a doc to be rendered as XML if the browser doesn't know foo. 16:50:25 lloyd: Grahame knows the full history. 16:51:02 eric: I suspect the registration process will be the gating process. if you try to use "+" in a way that is different from sticking XML at the end, they'll balk. 16:51:22 ... We have a Turtle media type and for RDF/XML 16:51:38 ... Turtle is text/turtle 16:52:36 ... It means that linefeed conversions are allowed. 16:53:40 ... My guess is that you'll get pushback for application/xml+fhir and they'll push it back to application/fhir+xml 16:54:29 ... And to follow that for turtle: text/fhir+turtle , but that would set a new precedence, because a lot of tools would not immediately recognize it as Turtle. Maybe this would be an opportunity to establish that as a precedent. 16:57:25 dbooth: Choice between trying to push the world forward to use text/fhir+turtle or go with the flow and use generic text/turtle. 16:58:12 dbooth: The recipient can look at the content to see what it is. That's part of the beauty of using URIs in RDF as unique identifiers. 16:58:56 tony: We have a clause in requirements about existing tools, so we should not require changes to tools. 16:59:52 lloyd: For turtle, i'm not sure we'll have an issue. If we want to be able to extract any of the other RDF syntaxes. If the data is serialized in JSON-LD it might cause confusion. 17:00:07 eric: The media type for JSON-LD is different from plain JSON. 17:00:39 ... Need to also differentiate RDF/XML from FHIR XML. 17:02:31 JSON-LD has a specific media type: application/ld+json 17:03:34 dbooth: Less pain if we stick with text/Turtle 17:04:34 tony: We should require only Turtle. 17:06:10 eric: Another issue: Easier to represent things in Turtle than RDF/XML. 17:06:40 Agreed: We'll only address Turtle. 17:07:53 dbooth: Should we agree on text/turtle as media type? 17:08:15 lloyd: The question is whether anyone would have an endpoint that coudl serve both FHIR Turtle and other Turtle. 17:08:28 tony: Turtle file extension? Eric: .ttl 17:09:13 ACTION: David to ask Grahame if he sees any problem in using text/turtle as media type 17:09:13 'David' is an ambiguous username. Please try a different identifier, such as family name or username (e.g., dbooth, dderour, dhansen2, dnewman, dshotton). 17:11:36 ADJOURNED 17:11:40 rrsagent, draft minutes 17:11:40 I have made the request to generate http://www.w3.org/2016/02/16-hcls-minutes.html dbooth 17:15:32 RESOLVED: Turtle will be the only RDF serialization we address for FHIR 17:15:36 rrsagent, draft minutes 17:15:36 I have made the request to generate http://www.w3.org/2016/02/16-hcls-minutes.html dbooth 17:20:00 i/topic: Issues list/RESOLVED: Informal consensus to change fhir:index from origin 1 to origin 0 (to be confirmed when we have official quorum with ITS chair) 17:20:05 rrsagent, draft minutes 17:20:05 I have made the request to generate http://www.w3.org/2016/02/16-hcls-minutes.html dbooth 18:51:46 Zakim has left #hcls 22:04:52 RRSAgent has joined #hcls 22:04:52 logging to http://www.w3.org/2016/02/16-hcls-irc 22:04:59 Topic: 5pm Call 22:05:11 Tony has joined #HCLS 22:06:51 geeking about headsets. Harold loves his Logitech H800. 22:08:02 eric: the only downside: the mic is on the right side, which makes it hard to eat with chopsticks if you're right handed. 22:08:54 Topic: Root element type should be stated explicitly 22:09:05 hsolbrig has joined #hcls 22:09:05 https://github.com/w3c/hcls-fhir-rdf/issues/8 22:13:26 lloyd: How does someone round tripping differentiate the profile declaration from the resource declaration? 22:15:12 ... When round tripping back from RDF to JSON (for example), how do I know which type to put into the JSON resourceType property? 22:16:05 dbooth: Profile type is 22:16:43 ... but resource type needs to be stated explicitly too, in a recognizable way. 22:17:22 tony: the root XML tag is the same as the type name. 22:18:01 lloyd: We may have fhir:AllergyIntolerance and fhir:AllergyIntoleranceAwesome (profile). 22:19:12 ... The profile URI will appear more than one place (both in meta and as top resource type). 22:19:54 ... Or we could could have an explicit statement statement saying which it is. 22:24:19 lloyd: We have discussed allowing non-HL7-defined resources. In the JSON world that might need to have a URI. 22:24:28 ... But don't need to worry about that right now. 22:30:43 In XML: 22:30:43 22:30:43 In Turtle: 22:30:44 a fhir:AllergyIntolerance . 22:30:44 a fhir:AllergyIntoleranceAwesome . 22:30:45 fhir:resourceType fhir:AllergyIntolerance . 22:39:43 lloyd: You always serialize to the resourceType -- not the profile. 22:39:58 ... But the instance will also be valid against the profile. 22:41:34 eric: what if I'm serializing an AllergyIntoleranceAwesome that has an extension? Still serialized the same? Lloyd: Yes. 22:43:57 dbooth: I think fhir:resourceType value of fhir:AllergyIntolerance would be easier for RDF than having a literal value of "AllergyIntolerance", because it will match the rdf:type immediately. 22:44:59 eric: String values that different would be known to be disjoint by OWL though, whereas URIs would not. 22:49:15 eric: If I have a literal in my data, if I have good data there will be identifiers for "p53", whereas if I am looking for a string I can easily be confused. Whereas if it is a URI http://example/.../p53 then it is unique. 22:53:01 lloyd: my expectation is that in the declaration of the fhir:AllergyIntolerance type, it will say that all instances have a fhir:resourceType "AllergyIntolerance" . 22:53:50 harold: Agree with using a string: "AllergyIntolerance" 22:55:53 tony: "AllergyIntolerance" 22:55:55 lloyd: "AllergyIntolerance" 22:56:11 dbooth: fhir:AllergyIntolerance 22:56:14 eric: fhir:AllergyIntolerance 22:57:49 lloyd: The conversion to RDF might involve non-simple URI mappings. 23:00:57 ... In conformance.html https://hl7-fhir.github.io/conformance.html searchParam shows up twice, and they are the same. It's the type of searchParam inside the resource, and in REST. 23:01:35 ... So the type name is not necessarily the path name. 23:01:46 dbooth: I would think it would have two path names with the same meaning 23:02:33 lloyd: We could do that -- alias them. When we do code generation in the java or c# space, there will be only one class define. 23:02:44 dbooth: Could define them as being equivalent classes in OWL. 23:03:09 lloyd: If you're generating RDF, then it's not an issue, but if you're doing something else it might. 23:03:38 tony: What does an XML conformance resource get translated into? 23:04:06 lloyd: Conformance deals with the dynamic behavior of the system. Structure def is static. 23:04:44 ... instances of conformance resources will get translated from FHIR XML to FHIR RDF. 23:05:47 eric: Use case for conformance? 23:06:06 lloyd: Every system that wants to claim FHIR conformance must have an instance that says what it does. 23:06:43 ... It's also used to define general capabilities. If you're defining an implementation guide, it may say the capabilities. 23:07:29 ... you can also reference them in RFPs, for example. Also used for dynamic configuration. 23:09:46 RESOLVED: Add a data property fhir:resourceType with string value such as "AllergyIntolerance ", attached to the root instance element. 23:11:23 Present: Rob Hausam, Tony Mallia, David Booth, Lloyd McKenzie, EricP 23:12:10 Closed github issue #8: https://github.com/w3c/hcls-fhir-rdf/issues/8 23:12:19 ADJOURNED 23:12:25 rrsagent, draft minutes 23:12:25 I have made the request to generate http://www.w3.org/2016/02/16-hcls-minutes.html dbooth 23:13:17 Present+Rob_Hausam, Tony_Mallia, Thomas_Lukasik, Lloyd_McKenzie, Brian, Pech, Darrell_Woelk, EricP 23:13:24 Present+ Rob_Hausam, Tony_Mallia, Thomas_Lukasik, Lloyd_McKenzie, Brian, Pech, Darrell_Woelk, EricP 23:13:28 rrsagent, draft minutes 23:13:28 I have made the request to generate http://www.w3.org/2016/02/16-hcls-minutes.html dbooth