R6 Ballot (2nd Draft)

Publish-box (todo)

Example Questionnaire/bb (JSON)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Neonate record from New South Wales, Australia "My Personal Health Record" example

{
  "resourceType" : "Questionnaire",
  "id" : "bb",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      <pre>\n        \n        <b>Birth details - To be completed by health professional</b>\n  Name of child: ____________________________________\n            Sex: __\n            \n  Neonatal Information\n    Birth Weight (kg): ___________\n    Birth Length (cm): ___________\n    Vitamin K given  : __\n             1st dose: ___________\n             2nd dose: ___________\n    Hep B given      : __\n      Date given     : ___________\n    Abnormalities noted at birth:\n      _______________________________________________\n      \n      </pre>\n    \n    </div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  }],
  "url" : "http://hl7.org/fhir/Questionnaire/bb",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.20.4"
  }],
  "name" : "NSWGovernmentMyPersonalHealthRecord",
  "title" : "NSW Government My Personal Health Record",
  "status" : "draft",
  "subjectType" : ["Patient"],
  "date" : "2013-02-19",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "NSW Government My Personal Health Record",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "AU"
    }]
  }],
  "item" : [{
    "linkId" : "birthDetails",
    "text" : "Birth details - To be completed by health professional",
    "type" : "group",
    "item" : [{
      "linkId" : "group",
      "type" : "group",
      "item" : [{
        "linkId" : "nameOfChild",
        "text" : "Name of child",
        "type" : "string"
      },
      {
        "linkId" : "sex",
        "text" : "Sex",
        "type" : "coding",
        "answerOption" : [{
          "valueCoding" : {
            "code" : "F"
          }
        },
        {
          "valueCoding" : {
            "code" : "M"
          }
        }]
      }]
    },
    {
      "linkId" : "neonatalInformation",
      "text" : "Neonatal Information",
      "type" : "group",
      "item" : [{
        "linkId" : "birthWeight",
        "text" : "Birth weight (kg)",
        "type" : "decimal"
      },
      {
        "linkId" : "birthLength",
        "text" : "Birth length (cm)",
        "type" : "decimal"
      },
      {
        "linkId" : "vitaminKgiven",
        "text" : "Vitamin K given",
        "type" : "coding",
        "answerOption" : [{
          "valueCoding" : {
            "code" : "INJECTION"
          }
        },
        {
          "valueCoding" : {
            "code" : "INTRAVENOUS"
          }
        },
        {
          "valueCoding" : {
            "code" : "ORAL"
          }
        }],
        "item" : [{
          "linkId" : "vitaminKgivenDoses",
          "type" : "group",
          "enableWhen" : [{
            "question" : "vitaminKgiven",
            "operator" : "exists",
            "answerBoolean" : true
          }],
          "item" : [{
            "linkId" : "vitaminKDose1",
            "text" : "1st dose",
            "type" : "dateTime"
          },
          {
            "linkId" : "vitaminKDose2",
            "text" : "2nd dose",
            "type" : "dateTime"
          }]
        }]
      },
      {
        "linkId" : "hepBgiven",
        "text" : "Hep B given y / n",
        "type" : "boolean",
        "item" : [{
          "linkId" : "hepBgivenDate",
          "text" : "Date given",
          "type" : "date"
        }]
      },
      {
        "linkId" : "abnormalitiesAtBirth",
        "text" : "Abnormalities noted at birth",
        "type" : "string"
      }]
    }]
  }]
}

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.