Evidence of a writing made as a record of a birth, fetal death, death, or marriage is not made inadmissible by the hearsay rule if the maker was required by law to file the writing in a designated public office and the writing was made and filed as required by law.