FHIR Tooling Extensions IG
0.1.0 - Release International flag

This page is part of the HL7 Tools Extension IG (v0.1.0: Releases - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions

: Json Empty Behavior Codes - JSON Representation

Active as of 2023-12-19

Raw json | Download


{
  "resourceType" : "CodeSystem",
  "id" : "json-empty-behavior",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Properties</b></p><p><b>This code system  defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>should-shall</td><td>boolean</td><td>Codes with this property true must have shall or should appended in the grammar</td></tr><tr><td>expression</td><td>string</td><td>Expression that expresses aggregate codes using the grammar</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://hl7.org/fhir/tools/CodeSystem/json-empty-behavior</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">absent<a name=\"json-empty-behavior-absent\"> </a></td><td>When there's no items, the json property for the array must be missing</td></tr><tr><td style=\"white-space:nowrap\">present<a name=\"json-empty-behavior-present\"> </a></td><td>When there's no items, the json property for the array must be present and empty</td></tr><tr><td style=\"white-space:nowrap\">either<a name=\"json-empty-behavior-either\"> </a></td><td>When there's no items, the json property for the array may be present and empty, or absent</td></tr></table></div>"
  },
  "url" : "http://hl7.org/fhir/tools/CodeSystem/json-empty-behavior",
  "version" : "0.1.0",
  "name" : "JsonEmptyBehaviorCodes",
  "title" : "Json Empty Behavior Codes",
  "status" : "active",
  "experimental" : true,
  "date" : "2023-12-19T11:34:35+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/Special/committees/fhir-i"
        }
      ]
    }
  ],
  "description" : "empty-behaviour: what should be in JSON when a repeating elements has no items. Can be absent, present, or either",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "caseSensitive" : true,
  "content" : "complete",
  "property" : [
    {
      "code" : "should-shall",
      "description" : "Codes with this property true must have shall or should appended in the grammar",
      "type" : "boolean"
    },
    {
      "code" : "expression",
      "description" : "Expression that expresses aggregate codes using the grammar",
      "type" : "string"
    }
  ],
  "concept" : [
    {
      "code" : "absent",
      "display" : "absent",
      "definition" : "When there's no items, the json property for the array must be missing"
    },
    {
      "code" : "present",
      "display" : "present",
      "definition" : "When there's no items, the json property for the array must be present and empty"
    },
    {
      "code" : "either",
      "display" : "either",
      "definition" : "When there's no items, the json property for the array may be present and empty, or absent"
    }
  ]
}