{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/MyAllergyIntolerance",
  "name": "MyAllergyIntolerance",
  "status": "draft",
  "contact": [
    {
      "name": "zahra"
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance.extension",
        "path": "AllergyIntolerance.extension",
        "code": [
          {
            "system": "http://loinc.org"
          }
        ],
        "min": 2
      },
      {
        "id": "AllergyIntolerance.extension:ZahraExtensionTest",
        "path": "AllergyIntolerance.extension",
        "sliceName": "ZahraExtensionTest",
        "min": 2,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/openEHR-test"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "AllergyIntolerance.category",
        "path": "AllergyIntolerance.category",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.recordedDate",
        "path": "AllergyIntolerance.recordedDate",
        "min": 1
      },
      {
        "id": "AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction",
        "min": 1,
        "max": "1"
      }
    ]
  }
}