{
  "resourceType": "StructureDefinition",
  "url": "https://medico-emr.net/medico/r4/sd/Condition_Diagnosis_ICD10Coding",
  "name": "Condition_Diagnosis_ICD10Coding",
  "status": "draft",
  "description": "profile for the ICD10 coding slice",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "orim",
      "uri": "http://hl7.org/orim",
      "name": "Ontological RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "type": "Coding",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coding",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coding.id",
        "path": "Coding.id",
        "max": "0"
      },
      {
        "id": "Coding.extension",
        "path": "Coding.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Coding.extension:HauptKreuzCode",
        "path": "Coding.extension",
        "sliceName": "HauptKreuzCode",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/icd-10-gm-haupt-kreuz"
            ]
          }
        ]
      },
      {
        "id": "Coding.extension:SternCode",
        "path": "Coding.extension",
        "sliceName": "SternCode",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/icd-10-gm-stern"
            ]
          }
        ]
      },
      {
        "id": "Coding.extension:AusrufezeichenCode",
        "path": "Coding.extension",
        "sliceName": "AusrufezeichenCode",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/icd-10-gm-ausrufezeichen"
            ]
          }
        ]
      },
      {
        "id": "Coding.extension:DiagnoseSicherheit",
        "path": "Coding.extension",
        "sliceName": "DiagnoseSicherheit",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit"
            ]
          }
        ]
      },
      {
        "id": "Coding.system",
        "path": "Coding.system",
        "short": "Canonische ValueSet URL für ICD-10-GM",
        "min": 1,
        "fixedUri": "http://fhir.de/CodeSystem/dimdi/icd-10-gm"
      },
      {
        "id": "Coding.version",
        "path": "Coding.version",
        "short": "Die Jahresversion von ICD-10-GM. Angegeben wird immer die vierstellige Jahreszahl (z.B. \"2017\")",
        "definition": "Bie Verwendung von ICD-10-GM ist die Angabe der Version zwingend erforderlich.\r\nHierdurch wird der Tatsache Rechnung getragen, dass jede der jährlich neu erscheinenden Fassung von ICD-10-GM ein neues Codesystem darstellt.",
        "min": 1
      },
      {
        "id": "Coding.code",
        "path": "Coding.code",
        "short": "Der ICD 10 Code",
        "definition": "Der ICD 10 Code",
        "min": 1
      }
    ]
  }
}