Stream: hapi
Topic: Validation Questions
Kevin Mayfield (Nov 01 2019 at 11:53):
Am I correct in thinking these aren't used for Validation at present? (I've been looking at https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/InstanceValidator.java )
If it is to be included in R5, I would presume I would need R5 StructureDefinition's to use the R5 InstanceValidator (resources can be converted to R4/5 but not StructureDefinitions).
Lastly I am correct in thinking GraphDefinition adds rules to Messages (and FHIR Documents)
Grahame Grieve (Nov 01 2019 at 12:41):
hapi should be using the r5 validator - it's the only one I maintain. It will autoconvert all the conformance resources from whatever version you give it
Grahame Grieve (Nov 01 2019 at 12:42):
graph definition does that, and more
Kevin Mayfield (Nov 01 2019 at 14:01):
Presume it wouldn't handle backports? So if I add in a graph as backport extension in a STU3 MessageDefinition it's not going to autoconvert
Grahame Grieve (Nov 01 2019 at 20:28):
I'm not sure. GraphDefinition was very immature and will be changing a lot.
Kevin Mayfield (Nov 02 2019 at 08:52):
Ta. I'll investigate - I'm after demonstrating use of rules, rather than profiles, for FHIR Messaging.
Last updated: Apr 12 2022 at 19:14 UTC