def create_clinical_meta_file(
    study_identifier: str, alteration_type: str, datatype: str, filename: str
) -> dict:
    """Create cbio meta files

    Args:
        datatype (str): Can be SAMPLE_ATTRIBUTE or PATIENT_ATTRIBUTE
        study_identifier (str): A string used to uniquely identify this cancer
                                study within the database
        filename (str): cbioportal filename
        alteration_type (str): Alteration type

    Returns:
        dict: cBioPortal meta file
    """
    # datatype is SAMPLE_ATTRIBUTE or PATIENT_ATTRIBUTE
    meta_info = {
        "cancer_study_identifier": study_identifier,
        "genetic_alteration_type": alteration_type,
        "datatype": datatype,
        "data_filename": filename,
    }
    return meta_info