{
  "resourceType": "StructureDefinition",
  "url": "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/AllergySubstance",
  "version": "0.9",
  "name": "AllergySubstance",
  "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": "Refence from the AllergyIntolerance to the substance to which the patient reacts.",
  "copyright": "Forschungsgruppe Informatik im Gesundheitswesen, Fakultät Wirtschafts- und Sozialwissenschaften, Hochschule Osnabrück",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "AllergyIntolerance.reaction.substance"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hs-osnabrueck.de/fhir/eWundbericht/StructureDefinition/AllergySubstance"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Medication",
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ]
      }
    ]
  }
}