{
  "resourceType": "StructureDefinition",
  "id": "izi-pr-observation",
  "url": "http://example.org/StructureDefinition/izi-pr-observation",
  "name": "IZI_PR_Observation",
  "status": "draft",
  "description": "The base profile for the Observation resources within this package.",
  "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.identifier",
        "path": "Observation.identifier",
        "short": "Identifikator für diese Beobachtung",
        "definition": "Identifikator für diese Beobachtung (Observation)",
        "mustSupport": true
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "min": 1
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 3
      },
      {
        "id": "Observation.category.coding:loinc-observation",
        "path": "Observation.category.coding",
        "sliceName": "loinc-observation",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "26436-6",
          "system": "http://loinc.org"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding:observation-category",
        "path": "Observation.category.coding",
        "sliceName": "observation-category",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "laboratory",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding:loinc-microbiology-studies",
        "path": "Observation.category.coding",
        "sliceName": "loinc-microbiology-studies",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding:loinc-microbiology-studies.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "microbiology studies"
      },
      {
        "id": "Observation.category.coding:loinc-microbiology-studies.display",
        "path": "Observation.category.coding.display",
        "fixedString": "Microbiology studies"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://www.medizininformatik-initiative.de/fhir/modul-mikrobio/ValueSet/mii-vs-mikrobio-qualitative-labor-ergebnisse-snomed"
        }
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "http://hl7.org/fhir/StructureDefinition/MolecularSequence"
            ]
          }
        ]
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference",
              "http://hl7.org/fhir/StructureDefinition/Media",
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "http://hl7.org/fhir/StructureDefinition/MolecularSequence"
            ]
          }
        ]
      }
    ]
  }
}