Data dictionary › OTP / methadone dispensing

MMT_DISPENSING_BOTTLE_ACTIONS

Single Population

File
data/MMT_DISPENSING_BOTTLE_ACTIONS.csv
Category
patient
Primary key
BOTTLE_ID, FILL_DATE, ACTION_DATE
Columns
18

01Relates to the patient

STOCK_ID + STOCK_LINE_NO matches MMT_STOCK_DEPLETIONS.STOCK_ID + MMT_STOCK_DEPLETIONS.STOCK_LINE_NO on a row of MMT_STOCK_DEPLETIONS that relates to the patient

Single-patient export: the patient's rows.

02References

03Columns

#ColumnTypeSource typeNullNotes
1BOTTLE_ID PKintegerintno
2FILL_DATE PKdatetimesmalldatetimeno
3ACTION_DATE PKdatetimedatetimeno
4OVERFILL_BOTTLE_IDintegerintyes
5ACTIONintegerintno
6ACTION_USER_IDstringvarchar(20)no
7BOTTLE_AMOUNTintegerintno
8PUMP_IDstringvarchar(20)yes
9STOCK_IDintegerintyes
10STOCK_LINE_NOintegerintyes
11OVERFILL_FILL_DATEdatetimesmalldatetimeyes
12COMMENTSstringvarchar(1000)yes
13RO_IDintegerintyes
14RO_LINE_NOintegerintyes
15SEND_OFFICE_LOCATIONstringvarchar(20)yes
16RECEIVE_OFFICE_LOCATIONstringvarchar(20)yes
17ORIG_ACTION_DATEdatetimedatetimeyes
18OFFICE_LOCATIONstringvarchar(20)yes