{
  "resourceType": "StructureDefinition",
  "id": "CASIDE-SurvivorAllergy",
  "meta": {
    "lastUpdated": "2021-07-16T08:24:39.675+00:00"
  },
  "url": "http://gradiant.org/fhir/StructureDefinition/CASIDESurvivorAllergy",
  "version": "1.0",
  "name": "CASIDESurvivorAllergy",
  "title": "Survivor Allergy Profile",
  "status": "draft",
  "publisher": "GRADIANT",
  "contact": [
    {
      "name": "GRADIANT",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.gradiant.org/",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Allergies or intolerances suffered by the cancer survivor.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct"
            }
          ]
        }
      },
      {
        "id": "AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://gradiant.org/fhir/StructureDefinition/CASIDECancerSurvivor"
            ]
          }
        ]
      }
    ]
  }
}