1function toggleWriteability(id_of_patient, checked) {
2    document.getElementById(id_of_patient).disabled = checked;
3}
4
5// vim: et sw=4 sts=4
6