RfC447 - cannot delete sole patient case during registration process * consequence is patient cannot be found on registration search but also cannot be re-registered if it has an nhs number * can now only edit sole patient case, delete option only available for multiple patient cases
changed update patient method to prevent modification of patient with an NHS number if single_record_only mode selected (nhs number is unique col and can't be shared with another patient profile); new register_edit.t tests
applied same server-side validation to storage vialId as already done by ajax, factored out common regex to LLU; moved M::Ajax::check_storage_vialId() to M::Validation::has_storage_vialId(); applied check that patient entry exists to C::Patient::_check_nhs_number_usage() for PID change, but not implemented as creation of new patient works OK; alphabetically sorted lims_messages.pl dfv section
patched C::Patient::_personal_demographic_service() to supply flag for tt to skip PDS lookup for edits to anonymised patients (HIV, etc); combined some SessionStore methods into generic session_store_hashref() method