---
id: HSCP-T-018
titre: "AI notice in documents produced with an AI system"
titre_court: "Check the AI notice in documents handed out"
type: note
objet: test
langue: en
statut: brouillon
version: 0.1
verifie_le: 2026-12-02
traduit_de: LISEZ-MOI.md
traduit_de_version: 0.1
traduit_de_empreinte: b31bbbe68d0f5815
traduction: modèle de langue, glossaire catalogue/glossaire-en.yaml
source: traduction de LISEZ-MOI.md, version 0.1
sensibilite: interne
licence: Apache-2.0
gestes: [HSCP-G-144, HSCP-G-250]
recette: HSCP-R-031
piece: export
---

# AI notice in documents produced with an AI system

## What the test checks

The artefact is the export of the documents of a period, one JSON object per document (JSON Lines): `document`, `type`, `genere_par_ia`, `systeme` (`nom`, `version`), `usage`, `mention`, `remis` (handed to the patient or to a third party), `valide_par`, `valide_le`.

The test accepts the export if each document produced with AI carries a system, a version, a use and a notice that contains the name and version of the system; and if each document handed out carries the professional who validated it, the validation date, and a notice that names this professional.

It reports, without rejecting, a document produced without AI that carries an AI notice.

## Running the test

```sh
python3 verifier.py documents.jsonl
```

`--json` gives the answer in JSON. Exit code: 0 artefact accepted, 1 artefact rejected, 2 incorrect call. Python 3.10 or later, no dependencies.

## Examples

- `exemples/valide/`: a report handed out with its full notice, an internal summary with its notice, a report written without AI. Accepted.
- `exemples/refuse/`: report without a notice, notice naming neither the right version nor the professional, result without a version, report handed out without validation, unreadable line. Rejected.

## What the test does not say

- It does not say that the notice is legible or well placed in the document: the review of the screenshots judges that.
- It does not say that the patient was informed before use, or that the level of information was the right one.
- It does not see documents that left the product by another route than the export.
