### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/AdverseEvent.json
### ----------------------------------------------------
### -- Chunk 7 of 7
    {
      "id" : "AdverseEvent.suspectEntity.causality.productRelatedness",
      "path" : "AdverseEvent.suspectEntity.causality.productRelatedness",
      "short" : "AdverseEvent.suspectEntity.causalityProductRelatedness",
      "definition" : "AdverseEvent.suspectEntity.causalityProductRelatedness.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AdverseEvent.suspectEntity.causality.productRelatedness",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality.author",
      "path" : "AdverseEvent.suspectEntity.causality.author",
      "short" : "AdverseEvent.suspectEntity.causalityAuthor",
      "definition" : "AdverseEvent.suspectEntity.causalityAuthor.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AdverseEvent.suspectEntity.causality.author",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality.method",
      "path" : "AdverseEvent.suspectEntity.causality.method",
      "short" : "ProbabilityScale | Bayesian | Checklist",
      "definition" : "ProbabilityScale | Bayesian | Checklist.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "AdverseEvent.suspectEntity.causality.method",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventCausalityMethod"
        }],
        "strength" : "example",
        "description" : "TODO.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-causality-method"
      }
    },
    {
      "id" : "AdverseEvent.subjectMedicalHistory",
      "path" : "AdverseEvent.subjectMedicalHistory",
      "short" : "AdverseEvent.subjectMedicalHistory",
      "definition" : "AdverseEvent.subjectMedicalHistory.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AdverseEvent.subjectMedicalHistory",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
        "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
        "http://hl7.org/fhir/StructureDefinition/Immunization",
        "http://hl7.org/fhir/StructureDefinition/Procedure",
        "http://hl7.org/fhir/StructureDefinition/Media",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.referenceDocument",
      "path" : "AdverseEvent.referenceDocument",
      "short" : "AdverseEvent.referenceDocument",
      "definition" : "AdverseEvent.referenceDocument.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AdverseEvent.referenceDocument",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.study",
      "path" : "AdverseEvent.study",
      "short" : "AdverseEvent.study",
      "definition" : "AdverseEvent.study.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "AdverseEvent.study",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ResearchStudy"]
      }],
      "isModifier" : false,
      "isSummary" : true
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "AdverseEvent",
      "path" : "AdverseEvent",
      "short" : "Medical care, research study or other healthcare event causing physical injury",
      "definition" : "Actual or  potential/avoided event causing unintended physical injury resulting from or contributed to by medical care, a research study or other healthcare setting factors that requires additional monitoring, treatment, or hospitalization, or that results in death.",
      "alias" : ["AE"],
      "min" : 0,
      "max" : "*"
    },
    {
      "id" : "AdverseEvent.identifier",
      "path" : "AdverseEvent.identifier",
      "short" : "Business identifier for the event",
      "definition" : "Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "comment" : "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "requirements" : "Allows identification of the adverse event as it is known by various participating systems and in a way that remains consistent across servers.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.actuality",
      "path" : "AdverseEvent.actuality",
      "short" : "actual | potential",
      "definition" : "Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it has a potential code that indicates the adverse event did not actually happen.",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventActuality"
        }],
        "strength" : "required",
        "description" : "Overall nature of the adverse event, e.g. real or potential.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-actuality|4.0.0"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "AdverseEvent.category",
      "path" : "AdverseEvent.category",
      "short" : "product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment",
      "definition" : "The overall type of event, intended for search and filtering purposes.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventCategory"
        }],
        "strength" : "extensible",
        "description" : "Overall categorization of the event, e.g. product-related or situational.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-category"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "AdverseEvent.event",
      "path" : "AdverseEvent.event",
      "short" : "Type of the event itself in relation to the subject",
      "definition" : "This element defines the specific type of event that occurred or that was prevented from occurring.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventType"
        }],
        "strength" : "example",
        "description" : "Detailed type of event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      }]
    },
    {
      "id" : "AdverseEvent.subject",
      "path" : "AdverseEvent.subject",
      "short" : "Subject impacted by event",
      "definition" : "This subject or group impacted by the event.",
      "comment" : "If AdverseEvent.resultingCondition differs among members of the group, then use Patient as the subject.",
      "requirements" : "Allows for exposure of biohazard (such as legionella) to a group of individuals in a hospital.",
      "alias" : ["patient"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Group",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.who"
      }]
    },
    {
      "id" : "AdverseEvent.encounter",
      "path" : "AdverseEvent.encounter",
      "short" : "Encounter created as part of",
      "definition" : "The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.",
      "comment" : "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.  For example, if a medication administration was considered an adverse event because it resulted in a rash, then the encounter when the medication administration was given is the context.  If the patient reports the AdverseEvent during a second encounter, that second encounter is not the context.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.context"
      }]
    },
    {
      "id" : "AdverseEvent.date",
      "path" : "AdverseEvent.date",
      "short" : "When the event occurred",
      "definition" : "The date (and perhaps time) when the adverse event occurred.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.init"
      }]
    },
    {
      "id" : "AdverseEvent.detected",
      "path" : "AdverseEvent.detected",
      "short" : "When the event was detected",
      "definition" : "Estimated or actual date the AdverseEvent began, in the opinion of the reporter.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.recordedDate",
      "path" : "AdverseEvent.recordedDate",
      "short" : "When the event was recorded",
      "definition" : "The date on which the existence of the AdverseEvent was first recorded.",
      "comment" : "The recordedDate represents the date when this particular AdverseEvent record was created in the system, not the date of the most recent update.  The date of the last record modification can be retrieved from the resource metadata.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "AdverseEvent.resultingCondition",
      "path" : "AdverseEvent.resultingCondition",
      "short" : "Effect on the subject due to this event",
      "definition" : "Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.location",
      "path" : "AdverseEvent.location",
      "short" : "Location where adverse event occurred",
      "definition" : "The information about where the adverse event occurred.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.seriousness",
      "path" : "AdverseEvent.seriousness",
      "short" : "Seriousness of the event",
      "definition" : "Assessment whether this event was of real importance.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventSeriousness"
        }],
        "strength" : "example",
        "description" : "Overall seriousness of this event for the patient.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-seriousness"
      }
    },
    {
      "id" : "AdverseEvent.severity",
      "path" : "AdverseEvent.severity",
      "short" : "mild | moderate | severe",
      "definition" : "Describes the severity of the adverse event, in relation to the subject. Contrast to AdverseEvent.seriousness - a severe rash might not be serious, but a mild heart problem is.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventSeverity"
        }],
        "strength" : "required",
        "description" : "The severity of the adverse event itself, in direct relation to the subject.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-severity|4.0.0"
      }
    },
    {
      "id" : "AdverseEvent.outcome",
      "path" : "AdverseEvent.outcome",
      "short" : "resolved | recovering | ongoing | resolvedWithSequelae | fatal | unknown",
      "definition" : "Describes the type of outcome from the adverse event.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventOutcome"
        }],
        "strength" : "required",
        "description" : "TODO (and should this be required?).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-outcome|4.0.0"
      }
    },
    {
      "id" : "AdverseEvent.recorder",
      "path" : "AdverseEvent.recorder",
      "short" : "Who recorded the adverse event",
      "definition" : "Information on who recorded the adverse event.  May be the patient or a practitioner.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.author"
      }]
    },
    {
      "id" : "AdverseEvent.contributor",
      "path" : "AdverseEvent.contributor",
      "short" : "Who  was involved in the adverse event or the potential adverse event",
      "definition" : "Parties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities.  Such information includes information leading to the decision to perform the activity and how to perform the activity (e.g. consultant), information that the activity itself seeks to reveal (e.g. informant of clinical history), or information about what activity was performed (e.g. informant witness).",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity",
      "path" : "AdverseEvent.suspectEntity",
      "short" : "The suspected agent causing the adverse event",
      "definition" : "Describes the entity that is suspected to have caused the adverse event.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.instance",
      "path" : "AdverseEvent.suspectEntity.instance",
      "short" : "Refers to the specific entity that caused the adverse event",
      "definition" : "Identifies the actual instance of what caused the adverse event.  May be a substance, medication, medication administration, medication statement or a device.",
      "alias" : ["Substance or Medication or Device"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Immunization",
        "http://hl7.org/fhir/StructureDefinition/Procedure",
        "http://hl7.org/fhir/StructureDefinition/Substance",
        "http://hl7.org/fhir/StructureDefinition/Medication",
        "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
        "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality",
      "path" : "AdverseEvent.suspectEntity.causality",
      "short" : "Information on the possible cause of the event",
      "definition" : "Information on the possible cause of the event.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality.assessment",
      "path" : "AdverseEvent.suspectEntity.causality.assessment",
      "short" : "Assessment of if the entity caused the event",
      "definition" : "Assessment of if the entity caused the event.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventCausalityAssessment"
        }],
        "strength" : "example",
        "description" : "Codes for the assessment of whether the entity caused the event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-causality-assess"
      }
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality.productRelatedness",
      "path" : "AdverseEvent.suspectEntity.causality.productRelatedness",
      "short" : "AdverseEvent.suspectEntity.causalityProductRelatedness",
      "definition" : "AdverseEvent.suspectEntity.causalityProductRelatedness.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality.author",
      "path" : "AdverseEvent.suspectEntity.causality.author",
      "short" : "AdverseEvent.suspectEntity.causalityAuthor",
      "definition" : "AdverseEvent.suspectEntity.causalityAuthor.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.suspectEntity.causality.method",
      "path" : "AdverseEvent.suspectEntity.causality.method",
      "short" : "ProbabilityScale | Bayesian | Checklist",
      "definition" : "ProbabilityScale | Bayesian | Checklist.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdverseEventCausalityMethod"
        }],
        "strength" : "example",
        "description" : "TODO.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adverse-event-causality-method"
      }
    },
    {
      "id" : "AdverseEvent.subjectMedicalHistory",
      "path" : "AdverseEvent.subjectMedicalHistory",
      "short" : "AdverseEvent.subjectMedicalHistory",
      "definition" : "AdverseEvent.subjectMedicalHistory.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
        "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
        "http://hl7.org/fhir/StructureDefinition/Immunization",
        "http://hl7.org/fhir/StructureDefinition/Procedure",
        "http://hl7.org/fhir/StructureDefinition/Media",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.referenceDocument",
      "path" : "AdverseEvent.referenceDocument",
      "short" : "AdverseEvent.referenceDocument",
      "definition" : "AdverseEvent.referenceDocument.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "isSummary" : true
    },
    {
      "id" : "AdverseEvent.study",
      "path" : "AdverseEvent.study",
      "short" : "AdverseEvent.study",
      "definition" : "AdverseEvent.study.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ResearchStudy"]
      }],
      "isSummary" : true
    }]
  }
}


