Item | DT | Card | Conf | Description | Label |
---|
hl7:supply
| | | | | Dispntry |
@classCode
| cs | 1 … 1 | F | SPLY |
@moodCode
| cs | 1 … 1 | F | EVN |
hl7:templateId
| II | 1 … 1 | M | | Dispntry |
@root
| oid | 1 … 1 | F | 1.3.182.11.6.2.3.1 |
hl7:id
| II | 1 … 1 | R | @root is mandatory and shall represent the line ID of the dispensation. Only if there is no medicine dispensed for this line, can the nullFlavor NA be used | Dispntry |
@root
| uuid | 0 … 1 | | |
@extension
| st | 0 | NP | NP/not present |
@nullFlavor
| cs | 0 … 1 | F | NA |
hl7:code
| CD | 1 … 1 | M | | Dispntry |
| CONF | The value of @code shall be drawn from value set 1.3.182.10.36.1 eSante_FillCodes (DYNAMIC) |
|
hl7:quantity
| REAL | 1 … 1 | R | If no medicine is dispensed, @value=0. Otherwise, @value >0, unless it is a retour client, then @value<0
| Dispntry |
hl7:product
| | 0 … 1 | R | If no medicine is dispensed, product shall be omitted. Otherwise, product shall be present | Dispntry |
@typeCode
| cs | 0 … 1 | F | PRD |
hl7:manufacturedProduct
| | | | Contains 1.3.182.11.5.2.3.2 Medicine Entry (DYNAMIC) | Dispntry |
@classCode
| cs | 0 … 1 | F | MANU |
hl7:entryRelationship
| | 1 … 1 | M | | Dispntry |
@typeCode
| cs | 1 … 1 | F | REFR |
hl7:substanceAdministration
| ANY | 1 … 1 | M | | Dispntry |
@classCode
| cs | 1 … 1 | F | SBADM |
@moodCode
| cs | 1 … 1 | F | INT |
hl7:templateId
| II | 1 … 1 | M | | Dispntry |
@root
| uid | 1 … 1 | F | 1.3.6.1.4.1.19376.1.9.1.3.11 |
hl7:id
| II | 1 … 1 | M | | Dispntry |
@root
| uuid | 1 … 1 | R | This is the ID of the original prescription line. It shall be present. |
@extension
| st | 0 | NP | NP/not present |
hl7:code
| CD | 1 … 1 | M | | Dispntry |
@code
| cs | 1 … 1 | F | PREItem |
@codeSystem
| oid | 1 … 1 | F | 1.3.6.1.4.1.19376.1.9.2.2 |
@displayName
| st | 0 … 1 | F | Prescription Item |
@codeSystemName
| st | 0 … 1 | F | IHE Pharmacy Item Type List |
hl7:consumable
| | 1 … 1 | M | | Dispntry |
hl7:manufacturedProduct
| ANY | 1 … 1 | M | | Dispntry |
hl7:manufacturedMaterial
| ANY | 1 … 1 | R | | Dispntry |
@nullFlavor
| cs | 1 … 1 | F | NA |
Included | | | from 1.3.182.11.6.1.3.1 Left to dispense (DYNAMIC) |
hl7:entryRelationship
| | 1 … 1 | M | | Leftense |
@typeCode
| cs | 1 … 1 | F | COMP |
hl7:templateId
| | 1 … 1 | M | | Leftense |
@root
| uid | 1 … 1 | F | 1.3.182.11.6.1.3.1 |
hl7:supply
| | 1 … 1 | M | | Leftense |
@classCode
| cs | 1 … 1 | F | SPLY |
@moodCode
| cs | 1 … 1 | F | RQO |
hl7:quantity
| PQ | 1 … 1 | M | | Leftense |
@value
| int | 1 … 1 | R | |
| Schematron assert | role | error | |
| test | (hl7:quantity/@value=0 and hl7:id/@nullFlavor and count(hl7:product)=0) or (hl7:quantity/@value!=0 and hl7:id/@root and hl7:product) | |
| Message | If no medicine is dispensed, quantity/@value is 0, id has a nullFlavor NA and there is no product. Otherwise, an id and a product shall be present | |