Stream: implementers
Topic: Profile Quality Assurance
Ardon Toonstra (Dec 03 2020 at 08:44):
Hi all! Just an open question to the FHIR community on your experiences with quality assurance of profile authoring besides the use of validators such as the IG Publisher and the Simplifier validator.
What kind of additional checks/steps do you perform to enforce the right profiling conventions?
John Moehrke (Dec 03 2020 at 16:55):
Examples, examples, and more examples... built right into your Implementation Guide.... In fact I believe this is so important that I recommend anyone starting an Implementation Guide write examples right after they commit their use-cases to text. This doesn't mean those first examples survive, but examples are key. I have even included invalid examples just to make sure that my structure definitions will NOT find them valid.
Lloyd McKenzie (Dec 03 2020 at 19:40):
I have a post-process I run that checks that I've asserted mustSupport (either true or false) on everything in the differential. For messages, I also check I've asserted aggregation on references. Checking the validation output to ensure that each resource is being validated against the expected profiles (particularly relevant for stuff inside bundles).
Ardon Toonstra (Dec 04 2020 at 15:58):
Nice! Does anyone use a StructureDefinition to validate StructureDefinitions?
René Spronk (Dec 04 2020 at 16:04):
Actually, I do in some of my test scripts, to ensure we have a generic StrucDefs understood/supported by multiple FHIR servers (which we use in FHIR training courses, e.g. to support the use of $validate). but it's a pain, because the validators produce heaps of different errors/warnings.
Grahame Grieve (Dec 06 2020 at 23:35):
the IG publisher runs additional integrity checks on profiles that the instance validator does not, around consistency of inheritance
Last updated: Apr 12 2022 at 19:14 UTC