Adaptive Questionnaire example data not correct

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • Structured Data Capture (SDC) (FHIR)
    • STU3
    • FHIR Infrastructure
    • (profiles) [deprecated]
    • Hide

      Will fix the example - and will also figure out why the validator didn't choke on it...

      Show
      Will fix the example - and will also figure out why the validator didn't choke on it...
    • Eric Haas/Paul Lynch: 7-0-1
    • Enhancement
    • Non-substantive

      In the STU3 Ballot #1 of the Structured Data Capture (SDC) Implementation Guide for Adaptive Questionnaire (http://hl7.org/fhir/uv/sdc/2018Sep/adaptive.html), the data given in the examples seem to be incorrect.

      In step 3, the first item returned has a "type" as "question". It should be "choice". And "answerValueSet" and "answerOption" should not both present. See below:

      //First Item being sent back "item": [ { "linkId": "1.1" // unique id of the question within the questionnaire "code" :

      { "system": "[http://loinc.org]", "code": "LA1", }

      "text": "Are you able to walk for 30 minutes ?", "type": "question", "answerValueSet": "http://loinc.org/LA1234" "answerOption": [ "valueCoding": { } ] // answer option } // item ]

      In step 5, the first item being sent back with answer, the captured answer should be in a QuestionnaireReponse, not in the "answerOption" field of a Questionnaire. See below.

      //First Item being sent back with answer to be used to determine completeness or next question. "item": [ { "linkId": "1.1" // unique id of the question within the questionnaire "code" :

      { "system": "[http://loinc.org]", "code": "LA1", }

      "text": "Are you able to walk for 30 minutes ?", "type": "question", "answerValueSet": "http://loinc.org/LA1234" "answerOption": [ "valueCoding":

      { "system": "[http://loinc.org]", "code": "LA1234" }

      ] // answer option } // item

            Assignee:
            Unassigned
            Reporter:
            wangye
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: