{
  "resourceType": "StructureDefinition",
  "id": "cls-snomed-pack-years",
  "url": "http://somewhere.org/fhir/uv/myig/StructureDefinition/cls-snomed-pack-years",
  "version": "0.2.0",
  "name": "CLS_SNOMED_PackYears",
  "title": "CLS SNOMED Pack Years",
  "status": "active",
  "date": "2023-03-09T12:00:30.596245+00:00",
  "description": "Dieses abstrakte Profil beschreibt die Kategorie 'Packungsjahre'.",
  "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.category",
        "path": "Observation.category",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.code"
            }
          ],
          "description": "Slice based on the coding.code & coding.system to allow multiple classifications of data elements.",
          "ordered": true,
          "rules": "openAtEnd"
        },
        "min": 5,
        "mustSupport": true
      },
      {
        "id": "Observation.category:SocialHistory",
        "path": "Observation.category",
        "sliceName": "SocialHistory",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:SocialHistory.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:SocialHistory.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category"
      },
      {
        "id": "Observation.category:SocialHistory.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "social-history"
      },
      {
        "id": "Observation.category:SNOMEDCTConcept",
        "path": "Observation.category",
        "sliceName": "SNOMEDCTConcept",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:SNOMEDCTConcept.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:SNOMEDCTConcept.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:SNOMEDCTConcept.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "138875005"
      },
      {
        "id": "Observation.category:StagingAndScales",
        "path": "Observation.category",
        "sliceName": "StagingAndScales",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:StagingAndScales.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:StagingAndScales.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:StagingAndScales.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "254291000"
      },
      {
        "id": "Observation.category:AssessmentScales",
        "path": "Observation.category",
        "sliceName": "AssessmentScales",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:AssessmentScales.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:AssessmentScales.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:AssessmentScales.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "273249006"
      },
      {
        "id": "Observation.category:PackYears",
        "path": "Observation.category",
        "sliceName": "PackYears",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:PackYears.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:PackYears.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:PackYears.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "315609007"
      }
    ]
  }
}