Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Questionnaireresponse-example.json

Example QuestionnaireResponse/3141 (JSON)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Standards Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

Raw JSON ( canonical form + also see JSON Format Specification )

General questionnaire response example

{
  "resourceType": "QuestionnaireResponse",
  "id": "3141",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\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>"

  "resourceType" : "QuestionnaireResponse",
  "id" : "3141",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\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"

  "contained" : [{
    "resourceType" : "Patient",
    "id" : "patsub",
    "identifier" : [{
      "system" : "http://cancer.questionnaire.org/systems/id/patientnr",
      "value" : "A34442332"

    },
    {
      "resourceType": "ServiceRequest",
      "id": "order",
      "status": "unknown",
      "intent": "order",
      "subject": {
        "reference": "#patsub"

      "type" : {
        "text" : "Dutch BSN"

      },
      "requester": {
        "reference": "Practitioner/example"
      }

      "system" : "urn:oid:2.16.840.1.113883.2.4.6.3",
      "value" : "188912345"
    }],
    "gender" : "male",
    "birthDate" : "1972-11-30"
  },
  {
    "resourceType" : "ServiceRequest",
    "id" : "order",
    "status" : "unknown",
    "intent" : "order",
    "subject" : {
      "reference" : "#patsub"

    },
    {
      "resourceType": "Practitioner",
      "id": "questauth",
      "identifier": [
        {
          "type": {
            "text": "AUMC, Den Helder"
          },
          "system": "http://cancer.questionnaire.org/systems/id/org",
          "value": "AUMC"
        }
      ]

    "requester" : {
      "reference" : "Practitioner/example"

    }
  ],
  "identifier": {
    "system": "http://example.org/fhir/NamingSystem/questionnaire-ids",
    "value": "Q12349876"

  },
  "basedOn": [
    {
      "reference": "#order"
    }
  ],
  "partOf": [
    {
      "reference": "Procedure/f201"
    }
  ],
  "status": "completed",
  "subject": {
    "reference": "#patsub"

  {
    "resourceType" : "Practitioner",
    "id" : "questauth",
    "identifier" : [{
      "type" : {
        "text" : "AUMC, Den Helder"
      },
      "system" : "http://cancer.questionnaire.org/systems/id/org",
      "value" : "AUMC"
    }]
  }],
  "identifier" : [{
    "system" : "http://example.org/fhir/NamingSystem/questionnaire-ids",
    "value" : "Q12349876"
  }],
  "basedOn" : [{
    "reference" : "#order"
  }],
  "partOf" : [{
    "reference" : "Procedure/f201"
  }],
  "questionnaire" : "urn:uuid:95eaedf7-8a24-478a-8300-39acc44c746b",
  "status" : "completed",
  "subject" : {
    "reference" : "#patsub"

  },
  "encounter": {
    "reference": "Encounter/example"

  "encounter" : {
    "reference" : "Encounter/example"

  },
  "authored": "2013-02-19T14:15:00-05:00",
  "author": {
    "reference": "#questauth"

  "authored" : "2013-02-19T14:15:00-05:00",
  "author" : {
    "reference" : "#questauth"

  },
  "item": [
    {
      "linkId": "1",
      "item": [
        {
          "linkId": "1.1",
          "answer": [
            {
              "valueCoding": {
                "system": "http://cancer.questionnaire.org/system/code/yesno",
                "code": "1",
                "display": "Yes"
              },
              "item": [
                {
                  "linkId": "1.1.1",
                  "item": [
                    {
                      "linkId": "1.1.1.1",
                      "answer": [
                        {
                          "valueCoding": {
                            "system": "http://cancer.questionnaire.org/system/code/yesno",
                            "code": "1"
                          }
                        }
                      ]
                    },
                    {
                      "linkId": "1.1.1.2",
                      "answer": [
                        {
                          "valueCoding": {
                            "system": "http://cancer.questionnaire.org/system/code/yesno",
                            "code": "1"
                          }
                        }
                      ]
                    },
                    {
                      "linkId": "1.1.1.3",
                      "answer": [
                        {
                          "valueCoding": {
                            "system": "http://cancer.questionnaire.org/system/code/yesno",
                            "code": "0"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]

  "item" : [{
    "linkId" : "1",
    "item" : [{
      "linkId" : "1.1",
      "answer" : [{
        "valueCoding" : {
          "system" : "http://cancer.questionnaire.org/system/code/yesno",
          "code" : "1",
          "display" : "Yes"
        },
        "item" : [{
          "linkId" : "1.1.1",
          "item" : [{
            "linkId" : "1.1.1.1",
            "answer" : [{
              "valueCoding" : {
                "system" : "http://cancer.questionnaire.org/system/code/yesno",
                "code" : "1"
              }
            }]
          },
          {
            "linkId" : "1.1.1.2",
            "answer" : [{
              "valueCoding" : {
                "system" : "http://cancer.questionnaire.org/system/code/yesno",
                "code" : "1"
              }
            }]
          },
          {
            "linkId" : "1.1.1.3",
            "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.