{
  "resourceType": "CodeSystem",
  "id": "item-type",
  "meta": {
    "lastUpdated": "2018-12-27T22:37:54.724+11:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3
    }
  ],
  "url": "http://hl7.org/fhir/item-type",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.1.445"
    }
  ],
  "version": "4.0.0",
  "name": "QuestionnaireItemType",
  "title": "QuestionnaireItemType",
  "status": "draft",
  "experimental": false,
  "date": "2018-12-27T22:37:54+11:00",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "Distinguishes groups from questions and display text and indicates data type for questions.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/item-type",
  "content": "complete",
  "property": [
    {
      "code": "notSelectable",
      "uri": "http://hl7.org/fhir/concept-properties#notSelectable",
      "description": "Indicates that the code is abstract - only intended to be used as a selector for other concepts",
      "type": "boolean"
    }
  ],
  "concept": [
    {
      "code": "group",
      "display": "Group",
      "definition": "An item with no direct answer but should have at least one child item."
    },
    {
      "code": "display",
      "display": "Display",
      "definition": "Text for display that will not capture an answer or have child items."
    },
    {
      "code": "question",
      "display": "Question",
      "definition": "An item that defines a specific answer to be captured, and which may have child items. (the answer provided in the QuestionnaireResponse should be of the defined datatype).",
      "property": [
        {
          "code": "notSelectable",
          "valueBoolean": true
        }
      ],
      "concept": [
        {
          "code": "boolean",
          "display": "Boolean",
          "definition": "Question with a yes/no answer (valueBoolean)."
        },
        {
          "code": "decimal",
          "display": "Decimal",
          "definition": "Question with is a real number answer (valueDecimal)."
        },
        {
          "code": "integer",
          "display": "Integer",
          "definition": "Question with an integer answer (valueInteger)."
        },
        {
          "code": "date",
          "display": "Date",
          "definition": "Question with a date answer (valueDate)."
        },
        {
          "code": "dateTime",
          "display": "Date Time",
          "definition": "Question with a date and time answer (valueDateTime)."
        },
        {
          "code": "time",
          "display": "Time",
          "definition": "Question with a time (hour:minute:second) answer independent of date. (valueTime)."
        },
        {
          "code": "string",
          "display": "String",
          "definition": "Question with a short (few words to short sentence) free-text entry answer (valueString)."
        },
        {
          "code": "text",
          "display": "Text",
          "definition": "Question with a long (potentially multi-paragraph) free-text entry answer (valueString)."
        },
        {
          "code": "url",
          "display": "Url",
          "definition": "Question with a URL (website, FTP site, etc.) answer (valueUri)."
        },
        {
          "code": "choice",
          "display": "Choice",
          "definition": "Question with a Coding drawn from a list of possible answers (specified in either the answerOption property, or via the valueset referenced in the answerValueSet property) as an answer (valueCoding)."
        },
        {
          "code": "open-choice",
          "display": "Open Choice",
          "definition": "Answer is a Coding drawn from a list of possible answers (as with the choice type) or a free-text entry in a string (valueCoding or valueString)."
        },
        {
          "code": "attachment",
          "display": "Attachment",
          "definition": "Question with binary content such as an image, PDF, etc. as an answer (valueAttachment)."
        },
        {
          "code": "reference",
          "display": "Reference",
          "definition": "Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference)."
        },
        {
          "code": "quantity",
          "display": "Quantity",
          "definition": "Question with a combination of a numeric value and unit, potentially with a comparator (<, >, etc.) as an answer. (valueQuantity) There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to define what unit should be captured (or the unit that has a ucum conversion from the provided unit)."
        }
      ]
    }
  ]
}