15:04:59 RRSAgent has joined #hcls 15:04:59 logging to http://www.w3.org/2016/06/21-hcls-irc 15:05:01 RRSAgent, make logs world 15:05:01 Zakim has joined #hcls 15:05:03 Zakim, this will be HCLS 15:05:03 ok, trackbot 15:05:04 Meeting: Semantic Web Health Care and Life Sciences Interest Group Teleconference 15:05:04 Date: 21 June 2016 15:06:42 Topic: Remaining items that need to be implemented in FHIR RDF 15:08:36 harold: Pattern, minValue and maxValue are now implemented. 15:08:58 file:///Users/mrf7578/Development/fhir/build/publish/patient.shex.html 15:09:01 ... Also put comments in the shex. 15:09:39 http://hl7-fhir.github.io/medication.shex.html 15:10:59 harold: Eric wondered if we could drop the turtle template language. Eric changed commas to semicolons. 15:11:10 http://hl7-fhir.github.io/fhir.shex 15:11:20 ... Also created fhir.shex, which has all the shex definitions of everything. 15:11:44 ... I want to remove the comments, because they make it much bigger. 15:12:42 ... When we do something like Patient.shex, all of these shex definitions are CLOSED. 15:13:04 ... When we're pulling definitions into a bundle it's wide open -- it must have at least one type arc. 15:13:31 ... In the fhir.shex it makes more sense to change that wide open def to one that explicitly lists all of the possible resources. 15:13:48 ... But that would only be in the fhir.shex. 15:15:27 dbooth: CLOSED means a closed content model? 15:15:49 harold: Yes. If you have something else it's an error. 15:16:51 q+ 15:17:55 dbooth: What does " {a .+;" mean? 15:18:07 harold: the dot is a wildcard, meaning anything. 15:18:37 eric: regarding CLOSED, on one hand is the RDF ideal of allowing other content and ignore it you don't care about it. 15:19:21 ... Another is, for clinical exchange, where you know the content model and you don't want anything else. Even the extensions fit into the closed content model, which means that the typos get caught. 15:20:57 harold: whenever I generate a new version of shex I test all of the FHIR examples, and this works against them. 15:21:02 dbooth: The passing examples? 15:21:12 harold: yes. No failing examples yet. 15:23:27 q- 15:24:27 james: Suggest enumerating as little as possible. 15:24:50 ... To reduce maintenance difficulties. 15:25:22 ... Having an abstract class may be better. 15:26:31 harold: grahame wanted a case with completely closed system. 15:26:40 james: Then you could never subclass it. 15:27:20 harold: To extend a core resource, you extend it with tagged value pairs. 15:28:07 ... I'm not allowed to add a Price element to the Medication element. 15:28:58 ... But I can create an extension by adding an extension element. 15:29:30 eric: it is a closed content model, you cannot add to it, but one thing that is in there is an extension mechanism with the FHIR keyword and grammar. 15:31:09 dbooth: So if you want to subclass in the RDF world, you can do that until you want to send your content as FHIR RDF to someone else. Then you have to limit what you send to ONLY the FHIR RDF portion. 15:32:39 ... We could consider standardizing a way to put arbitrary RDF in the FHIR extension mechanism. 15:33:51 harold: I need two different kinds of code, to handing FHIR RDF extensions: one for basic FHIR RDF, the other for the extensions. 15:35:43 ... Our ideal approach would be to have the extensions and core FHIR resources be similar, though with an extension we're not guaranteed to have the schema available. 15:36:34 ISSUE: Should we try to unify the treatment of extensions with regular resources? 15:36:34 Created ISSUE-37 - Should we try to unify the treatment of extensions with regular resources?. Please complete additional details at . 15:36:58 shahram: This works if extensions are not modifying extensions. 15:38:14 harold: Correct. Extensions can theoretically override the base semantics. 15:38:46 ... I vaguely remember hearing someone say that you can change the types is the core elements. 15:38:57 ... But I'm trying to address Well Behaved extensions. 15:39:43 eric: At least in the past there were modifier and non-modifier extensions. Non-modifier extensions could be safely ignored; modifier extensions could not. 15:40:04 ... That meant that you have to check for modifier extensions before you process. 15:40:19 ... They need to be hidden from someone who will interpret it monotonically. 15:40:50 harold: This discussion is for Well Behaved non-nodifier (monotonic) extensions 15:41:42 ... One option is the ideal translation. An alternative is to use the FHIR extension wrapper on the outside, but also use the preferred representation inside. 15:41:52 ... This requires two kinds of typing, but gives consistent typing. 15:42:18 ... Another alternative 2, is to have a first-class predicate as the tag. 15:42:36 ... My hope is that we can come out with the ideal, for non-monotonic extensions. 15:42:55 ... But this leads to an interesting condition when discussing open/closed validation. 15:43:17 ... If this form is used, then none of the shex forms can be closed. 15:44:18 ... But a validator could close it to the extent of only allowing unrecognized predicates whose object is of type fhir:Extension. 15:44:50 ... We'd have to do some work to make this work in shex. 15:45:09 ... Also, for every fhir type, we need to allow an optional type arc. 15:45:18 ... That seems reasonable. 15:45:51 ... We could declare the range of fhir;Extension.valueIdentifier to be Identifier, but we're not doing that now. 15:49:59 harold: Should we stick with literal RDF translation? It requires less explaining. Disadvantage is that it is much harder in SPARQL to use. 15:50:25 ... Migrating from extension to core is non-trivial this way. 15:51:45 ... Doing it the suggested way allows a more uniform way to treat extensions and core resources. 15:53:57 michael: Trying to figure out how this affects the generation of instances 15:54:26 harold: This is an instance from a FHIR example. 15:55:02 diagnosticreport-examples-general.ttl 15:56:15 harold: slides 10-13 discuss modifiers 15:58:12 ... The fhir:Quantity.comparator [ fhir:value ",>" ]; non-monotonically changes the meaning of the value. 15:58:32 ISSUE: How to handle modifiers? 15:58:32 Created ISSUE-38 - How to handle modifiers?. Please complete additional details at . 15:59:15 Topic: Next steps 15:59:50 Harold: One possibility would be to post these questions on zulip 16:02:43 dbooth: Hoping to schedule a discussion of FHIR vocabulary and schema.org next week, 5pm ET. 16:02:52 Chair: David Booth 16:05:11 Present: David Booth, EricP, Harold Solbrig, Amol, Brian Pech, Chad Albert, Craig Parker, James Anderson, Michael Van Der Zel, Shahram 17:24:06 brian has joined #hcls 17:58:08 i/harold: Pattern, minValue/Harold's slides:/ 17:58:41 s|Harold's slides:|Harold's slides: https://lists.w3.org/Archives/Public/www-archive/2016Jun/att-0003/FHIR_RDF_Extensions_v2.pdf 17:59:00 rrsagent, draft minutes 17:59:00 I have made the request to generate http://www.w3.org/2016/06/21-hcls-minutes.html dbooth 17:59:19 ADJOURNED 17:59:24 rrsagent, draft minutes 17:59:24 I have made the request to generate http://www.w3.org/2016/06/21-hcls-minutes.html dbooth 18:19:40 Zakim has left #hcls