{
  "resourceType": "StructureDefinition",
  "id": "GradDerBehinderung",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Clinical.Diagnostics"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    }
  ],
  "url": "http://fhir.de/StructureDefinition/GradDerBehinderung",
  "version": "1.4.0",
  "name": "GradDerBehinderung",
  "status": "active",
  "description": "Beschreibt den Grad der Behinderung und ggf. vorhandene Merkzeichen",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.code.coding:snomedct",
        "path": "Observation.code.coding",
        "sliceName": "snomedct",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "116149007",
          "system": "http://snomed.info/sct"
        }
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "integer"
          }
        ],
        "constraint": [
          {
            "key": "value-only-tenth",
            "severity": "error",
            "human": "Ergebnis muss eine durch 10 teilbare Zahl sein",
            "expression": "$this <= 100 and $this != 0 and $this mod 10 = 0",
            "source": "http://fhir.de/StructureDefinition/GradDerBehinderung"
          }
        ]
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:merkzeichen",
        "path": "Observation.component",
        "sliceName": "merkzeichen",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Observation.component:merkzeichen.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.de/ValueSet/merkzeichen-de"
        }
      },
      {
        "id": "Observation.component:merkzeichen.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Observation.component:merkzeichen.valueBoolean",
        "path": "Observation.component.valueBoolean",
        "min": 0,
        "max": "1",
        "patternBoolean": true
      }
    ]
  }
}