Skip to main content

childadverseevent

Table: childadverseevent

The childadverseevent table records adverse events experienced by children following vaccination.
It captures medical, hospitalization, and outcome details, along with audit information for tracking.


Columns

Column NameData TypeConstraintsDescription
childAdverseEventIdint(11)NOT NULL, AUTO_INCREMENTUnique identifier for each adverse event record
createdDatedatetimeNULLTimestamp when the record was created
lastEditedDatedatetimeNULLTimestamp when the record was last edited
childIdint(11)NULLReferences the child who experienced the adverse event
hospitalNamevarchar(255)NULLName of the hospital where child was treated
immunizationDatedatetimeNULLDate when vaccination was administered
isHospitalizedtinyint(1)NULLFlag indicating if the child was hospitalized (1 = yes, 0 = no)
issueTypevarchar(255)NULLType of adverse event or medical issue
vaccinationCenterIdint(11)NULLIdentifier of the vaccination center
vaccinatorIdint(11)NULLVaccinator responsible for the vaccination
visitDatedatetimeNULLDate of hospital or clinic visit related to the adverse event
createdByUserIdint(11)NULLUser who created the record
lastEditedByUserIdint(11)NULLUser who last edited the record
deathAutopsyvarchar(255)NULLDetails of autopsy in case of child death
deathDatedatetimeNULLDate of death, if applicable
hospitalAddressvarchar(255)NULLAddress of the hospital
onSetSymptomDatedatetimeNULLDate when symptoms began
outcomevarchar(255)NULLOutcome of the adverse event (recovered, deceased, ongoing, etc.)
symptomsvarchar(255)NULLSymptoms observed in the child

Indexes

  1. PRIMARY - Primary key on childAdverseEventId
  2. childadverseevent_childId_child_mappedId_FK - Index on childId
  3. childadverseevent_vaccinatorId_vaccinator_mappedId_FK - Index on vaccinatorId
  4. inheritor_createdByUserId_user_mappedId_FK - Index on createdByUserId
  5. inheritor_lastEditedByUserId_user_mappedId_FK - Index on lastEditedByUserId

Foreign Key Relations

  1. childadverseevent_childId_child_mappedId_FK

    • childIdchild.mappedId
    • Links the adverse event to the child
  2. childadverseevent_vaccinatorId_vaccinator_mappedId_FK

    • vaccinatorIdvaccinator.mappedId
    • Links to the vaccinator responsible
  3. inheritor_createdByUserId_user_mappedId_FK

    • createdByUserIduser.mappedId
    • Tracks who created the record
  4. inheritor_lastEditedByUserId_user_mappedId_FK

    • lastEditedByUserIduser.mappedId
    • Tracks who last edited the record

Usage Notes

  • Tracks adverse events post-vaccination for monitoring and reporting.
  • isHospitalized, hospitalName, and hospitalAddress capture hospitalization details.
  • deathAutopsy and deathDate document mortality cases if any occur.
  • Audit fields (createdByUserId, lastEditedByUserId, createdDate, lastEditedDate) maintain history.
  • Foreign keys ensure referential integrity with child, vaccinator, and user tables.