{
  "resourceType" : "QuestionnaireResponse",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "identifier" : { Identifier }, // Unique id for this set of answers
  "questionnaire" : { Reference(Questionnaire) }, // Form being answered
  "status" : "<code>", // R!  in-progress | completed | amended
  "subject" : { Reference(Any) }, // The subject of the questions
  "author" : { Reference(Device|Practitioner|Patient|RelatedPerson) }, // Person who received and recorded the answers
  "authored" : "<dateTime>", // Date this version was authored
  "source" : { Reference(Patient|Practitioner|RelatedPerson) }, // The person who answered the questions
  "encounter" : { Reference(Encounter) }, // Primary encounter during which the answers were collected
  "group" : { // Grouped questions
    "linkId" : "<string>", // Corresponding group within Questionnaire
    "title" : "<string>", // Name for this group
    "text" : "<string>", // Additional text for the group
    "subject" : { Reference(Any) }, // The subject this group's answers are about
    "group" : [{ Content as for QuestionnaireResponse.group }], // C? Nested questionnaire response group
    "question" : [{ // C? Questions in this group
      "linkId" : "<string>", // Corresponding question within Questionnaire
      "text" : "<string>", // Text of the question as it is shown to the user
      "answer" : [{ // The response(s) to the question
        // value[x]: Single-valued answer to the question. One of these 13:
        "valueBoolean" : <boolean>,
        "valueDecimal" : <decimal>,
        "valueInteger" : <integer>,
        "valueDate" : "<date>",
        "valueDateTime" : "<dateTime>",
        "valueInstant" : "<instant>",
        "valueTime" : "<time>",
        "valueString" : "<string>",
        "valueUri" : "<uri>",
        "valueAttachment" : { Attachment },
        "valueCoding" : { Coding },
        "valueQuantity" : { Quantity },
        "valueReference" : { Reference(Any) },
        "group" : [{ Content as for QuestionnaireResponse.group }] // Nested questionnaire group
      }]
    }]
  }
}