{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Annotation-WithType",
  "name": "Annotation-WithType",
  "status": "active",
  "experimental": false,
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "Annotation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Annotation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Annotation.extension",
        "path": "Annotation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Annotation.extension:type",
        "path": "Annotation.extension",
        "sliceName": "type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/extension-annotation-type"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}