14:59:35 RRSAgent has joined #hcls 14:59:35 logging to https://www.w3.org/2021/08/05-hcls-irc 14:59:40 rrsagent, make logs public 15:12:23 Meeting: FHIR/RDF 15:12:26 Chair: David Booth 15:12:37 Topic: FHIR RDF via JSON-LD 1.1 15:13:44 david: To set the context for today's discussion by Harold, today FHIR RDF is generated by custom converters: https://docs.google.com/presentation/d/1BJ8QlxJzEHd-Y6LrNU-DQ8snp-nG-IKYp3hSfYYPYkY/edit#slide=id.gb4376a16c6_0_123 15:16:14 ... But with JSON-LD 1.1 we have the potential to auto-generate FHIR RDF from FHIR JSON, using JSON-LD 1.1 @context files that are generated by the FHIR spec build process. 15:17:25 ... After investigating, we found that we can ALMOST do this, but we still need a little bit of pre- or post-processing to handle a few things that JSON-LD 1.1 won't do. https://docs.google.com/presentation/d/1BJ8QlxJzEHd-Y6LrNU-DQ8snp-nG-IKYp3hSfYYPYkY/edit#slide=id.gb4376a16c6_0_127 15:17:34 https://docs.google.com/presentation/d/1BJ8QlxJzEHd-Y6LrNU-DQ8snp-nG-IKYp3hSfYYPYkY/edit#slide=id.gb4376a16c6_0_131 15:18:04 (Harold starts presenting, showing live web pages) 15:20:01 http://build.fhir.org/ 15:20:21 RDF page starts here: http://build.fhir.org/rdf.html 15:21:20 https://json-ld.org/ 15:21:56 harold: the playground is a wonderful helpful resoursce for testing: https://json-ld.org/playground/ 15:25:31 (Harold demonstrates the JSON-LD Playground) 15:28:53 Present: David Booth, Harold Solbrig, Sajjad, Darrell Woelk, Emily Pfaff, EricP, Gaurav Vaidya, Gerhard Kober, James Champion, Jim Balhoff, Rob Hausam 15:31:02 harold: JSON-LD default for JSON lists is that it treats them as unordered (in contrast with regular JSON). To force them to be ordered in RDF, you can add @list. 15:31:59 eric: JSON-LD 1.0 was context free, but JSON-LD 1.1 is context sensitive. 15:32:55 harold: with 1.1 you can generate a different URI for a JSON property, depending on its nesting. 15:33:16 ... 1.1 added nested @contexts to deal with this. 15:44:41 FHIR JSON-LD Playground: https://fhircat.org/jsonld/playground/ 15:46:38 The JSON-LD R4 tab does the structural transformations (i.e., preprocessing) that is needed to enable the JSON-LD 1.1 @context to transform it into RDF. 15:49:20 harold: JSON-LD won't add triples, so we needed to add a few things that are assumed in FHIR but need to be made explicit in RDF. 15:50:30 harold: There's a separate @context for each type. 15:50:46 ... The @context files are generated in the FHIR build process. 15:52:48 emily: when you hit the R4 tab, where is the code that does that transformation? 15:53:01 harold: I'll have to find the github repo for it. 15:54:16 harold: This approach allows most FHIR spec changes to be handled just by the generated @context files, automatically. Only a few will need to involve changning the preprocessing. 15:58:35 harold: and you can even generate a tiny URL for your example, such as this: https://tinyurl.com/4yncv72v 15:59:13 Topic: Next steps 15:59:26 emily: Understand how FHIR transformation is happening now. 15:59:54 harold: Show HAPI server that handles FHIR RDF 16:00:09 eric: Post Turtle and get back JSON, patch/put as XML. 16:02:24 ADJOURNED 16:02:34 rrsagent, draft minutes 16:02:34 I have made the request to generate https://www.w3.org/2021/08/05-hcls-minutes.html dbooth 20:57:12 RRSAgent has joined #hcls 20:57:12 logging to https://www.w3.org/2021/08/05-hcls-irc 20:57:17 rrsagent, make logs public