DSTU2 STU 3 Candidate
This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . For a full list of available versions, see the Directory of published versions . Page versions: . Page versions: R5 R4B R4 R3 R2

Questionnaireresponse-example.json Raw JSON (

Raw JSON ( canonical form canonical form ) General questionnaire response example )

General questionnaire response example

{
  "resourceType": "QuestionnaireResponse",
  "fhir_comments": [
    "    HISTOPATHOLOGY    ",
    "    TODO: decide how to do this\n  <item>\n\n    <item>\n      <item>\n       <dataResource>\n          <reference value=\"#obs.pt-category\"/>\n        </dataResource>\n      </item>\n    </item>\n  </item>    "
  ],

  "id": "3141",
  "text": {
    "status": "generated",
    "div": "<div>\n      \n      \n      <pre>\n            Comorbidity? YES\n              Cardial Comorbidity? YES\n                Angina? YES\n                MI? NO\n              Vascular Comorbidity?\n                (no answers)\n              ...\n            Histopathology\n              Abdominal\n                pT category: 1a\n              ...\n          </pre>\n    \n    \n    </div>"

    "div": "<div>\n      <pre>\n            Comorbidity? YES\n              Cardial Comorbidity? YES\n                Angina? YES\n                MI? NO\n              Vascular Comorbidity?\n                (no answers)\n              ...\n            Histopathology\n              Abdominal\n                pT category: 1a\n              ...\n          </pre>\n    </div>"

  },
  "contained": [
    {
      "resourceType": "Patient",
      "id": "patsub",
      "identifier": [
        {
          "system": "http://cancer.questionnaire.org/systems/id/patientnr",
          "value": "A34442332"
        },
        {
          "type": {
            "text": "Dutch BSN"
          },
          "system": "urn:oid:2.16.840.1.113883.2.4.6.3",
          "value": "188912345"
        }
      ],
      "gender": "male",
      "birthDate": "1972-11-30"
    },
    {
      "resourceType": "Practitioner",
      "id": "questauth",
      "identifier": [
        {
          "type": {
            "text": "AUMC, Den Helder"
          },
          "system": "http://cancer.questionnaire.org/systems/id/org",
          "value": "AUMC"
        }
      ]
    },
    {
      "resourceType": "Observation",
      "id": "obs.pt-category",
      "status": "final",
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "53786006",
            "display": "pT1 category"
          }
        ]
      },
      "subject": {
        "reference": "#patsub"
      },
      "performer": [
        {
          "reference": "#questauth"
        }
      ],
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "443357004",
            "display": "pT1a category"
          }
        ]
      }
    }
  ],
  "status": "completed",
  "subject": {
    "reference": "#patsub"
  },
  "author": {
    "reference": "#questauth"
  },
  "authored": "2013-02-19T14:15:00-05:00",
  "group": {
    "fhir_comments": [
      "    HISTOPATHOLOGY    ",
      "    TODO: decide how to do this\n    <group>\n\n      <group>\n        <question>\n         <dataResource>\n            <reference value=\"#obs.pt-category\"/>\n          </dataResource>\n        </question>\n      </group>\n    </group>    "
    ],
    "title": "Cancer Quality Forum Questionnaire 2012",
    "group": [
      {
        "question": [
          {
            "fhir_comments": [
              "    COMORBIDITY    ",
              "    First main section of the form, questions about comorbidity    ",
              "    section contains one question: whether there is comorbidity    "
            ],
            "answer": [
              {
                "valueCoding": {
                  "system": "http://cancer.questionnaire.org/system/code/yesno",
                  "code": "1",
                  "display": "Yes"
                },
                "group": [
                  {
                    "question": [
                      {
                        "fhir_comments": [
                          "    COMORBIDITY/CARDIAL    ",
                          "    Subsection about specific comorbidity: cardial    "
                        ],
                        "answer": [
                          {
                            "valueCoding": {
                              "system": "http://cancer.questionnaire.org/system/code/yesno",
                              "code": "1"
                            }

  "item": [
    {
      "item": [
        {
          "fhir_comments": [
            "    COMORBIDITY    ",
            "    First main section of the form, questions about comorbidity    ",
            "    section contains one question: whether there is comorbidity    "
          ],
          "answer": [
            {
              "valueCoding": {
                "system": "http://cancer.questionnaire.org/system/code/yesno",
                "code": "1",
                "display": "Yes"
              },
              "item": [
                {
                  "item": [
                    {
                      "fhir_comments": [
                        "    COMORBIDITY/CARDIAL    ",
                        "    Subsection about specific comorbidity: cardial    "
                      ],
                      "answer": [
                        {
                          "valueCoding": {
                            "system": "http://cancer.questionnaire.org/system/code/yesno",
                            "code": "1"

                          }
                        ]
                      },
                      {
                        "answer": [
                          {
                            "fhir_comments": [
                              "    This answer carries both the questionnaire-specific name and an equivalent SNOMED CT code    "
                            ],
                            "valueCoding": {
                              "system": "http://cancer.questionnaire.org/system/code/yesno",
                              "code": "1"
                            }

                        }
                      ]
                    },
                    {
                      "answer": [
                        {
                          "fhir_comments": [
                            "    This answer carries both the questionnaire-specific name and an equivalent SNOMED CT code    "
                          ],
                          "valueCoding": {
                            "system": "http://cancer.questionnaire.org/system/code/yesno",
                            "code": "1"

                          }
                        ]
                      },
                      {
                        "answer": [
                          {
                            "valueCoding": {
                              "system": "http://cancer.questionnaire.org/system/code/yesno",
                              "code": "0"
                            }

                        }
                      ]
                    },
                    {
                      "answer": [
                        {
                          "valueCoding": {
                            "system": "http://cancer.questionnaire.org/system/code/yesno",
                            "code": "0"

                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }

                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]

}
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
a
normative
part
of
the
specification.
©
HL7.org
2011+.
FHIR
DSTU2
(v1.0.2-7202)
generated
on
Sat,
Oct
24,
2015
07:44+1100.
Links:

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.