{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-02-05T11:49:09.204+00:00"
  },
  "url": "StructureDefinition/MyAllergyIntolerance",
  "name": "MyAllergyIntolerance",
  "status": "draft",
  "date": "2018-01-30T15:04:49.534+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.extension",
        "path": "AllergyIntolerance.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AllergyIntolerance.extension:TimePointOrInstance",
        "path": "AllergyIntolerance.extension",
        "sliceName": "TimePointOrInstance",
        "label": "TimePointOrInstance",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "StructureDefinition/TimePointOrInstance"
          }
        ],
        "mustSupport": false
      },
      {
        "id": "AllergyIntolerance.extension:FormInstanceOrVisit",
        "path": "AllergyIntolerance.extension",
        "sliceName": "FormInstanceOrVisit",
        "short": "Optional Extensions Element",
        "definition": "Optional Extension Element - found in all resources.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "StructureDefinition/FormInstanceOrVisit"
          }
        ]
      }
    ]
  }
}