{
  "resourceType": "StructureDefinition",
  "id": "cls-snomed-demographic-history-detail",
  "url": "http://somewhere.org/fhir/uv/myig/StructureDefinition/cls-snomed-demographic-history-detail",
  "version": "0.2.0",
  "name": "CLS_SNOMED_DemographicHistoryDetail",
  "title": "CLS SNOMED Demographic History Detail",
  "status": "draft",
  "date": "2023-03-09T12:00:30.596245+00:00",
  "description": "Dieses abstrakte Profil beschreibt die Kategorie 'Detail der demografischen Geschichte'.",
  "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": true,
  "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_RT_CTV3",
        "path": "Observation.category",
        "sliceName": "SNOMEDCTConcept_RT_CTV3",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:SNOMEDCTConcept_RT_CTV3.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:SNOMEDCTConcept_RT_CTV3.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:SNOMEDCTConcept_RT_CTV3.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "138875005"
      },
      {
        "id": "Observation.category:ObservableEntity",
        "path": "Observation.category",
        "sliceName": "ObservableEntity",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:ObservableEntity.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:ObservableEntity.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:ObservableEntity.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "363787002"
      },
      {
        "id": "Observation.category:SocialOrPersonalHistory",
        "path": "Observation.category",
        "sliceName": "SocialOrPersonalHistory",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:SocialOrPersonalHistory.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:SocialOrPersonalHistory.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:SocialOrPersonalHistory.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "160476009"
      },
      {
        "id": "Observation.category:DemographicHistoryDetail",
        "path": "Observation.category",
        "sliceName": "DemographicHistoryDetail",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category:DemographicHistoryDetail.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category:DemographicHistoryDetail.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.category:DemographicHistoryDetail.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "302147001"
      }
    ]
  }
}