# Path: nacc/cv/forms.py
# def header_fields():
#     def __init__(self):
#     def __init__(self):
#     def __init__(self):
# class FormF1(nacc.uds3.FieldBag):
# class FormF2(nacc.uds3.FieldBag):
# class FormF3(nacc.uds3.FieldBag):
# 
# Path: nacc/uds3/packet.py
# class Packet(list):
#     def __init__(self):
#     def __getitem__(self, key):


import sys
import re
from nacc.cv import forms as cv_forms
from nacc.uds3 import packet as cv_packet
    add_f1(record, packet)
    add_f2(record, packet)
    add_f3(record, packet)
    update_header(record, packet)

    return packet


def add_f1(record, packet):
    F1 = cv_forms.FormF1()
    F1.C19TVIS  = record['C19TVIS'.lower()]
    F1.C19TPHON = record['C19TPHON'.lower()]
    F1.C19TTAB  = record['C19TTAB'.lower()]
    F1.C19TLAP  = record['C19TLAP'.lower()]
    F1.C19TCOMP = record['C19TCOMP'.lower()]
    F1.C19TOTH  = record['C19TOTH'.lower()]
    F1.C19TOTHX = record['C19TOTHX'.lower()]
    F1.C19TEMAI = record['C19TEMAI'.lower()]
    F1.C19TIPHN = record['C19TIPHN'.lower()]
    F1.C19TITAB = record['C19TITAB'.lower()]
    F1.C19TILAP = record['C19TILAP'.lower()]
    F1.C19TICOM = record['C19TICOM'.lower()]
    F1.C19TIWED = record['C19TIWED'.lower()]
    F1.C19TISHD = record['C19TISHD'.lower()]
    F1.C19TIOTH = record['C19TIOTH'.lower()]
    F1.C19TIOTX = record['C19TIOTX'.lower()]
    packet.append(F1)


def add_f2(record, packet):

# Path: nacc/cv/forms.py
# def header_fields():
#     def __init__(self):
#     def __init__(self):
#     def __init__(self):
# class FormF1(nacc.uds3.FieldBag):
# class FormF2(nacc.uds3.FieldBag):
# class FormF3(nacc.uds3.FieldBag):
# 
# Path: nacc/uds3/packet.py
# class Packet(list):
#     def __init__(self):
#     def __getitem__(self, key):


# Path: nacc/cv/builder.py
import sys
import re
from nacc.cv import forms as cv_forms
from nacc.uds3 import packet as cv_packet

    add_f1(record, packet)
    add_f2(record, packet)
    add_f3(record, packet)
    update_header(record, packet)

    return packet


def add_f1(record, packet):
    F1 = cv_forms.FormF1()
    F1.C19TVIS  = record['C19TVIS'.lower()]
    F1.C19TPHON = record['C19TPHON'.lower()]
    F1.C19TTAB  = record['C19TTAB'.lower()]
    F1.C19TLAP  = record['C19TLAP'.lower()]
    F1.C19TCOMP = record['C19TCOMP'.lower()]
    F1.C19TOTH  = record['C19TOTH'.lower()]
    F1.C19TOTHX = record['C19TOTHX'.lower()]
    F1.C19TEMAI = record['C19TEMAI'.lower()]
    F1.C19TIPHN = record['C19TIPHN'.lower()]
    F1.C19TITAB = record['C19TITAB'.lower()]
    F1.C19TILAP = record['C19TILAP'.lower()]
    F1.C19TICOM = record['C19TICOM'.lower()]
    F1.C19TIWED = record['C19TIWED'.lower()]
    F1.C19TISHD = record['C19TISHD'.lower()]
    F1.C19TIOTH = record['C19TIOTH'.lower()]
    F1.C19TIOTX = record['C19TIOTX'.lower()]
    packet.append(F1)


def add_f2(record, packet):

    F2 = cv_forms.FormF2()