Mismatches between Questionnaire and QuestionnaireResponse example

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • R4B
    • FHIR Infrastructure
    • Questionnaire
      QuestionnaireResponse
    • Example Instance
    • Hide

      Will update the QuestionnaireResponse example to actually reference the Questionnaire and will see if these issues are identified by the validator/publication process.  If any aren't, we will report a tooling issue against Core that says that QuestionnaireResponse examples in the core spec should actually be validated against their Questionnaires.

      We will then fix all of these issues in the examples.

      Show
      Will update the QuestionnaireResponse example to actually reference the Questionnaire and will see if these issues are identified by the validator/publication process.  If any aren't, we will report a tooling issue against Core that says that QuestionnaireResponse examples in the core spec should actually be validated against their Questionnaires. We will then fix all of these issues in the examples.
    • Correction
    • Non-substantive

      The Bluebook example consists of two resources: A Questionnaire and a corresponding QuestionnaireResponse.

      There are 3 mismatches between the two:

      1. The capitalisation of the gender code: "F" in Questionnaire, "f" in QuestionnaireResponse. This could be seen as an example for the application of Postel's law. Compare the `caseSensitive` flag on the CodeSystem resource. But it is unclear whether `answerOption` should also be treated with such tolerance. Otherwise the proposal is to change the 'f' to 'F'.
      2. A mis-spelling for the 2 vitamin K doses. Questionnaire `vitamin+i+Kx`, Response : `vitaminKx` (no letter 'i').
      3. A mismatch between the data type of the date when the 2 vitaminK doses were administered (vitaminiKDose1 and vitaminiKDose2): Specified as "dateTime" in the questionnaire and "valueDate" in the response. It is unclear whether a response of type valueDate would be a valid response to a dateTime (their formats would match), or whether questionnaire should be corrected to make these 2 questions of type Date. Comparing with the original Bluebook PDF form shows that most likely the Questionnaire should be changed to ask for a "date" and not a "dateTime" (https://www.health.nsw.gov.au/kidsfamilies/MCFhealth/Publications/blue-book.pdf)

       

            Assignee:
            Unassigned
            Reporter:
            tiloc
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: