Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example CodeSystem/questionnaire-enable-behavior (JSON)

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

Raw JSON (canonical form + also see JSON Format Specification)

Definition for Code SystemEnableWhenBehavior

{
  "resourceType" : "CodeSystem",
  "id" : "questionnaire-enable-behavior",
  "meta" : {
    "lastUpdated" : "2023-03-26T15:21:02.749+11:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/questionnaire-enable-behavior</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">all<a name=\"questionnaire-enable-behavior-all\"> </a></td><td>All</td><td>Enable the question when all the enableWhen criteria are satisfied.</td></tr><tr><td style=\"white-space:nowrap\">any<a name=\"questionnaire-enable-behavior-any\"> </a></td><td>Any</td><td>Enable the question when any of the enableWhen criteria are satisfied.</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 3
  }],
  "url" : "http://hl7.org/fhir/questionnaire-enable-behavior",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.1008"
  }],
  "version" : "5.0.0",
  "name" : "EnableWhenBehavior",
  "title" : "Enable When Behavior",
  "status" : "active",
  "experimental" : false,
  "date" : "2021-01-05T10:01:24+11:00",
  "publisher" : "HL7 (FHIR Project)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  }],
  "description" : "Controls how multiple enableWhen values are interpreted -  whether all or any must be true.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior",
  "content" : "complete",
  "concept" : [{
    "code" : "all",
    "display" : "All",
    "definition" : "Enable the question when all the enableWhen criteria are satisfied."
  },
  {
    "code" : "any",
    "display" : "Any",
    "definition" : "Enable the question when any of the enableWhen criteria are satisfied."
  }]
}

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.