Version 1 (modified by trac, 7 years ago) (diff)

copy from version 1.50

tblMED - Other medication

holds type, start and stop dates for other HIV related medicines.

Core fields

Note: Fields marked bold form the unique identifier for a record of the table.

Field name




character (or numeric if possible)

Code to identify patient (Cohort Patient ID)


character. see coding table for valid codings.

Code representing the treatment



Date of Initiation of Treatment



Date of stopping treatment

Additional fields

Please see tblART - Antiretroviral treatment.

QA Checks

Table Crosstable Error Code Description Study specific HICDEP?
AllTablesCrossTableATC001any date in database after DEATH_D in tblLTFUYES
AllTablesCrossTableATC002any date in database after DROP_D in tblLTFUYES
AllTablesCrossTableATC003any date in database before BIRTH_D in tblBASYES
AllTablesCrossTableATC004any date in database in the futureYES
AllTablesCrossTableATC005patients submitted previously who have been missed outYES
AllTablesCrossTableATC006Any fields not coded as coding lists on table definitionYES
tblMEDWithinTableMW001Duplicate recordsYES
tblMEDWithinTableMW002MED_ONG=0 and MED_ED null EPPICC NO
tblMEDWithinTableMW003MED_ONG=1 and MED_ED non-null EPPICC NO
tblMEDWithinTableMW004Missing MED_IDYES
tblMEDWithinTableMW005Missing MED_SDYES
tblMEDWithinTableMW006Misisng MED_EDYES
tblMEDWithinTableMW007Overlapping periods of same drugYES
tblMEDWithinTableMW008MED_ED < MED_SDYES
tblMEDWithinTableMW009MED_RS not null, but end date NULLYES
tblMEDCrossTableMC001Patient has no records in tblBASYES