FHIR Tooling Extensions IG
0.3.0 - Release 0.2.0 International flag

This page is part of the HL7 Tools Extension IG (v0.3.0: Releases - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Json Empty Behavior Codes - JSON Representation

Active as of 2024-10-27

Raw json | Download

{
  "resourceType" : "CodeSystem",
  "id" : "json-empty-behavior",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div xml:lang=\"en\" lang=\"en\"><hr/><p><b>English</b></p><hr/><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem json-empty-behavior</b></p><a name=\"json-empty-behavior\"> </a><a name=\"hcjson-empty-behavior\"> </a><a name=\"json-empty-behavior-en\"> </a><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><div xml:lang=\"es\" lang=\"es\"><hr/><p><b>Spanish</b></p><hr/><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem json-empty-behavior</b></p><a name=\"json-empty-behavior\"> </a><a name=\"hcjson-empty-behavior\"> </a><a name=\"json-empty-behavior-es\"> </a><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></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    }
  ],
  "url" : "http://hl7.org/fhir/tools/CodeSystem/json-empty-behavior",
  "identifier" : [
    {
      "system" : "urn:ietf:rfc:3986",
      "value" : "urn:oid:2.16.840.1.113883.4.642.40.1.16.10"
    }
  ],
  "version" : "0.3.0",
  "name" : "JsonEmptyBehaviorCodes",
  "title" : "Json Empty Behavior Codes",
  "status" : "active",
  "experimental" : true,
  "date" : "2024-10-27T07:27:27+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "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",
  "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"
    }
  ]
}