In many countries including the USA and Canada, the criteria for involuntary admission vary with local jurisdiction. Democritus explained that he was attempting to discover the cause of madness and melancholy. Pinel ordering the removal of chains from patients at the Paris Asylum for insane women. All asylums were required to have written regulations and to have a resident qualified physician. Hippocrates praised his work. Please help improve this article by adding citations to reliable sources. In England, the Lunacy Act was an important landmark in the treatment of the mentally ill, as it explicitly changed the status of mentally ill people to patients who required treatment. Standards of inpatient care remain a challenge in some public and private facilities, due to levels of funding, and facilities in developing countries are typically grossly inadequate for the same reason. Therefore, the diagnostic procedure may vary greatly based upon these factors. Today in most countries, people receiving psychiatric treatment are more likely to be seen as outpatients. The frequency with which a psychiatrist sees people in treatment varies widely, from once a week to twice a year, depending on the type, severity and stability of each person's condition, and depending on what the clinician and patient decide would be best. If a person receiving treatment in a psychiatric hospital is assessed as at particular risk of harming themselves or others, they may be put on constant or intermittent one-to-one supervision, and may be put in physical restraints or medicated. Mental health laws vary significantly among jurisdictions, but in many cases, involuntary psychiatric treatment is permitted when there is deemed to be a risk to the patient or others due to the patient's illness. Typically, though, a psychiatric diagnosis utilizes a differential diagnosis procedure where a mental status examination and physical examination is conducted, with pathological , psychopathological or psychosocial histories obtained, and sometimes neuroimages or other neurophysiological measurements are taken, or personality tests or cognitive tests administered.