{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://smart.who.int/immunizations/ValueSet-IMMZ.Z.DE7.schema.json",
  "title": "IMMZ.Z.DE7 ValueSet for HPV vaccines Schema",
  "description": "JSON Schema for IMMZ.Z.DE7 ValueSet for HPV 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": [
            "DE7"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://id.who.int/icd/release/11/mms"
        },
        "code": {
          "enum": [
            "XM9QP0",
            "XM1821",
            "XM9BT4",
            "XM5CE9"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://snomed.info/sct"
        },
        "code": {
          "enum": [
            "836379009"
          ]
        }
      }
    },
    {
      "properties": {
        "system": {
          "const": "http://www.whocc.no/atc"
        },
        "code": {
          "enum": [
            "J07BM",
            "J07BM01",
            "J07BM02",
            "J07BM03"
          ]
        }
      }
    }
  ],
  "narrative": "This schema validates Coding-shaped objects for the IMMZ.Z.DE7 ValueSet for HPV 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.DE7.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.DE7.displays.json",
  "fhir:valueSet": "http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE7",
  "fhir:version": "0.2.0",
  "fhir:expansionTimestamp": "2025-06-25T16:39:07.092Z"
}