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

Questionnaire-extensions.profile.xml

Profile for Contains standard extensions for Questionnaire, amongst others for validation

{
  "resourceType": "Profile",
  "text": {
    "status": "generated",
    "div": "<div><pre> <span style=\"float: right\"><a title=\"Documentation for this format\" href=\"formats.html\"><img alt=\"doco\" src=\"help.png\"/></a></span>\r\n<span style=\" color: Gray\">&lt;!-- <span style=\"color: Darkviolet\">Extensions</span> --&gt;</span>\r\n&lt;<span title=\"Whether the group may occur multiple times in the instance, containing multiple sets of answers.\"><b>extension</b></span>&gt;<a name=\"mayRepeat\"> </a>&lt;!--  <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">Context: Resource = Questionnaire.group</span> --&gt;\r\n &lt;<b>url</b> value=&quot;<span style=\"color: maroon\">http://hl7.org/fhir/questionnaire-extensions#mayRepeat</span>&quot;/&gt;\r\n &lt;<span title=\"Whether the group may occur multiple times in the instance, containing multiple sets of answers.\"><b>valueBoolean</b></span> value=&quot;[<span style=\"color: darkgreen\"><a href=\"http://hl7.org/fhir/datatypes.html#boolean\">boolean</a></span>]&quot;/&gt;<span style=\" color: Gray\">&lt;!-- </span><span style=\"color: navy\">Whether the group may repeat</span><span style=\" color: Gray\"> --&gt;</span>\r\n&lt;/extension&gt;\r\n\r\n&lt;<span title=\"The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple)choice is expected.\"><b>extension</b></span>&gt;<a name=\"answerFormat\"> </a>&lt;!--  <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">Context: Resource = Questionnaire.question</span> --&gt;\r\n &lt;<b>url</b> value=&quot;<span style=\"color: maroon\">http://hl7.org/fhir/questionnaire-extensions#answerFormat</span>&quot;/&gt;\r\n &lt;<span title=\"The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple)choice is expected.\"><b>valueCode</b></span> value=&quot;[<span style=\"color: darkgreen\"><a href=\"http://hl7.org/fhir/datatypes.html#code\">code</a></span>]&quot;/&gt;<span style=\" color: Gray\">&lt;!-- </span><span style=\"color: navy\">The expected format of the answer</span><span style=\" color: Gray\"> --&gt;</span>\r\n&lt;/extension&gt;\r\n\r\n&lt;<span title=\"Explicit reason why the question was left unanswered.\"><b>extension</b></span>&gt;<a name=\"omitReason\"> </a>&lt;!--  <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">Context: Resource = Questionnaire.question</span> --&gt;\r\n &lt;<b>url</b> value=&quot;<span style=\"color: maroon\">http://hl7.org/fhir/questionnaire-extensions#omitReason</span>&quot;/&gt;\r\n &lt;<span title=\"Explicit reason why the question was left unanswered.\"><b>valueCodeableConcept</b></span>&gt;<span style=\" color: Gray\">&lt;!-- </span> <span style=\"color: brown;\"><b>0..1</b></span>  <span style=\"color: darkgreen\"><a href=\"http://hl7.org/fhir/datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\">Explicit reason why the question was left unanswered</span> <span style=\" color: Gray\">--&gt; </span>&lt;/valueCodeableConcept&gt;\r\n&lt;/extension&gt;\r\n\r\n</pre></div>"
  },
  "name": "Core extensions for Questionnaire",
  "publisher": "HL7",
  "telecom": [
    {
      "system": "url",
      "value": "http://www.hl7.org"
    }
  ],
  "description": "Contains standard extensions for Questionnaire, amongst others for validation",
  "status": "draft",
  "date": "2013-07-04",
  "extensionDefn": [
    {
      "code": "mayRepeat",
      "display": "Whether the group may repeat",
      "contextType": "resource",
      "context": [
        "Questionnaire.group"
      ],
      "definition": {
        "short": "Whether the group may repeat",
        "formal": "Whether the group may occur multiple times in the instance, containing multiple sets of answers.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": false,
        "isModifier": false
      }
    },
    {
      "code": "answerFormat",
      "display": "The expected format of the answer",
      "contextType": "resource",
      "context": [
        "Questionnaire.question"
      ],
      "definition": {
        "short": "The expected format of the answer",
        "formal": "The expected format of the answer, e.g. the type of input (string, integer) or whether a (multiple)choice is expected.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "binding": {
          "name": "AnswerFormat",
          "isExtensible": true,
          "referenceResource": {
            "reference": "http://hl7.org/fhir/vs/answer-format"
          }
        }
      }
    },
    {
      "code": "omitReason",
      "display": "Explicit reason why the question was left unanswered",
      "contextType": "resource",
      "context": [
        "Questionnaire.question"
      ],
      "definition": {
        "short": "Explicit reason why the question was left unanswered",
        "formal": "Explicit reason why the question was left unanswered.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false
      }
    }
  ]
}