In any series of Star Trek using this technology, **how are new items--food-related or not--added to the replicator database for future replication**? Couldn't find anything on [StarTrek.com](http://www.startrek.com/database_article/replicator) or the [Wikipedia](https://en.wikipedia.org/wiki/Replicator_%28Star_Trek%29).

Is there an official procedure involving some sort of program where you name and describe what it is before adding a sample? Or is it more of a "here ya go" type of insertion? Can you only give a partial list of ingredients and tell the machine it needs certain extra things to be complete (give it beef, then specify it also needs a bun, lettuce, tomato, and Miracle Whip)?

If there are differences in procedure between generations, I'd like to know those as well.

Don't care about canonicity.