Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

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:Resource.id [ fhir:value "item-type"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T11:58:29.429+11:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "3" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/item-type"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.445" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "QuestionnaireItemType"];
  fhir:CanonicalResource.title [ fhir:value "QuestionnaireItemType"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/item-type"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.445" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "QuestionnaireItemType"];
  fhir:CodeSystem.title [ fhir:value "QuestionnaireItemType"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CodeSystem.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type"];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:PropertyComponent.code [ fhir:value "notSelectable" ];
     fhir:PropertyComponent.uri [ fhir:value "http://hl7.org/fhir/concept-properties#notSelectable" ];
     fhir:PropertyComponent.description [ fhir:value "Indicates that the code is abstract - only intended to be used as a selector for other concepts" ];
     fhir:PropertyComponent.type [ fhir:value "boolean" ]
  ];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "group" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Group" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "An item with no direct answer but should have at least one child item." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "display" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Display" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Text for display that will not capture an answer or have child items." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "question" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Question" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.property [
       fhir:ConceptPropertyComponent.code [ fhir:value "notSelectable" ];
       fhir:ConceptPropertyComponent.value [ fhir:value "true" ]
     ];
     fhir:ConceptDefinitionComponent.concept [
       fhir:ConceptDefinitionComponent.code [ fhir:value "boolean" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Boolean" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a yes/no answer (valueBoolean)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "decimal" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Decimal" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.code [ fhir:value "integer" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Integer" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.code [ fhir:value "date" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Date" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a date answer (valueDate)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "dateTime" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Date Time" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a date and time answer (valueDateTime)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "time" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Time" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a time (hour:minute:second) answer independent of date. (valueTime)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "string" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "String" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.code [ fhir:value "text" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Text" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a long (potentially multi-paragraph) free-text entry answer (valueString)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "url" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Url" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a URL (website, FTP site, etc.) answer (valueUri)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "coding" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Coding" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a Coding - generally drawn from a list of possible answers (valueCoding)" ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "attachment" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Attachment" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with binary content such as an image, PDF, etc. as an answer (valueAttachment)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "reference" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Reference" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference)." ]
     ], [
       fhir:ConceptDefinitionComponent.code [ fhir:value "quantity" ];
       fhir:ConceptDefinitionComponent.display [ fhir:value "Quantity" ];
       fhir:ConceptDefinitionComponent.definition [ fhir:value "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.