Skip to main content

coldchainmanagement

Table: coldchainmanagement

The coldchainmanagement table tracks cold chain equipment and its status at vaccination centers.
It is used for inventory management, monitoring equipment functionality, and auditing cold chain operations.


Columns

Column NameData TypeConstraintsDescription
coldChainManagementIdint(11)NOT NULL, AUTO_INCREMENTUnique identifier for each cold chain record
brandOthervarchar(255)NULLBrand name if not listed in predefined options
createdDatedatetimeNULLTimestamp when the record was created
equipmentIdint(11)NOT NULLReferences the equipment used in cold chain management
equipmentTypeIdint(11)NOT NULLType of the equipment
fridgeTagvarchar(255)NULLIdentification tag of the fridge or equipment
lastEditedDatedatetimeNULLTimestamp of the last modification
mappedIdint(11)NULLReference ID from id mapping system
modelNoOthervarchar(255)NULLModel number if not listed in predefined options
quantityint(11)NULLNumber of units of the equipment
reasonOfStatusvarchar(255)NULLExplanation for current equipment status
recordMonthdatetimeNULLMonth of record entry
statusvarchar(20)NULLCurrent status of equipment (e.g., working, broken)
vaccinationCenterIdint(11)NOT NULLVaccination center where the equipment is located
voidedtinyint(1)NULLFlag for soft deletion (1 = voided, 0 = active)
voidedDatedatetimeNULLDate when the record was voided
voidedReasonvarchar(255)NULLReason for voiding the record
createdByUserIdint(11)NULLUser who created the record
lastEditedByUserIdint(11)NULLUser who last edited the record

Indexes

  1. PRIMARY - Primary key on coldChainManagementId
  2. ccm_equipment_fk - Index on equipmentId
  3. ccm_mappedId_pk_fk - Index on mappedId
  4. vaccinationCenter_ccm_fk - Index on vaccinationCenterId

Foreign Key Relations

  1. ccm_equipment_fk

    • equipmentIdequipment.equipmentId
    • Links the record to the specific equipment
  2. ccm_mappedId_pk_fk

    • mappedIdidmapper.mappedId
    • Reference to ID mapping system
  3. vaccinationCenter_ccm_fk

    • vaccinationCenterIdvaccinationcenter.mappedId
    • Associates the record with the vaccination center

Usage Notes

  • Tracks cold chain equipment for inventory, maintenance, and compliance purposes.

  • status and reasonOfStatus indicate operational condition and issues.

  • Soft deletion is handled via voided, voidedDate, and voidedReason.

  • Audit fields (createdByUserId, lastEditedByUserId, createdDate, lastEditedDate) maintain history.

  • Ensures referential integrity with equipment, idmapper, and vaccinationcenter tables.