The QR code
Each prescription document will have a QR code on it. The prescriber shall put it on the prescriptions. It will allow the pharmacy or the labo to easily retrieve the data from the ePrescription server.
If for some reason the prescription was not send to the server, no QR code shall be printed.
It is a data matrix of size 20mm x 20mm with 7% redundancy. It contains fields sparated by the symbol #. It fields has a prefix to identify it. The possible fields are:
| Description | Prefix | Content | Example |
|---|---|---|---|
| CNS type of the document | DMORL01 for a lab prescription DMOR01 for a medication prescription DMMHM01 for Mémoire d'honoraires |
Empty (only the prefix is used) | DMORL01 DMOR01 DMMHM01 |
| eSanté Id of the document | AGI | UUID of the CarePlan (without prefix urn:uuid:) |
AGIa1f68873-000d-4287-b134-2530d8ca070a |
| Type of the document | AGT | DT-65004 for a labo prescription 761938008 for a medication prescription DT-20003 for mémoire d’honoraires |
AGTDT-65004 AGT761938008 AGTDT-20003 |
| Matricule | M | Patient matricule | M1901020100130 |
| Code Prestataire | P | Prescriber's code prestatire, without space nor dash | P12345672 |
| Date | D | Prescription's date, format format YYYYMMDD | D20200525 |
| Paid | Q | If the document is a Mémoire d'honoraires: takes the value 1 if it is paid, 0 otherwise | Q1 Q0 |
| Pages | N | Total number of pages | N2 |
Exemple prescription: DMORL01#AGIa1f68873-000d-4287-b134-2530d8ca070a#AGTDT- 65004#M1901020100130#P12345672#D20200525#N1
Some fields may be absent (e.g. #Q in this example), that's why the data shall be retrieved using the prefixes and not by counting the position of the field.
Don't forget to add the "urn:uuid:" prefix to the CarePlanID