Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. 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:Resource.id [ fhir:value "questionnaire-answer-constraint"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-10T04:52:37.223+10: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:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/questionnaire-answer-constraint"];
  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.2019" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "QuestionnaireAnswerConstraint"];
  fhir:CanonicalResource.title [ fhir:value "Questionnaire answer constraint codes"];
  fhir:CanonicalResource.status [ fhir:value "active"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.description [ fhir:value "Codes that describe the types of constraints possible on a question item that has a list of permitted answers"];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/questionnaire-answer-constraint"];
  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.2019" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "QuestionnaireAnswerConstraint"];
  fhir:CodeSystem.title [ fhir:value "Questionnaire answer constraint codes"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.description [ fhir:value "Codes that describe the types of constraints possible on a question item that has a list of permitted answers"];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "optionsOnly" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Options only" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "Only values listed as answerOption or in the expansion of the answerValueSet are permitted" ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "optionsOrType" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Options or 'type'" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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:ConceptDefinitionComponent.code [ fhir:value "optionsOrString" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Options or string" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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.