If a law or rule requires a health record to be in writing, or if a law or rule requires a signature pertaining to a health record, an electronic health record or an electronic signature satisfies that law or rule except where excluded by court rules.