FHIR QA Guidelines
This page identifies the guidelines used as part of the QA process. Not all of these will necessarily be evaluated as part of the QA process. As well, we need to define who is responsible for verifying these. Ideally, most QA would be required to be performed by authoring committees with a smaller set of criteria as well as spot-checks of other criteria performed by FMG. We may also want to differentiate what gets done for different levels of ballot. As well, QA can be focused on areas that have changed.
- Content should only be included in balloted DSTU which we believe is at least ready to be implemented on a trial basis
- Bold content below are those QA steps that validate this
- Content that is not ready for DSTU may be included as draft as noted by FMM level? (needs clarification, especially with regard to the FMM levels)
These processes are currently handled by the build process (though someone needs to view the build log and ensure it is clean)
- All XML and JSON examples are valid according to the validator
- Fragments labelled by a type are parsed by the parser without errors
- All resource definitions and profiles are valid against their schemas & schematrons + additional rules
- All links resolve in the HTML
- All coded datatypes have bindings - currently raised as a warning
- Fixed values only exist for simple types - raised as a warning
- All FHIRPath constraints are valid
- Coding.system values if from hl7.org/fhir are valid
- At least one example must have a value for each search parameter
These are processes that must be reviewed manually at the moment bug could be handled in an automated fashion with appropriate enhancements to the build process
- Ensure all RIM mappings are "legal"
- Ensure RIM mappings don't collide/overlap
- Ensure examples cover all data elements
- Definitions, etc. only end with periods when they ought to
(Some of these can be focused only on those resources & sections that have changed from prior release)
- Ensure examples demonstrate an appropriate breadth of use of the resource
- Tooling validation (validates that the build tooling is working correctly - only needs checking when build process changes)
- Ensure all content that's supposed to make it into the book form actually does
- Ensure all content from the website that doesn't appear in the book form appears in a secondary form for review
- Content validation
- (goal) Ensure the build runs successfully with no warnings
- Test that the xpath assertions for Schematrons are valid using Saxon SA
- Ensure a wiki page with the default content exists for each page (which wiki page?)
- Formal process
- Do we have a PSS and resource request in place for all resources?
- (goal) Do we have mappings for the "source" specifications used to determine/validate 80%?
- Technical review
- Place both forms into MS Word and run grammar & spelling checks (U.S. English) (what is meant by "both forms?")
- Ensure style guide is followed for use of formatting
- To be defined. Includes: when to use bold, italics, capitalization, hyperlinks, color, ordered vs. unordered lists, sections
- Can we re-use from w3c or someone?
- Text content review
- Ensure all definitions for code sets are mutually exclusive (and comprehensive)
- Ensure statuses on resources & profiles are accurate for ballot
- Ensure definitions are non-tautological and clear
- Ensure definition, rationale & notes are properly split
- Ensure definitions include examples when appropriate
- Ensure text is clear and reads well, with references to other topics when appropriate
- Ensure that constraints (cardinality, vocabulary, invariants, etc.) do not constrain extensibility more than necessary to allow safe base interoperability
- Check where Conformance = Required, minimum cardinality = 1
- Are mappings valid against source specification
- Is content "complete"
- Are there any known issues declared that would prevent implementers from using the spec "as is"?
- Are there any dependencies on content that doesn't exist? (DSTU resources must not have dependencies on content that is not also DSTU)