{
  "resourceType": "ValueSet",
  "id": "item-type",
  "meta": {
    "lastUpdated": "2015-12-03T09:57:31.744+11:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div><h2>QuestionnaireItemType</h2><p>Distinguishes groups from questions and display text and indicates data type for questions</p><p>This value set has an inline code system http://hl7.org/fhir/item-type, which defines the following codes:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td>group<a name=\"group\"> </a></td><td>Group</td><td>An item with no direct answer but which has descendant items that are questions</td></tr><tr><td>1</td><td>display<a name=\"display\"> </a></td><td>Display</td><td>Text for display that will not capture an answer or have descendants</td></tr><tr><td>1</td><td>question<a name=\"question\"> </a></td><td>Question</td><td>An item that defines a specific answer to be captured (and may have descendant items)</td></tr><tr><td>2</td><td>&nbsp;&nbsp;boolean<a name=\"boolean\"> </a></td><td>Boolean</td><td>Question with a yes/no answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;decimal<a name=\"decimal\"> </a></td><td>Decimal</td><td>Question with is a real number answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;integer<a name=\"integer\"> </a></td><td>Integer</td><td>Question with an integer answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;date<a name=\"date\"> </a></td><td>Date</td><td>Question with adate answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;dateTime<a name=\"dateTime\"> </a></td><td>Date Time</td><td>Question with a date and time answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;instant<a name=\"instant\"> </a></td><td>Instant</td><td>Question with a system timestamp answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;time<a name=\"time\"> </a></td><td>Time</td><td>Question with a time (hour/minute/second) answer independent of date.</td></tr><tr><td>2</td><td>&nbsp;&nbsp;string<a name=\"string\"> </a></td><td>String</td><td>Question with a short (few words to short sentence) free-text entry answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;text<a name=\"text\"> </a></td><td>Text</td><td>Question with a long (potentially multi-paragraph) free-text entry (still captured as a string) answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;url<a name=\"url\"> </a></td><td>Url</td><td>Question with a url (website, FTP site, etc.) answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;choice<a name=\"choice\"> </a></td><td>Choice</td><td>Question with a Coding drawn from a list of options as an answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;open-choice<a name=\"open-choice\"> </a></td><td>Open Choice</td><td>Answer is a Coding drawn from a list of options or a free-text entry captured as Coding.display</td></tr><tr><td>2</td><td>&nbsp;&nbsp;attachment<a name=\"attachment\"> </a></td><td>Attachment</td><td>Question with binary content such as a image, PDF, etc. as an answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;reference<a name=\"reference\"> </a></td><td>Reference</td><td>Question with a reference to another resource (practitioner, organization, etc.) as an answer</td></tr><tr><td>2</td><td>&nbsp;&nbsp;quantity<a name=\"quantity\"> </a></td><td>Quantity</td><td>Question with a combination of a numeric value and unit, potentially with a comparator (&lt;, &gt;, etc.) as an answer.</td></tr></table></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/valueset-oid",
      "valueUri": "urn:oid:2.16.840.1.113883.4.642.2.0"
    }
  ],
  "url": "http://hl7.org/fhir/ValueSet/item-type",
  "version": "1.1.0",
  "name": "QuestionnaireItemType",
  "status": "draft",
  "experimental": false,
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "date": "2015-12-03T09:57:31+11:00",
  "description": "Distinguishes groups from questions and display text and indicates data type for questions",
  "codeSystem": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/valueset-oid",
        "valueUri": "urn:oid:2.16.840.1.113883.4.642.1.0"
      }
    ],
    "system": "http://hl7.org/fhir/item-type",
    "version": "1.1.0",
    "caseSensitive": true,
    "concept": [
      {
        "code": "group",
        "display": "Group",
        "definition": "An item with no direct answer but which has descendant items that are questions"
      },
      {
        "code": "display",
        "display": "Display",
        "definition": "Text for display that will not capture an answer or have descendants"
      },
      {
        "code": "question",
        "abstract": true,
        "display": "Question",
        "definition": "An item that defines a specific answer to be captured (and may have descendant items)",
        "concept": [
          {
            "code": "boolean",
            "display": "Boolean",
            "definition": "Question with a yes/no answer"
          },
          {
            "code": "decimal",
            "display": "Decimal",
            "definition": "Question with is a real number answer"
          },
          {
            "code": "integer",
            "display": "Integer",
            "definition": "Question with an integer answer"
          },
          {
            "code": "date",
            "display": "Date",
            "definition": "Question with adate answer"
          },
          {
            "code": "dateTime",
            "display": "Date Time",
            "definition": "Question with a date and time answer"
          },
          {
            "code": "instant",
            "display": "Instant",
            "definition": "Question with a system timestamp answer"
          },
          {
            "code": "time",
            "display": "Time",
            "definition": "Question with a time (hour/minute/second) answer independent of date."
          },
          {
            "code": "string",
            "display": "String",
            "definition": "Question with a short (few words to short sentence) free-text entry answer"
          },
          {
            "code": "text",
            "display": "Text",
            "definition": "Question with a long (potentially multi-paragraph) free-text entry (still captured as a string) answer"
          },
          {
            "code": "url",
            "display": "Url",
            "definition": "Question with a url (website, FTP site, etc.) answer"
          },
          {
            "code": "choice",
            "display": "Choice",
            "definition": "Question with a Coding drawn from a list of options as an answer"
          },
          {
            "code": "open-choice",
            "display": "Open Choice",
            "definition": "Answer is a Coding drawn from a list of options or a free-text entry captured as Coding.display"
          },
          {
            "code": "attachment",
            "display": "Attachment",
            "definition": "Question with binary content such as a image, PDF, etc. as an answer"
          },
          {
            "code": "reference",
            "display": "Reference",
            "definition": "Question with a reference to another resource (practitioner, organization, etc.) as an answer"
          },
          {
            "code": "quantity",
            "display": "Quantity",
            "definition": "Question with a combination of a numeric value and unit, potentially with a comparator (<, >, etc.) as an answer."
          }
        ]
      }
    ]
  }
}