2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Questionnaireanswers-example-bluebook.json

Raw JSON (canonical form)

Real-world NSW My Personal Health Record example

{
  "resourceType": "QuestionnaireAnswers",
  "id": "bb",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "status": "completed",
  "subject": {
    "reference": "http://hl7.org/fhir/Patient/1"
  },
  "author": {
    "reference": "http://hl7.org/fhir/Practitioner/1"
  },
  "authored": "2013-02-19T14:15:00+10:00",
  "group": {
    "title": "NSW Government My Personal Health Record, january 2013",
    "group": [
      {
        "title": "Birth details - To be completed by health professional",
        "group": [
          {
            "question": [
              {
                "text": "Name of child",
                "answer": [
                  {
                    "valueString": "Cathy Jones"
                  }
                ]
              },
              {
                "text": "Sex",
                "answer": [
                  {
                    "valueCoding": {
                      "code": "f"
                    }
                  }
                ]
              }
            ]
          },
          {
            "title": "Neonatal Information",
            "question": [
              {
                "text": "Birth weight (kg)",
                "answer": [
                  {
                    "valueDecimal": 3.25
                  }
                ]
              },
              {
                "text": "Birth length (cm)",
                "answer": [
                  {
                    "valueDecimal": 44.3
                  }
                ]
              },
              {
                "text": "Vitamin K given",
                "answer": [
                  {
                    "valueCoding": {
                      "code": "INJECTION"
                    }
                  }
                ],
                "group": [
                  {
                    "extension": [
                      {
                        "url": "http://example.org/Profile/questionnaire#visibilityCondition",
                        "valueString": "HAS_VALUE(../choice/code) AND NEQ(../choice/code,'NO')"
                      }
                    ],
                    "question": [
                      {
                        "text": "1st dose",
                        "answer": [
                          {
                            "valueDate": "1972-11-30"
                          }
                        ]
                      },
                      {
                        "text": "2nd dose",
                        "answer": [
                          {
                            "valueDate": "1972-12-11"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "text": "Hep B given y / n",
                "answer": [
                  {
                    "valueBoolean": true
                  }
                ],
                "group": [
                  {
                    "question": [
                      {
                        "text": "Date given",
                        "answer": [
                          {
                            "valueDate": "1972-12-04"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "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.