Stream: ontology
Topic: validation
Grahame Grieve (May 21 2016 at 04:18):
The standard FHIR validator can now validate turtle resources - @Michael van der Zel , you might want to give it a go on your C# output
Grahame Grieve (May 21 2016 at 04:19):
In the doco, it claims that it does ShEx validation, but it doesn't yet. That's my next task
Michael van der Zel (May 25 2016 at 14:11):
@Grahame Grieve Is the FHIR validator part of the FHIR build tool?
Grahame Grieve (May 25 2016 at 21:21):
well, you get it from here:
Grahame Grieve (May 25 2016 at 21:22):
http://hl7-fhir.github.io/validation.html
Grahame Grieve (May 25 2016 at 21:22):
or from your local build
Harold Solbrig (May 26 2016 at 19:41):
A bunch of errors have showed up in the ShEx. Some of the XML data types changed -- I need to get hold of a new validation-min.xml.zip in order to update the code...
Grahame Grieve (May 26 2016 at 19:42):
ah. you're in one of the few places where synchronization is not maintained.
Grahame Grieve (May 26 2016 at 19:42):
I'll skype you the current
Harold Solbrig (May 26 2016 at 19:42):
Also, we need to tweak the turtle generator -- change the "xs:" in the header to "xsd:"
-- and we need to add a "div" field to Narrative fields (just status "generated" at the moment)
Harold Solbrig (May 26 2016 at 20:50):
@Grahame Grieve -- where do I edit the http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type extension values (I want to change xsd:token to xsd:string for rdf, but I anticipate more tweaks as time goes on...)
Grahame Grieve (May 26 2016 at 22:28):
you'll have to ask me. It defaults to the schema type unless I override it in code. why do you want to change that one?
Harold Solbrig (Jun 01 2016 at 18:25):
I added two tweaks to the turtle generator -- those mentioned above.
Harold Solbrig (Jun 01 2016 at 19:23):
The latest ShEx and RDF validates "out of the box" for a couple of random samples. @Grahame Grieve - you might want to double check how I inserted the xhtml data. Next steps:
- do a complete batch test
- add required value sets (and decide what to do with the other flavors)
- add fixed, minvalue, maxvalue, pattern, maxlength types
- get slicing working correctly
- get various aggregation modes working
- look at extension model (real predicates vs. tag values...)
Grahame Grieve (Jun 01 2016 at 21:09):
ok I'll start working on adding it to the build. in fact, I am
Last updated: Apr 12 2022 at 19:14 UTC