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-bluebook.json

Example QuestionnaireResponse/bb (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 NSW My Personal Health Record example

{
  "resourceType": "QuestionnaireResponse",
  "id": "bb",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <pre>\n        Cathy Jones, female. Birth weight 3.25 kg at 44.3 cm. \n        Injection of Vitamin K given on 1972-11-30 (first dose) and 1972-12-11 (second dose)\n        Note: Was able to speak Chinese at birth.\n      </pre>\n    </div>"

  "resourceType" : "QuestionnaireResponse",
  "id" : "bb",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <pre>\n        Cathy Jones, female. Birth weight 3.25 kg at 44.3 cm. \n        Injection of Vitamin K given on 1972-11-30 (first dose) and 1972-12-11 (second dose)\n        Note: Was able to speak Chinese at birth.\n      </pre>\n    </div>"

  },
  "status": "completed",
  "subject": {
    "reference": "http://hl7.org/fhir/Patient/1",
    "type": "Patient"

  "questionnaire" : "http://hl7.org/fhir/Questionnaire/bb",
  "status" : "completed",
  "subject" : {
    "reference" : "http://hl7.org/fhir/Patient/1",
    "type" : "Patient"

  },
  "authored": "2013-02-19T14:15:00+10:00",
  "author": {
    "reference": "http://hl7.org/fhir/Practitioner/example",
    "type": "Practitioner"

  "authored" : "2013-02-19T14:15:00+10:00",
  "author" : {
    "reference" : "http://hl7.org/fhir/Practitioner/example",
    "type" : "Practitioner"

  },
  "item": [

  "item" : [{
    "linkId" : "birthDetails",
    "text" : "Birth details - To be completed by health professional",
    "item" : [{
      "linkId" : "group",
      "item" : [{
        "linkId" : "nameOfChild",
        "text" : "Name of child",
        "answer" : [{
          "valueString" : "Cathy Jones"
        }]
      },
      {
        "linkId" : "sex",
        "text" : "Sex",
        "answer" : [{
          "valueCoding" : {
            "code" : "F"
          }
        }]
      }]
    },

    {
      "linkId": "birthDetails",
      "text": "Birth details - To be completed by health professional",
      "item": [
        {
          "linkId": "group",
          "item": [
            {
              "linkId": "nameOfChild",
              "text": "Name of child",
              "answer": [
                {
                  "valueString": "Cathy Jones"
                }
              ]
            },
            {
              "linkId": "sex",
              "text": "Sex",
              "answer": [
                {
                  "valueCoding": {
                    "code": "f"
                  }
                }
              ]
            }
          ]
        },
        {
          "linkId": "neonatalInformation",
          "text": "Neonatal Information",
          "item": [
            {
              "linkId": "birthWeight",
              "text": "Birth weight (kg)",
              "answer": [
                {
                  "valueDecimal": 3.25
                }
              ]
            },
            {
              "linkId": "birthLength",
              "text": "Birth length (cm)",
              "answer": [
                {
                  "valueDecimal": 44.3
                }
              ]
            },
            {
              "linkId": "vitaminKgiven",
              "text": "Vitamin K given",
              "answer": [
                {
                  "valueCoding": {
                    "code": "INJECTION"
                  },
                  "item": [
                    {
                      "linkId": "vitaminKgivenDoses",
                      "item": [
                        {
                          "linkId": "vitaminKDose1",
                          "text": "1st dose",
                          "answer": [
                            {
                              "valueDate": "1972-11-30"
                            }
                          ]
                        },
                        {
                          "linkId": "vitaminKDose2",
                          "text": "2nd dose",
                          "answer": [
                            {
                              "valueDate": "1972-12-11"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "linkId": "hepBgiven",
              "text": "Hep B given y / n",
              "answer": [
                {
                  "valueBoolean": true,
                  "item": [
                    {
                      "linkId": "hepBgivenDate",
                      "text": "Date given",
                      "answer": [
                        {
                          "valueDate": "1972-12-04"
                        }
                      ]
                    }
                  ]
                }
              ]

      "linkId" : "neonatalInformation",
      "text" : "Neonatal Information",
      "item" : [{
        "linkId" : "birthWeight",
        "text" : "Birth weight (kg)",
        "answer" : [{
          "valueDecimal" : 3.25
        }]
      },
      {
        "linkId" : "birthLength",
        "text" : "Birth length (cm)",
        "answer" : [{
          "valueDecimal" : 44.3
        }]
      },
      {
        "linkId" : "vitaminKgiven",
        "text" : "Vitamin K given",
        "answer" : [{
          "valueCoding" : {
            "code" : "INJECTION"
          },
          "item" : [{
            "linkId" : "vitaminKgivenDoses",
            "item" : [{
              "linkId" : "vitaminKDose1",
              "text" : "1st dose",
              "answer" : [{
                "valueDateTime" : "1972-11-30"
              }]

            },
            {
              "linkId": "abnormalitiesAtBirth",
              "text": "Abnormalities noted at birth",
              "answer": [
                {
                  "valueString": "Already able to speak Chinese"
                }
              ]
            }
          ]
        }
      ]
    }
  ]

              "linkId" : "vitaminKDose2",
              "text" : "2nd dose",
              "answer" : [{
                "valueDateTime" : "1972-12-11"
              }]
            }]
          }]
        }]
      },
      {
        "linkId" : "hepBgiven",
        "text" : "Hep B given y / n",
        "answer" : [{
          "valueBoolean" : true,
          "item" : [{
            "linkId" : "hepBgivenDate",
            "text" : "Date given",
            "answer" : [{
              "valueDate" : "1972-12-04"
            }]
          }]
        }]
      },
      {
        "linkId" : "abnormalitiesAtBirth",
        "text" : "Abnormalities noted at birth",
        "answer" : [{
          "valueString" : "Already able to speak Chinese"
        }]
      }]
    }]
  }]

}

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.