{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE16.schema.json",
  "title": "IMMZ.Z.DE16 ValueSet for Rotavirus vaccines Schema",
  "description": "JSON Schema for IMMZ.Z.DE16 ValueSet for Rotavirus vaccines ValueSet codes. Values are represented as Coding objects with 'system' and 'code' properties.",
  "type": "object",
  "required": [
    "system",
    "code"
  ],
  "additionalProperties": false,
  "properties": {
    "system": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "oneOf": [
    {
      "properties": {
        "system": {
          "const": "http://smart.who.int/immunizations/CodeSystem/IMMZ.Z"
        },
        "code": {
          "enum": [
            "DE16"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://id.who.int/icd/release/11/mms"
        },
        "code": {
          "enum": [
            "XM1CE0",
            "XM4GV0",
            "XM4VG1"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://snomed.info/sct"
        },
        "code": {
          "enum": [
            "836387005",
            "1081000221109"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://www.whocc.no/atc"
        },
        "code": {
          "enum": [
            "J07BH01",
            "J07BH02"
          ]
        }
      }
    }
  ],
  "narrative": "This schema validates Coding-shaped objects for the IMMZ.Z.DE16 ValueSet for Rotavirus vaccines ValueSet. Each value must be an object with 'system' (CodeSystem URI) and 'code' (fragment after '#') properties. Display values are available at http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE16.displays.json. The canonical IRI for a code can be reconstructed as system + '#' + code. For a complete listing of all ValueSets, see artifacts.html#terminology-value-sets.",
  "fhir:displays": "http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE16.displays.json",
  "fhir:valueSet": "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE16",
  "fhir:version": "0.2.0",
  "fhir:expansionTimestamp": "2025-06-25T16:39:07.092Z"
}