A PHI guideline is what the label says about one product on one crop: how many days must pass between the application and the harvest, and how many hours before people may go back into the block. You enter it once. When you add that product to an application on that crop, Intecrop fills the intervals in from your list, so nobody has to look them up again.
Your list belongs to your farm. Another farm's guidelines are not yours, even for the same product on the same crop.
Add a guideline
Open Chemicals in the menu, choose PHI Guidelines and press New.
On a phone the buttons at the top are hidden. Use the round + button at the bottom right instead: it offers New guideline, Export JSON, Import JSON, and the delete under Delete many at once below. The pencil on each row is there on a phone too; the bin needs a wider screen.

- Tradename — the product: type its name to find it. The list holds the products Intecrop knows; if yours is not there, see Where products come from.
- Crop — only the crops on your farm are offered. If yours is missing, add it under Cultivars first.
- For non-bearing plantings only — tick it when the label allows the product only on blocks that do not bear yet. It comes first because it limits where the product may go at all.
- PHI (days) — the days from the application to the harvest.
0means the crop may be harvested the same day: it is not the same as empty. Leave it empty only when the label gives no days for this crop, and then say why in the comment, or tick For non-bearing plantings only. The most it takes is 366 days. - PHI (comment) — anything the label adds, in your own words.
- Re-entry interval (hrs) — the hours before anyone may go back into the
block. It starts at 24, because that is what most labels give; change it
to what yours says.
0means at once. Leave it empty if the label gives only a note and no hours. The most it takes is 168 hours, a week. - Re-entry interval (comment) — for that note, or anything else the label says about going back in.
The same fields, in the same order, are on an instruction's PHI card, where you set the PHI for each crop the product goes on.
Press Save. The guideline joins the list.

One guideline per product per crop. If you enter a second one for the same product and crop, the form refuses it with has already been specified for this crop. Change the one you have instead: the pencil on its row opens it.
Change or remove one
The pencil on a row opens the same form. The product's name opens the guideline on its own page, where Actions offers Edit and Remove.
The bin on a row deletes the guideline at once, without asking. There is no undo. If you are not sure, use Remove on the guideline's own page, which asks first.
Delete many at once
Actions → Delete 42 guidelines deletes every guideline the list shows, on all its pages — the number is how many that is. With no filter that is every guideline on your farm. Filter the list first to delete less: filtered to one crop, it deletes that crop's guidelines and leaves the rest.
It asks first, because there is no undo. Export the list before you delete, so you have it to go back to. When it is done it says how many went — Deleted 42 PHI guidelines. It is not offered when the list shows no guidelines.
New applications get no PHI days for the products and crops you deleted, until you add their guidelines again, and the application screen does not warn you. The guidelines you did not delete still fill applications as before.
A change does not reach applications already made. An application keeps the intervals it was given when the product was added to it. On an application still at Instruct, Re-apply PHI guidelines on its PHI card brings in what the list says now.
Export the list
Actions → Export to JSON downloads your guidelines as a file. It takes the list as you see it: if you have filtered it to one crop, the file holds that crop only.
The file is the format the import takes. Use it to keep a copy before you change a lot of guidelines, or to set up a second farm that grows the same crops from the first.
Import from a file
Actions → Import from JSON. Choose the file under Import file. It
must be a .json file in the export's format, up to 3 MB.

Press Upload. Intecrop reads every row, then saves:
- A row for a product and crop you already have replaces it. The intervals and comments come from the file. It does not make a second guideline.
- A row for a new product and crop is added.
- Guidelines the file does not name stay as they are, unless you tick the box below.
When it is done it says how many rows it saved — Imported 3 PHI guidelines.

It is all or nothing. Each row must name a product your farm can use and a crop on your farm, with a PHI of 0 to 366 days and a re-entry of 0 to 168 hours. If even one row fails, nothing is saved and it says how many rows were wrong:
Nothing was imported: 1 guideline needs a crop on your farm and a tradename your farm can use, PHI of 0 to 366 days, and re-entry of 0 to 168 hours.
Fix the file and upload it again. A file that is not an export at all gets
Nothing was imported: the file is not a list of PHI guidelines. A file that is
not .json, or is over 3 MB, is marked not accepted as soon as you choose it,
and Upload imports nothing.
A file from another farm imports as long as every product in it is one your farm can use and every crop in it is one on your farm. A product that farm added for itself and that your farm cannot see refuses the whole file, and so does a crop your farm does not grow: a guideline for it would never be used. Your own file still imports a guideline for a crop you have since taken off your farm, as long as a guideline for that crop is still in your list.
What the file holds
Each guideline is one entry with tradename_id and crop_id — Intecrop's own
numbers for the product and the crop — and phi_days, phi_comment,
reentry_interval and reentry_comment. The tradename beside it is there so
a person can read the file; the import goes by the numbers and ignores the name.
Changing a name in the file changes nothing.
If you leave reentry_interval out of a row altogether, the import gives it 24
hours, as the form does. To leave it empty, write null, which is what the
export writes.
Delete existing guidelines before import
Ticking Delete existing guidelines before import deletes every PHI guideline on your farm — not only the ones the list is filtered to — and then saves the rows in the file. Afterwards your list is exactly the file: a guideline the file does not name is gone, with no undo.
If the file is refused, nothing is deleted either. The same goes for ticking it with no file chosen, or with a file that holds no guidelines: nothing is imported and nothing is deleted — Nothing was imported: choose a file to replace the list with. To clear the whole list, use Delete many at once with no filter.
Only tick it when you mean to replace the whole list, and export the list first so you have it to go back to.