{
  "resourceType": "StructureDefinition",
  "url": "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/WoundExudate",
  "version": "0.9",
  "name": "WoundExudate",
  "status": "draft",
  "publisher": "Hochschule Osnabrück",
  "contact": [
    {
      "name": "Mareike Przysucha",
      "telecom": [
        {
          "system": "email",
          "value": "ewundbericht@hs-osnabrueck.de",
          "use": "work"
        },
        {
          "system": "phone",
          "value": "+49 541 969 3354",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This resource contains information about the wound exudate in quality and quantity.",
  "copyright": "Forschungsgruppe Informatik im Gesundheitswesen, Fakultät Wirtschafts- und Sozialwissenschaften, Hochschule Osnabrück",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://hl7.org/fhir/ValueSet/observation-category"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "exam"
      },
      {
        "id": "Observation.category.coding.display",
        "path": "Observation.category.coding.display",
        "fixedString": "Exam"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.code.coding:LOINC",
        "path": "Observation.code.coding",
        "sliceName": "LOINC",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding:LOINC.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:LOINC.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "89259-6"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/BodyStructure",
              "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/Wound"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code.coding"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "2"
      },
      {
        "id": "Observation.component:amountOfExudate",
        "path": "Observation.component",
        "sliceName": "amountOfExudate",
        "max": "1"
      },
      {
        "id": "Observation.component:amountOfExudate.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:amountOfExudate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:amountOfExudate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "39116-9"
      },
      {
        "id": "Observation.component:amountOfExudate.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Amount of Exudate / Exsudatmenge"
      },
      {
        "id": "Observation.component:amountOfExudate.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.component:amountOfExudate.value[x]:valueCodeableConcept",
        "path": "Observation.component.value[x]",
        "sliceName": "valueCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://hs-osnabrueck.de/fhir/eWundbericht/ValueSet/Exsudatmenge"
        }
      },
      {
        "id": "Observation.component:amountOfExudate.interpretation",
        "path": "Observation.component.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.component:amountOfExudate.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.component:colorOfExudate",
        "path": "Observation.component",
        "sliceName": "colorOfExudate",
        "max": "1"
      },
      {
        "id": "Observation.component:colorOfExudate.code",
        "path": "Observation.component.code",
        "mustSupport": true
      },
      {
        "id": "Observation.component:colorOfExudate.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:colorOfExudate.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "72289-2"
      },
      {
        "id": "Observation.component:colorOfExudate.code.coding.display",
        "path": "Observation.component.code.coding.display",
        "fixedString": "Quality of exudate / Exsudatbeschaffenheit"
      },
      {
        "id": "Observation.component:colorOfExudate.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.component:colorOfExudate.value[x]:valueCodeableConcept",
        "path": "Observation.component.value[x]",
        "sliceName": "valueCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://hs-osnabrueck.de/fhir/eWundbericht/ValueSet/Exsudatfarbe"
        }
      },
      {
        "id": "Observation.component:colorOfExudate.interpretation",
        "path": "Observation.component.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.component:colorOfExudate.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "0"
      }
    ]
  }
}