14:58:32 RRSAgent has joined #hcls 14:58:32 logging to https://www.w3.org/2022/06/02-hcls-irc 14:58:37 rrsagent, make logs public 14:58:41 Meeting: FHIR RDF 14:58:45 Chair: David Booth 15:05:06 Topic: FHIR RDF Playground 15:06:36 Eric: All features work except things that are not legal structures. Need someone to download a matching pair of examples and definitions, and go through them to figure out if they align. 15:07:41 ... Currently they don't render. Cannot even preprocess some, because the preprocessor needs to navigate the content model. So if it encounters a property it doesn't recognize, it bombs out. 15:08:09 dbooth: Lack of coordination in how they're generated? 15:08:26 eric: Yes. Not sure they are being validated when they should be. 15:10:45 ... When you go to build.fhir.org 15:12:10 ... the downloadable examples should be in sync with the definitions. 15:12:50 eric: They might not be consistent on the nightly builds, but the releases should be consistent. 15:15:13 eric: Patient example pre-loaded into playground was for FHIR 4.1 15:16:39 eric: "If you want to load different examples into the playground, you can supply a parameter like 15:16:39 https://fhircat.github.io/fhir-rdf-playground/?manifestURL=http://myserver.example/somewhere/manifest.json 15:16:39 default is: 15:16:39 https://fhircat.github.io/fhir-rdf-playground/playground/manifest.json 15:16:40 could be handy for demo-ing, but remember that you'll have to enable CORS on myserver.example (i.e. whatever server you're using) 15:16:41 (now its search parameter interface looks like everything else i build) " 15:17:21 eric: That allows someone to load a different manifest, that allows you to replace the "Example" buttons over the playground text area. 15:20:08 eric: "so e.g. "../fhirlib/test/json/playground-Patient.json" in the manifest gets resolved against the manifest URL as 15:20:08 https://fhircat.github.io/fhir-rdf-playground/fhirlib/test/json/playground-Patient.json " 15:20:51 eric: So now you can upload both the examples and the definitions. The preloaded definitions are the 4.0.1 defs 15:21:35 eric: Patient, Observation, CodeSystem do what we want. 15:22:07 ... But Bundle doesn't entirely work, but it tells you what's wrong. If you take out the offending part, it works. 15:22:53 ... The bundle was tough, because I had to be able generate every resource. To gen content model it looks at the resourceType . 15:23:04 ... Need to do that in two situations: Bundles and Contained. 15:23:54 ... No intersection bewteeen a viable 4.0.1 and 4.6.0 resource, because of required things. 15:25:35 ... So we need to examine these to line up the examples w the content models. I've been using jq, a fiendishly handy but difficult to use package. 15:25:46 https://npmjs.com/package/jq 15:28:35 s/https/NOT THIS PACKAGE: https/ 15:28:44 The correct package is: https://stedolan.github.io/jq/manual/ 15:29:15 eric: I wrote some instructions here:L https://github.com/fhircat/fhir-rdf-playground/blob/main/fhirlib/READMD.md 15:29:26 s/here:L/here:/ 15:30:28 eric: Here's an example: 15:30:30 [[ 15:30:32 ``` 15:30:32 "Medication.identifier -- Identifier" 15:30:32 "Medication.code -- CodeableConcept" 15:30:32 "Medication.status -- code" 15:30:33 "Medication.marketingAuthorizationHolder -- Reference" 15:30:33 "Medication.doseForm -- CodeableConcept" 15:30:35 "Medication.totalVolume -- Ratio" 15:30:37 "Medication.ingredient -- BackboneElement" 15:30:39 "Medication.ingredient.item -- CodeableReference" 15:30:41 "Medication.ingredient.isActive -- boolean" 15:30:43 "Medication.ingredient.strength[x] -- Ratio -- CodeableConcept -- Quantity" 15:30:45 "Medication.batch -- BackboneElement" 15:30:47 "Medication.batch.lotNumber -- string" 15:30:49 "Medication.batch.expirationDate -- dateTime" 15:30:51 ``` 15:30:55 ]] 15:41:14 dbooth: THat's looking at the defs. How do you compare with the examples? 15:42:08 eric: The playground tells you what the error is. You look at the error, and then look up the result of the def query to see what the def said it should have been. 15:48:46 dbooth: How much work would it be to generate an exhaustive list of all examples that fail validation? 15:49:07 eric: Maybe a day. 15:55:18 eric: Big screw case: hl7.fhir.org site needs to send CORS headers. 15:56:13 ACTION: DBooth to file bug report about lack of CORS headers 16:00:01 s/ACTION: DBooth to file bug report about lack of CORS headers// 16:01:57 ADJOURNED 16:02:08 rrsagent, draft minutes 16:02:08 I have made the request to generate https://www.w3.org/2022/06/02-hcls-minutes.html dbooth 16:02:34 rrsagent, make logs public 16:03:11 Present: David Booth, EricP, Gaurav Vaidya 16:03:14 rrsagent, draft minutes 16:03:14 I have made the request to generate https://www.w3.org/2022/06/02-hcls-minutes.html dbooth