def mk_falls_description(data_id, data):  # measurement group 8
    """
    transforms a h-falls-description.json form into the triples used by insertMeasurementGroup to
       store each measurement that is in the form
    :param data_id: unique id from the json form
    :param data: data array from the json form
    :return: The list of (typeid,valType,value) triples that are used by insertMeasurementGroup to add the measurements
    """
    return [(220, 2, data_id),
            (48, 7, data['fallint']),
            (49, 2, data['falldesc']),
            (50, 2, data['fallinjury'])]