def get_table_fields()

in functions/source/job-creation/job_creation.py [0:0]


def get_table_fields():
    """
    This function defines the fields presented on the front end table.
    """
    fields = [
        ('name_first', 'Given name(s)'),
        ('name_last', 'Surname'),
        ('birth_date_id', 'Birthdate'),
        ('bc_phn', 'PHN'),
        ('mrn', 'MRN'),
        ('encntr_num', 'Encounter #'),
        ('organism', 'Organism'),
        ('nursing_unit_short_desc', 'Nursing unit'),
        ('beg_effective_dt_tm',
            'Icu admission dt-tm (at collection or before)'),
        ('end_effective_dt_tm',
            'Icu discharge dt-tm (at collection or before)'),
        ('facility_name_src', 'Facility at collection'),
        ('collection_dt_tm', 'Collection dt-tm'),
        ('encntr_type_desc_src_at_collection', 'Encounter type at collection'),
        ('admit_dt_tm', 'Current encounter admit dt-tm'),
        ('disch_dt_tm', 'Current encounter disch dt-tm'),
        ('disch_disp_desc_src', 'Discharge disposition'),
        ('clinical_event_code_desc_src', 'Lab test'),
        ('lab_result', 'Lab result'),
        ('loc_room_desc_src_at_collection', 'Room at collection'),
        ('loc_bed_desc_src_at_collection', 'Bed at collection'),
        ('med_service_desc_src_at_collection',
            'Medical service at collection'),
        ('nursing_unit_desc_at_collection', 'Nursing unit at collection'),
        ('nursing_unit_short_desc_at_collection',
            'Same as nursing unit at collection in short form'),
        ('result_interpretation_desc_src', 'Result interpretation'),
        ('specimen_type_desc_src', 'Speciment type'),
        ('doc_set_name_result', 'Doc_set_name_result'),
        ('first_activity_start_dt_tm', 'Date of catheter insertion'),
        ('last_activity_end_dt_tm', 'Date of catheter removal'),
        ('first_catheter_type_result', 'Catheter type'),
        ('first_dressing_type_result', 'Dressing type'),
        ('first_site_result', 'Body site of catheter insertion'),
        ('line_tube_drain_insertion_seq',
            'Line tube drain insersion sequence'),
    ]

    return fields