W3C

– DRAFT –
FHIR RDF

02 June 2022

Attendees

Present
David Booth, EricP, Gaurav Vaidya
Regrets
-
Chair
David Booth
Scribe
dbooth

Meeting minutes

FHIR RDF Playground

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.
… 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.

dbooth: Lack of coordination in how they're generated?

eric: Yes. Not sure they are being validated when they should be.
… When you go to build.fhir.org
… the downloadable examples should be in sync with the definitions.

eric: They might not be consistent on the nightly builds, but the releases should be consistent.

eric: Patient example pre-loaded into playground was for FHIR 4.1

eric: "If you want to load different examples into the playground, you can supply a parameter like

https://fhircat.github.io/fhir-rdf-playground/?manifestURL=http://myserver.example/somewhere/manifest.json

default is:

https://fhircat.github.io/fhir-rdf-playground/playground/manifest.json

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)

(now its search parameter interface looks like everything else i build) "

eric: That allows someone to load a different manifest, that allows you to replace the "Example" buttons over the playground text area.

eric: "so e.g. "../fhirlib/test/json/playground-Patient.json" in the manifest gets resolved against the manifest URL as

https://fhircat.github.io/fhir-rdf-playground/fhirlib/test/json/playground-Patient.json "

eric: So now you can upload both the examples and the definitions. The preloaded definitions are the 4.0.1 defs

eric: Patient, Observation, CodeSystem do what we want.
… But Bundle doesn't entirely work, but it tells you what's wrong. If you take out the offending part, it works.
… The bundle was tough, because I had to be able generate every resource. To gen content model it looks at the resourceType .
… Need to do that in two situations: Bundles and Contained.
… No intersection bewteeen a viable 4.0.1 and 4.6.0 resource, because of required things.
… 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.

NOT THIS PACKAGE: https://npmjs.com/package/jq

The correct package is: https://stedolan.github.io/jq/manual/

eric: I wrote some instructions here: https://github.com/fhircat/fhir-rdf-playground/blob/main/fhirlib/READMD.md

eric: Here's an example:

```
"Medication.identifier -- Identifier"
"Medication.code -- CodeableConcept"
"Medication.status -- code"
"Medication.marketingAuthorizationHolder -- Reference"
"Medication.doseForm -- CodeableConcept"
"Medication.totalVolume -- Ratio"
"Medication.ingredient -- BackboneElement"
"Medication.ingredient.item -- CodeableReference"
"Medication.ingredient.isActive -- boolean"
"Medication.ingredient.strength[x] -- Ratio -- CodeableConcept -- Quantity"
"Medication.batch -- BackboneElement"
"Medication.batch.lotNumber -- string"
"Medication.batch.expirationDate -- dateTime"
```

dbooth: THat's looking at the defs. How do you compare with the examples?

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.

dbooth: How much work would it be to generate an exhaustive list of all examples that fail validation?

eric: Maybe a day.

eric: Big screw case: hl7.fhir.org site needs to send CORS headers.

ADJOURNED

Minutes manually created (not a transcript), formatted by scribe.perl version 185 (Thu Dec 2 18:51:55 2021 UTC).

Diagnostics

Succeeded: s/https/NOT THIS PACKAGE: https/

Succeeded: s/here:L/here:/

Succeeded: s/ACTION: DBooth to file bug report about lack of CORS headers//

No scribenick or scribe found. Guessed: dbooth

Maybe present: dbooth, Eric