R6 Ballot (2nd Draft)

Publish-box (todo)

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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "item-type"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-08-12T19:52:12.437+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fhir" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "3" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/item-type"], [ fhir:v "http://hl7.org/fhir/item-type"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     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" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.438" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     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" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.438" ]
  ] ) ;
  fhir:version [ fhir:v "6.0.0-ballot2"], [ fhir:v "6.0.0-ballot2"] ;
  fhir:name [ fhir:v "QuestionnaireItemType"], [ fhir:v "QuestionnaireItemType"] ;
  fhir:title [ fhir:v "Questionnaire Item Type"], [ fhir:v "Questionnaire Item Type"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"], [ fhir:v "2021-01-05T10:01:24+11:00"] ;
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"], [ 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: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: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" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "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" ] ;
     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" ]
     ] ) ;
     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.