FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/item-type (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemQuestionnaireItemType

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "item-type"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-02-17T02:32:40.206+11:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem item-type</b></p><a name=\"item-type\"> </a><a name=\"hcitem-type\"> </a><a name=\"item-type-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2021-01-05T10:01:24.148+11:00</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Not Selectable</td><td>notSelectable</td><td>http://hl7.org/fhir/concept-properties#notSelectable</td><td>boolean</td><td>Indicates that the code is abstract - only intended to be used as a selector for other concepts</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://hl7.org/fhir/item-type</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>Not Selectable</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">group<a name=\"item-type-group\"> </a></td><td>Group</td><td>An item with no direct answer but should have at least one child item.</td><td/></tr><tr><td>1</td><td style=\"white-space:nowrap\">display<a name=\"item-type-display\"> </a></td><td>Display</td><td>Text for display that will not capture an answer or have child items.</td><td/></tr><tr><td>1</td><td style=\"white-space:nowrap\">question<a name=\"item-type-question\"> </a></td><td>Question</td><td>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).</td><td>true</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  boolean<a name=\"item-type-boolean\"> </a></td><td>Boolean</td><td>Question with a yes/no answer (valueBoolean).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  decimal<a name=\"item-type-decimal\"> </a></td><td>Decimal</td><td>Question with is a real number answer (valueDecimal).  There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to computably convey the unit of measure associated with the answer for use when performing data extraction to an element of type Quantity.</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  integer<a name=\"item-type-integer\"> </a></td><td>Integer</td><td>Question with an integer answer (valueInteger).  There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to computably convey the unit of measure associated with the answer for use when performing data extraction to an element of type Quantity.</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  date<a name=\"item-type-date\"> </a></td><td>Date</td><td>Question with a date answer (valueDate).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  dateTime<a name=\"item-type-dateTime\"> </a></td><td>Date Time</td><td>Question with a date and time answer (valueDateTime).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  time<a name=\"item-type-time\"> </a></td><td>Time</td><td>Question with a time (hour:minute:second) answer independent of date. (valueTime).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  string<a name=\"item-type-string\"> </a></td><td>String</td><td>Question with a short (few words to short sentence) free-text entry answer (valueString).  Strings SHOULD NOT contain carriage return or newline characters.  If multi-line answers are needed, use the 'text' type.</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  text<a name=\"item-type-text\"> </a></td><td>Text</td><td>Question with a long (potentially multi-paragraph) free-text entry answer (valueString).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  url<a name=\"item-type-url\"> </a></td><td>Url</td><td>Question with a URL (website, FTP site, etc.) answer (valueUri).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  coding<a name=\"item-type-coding\"> </a></td><td>Coding</td><td>Question with a Coding - generally drawn from a list of possible answers (valueCoding)</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  attachment<a name=\"item-type-attachment\"> </a></td><td>Attachment</td><td>Question with binary content such as an image, PDF, etc. as an answer (valueAttachment).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  reference<a name=\"item-type-reference\"> </a></td><td>Reference</td><td>Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference).</td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  quantity<a name=\"item-type-quantity\"> </a></td><td>Quantity</td><td>Question with a combination of a numeric value and unit as an answer. (valueSimpleQuantity)  There are two extensions ('http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption' and 'http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet')  that can be used to define what unit should be selected for the Quantity.code and Quantity.system.</td><td/></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fhir" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "3"^^xsd:integer ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/item-type"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.445" ]
  ] [
     fhir:use [ fhir:v "old" ] ;
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.438" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:name [ fhir:v "QuestionnaireItemType"] ; # 
  fhir:title [ fhir:v "Questionnaire Item Type"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Distinguishes groups from questions and display text and indicates data type for questions."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/item-type"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/item-type>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "notSelectable" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#notSelectable"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Indicates that the code is abstract - only intended to be used as a selector for other concepts" ] ;
     fhir:type [ fhir:v "boolean" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "group" ] ;
     fhir:display [ fhir:v "Group" ] ;
     fhir:definition [ fhir:v "An item with no direct answer but should have at least one child item." ]
  ] [
     fhir:code [ fhir:v "display" ] ;
     fhir:display [ fhir:v "Display" ] ;
     fhir:definition [ fhir:v "Text for display that will not capture an answer or have child items." ]
  ] [
     fhir:code [ fhir:v "question" ] ;
     fhir:display [ fhir:v "Question" ] ;
     fhir:definition [ fhir:v "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)." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "notSelectable" ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "boolean" ] ;
       fhir:display [ fhir:v "Boolean" ] ;
       fhir:definition [ fhir:v "Question with a yes/no answer (valueBoolean)." ]
     ] [
       fhir:code [ fhir:v "decimal" ] ;
       fhir:display [ fhir:v "Decimal" ] ;
       fhir:definition [ fhir:v "Question with is a real number answer (valueDecimal).  There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to computably convey the unit of measure associated with the answer for use when performing data extraction to an element of type Quantity." ]
     ] [
       fhir:code [ fhir:v "integer" ] ;
       fhir:display [ fhir:v "Integer" ] ;
       fhir:definition [ fhir:v "Question with an integer answer (valueInteger).  There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to computably convey the unit of measure associated with the answer for use when performing data extraction to an element of type Quantity." ]
     ] [
       fhir:code [ fhir:v "date" ] ;
       fhir:display [ fhir:v "Date" ] ;
       fhir:definition [ fhir:v "Question with a date answer (valueDate)." ]
     ] [
       fhir:code [ fhir:v "dateTime" ] ;
       fhir:display [ fhir:v "Date Time" ] ;
       fhir:definition [ fhir:v "Question with a date and time answer (valueDateTime)." ]
     ] [
       fhir:code [ fhir:v "time" ] ;
       fhir:display [ fhir:v "Time" ] ;
       fhir:definition [ fhir:v "Question with a time (hour:minute:second) answer independent of date. (valueTime)." ]
     ] [
       fhir:code [ fhir:v "string" ] ;
       fhir:display [ fhir:v "String" ] ;
       fhir:definition [ fhir:v "Question with a short (few words to short sentence) free-text entry answer (valueString).  Strings SHOULD NOT contain carriage return or newline characters.  If multi-line answers are needed, use the 'text' type." ]
     ] [
       fhir:code [ fhir:v "text" ] ;
       fhir:display [ fhir:v "Text" ] ;
       fhir:definition [ fhir:v "Question with a long (potentially multi-paragraph) free-text entry answer (valueString)." ]
     ] [
       fhir:code [ fhir:v "url" ] ;
       fhir:display [ fhir:v "Url" ] ;
       fhir:definition [ fhir:v "Question with a URL (website, FTP site, etc.) answer (valueUri)." ]
     ] [
       fhir:code [ fhir:v "coding" ] ;
       fhir:display [ fhir:v "Coding" ] ;
       fhir:definition [ fhir:v "Question with a Coding - generally drawn from a list of possible answers (valueCoding)" ]
     ] [
       fhir:code [ fhir:v "attachment" ] ;
       fhir:display [ fhir:v "Attachment" ] ;
       fhir:definition [ fhir:v "Question with binary content such as an image, PDF, etc. as an answer (valueAttachment)." ]
     ] [
       fhir:code [ fhir:v "reference" ] ;
       fhir:display [ fhir:v "Reference" ] ;
       fhir:definition [ fhir:v "Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference)." ]
     ] [
       fhir:code [ fhir:v "quantity" ] ;
       fhir:display [ fhir:v "Quantity" ] ;
       fhir:definition [ fhir:v "Question with a combination of a numeric value and unit as an answer. (valueSimpleQuantity)  There are two extensions ('http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption' and 'http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet')  that can be used to define what unit should be selected for the Quantity.code and Quantity.system." ]
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


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.