Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Example CodeSystem/questionnaire-answer-constraint (Turtle)

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

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

Definition for Code SystemQuestionnaireAnswerConstraint

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "questionnaire-answer-constraint"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+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/questionnaire-answer-constraint"], [ fhir:v "http://hl7.org/fhir/questionnaire-answer-constraint"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.2019" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.2019" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
  fhir:name [ fhir:v "QuestionnaireAnswerConstraint"], [ fhir:v "QuestionnaireAnswerConstraint"] ;
  fhir:title [ fhir:v "Questionnaire answer constraint codes"], [ fhir:v "Questionnaire answer constraint codes"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "true"], [ fhir:v "true"] ;
  fhir:publisher [ fhir:v "HL7 International"], [ fhir:v "HL7 International"] ;
  fhir:description [ fhir:v "Codes that describe the types of constraints possible on a question item that has a list of permitted answers"], [ fhir:v "Codes that describe the types of constraints possible on a question item that has a list of permitted answers"] ;
  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:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "optionsOnly" ] ;
     fhir:display [ fhir:v "Options only" ] ;
     fhir:definition [ fhir:v "Only values listed as answerOption or in the expansion of the answerValueSet are permitted" ]
  ] [
     fhir:code [ fhir:v "optionsOrType" ] ;
     fhir:display [ fhir:v "Options or 'type'" ] ;
     fhir:definition [ fhir:v "In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted" ]
  ] [
     fhir:code [ fhir:v "optionsOrString" ] ;
     fhir:display [ fhir:v "Options or string" ] ;
     fhir:definition [ fhir:v "In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted.  Answers will have a type of 'string'." ]
  ] ) .

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


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.