{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.de/StructureDefinition/allergyintolerance-de-basis/0.2",
  "version": "0.2",
  "name": "allergyintolerance-de-basis-0.2",
  "title": "AllergyIntolerance, deutsches Basisprofil (Version 0.2)",
  "status": "draft",
  "date": "2018-06-05",
  "publisher": "HL7 Deutschland e.V. (Technisches Komitee FHIR)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.de/technische-komitees/fhir/"
        }
      ]
    }
  ],
  "description": "Basisprofil für die Verwendung der AllergyIntolerance Ressource in Deutschland",
  "copyright": "HL7 Deutschland e.V.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.de/StructureDefinition/patient-de-basis/0.2"
          }
        ]
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atc",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "sliceName": "atc",
        "short": "ATC-Code"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atc.system",
        "path": "AllergyIntolerance.reaction.substance.coding.system",
        "min": 1,
        "fixedUri": "http://www.whocc.no/atc"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:atc.code",
        "path": "AllergyIntolerance.reaction.substance.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:edqm",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "sliceName": "edqm"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:edqm.system",
        "path": "AllergyIntolerance.reaction.substance.coding.system",
        "min": 1,
        "fixedUri": "urn:oid:0.4.0.127.0.16.1.1.2.1"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:edqm.code",
        "path": "AllergyIntolerance.reaction.substance.coding.code",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pzn",
        "path": "AllergyIntolerance.reaction.substance.coding",
        "sliceName": "pzn",
        "binding": {
          "strength": "required",
          "valueSetUri": "http://fhir.de/ValueSet/ifa/pzn"
        }
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pzn.system",
        "path": "AllergyIntolerance.reaction.substance.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.de/CodeSystem/ifa/pzn"
      },
      {
        "id": "AllergyIntolerance.reaction.substance.coding:pzn.code",
        "path": "AllergyIntolerance.reaction.substance.coding.code",
        "min": 1
      }
    ]
  }
}