{
  "resourceType": "StructureDefinition",
  "id": "ext-city-code",
  "url": "http://fhir.health.gov.il/StructureDefinition/ext-city-code",
  "version": "0.21.0",
  "name": "CityCode",
  "title": "Ext: City Code",
  "status": "active",
  "date": "2026-03-23",
  "publisher": "Israel Core Team",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "tal.primak@moh.gov.il"
        }
      ]
    }
  ],
  "description": "A coded representation of the city, town or settlement",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Address.city"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Ext: City Code",
        "definition": "A coded representation of the city, town or settlement"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://fhir.health.gov.il/StructureDefinition/ext-city-code"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "example": [
          {
            "valueCodeableConcept": {
              "coding": [
                {
                  "code": "4000",
                  "system": "http://fhir.health.gov.il/cs/city-symbol",
                  "display": "חיפה"
                }
              ]
            },
            "label": "Valid Example"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.health.gov.il/ValueSet/city-symbol"
        }
      }
    ]
  }
}