{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.healthbc.org/StructureDefinition/ca-bc-careconnect-adverse-event",
  "version": "1.0",
  "name": "ca-bc-careconnect-adverse-event",
  "status": "active",
  "date": "2021-07-23",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AdverseEvent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AdverseEvent",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AdverseEvent.id",
        "path": "AdverseEvent.id",
        "min": 1
      },
      {
        "id": "AdverseEvent.extension",
        "path": "AdverseEvent.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "AdverseEvent.extension:suspectEntity",
        "path": "AdverseEvent.extension",
        "sliceName": "suspectEntity",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir.healthbc.org/StructureDefinition/ca-bc-careconnect-suspect-entity-extension"
          }
        ]
      },
      {
        "id": "AdverseEvent.extension:recordedDate",
        "path": "AdverseEvent.extension",
        "sliceName": "recordedDate",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir.healthbc.org/StructureDefinition/ca-bc-careconnect-adverseEvent-recorded-date-extension"
          }
        ]
      },
      {
        "id": "AdverseEvent.extension:reviewStatus",
        "path": "AdverseEvent.extension",
        "sliceName": "reviewStatus",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir.healthbc.org/StructureDefinition/ca-bc-careconnect-review-status-extension"
          }
        ]
      },
      {
        "id": "AdverseEvent.extension:recommendation",
        "path": "AdverseEvent.extension",
        "sliceName": "recommendation",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir.healthbc.org/StructureDefinition/ca-bc-careconnect-recommendation-extension"
          }
        ]
      },
      {
        "id": "AdverseEvent.identifier",
        "path": "AdverseEvent.identifier",
        "max": "0"
      },
      {
        "id": "AdverseEvent.category",
        "path": "AdverseEvent.category",
        "max": "0"
      },
      {
        "id": "AdverseEvent.type",
        "path": "AdverseEvent.type",
        "max": "0"
      },
      {
        "id": "AdverseEvent.subject",
        "path": "AdverseEvent.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "AdverseEvent.subject.id",
        "path": "AdverseEvent.subject.id",
        "max": "0"
      },
      {
        "id": "AdverseEvent.subject.identifier",
        "path": "AdverseEvent.subject.identifier",
        "max": "0"
      },
      {
        "id": "AdverseEvent.subject.display",
        "path": "AdverseEvent.subject.display",
        "max": "0"
      },
      {
        "id": "AdverseEvent.date",
        "path": "AdverseEvent.date",
        "max": "0"
      },
      {
        "id": "AdverseEvent.reaction",
        "path": "AdverseEvent.reaction",
        "max": "0"
      },
      {
        "id": "AdverseEvent.location",
        "path": "AdverseEvent.location",
        "max": "0"
      },
      {
        "id": "AdverseEvent.seriousness",
        "path": "AdverseEvent.seriousness",
        "max": "0"
      },
      {
        "id": "AdverseEvent.outcome",
        "path": "AdverseEvent.outcome",
        "max": "0"
      },
      {
        "id": "AdverseEvent.recorder",
        "path": "AdverseEvent.recorder",
        "max": "0"
      },
      {
        "id": "AdverseEvent.eventParticipant",
        "path": "AdverseEvent.eventParticipant",
        "max": "0"
      },
      {
        "id": "AdverseEvent.description",
        "path": "AdverseEvent.description",
        "max": "0"
      },
      {
        "id": "AdverseEvent.suspectEntity",
        "path": "AdverseEvent.suspectEntity",
        "max": "0"
      },
      {
        "id": "AdverseEvent.subjectMedicalHistory",
        "path": "AdverseEvent.subjectMedicalHistory",
        "max": "0"
      },
      {
        "id": "AdverseEvent.referenceDocument",
        "path": "AdverseEvent.referenceDocument",
        "max": "0"
      },
      {
        "id": "AdverseEvent.study",
        "path": "AdverseEvent.study",
        "max": "0"
      }
    ]
  }
}