{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/allergyintolerance",
  "name": "MyAllergyIntolerance",
  "status": "draft",
  "date": "2018-01-15T14:25:42.252+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "AllergyIntolerance",
        "path": "AllergyIntolerance",
        "short": "Allergy or Intolerance (generally: Risk Of Adverse reaction to a substance)",
        "definition": "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.",
        "alias": [
          "Allergy",
          "Intolerance",
          "Adverse Reaction"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "AllergyIntolerance",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "DomainResource"
          }
        ],
        "mapping": [
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.clinicalStatus",
        "path": "AllergyIntolerance.clinicalStatus",
        "min": 1
      }
    ]
  }
}