{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/ValueSet",
  "name": "ValueSet",
  "title": "API Framework ValueSet",
  "status": "active",
  "experimental": false,
  "description": "Dedalus API Framework core profile for ValueSet",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "ValueSet",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ValueSet",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ValueSet.id",
        "path": "ValueSet.id",
        "mustSupport": true
      },
      {
        "id": "ValueSet.meta",
        "path": "ValueSet.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "ValueSet.meta.tag",
        "path": "ValueSet.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ValueSet.text",
        "path": "ValueSet.text",
        "mustSupport": true
      },
      {
        "id": "ValueSet.url",
        "path": "ValueSet.url",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ValueSet.version",
        "path": "ValueSet.version",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "ValueSet.name",
        "path": "ValueSet.name",
        "mustSupport": true
      },
      {
        "id": "ValueSet.title",
        "path": "ValueSet.title",
        "mustSupport": true
      },
      {
        "id": "ValueSet.status",
        "path": "ValueSet.status",
        "mustSupport": true
      },
      {
        "id": "ValueSet.experimental",
        "path": "ValueSet.experimental",
        "mustSupport": true
      },
      {
        "id": "ValueSet.publisher",
        "path": "ValueSet.publisher",
        "mustSupport": true
      },
      {
        "id": "ValueSet.description",
        "path": "ValueSet.description",
        "mustSupport": true
      },
      {
        "id": "ValueSet.compose",
        "path": "ValueSet.compose",
        "mustSupport": true
      },
      {
        "id": "ValueSet.compose.include",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "ConceptSet"
          }
        ],
        "path": "ValueSet.compose.include",
        "mustSupport": true
      },
      {
        "id": "ValueSet.compose.include.system",
        "path": "ValueSet.compose.include.system",
        "mustSupport": true
      },
      {
        "id": "ValueSet.compose.include.version",
        "path": "ValueSet.compose.include.version",
        "mustSupport": true
      },
      {
        "id": "ValueSet.compose.include.concept",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "ConceptReference"
          }
        ],
        "path": "ValueSet.compose.include.concept",
        "mustSupport": true
      },
      {
        "id": "ValueSet.compose.include.filter",
        "path": "ValueSet.compose.include.filter",
        "mustSupport": true
      },
      {
        "id": "ValueSet.expansion",
        "path": "ValueSet.expansion",
        "mustSupport": true
      },
      {
        "id": "ValueSet.expansion.contains",
        "path": "ValueSet.expansion.contains",
        "mustSupport": true
      },
      {
        "id": "ValueSet.expansion.contains.extension",
        "path": "ValueSet.expansion.contains.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "ValueSet.expansion.contains.extension:property",
        "path": "ValueSet.expansion.contains.extension",
        "sliceName": "property",
        "type": [
          {
            "code": "Extension",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/extension-valueSet-conceptProperty"
          }
        ]
      }
    ]
  }
}