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-f201-lifelines.json

Example QuestionnaireResponse/f201 (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 )

Real-world lifelines questionnaire response (fictively taken from the patient)

{
  "resourceType": "QuestionnaireResponse",
  "id": "f201",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: f201</p><p><b>status</b>: completed</p><p><b>subject</b>: <a>Roel</a></p><p><b>authored</b>: 18/06/2013 12:00:00 AM</p><p><b>author</b>: <a>Practitioner/f201</a></p><p><b>source</b>: <a>Practitioner/f201</a></p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 2</p><p><b>text</b>: General questions</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 3</p><p><b>text</b>: Intoxications</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote></div>"

  "resourceType" : "QuestionnaireResponse",
  "id" : "f201",
  "_questionnaire" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/display",
      "valueString" : "Lifelines"
    }]

  },
  "status": "completed",
  "subject": {
    "reference": "Patient/f201",
    "display": "Roel"

  "status" : "completed",
  "subject" : {
    "reference" : "Patient/f201",
    "display" : "Roel"

  },
  "authored": "2013-06-18T00:00:00+01:00",
  "author": {
    "reference": "Practitioner/f201"

  "authored" : "2013-06-18T00:00:00+01:00",
  "author" : {
    "reference" : "Practitioner/f201"

  },
  "source": {
    "reference": "Practitioner/f201"

  "source" : {
    "reference" : "Practitioner/f201"

  },
  "item": [

  "item" : [{
    "linkId" : "1",
    "text" : "Do you have allergies?",
    "answer" : [{
      "valueBoolean" : true
    }]
  },
  {
    "linkId" : "2",
    "text" : "General questions",
    "item" : [{
      "linkId" : "2.1",
      "text" : "What is your gender?",
      "answer" : [{
        "valueString" : "Male"
      }]
    },

    {
      "linkId": "1",
      "item": [
        {
          "linkId": "1.1",
          "text": "Do you have allergies?",
          "answer": [
            {
              "valueString": "I am allergic to house dust"
            }
          ]
        }
      ]

      "linkId" : "2.2",
      "text" : "What is your date of birth?",
      "answer" : [{
        "valueDate" : "1960-03-13"
      }]

    },
    {
      "linkId": "2",
      "text": "General questions",
      "item": [
        {
          "linkId": "2.1",
          "text": "What is your gender?",
          "answer": [
            {
              "valueString": "Male"
            }
          ]
        },
        {
          "linkId": "2.2",
          "text": "What is your date of birth?",
          "answer": [
            {
              "valueDate": "1960-03-13"
            }
          ]
        },
        {
          "linkId": "2.3",
          "text": "What is your country of birth?",
          "answer": [
            {
              "valueString": "The Netherlands"
            }
          ]
        },
        {
          "linkId": "2.4",
          "text": "What is your marital status?",
          "answer": [
            {
              "valueString": "married"
            }
          ]
        }
      ]

      "linkId" : "2.3",
      "text" : "What is your country of birth?",
      "answer" : [{
        "valueString" : "The Netherlands"
      }]

    },
    {
      "linkId": "3",
      "text": "Intoxications",
      "item": [
        {
          "linkId": "3.1",
          "text": "Do you smoke?",
          "answer": [
            {
              "valueString": "No"
            }
          ]
        },
        {
          "linkId": "3.2",
          "text": "Do you drink alchohol?",
          "answer": [
            {
              "valueString": "No, but I used to drink"
            }
          ]
        }
      ]
    }
  ]

      "linkId" : "2.4",
      "text" : "What is your marital status?",
      "answer" : [{
        "valueString" : "married"
      }]
    }]
  },
  {
    "linkId" : "3",
    "text" : "Intoxications",
    "item" : [{
      "linkId" : "3.1",
      "text" : "Do you smoke?",
      "answer" : [{
        "valueBoolean" : false
      }]
    },
    {
      "linkId" : "3.2",
      "text" : "Do you drink alchohol?",
      "answer" : [{
        "valueBoolean" : false
      }]
    }]
  }]

}

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.