{
  "resourceType": "StructureDefinition",
  "id": "cde-tobacco-smoking-status",
  "url": "http://somewhere.org/fhir/uv/myig/StructureDefinition/cde-tobacco-smoking-status",
  "version": "0.2.0",
  "name": "CDE_TobaccoSmokingStatus",
  "title": "CDE Smoking Status",
  "status": "active",
  "date": "2023-03-09T12:00:30.596245+00:00",
  "description": "Dieses CDE enthält den 'Raucherstatus'.",
  "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://somewhere.org/fhir/uv/myig/StructureDefinition/cls-snomed-finding-of-tobacco-use-and-exposure",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "72166-2"
      },
      {
        "id": "Observation.code.text",
        "path": "Observation.code.text",
        "min": 1,
        "patternString": "Tobacco smoking status",
        "mustSupport": true
      },
      {
        "id": "Observation.valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "description": "Slice basiert auf component.code.coding.code #value",
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component.valueCodeableConcept",
        "path": "Observation.component.valueCodeableConcept",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://somewhere.org/fhir/uv/myig/ValueSet/vs-smoking-status"
        }
      },
      {
        "id": "Observation.component:smokesDaily",
        "path": "Observation.component",
        "sliceName": "smokesDaily",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:smokesDaily.code",
        "path": "Observation.component.code",
        "short": "Daily Smoker",
        "definition": "Current consumption of cigarettes, cigars, pipes or chewing tobacco; in case of daily or occasional smoking (≥ 1x/month).",
        "comment": "Zusätzliche Codes, die diesen Code übersetzen oder abbilden, sind erlaubt. Beispielsweise ein granularerer LOINC-Code oder Code, der lokal in einem System verwendet wird.",
        "alias": [
          "Alltagsraucher",
          "Smoker"
        ]
      },
      {
        "id": "Observation.component:smokesDaily.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:smokesDaily.code.coding:smokesDailySNOMEDCode",
        "path": "Observation.component.code.coding",
        "sliceName": "smokesDailySNOMEDCode",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:smokesDaily.code.coding:smokesDailySNOMEDCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:smokesDaily.code.coding:smokesDailySNOMEDCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "449868002"
      },
      {
        "id": "Observation.component:smokesDaily.code.coding:smokesDailyLOINCCode",
        "path": "Observation.component.code.coding",
        "sliceName": "smokesDailyLOINCCode",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.component:occasionalSmoker",
        "path": "Observation.component",
        "sliceName": "occasionalSmoker",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:occasionalSmoker.code",
        "path": "Observation.component.code",
        "short": "Occasional Tobacco Smoker",
        "definition": "Consumption of cigarettes, cigars, pipes or chewing tobacco; in case of less than 1x/month).",
        "comment": "Zusätzliche Codes, die diesen Code übersetzen oder abbilden, sind erlaubt. Beispielsweise ein granularerer LOINC-Code oder Code, der lokal in einem System verwendet wird.",
        "alias": [
          "Gelegenheitsraucher",
          "Occasional Smoker"
        ]
      },
      {
        "id": "Observation.component:occasionalSmoker.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:occasionalSmoker.code.coding:occasionalSmokerSNOMEDCode",
        "path": "Observation.component.code.coding",
        "sliceName": "occasionalSmokerSNOMEDCode",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:occasionalSmoker.code.coding:occasionalSmokerSNOMEDCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:occasionalSmoker.code.coding:occasionalSmokerSNOMEDCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "428041000124106"
      },
      {
        "id": "Observation.component:occasionalSmoker.code.coding:occasionalSmokerLOINCCode",
        "path": "Observation.component.code.coding",
        "sliceName": "occasionalSmokerLOINCCode",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.component:exSmoker",
        "path": "Observation.component",
        "sliceName": "exSmoker",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:exSmoker.code",
        "path": "Observation.component.code",
        "short": "Ex-Smoker",
        "definition": "Previous use of cigarettes, cigars, pipes or chewing tobacco; in case of daily or occasional smoking (≥ 1x/month); 'ex-smoker' in case of abstinence of more than 6 months.",
        "comment": "Zusätzliche Codes, die diesen Code übersetzen oder abbilden, sind erlaubt. Beispielsweise ein granularerer LOINC-Code oder Code, der lokal in einem System verwendet wird.",
        "alias": [
          "Former Raucher",
          "Ehemaliger Raucher"
        ]
      },
      {
        "id": "Observation.component:exSmoker.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:exSmoker.code.coding:exSmokerSNOMEDCode",
        "path": "Observation.component.code.coding",
        "sliceName": "exSmokerSNOMEDCode",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:exSmoker.code.coding:exSmokerSNOMEDCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:exSmoker.code.coding:exSmokerSNOMEDCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8517006"
      },
      {
        "id": "Observation.component:exSmoker.code.coding:exSmokerLOINCCode",
        "path": "Observation.component.code.coding",
        "sliceName": "exSmokerLOINCCode",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.component:exSmoker.code.coding:exSmokerLOINCCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:exSmoker.code.coding:exSmokerLOINCCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "LA15920-4"
      },
      {
        "id": "Observation.component:nonSmoker",
        "path": "Observation.component",
        "sliceName": "nonSmoker",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:nonSmoker.code",
        "path": "Observation.component.code",
        "short": "Non-Smoker",
        "definition": "Non-smoker",
        "comment": "Zusätzliche Codes, die diesen Code übersetzen oder abbilden, sind erlaubt. Beispielsweise ein granularerer LOINC-Code oder Code, der lokal in einem System verwendet wird.",
        "alias": [
          "Never smoker",
          "Nichtraucher"
        ]
      },
      {
        "id": "Observation.component:nonSmoker.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:nonSmoker.code.coding:nonSmokerSNOMEDCode",
        "path": "Observation.component.code.coding",
        "sliceName": "nonSmokerSNOMEDCode",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:nonSmoker.code.coding:nonSmokerSNOMEDCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:nonSmoker.code.coding:nonSmokerSNOMEDCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "8392000"
      },
      {
        "id": "Observation.component:nonSmoker.code.coding:nonSmokerLOINCCode",
        "path": "Observation.component.code.coding",
        "sliceName": "nonSmokerLOINCCode",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:nonSmoker.code.coding:nonSmokerLOINCCode.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:nonSmoker.code.coding:nonSmokerLOINCCode.code",
        "path": "Observation.component.code.coding.code",
        "min": 1,
        "fixedCode": "LA18978-9"
      }
    ]
  }
}