{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Diagnostic_Report_Life_Style_Factor",
  "version": "1.0.0",
  "name": "KBV_PR_MIO_PS_Diagnostic_Report_Life_Style_Factor",
  "status": "draft",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "Dieses Profil bündelt sämtliche Lebensstilfaktoren.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "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"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.meta",
        "path": "DiagnosticReport.meta",
        "min": 1
      },
      {
        "id": "DiagnosticReport.meta.versionId",
        "path": "DiagnosticReport.meta.versionId",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.lastUpdated",
        "path": "DiagnosticReport.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.source",
        "path": "DiagnosticReport.meta.source",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.profile",
        "path": "DiagnosticReport.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Diagnostic_Report_Life_Style_Factor|1.0.0"
      },
      {
        "id": "DiagnosticReport.meta.security",
        "path": "DiagnosticReport.meta.security",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.tag",
        "path": "DiagnosticReport.meta.tag",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.implicitRules",
        "path": "DiagnosticReport.implicitRules",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.language",
        "path": "DiagnosticReport.language",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.contained",
        "path": "DiagnosticReport.contained",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.identifier",
        "path": "DiagnosticReport.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.status",
        "path": "DiagnosticReport.status",
        "fixedCode": "final"
      },
      {
        "id": "DiagnosticReport.category",
        "path": "DiagnosticReport.category",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.code",
        "path": "DiagnosticReport.code",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding",
        "path": "DiagnosticReport.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.system",
        "path": "DiagnosticReport.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "DiagnosticReport.code.coding.version",
        "path": "DiagnosticReport.code.coding.version",
        "min": 1,
        "fixedString": "http://snomed.info/sct/900000000000207008/version/20210131"
      },
      {
        "id": "DiagnosticReport.code.coding.code",
        "path": "DiagnosticReport.code.coding.code",
        "min": 1,
        "fixedCode": "228272008"
      },
      {
        "id": "DiagnosticReport.code.coding.display",
        "path": "DiagnosticReport.code.coding.display",
        "min": 1,
        "patternString": "Health-related behavior (observable entity)"
      },
      {
        "id": "DiagnosticReport.code.coding.display.extension",
        "path": "DiagnosticReport.code.coding.display.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DiagnosticReport.code.coding.display.extension:anzeigenameCode",
        "path": "DiagnosticReport.code.coding.display.extension",
        "sliceName": "anzeigenameCode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.display.extension:anzeigenameCode.extension",
        "path": "DiagnosticReport.code.coding.display.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DiagnosticReport.code.coding.display.extension:anzeigenameCode.extension:content",
        "path": "DiagnosticReport.code.coding.display.extension.extension",
        "sliceName": "content",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.display.extension:anzeigenameCode.extension:content.value[x]",
        "path": "DiagnosticReport.code.coding.display.extension.extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.display.extension:anzeigenameCode.extension:content.value[x]:valueString",
        "path": "DiagnosticReport.code.coding.display.extension.extension.valueString",
        "sliceName": "valueString",
        "fixedString": "Lebensstilfaktoren",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.userSelected",
        "path": "DiagnosticReport.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.code.text",
        "path": "DiagnosticReport.code.text",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Patient|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject.reference",
        "path": "DiagnosticReport.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject.type",
        "path": "DiagnosticReport.subject.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.identifier",
        "path": "DiagnosticReport.subject.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.display",
        "path": "DiagnosticReport.subject.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.encounter",
        "path": "DiagnosticReport.encounter",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.effective[x]",
        "path": "DiagnosticReport.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.effective[x]:effectiveDateTime",
        "path": "DiagnosticReport.effective[x]",
        "sliceName": "effectiveDateTime",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.issued",
        "path": "DiagnosticReport.issued",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Practitioner|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Organization|1.0.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Practitioner_Role|1.0.0"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.performer.reference",
        "path": "DiagnosticReport.performer.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer.type",
        "path": "DiagnosticReport.performer.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.performer.identifier",
        "path": "DiagnosticReport.performer.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.performer.display",
        "path": "DiagnosticReport.performer.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.resultsInterpreter",
        "path": "DiagnosticReport.resultsInterpreter",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.specimen",
        "path": "DiagnosticReport.specimen",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_PS_Observation_Life_Style_Factor_Free|1.0.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result.reference",
        "path": "DiagnosticReport.result.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result.type",
        "path": "DiagnosticReport.result.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result.identifier",
        "path": "DiagnosticReport.result.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result.display",
        "path": "DiagnosticReport.result.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.imagingStudy",
        "path": "DiagnosticReport.imagingStudy",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.media",
        "path": "DiagnosticReport.media",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusion",
        "path": "DiagnosticReport.conclusion",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusionCode",
        "path": "DiagnosticReport.conclusionCode",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.presentedForm",
        "path": "DiagnosticReport.presentedForm",
        "max": "0"
      }
    ]
  }
}