A code word is a word or a phrase designed to convey a predetermined meaning to an audience who know the phrase, while remaining inconspicuous to the uninitiated. For example, a public address system may be used to make an announcement asking for "Inspector Sands" to attend a particular area, which staff will recognise as a code word for a fire or bomb threat, and the general public will ignore.
Medical use
A doctor may refer to a suspected case of tuberculosis as "Koch's disease" in order to avoid alarming patients.
Some medical nicknames are derogatory, such as GOMER for "Get Out of My Emergency Room".
Code Pink in some hospitals can mean a missing baby, and the initiation of an all-staff response.
The euphemisms "Rose Cottage" and "Rainbow's End" are sometimes used in British hospitals to enable discussion of death in front of patients, the latter mainly for children. A similar phrase used is: "transferred to ward 13", as hospitals in the UK routinely do not have such a ward.
American hospitals may make an announcement regarding a "Mr. Strong", as code to alert orderlies that a patient or visitor at a stated location is in need of physical restraint.
Military and espionage use
are used for military and espionage purposes as labels for people, locations, objects, projects and plans the details of which are intended to remain secret to the uninitiated. For example, the code name of "Mogul" is used by the United States Secret Service to refer to the President of the United StatesDonald Trump. If an uninitiated person overheard the question "Have you seen Mogul?" asked by an agent of the United States Secret Service, the uninitiated person may be mislead into interpreting the question as "Have you seen Mogul—the biographical film of Gulshan Kumar?". For example, the code name of "Project-706" was used by Pakistan to refer to a project to develop Pakistan's first atomic bomb. In the event that a spy of another country obtained a document from Pakistan listing "Project-706" as an active project with no further detail provided, the spy would not know the purpose of the project. Alternatively, had the same document obtained referred to the project as "Project Atomic Bomb Development", the spy would be able to deduce the purpose of the project.
Other usages
In the United Kingdom, Inspector Sands is a code word to alert staff of an emergency situation such as a fire or an attack, without causing a mass panic. This code word was used in the Manchester Arena bombing and is used in the majority of British transport locations. The code word is usually used in the context: "Would Inspector Sands please report to the operations room immediately."
Some stores have special codes that allow one employee to inform another that a certain customer in the store needs to be watched because they are acting in a suspicious manner similar to the typical behavior of a shoplifter.
Movie theater employees may say, "Mr. Johnson is in theater number three" to indicate that there is a fire or smoke in that theater. Nightclubs and bars often use the name "Mr. Sands".
Many taxi drivers use radio codes like, "There's an oil spill at...", or "Cardboard boxes lying on the road...", to warn other drivers of a police speed detection unit. There are other codes to tell other drivers that a popular taxi rank is empty, or warn of drunk or obnoxious customers trying to hail a taxi. "There's a number eight at the railway station," might mean beware of a fare who looks likely to throw up in your taxi.
Schools will sometimes use codes during intercom announcements for situations that might distract students.
An informal code word is a term used without formal or prior agreement to communicate to a subset of listeners or readers predisposed to see its double meaning. Informal code words can find use in propaganda, distinct from use of euphemistic code words to delay or avoid emotional responses in the audience. They may be intended to be construed as generalized platitudes by the majority of listeners, but as quite specific promises by those for whom the specific wording was crafted.