{
  "resourceType": "StructureDefinition",
  "id": "039f8858-913f-454e-be1b-1826adf166a8",
  "meta": {
    "lastUpdated": "2019-12-19T10:35:53.184+00:00"
  },
  "url": "http://digen.nublar.de/fhir/StructureDefinition/DigenConditionDerivedAbstract",
  "name": "DigenConditionDerivedAbstract",
  "status": "draft",
  "experimental": false,
  "date": "2019-12-19T10:35:53.1241411+00:00",
  "description": "This abstract is used for DiGeN conditions, which can be either imported from the KKIS (see derived profile DigenConditionAbrechnung) or being directly added by the user as AlphaID condition (see profile DigenConditionAlphaID) or as text condition (see DigenConditionText).",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://fhir.de/StructureDefinition/condition-de-basis/0.2",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.meta.tag",
        "path": "Condition.meta.tag",
        "max": "0"
      },
      {
        "id": "Condition.implicitRules",
        "path": "Condition.implicitRules",
        "max": "0"
      },
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "max": "0"
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "short": "Diagnosenkategorie",
        "definition": "A category assigned to the condition. In DiGeN the following categories are possible:\r\nKH / KH-Diagnose; REHA / REHA-Diagnose; AU / AU-Diagnose; NFP / Notfallpass-Diagnose",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.category.coding.system",
        "path": "Condition.category.coding.system",
        "min": 1,
        "fixedUri": "http://digen.nublar.de/fhir/CodeSystem/1.2.276.0.76.3.1.321.1.1.5.18"
      },
      {
        "id": "Condition.category.coding.version",
        "path": "Condition.category.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.category.coding.code",
        "path": "Condition.category.coding.code",
        "min": 1
      },
      {
        "id": "Condition.category.coding.userSelected",
        "path": "Condition.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.category.text",
        "path": "Condition.category.text",
        "max": "0"
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "max": "0"
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "short": "Code der Diagnose",
        "definition": "Identification of the condition, problem or diagnosis. In DiGeN this can be an official ICD code (as coming from the KKIS) or an AlphaID code as entered by the user. Note that the derived profile for KKIS conditions (DigenConditionAbrechnung) only expects ICD Codes but no AlphaID codes, whereas the profile for AlphaID conditions holds both values, the AlphaID code and the corresponding ICD Code. A text only condition consists of no code and contains only the text. See the condition examples for further details.",
        "min": 1
      },
      {
        "id": "Condition.code.coding:ICD-10-GM",
        "path": "Condition.code.coding",
        "sliceName": "ICD-10-GM",
        "short": "ICD 10 Code"
      },
      {
        "id": "Condition.code.coding:AlphaID",
        "path": "Condition.code.coding",
        "sliceName": "AlphaID",
        "short": "AlphaID code",
        "example": [
          {
            "label": "Beispieldiagnose AlphaID",
            "valueCoding": {
              "system": "urn:oid:1.2.276.0.76.5.479",
              "code": "I112284",
              "display": "Grippe [Influenza] mit Enzephalitis, Vogelgrippe-Viren nachgewiesen"
            }
          }
        ]
      },
      {
        "id": "Condition.code.coding:AlphaID.system",
        "path": "Condition.code.coding.system",
        "short": "AlphaID  Codesystem",
        "definition": "Das System enthält keinen fixen Wert, da sich das Codesystem jählich verändert. Jeder neue AlphaID Katalog ist ein eigenes Codesystem.",
        "min": 1,
        "fixedUri": "urn:oid:1.2.276.0.76.5.479",
        "example": [
          {
            "label": "AlphaID Katalog 2019",
            "valueUri": "urn:oid:1.2.276.0.76.5.479"
          }
        ]
      },
      {
        "id": "Condition.code.coding:AlphaID.version",
        "path": "Condition.code.coding.version",
        "short": "Katalogversion",
        "definition": "Die AlphaID Katalogversion ist im System enthalten, da jedes Jahr ein neues System veröffentlicht wird."
      },
      {
        "id": "Condition.code.coding:AlphaID.code",
        "path": "Condition.code.coding.code",
        "short": "AlphaID Code",
        "definition": "Code aus dem AlphaID Katalog",
        "min": 1
      },
      {
        "id": "Condition.code.coding:AlphaID.display",
        "path": "Condition.code.coding.display",
        "short": "AlphaID Diagnosetext",
        "definition": "Diagnosetext aus dem AlphaID Katalog."
      },
      {
        "id": "Condition.code.text",
        "path": "Condition.code.text",
        "short": "Text der Diagnose",
        "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. In DiGeN the text will always contain the relevant text that is shown in the frontend, i.e. for a coded condition this will be the condition text as coming from the code system, for a text condition this will be the text as entered by the user."
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "short": "Lokalisation",
        "definition": "The anatomical location where this condition manifests itself. In DiGeN this is either the official ICD-Lokalisation or it is a DiGeN specific location as used for entering implantation devices."
      },
      {
        "id": "Condition.bodySite.extension:Lokalisations-Referenz",
        "path": "Condition.bodySite.extension",
        "sliceName": "Lokalisations-Referenz",
        "max": "0"
      },
      {
        "id": "Condition.bodySite.coding:ICD-10-GM-Seitenlokalisation",
        "path": "Condition.bodySite.coding",
        "sliceName": "ICD-10-GM-Seitenlokalisation",
        "short": "ICD Seitenlokalisation"
      },
      {
        "id": "Condition.bodySite.coding:DigenLokalisation",
        "path": "Condition.bodySite.coding",
        "sliceName": "DigenLokalisation",
        "short": "DiGeN Lokalisation für Implantate",
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "Bodysite for Digen Valueset",
          "valueSetReference": {
            "reference": "http://digen.nublar.de/fhir/ValueSet/bodysiteForDigen"
          }
        }
      },
      {
        "id": "Condition.bodySite.coding:DigenLokalisation.system",
        "path": "Condition.bodySite.coding.system",
        "min": 1,
        "fixedUri": "http://digen.nublar.de/fhir/CodeSystem/bodysiteCodesForDigen"
      },
      {
        "id": "Condition.bodySite.coding:DigenLokalisation.code",
        "path": "Condition.bodySite.coding.code",
        "min": 1
      },
      {
        "id": "Condition.bodySite.coding:DigenLokalisation.display",
        "path": "Condition.bodySite.coding.display",
        "min": 1
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "short": "Referenz zum Patienten",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "Condition.context",
        "path": "Condition.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          }
        ]
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "max": "0"
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "max": "0"
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "Condition.asserter.id",
        "path": "Condition.asserter.id",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier",
        "path": "Condition.asserter.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer",
        "path": "Condition.asserter.identifier",
        "sliceName": "lebenslangeArztnummer",
        "short": "LANR (Arzt)",
        "example": [
          {
            "label": "Example LANR",
            "valueIdentifier": {
              "system": "http://fhir.de/NamingSystem/kbv/lanr",
              "value": "123456789"
            }
          }
        ]
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer.use",
        "path": "Condition.asserter.identifier.use",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer.type",
        "path": "Condition.asserter.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer.system",
        "path": "Condition.asserter.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.de/NamingSystem/kbv/lanr"
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer.value",
        "path": "Condition.asserter.identifier.value",
        "min": 1
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer.period",
        "path": "Condition.asserter.identifier.period",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:lebenslangeArztnummer.assigner",
        "path": "Condition.asserter.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer",
        "path": "Condition.asserter.identifier",
        "sliceName": "betriebsstaettennummer",
        "short": "BSNR (Praxis)",
        "example": [
          {
            "label": "Example BSNR",
            "valueIdentifier": {
              "system": "http://fhir.de/NamingSystem/kbv/bsnr",
              "value": "123456789"
            }
          }
        ]
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer.use",
        "path": "Condition.asserter.identifier.use",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer.type",
        "path": "Condition.asserter.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer.system",
        "path": "Condition.asserter.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.de/NamingSystem/kbv/bsnr"
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer.value",
        "path": "Condition.asserter.identifier.value",
        "min": 1
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer.period",
        "path": "Condition.asserter.identifier.period",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:betriebsstaettennummer.assigner",
        "path": "Condition.asserter.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen",
        "path": "Condition.asserter.identifier",
        "sliceName": "institutionskennzeichen",
        "short": "IK Nummer",
        "example": [
          {
            "label": "Example IK Number",
            "valueIdentifier": {
              "system": "http://fhir.de/NamingSystem/arge-ik/iknr",
              "value": "160819895"
            }
          }
        ]
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen.use",
        "path": "Condition.asserter.identifier.use",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen.type",
        "path": "Condition.asserter.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen.system",
        "path": "Condition.asserter.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.de/NamingSystem/arge-ik/iknr"
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen.value",
        "path": "Condition.asserter.identifier.value",
        "min": 1
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen.period",
        "path": "Condition.asserter.identifier.period",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:institutionskennzeichen.assigner",
        "path": "Condition.asserter.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer",
        "path": "Condition.asserter.identifier",
        "sliceName": "Zahnarztnummer",
        "short": "Zahnarztnummer (ZANR)",
        "definition": "For the identification of dentists the ZANR is used. This number is assigned by the regional KZV. There are 18 NamingSystems using the pattern \"http://fhir.de/NamingSystem/kzv/XX/zahnarztnummer\". \"XX\" refers to the official list of KZVen."
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.id",
        "path": "Condition.asserter.identifier.id",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.use",
        "path": "Condition.asserter.identifier.use",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.type",
        "path": "Condition.asserter.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.system",
        "path": "Condition.asserter.identifier.system",
        "min": 1,
        "patternUri": "http://fhir.de/NamingSystem/kzv/XX/zahnarztnummer"
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.value",
        "path": "Condition.asserter.identifier.value",
        "min": 1
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.period",
        "path": "Condition.asserter.identifier.period",
        "max": "0"
      },
      {
        "id": "Condition.asserter.identifier:Zahnarztnummer.assigner",
        "path": "Condition.asserter.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Condition.stage",
        "path": "Condition.stage",
        "max": "0"
      },
      {
        "id": "Condition.evidence",
        "path": "Condition.evidence",
        "max": "0"
      },
      {
        "id": "Condition.note",
        "path": "Condition.note",
        "max": "0"
      }
    ]
  }
}