This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "FHIR QA Guidelines"

From HL7Wiki
Jump to navigation Jump to search
(Created page with "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 ...")
 
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
Content on this page has been migrated to https://confluence.hl7.org/display/FMG/FHIR+QA+Guidelines<nowiki/>{{FHIR Discussion Page}}
 +
[[Category:Active FHIR Discussion]]
 +
 +
[[DSTU_2_QA_guidelines|Go to DSTU 2 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.
 
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.
 +
 +
 +
=Precepts=
 +
 +
*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)
  
 
=QA Steps=
 
=QA Steps=
  
 
==Automated==
 
==Automated==
These processes are currently handled by the build process (though someone needs to view the build log and ensure it is clean)
+
The following are a subset of the checks currently handled by the build process:
  
Need to confirm that the build process actually does all of these
+
*All XML and JSON examples are valid according to the validator
* All examples & fragments are schema-valid and schematron valid
+
*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 resource definitions and profiles are valid against their schemas & schematrons + additional rules
* All links resolve in the HTML
+
*All links resolve in the HTML
* All coded datatypes have bindings
+
*All coded datatypes have bindings - currently raised as a warning
* Fixed values only exist for simple types
+
*Fixed values only exist for simple types - raised as a warning
* All OCL constraints compile
+
*All FHIRPath constraints are valid
* Definitions, etc. only end with periods when they ought to
+
*Coding.system values if from hl7.org/fhir are valid
* UML views of everything (including data types) agrees with definitions
+
*At least one example must have a value for each search parameter
* sid values are legal. All non-sid/guid/oid ids are flagged as warnings unless part of a pre-defined example space
 
  
 
==Automatable==
 
==Automatable==
 
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
 
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 all RIM mappings are "legal"
 
*Ensure RIM mappings don't collide/overlap
 
*Ensure RIM mappings don't collide/overlap
 +
*Ensure examples cover all data elements
 +
*Definitions, etc. only end with periods when they ought to
  
 
==Manual==
 
==Manual==
 
(Some of these can be focused only on those resources & sections that have changed from prior release)
 
(Some of these can be focused only on those resources & sections that have changed from prior release)
* 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 examples demonstrate an appropriate breadth of use of the resource
** Ensure all content from the website that doesn't appear in the book form appears in a secondary form for review
+
*Tooling validation (validates that the build tooling is working correctly - only needs checking when build process changes)  
* Content validation
+
**Ensure all content that's supposed to make it into the book form actually does
** Ensure the build runs successfully with no warnings
+
**Ensure all content from the website that doesn't appear in the book form appears in a secondary form for review
** Test that the xpath assertions for Schematrons are valid using Saxon SA
+
*Content validation
** Formal process
+
**(goal) Ensure the build runs successfully with no warnings
*** Do we have a PSS and resource request in place for all resources?
+
**Test that the xpath assertions for Schematrons are valid using Saxon SA
*** Do we have mappings for the "source" specifications used to determine/validate 80%?
+
**Ensure a wiki page with the default content exists for each page ('''which wiki page?''')
** Technical review
+
**Formal process
*** Place both forms into MS Word and run grammar & spelling checks (U.S. English)
+
***Do we have a PSS and resource request in place for all resources?
*** Ensure style guide is followed for use of formatting
+
***(goal) Do we have mappings for the "source" specifications used to determine/validate 80%?
**** <b>To be defined.  Includes: when to use bold, italics, capitalization, hyperlinks, color, ordered vs. unordered lists, sections</b>
+
**Technical review
**** <b>Can we steal from w3c or someone?</b>
+
***Place both forms into MS Word and run grammar & spelling checks (U.S. English) ('''what is meant by "both forms?"''')
** Text content review
+
***Ensure style guide is followed for use of formatting
*** Ensure all definitions for code sets are mutually exclusive (and comprehensive)
+
****<b>To be defined.  Includes: when to use bold, italics, capitalization, hyperlinks, color, ordered vs. unordered lists, sections</b>
*** Ensure statuses on resources & profiles are accurate for ballot
+
****<b>Can we re-use from w3c or someone?</b>
*** Ensure definitions are non-tautological and clear
+
**Text content review
*** Ensure definition, rationale & notes are properly split
+
***Ensure all definitions for code sets are mutually exclusive (and comprehensive)
*** Ensure definitions include examples when appropriate
+
***Ensure statuses on resources & profiles are accurate for ballot
*** Ensure text is clear and reads well, with references to other topics when appropriate
+
***Ensure definitions are non-tautological and clear
** Ensure that constraints (cardinality, vocabulary, invariants, etc.) do not constrain extensibility more than necessary to allow safe base interoperability
+
***Ensure definition, rationale & notes are properly split
*** Check where Conformance = Required, minimum cardinality = 1
+
***Ensure definitions include examples when appropriate
** Are mappings valid against source specification
+
***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)

Latest revision as of 15:47, 1 May 2020

Content on this page has been migrated to https://confluence.hl7.org/display/FMG/FHIR+QA+Guidelines

Go to DSTU 2 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.


Precepts

  • 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)

QA Steps

Automated

The following are a subset of the checks currently handled by the build process:

  • 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

Automatable

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

Manual

(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)