Item | DT | Card | Conf | Description | Label |
---|
hl7:entry
| | 0 … 1 | | | plCdntry |
@typeCode
| cs | 0 … 1 | | |
hl7:templateId
| | 1 … 1 | M | | plCdntry |
@root
| oid | 1 … 1 | F | 2.16.840.1.113883.3.4424.13.10.4.7 |
hl7:supply
| | 1 … 1 | M | | plCdntry |
@classCode
| cs | 1 … 1 | F | SPLY |
@moodCode
| cs | 1 … 1 | F | RQO |
hl7:id
| II | 0 … * | | | plCdntry |
hl7:text
| ED | 1 … 1 | R | | plCdntry |
hl7:reference
| TEL | 1 … 1 | M | | plCdntry |
@value
| st | 1 … 1 | R | |
| Schematron assert | role | error | |
| test | ancestor::hl7:section//*[@ID=substring(current()/@value,2)] | |
| Message | Referencja musi wskazywać na konkretny element tekstu sekcji o danym ID | |
hl7:effectiveTime
| IVL_TS | 0 … 1 | | | plCdntry |
@xsi:type
| st | 1 … 1 | F | IVL_TS |
hl7:low
| IVXB_TS | 1 … 1 | M | | plCdntry |
| Schematron assert | role | error | |
| test | concat(substring(@value,1,4),'-',substring(@value,5,2),'-01') castable as xs:date | |
| Message | Pierwsze 6 cyfr daty powinno być w formacie YYYYMM | |
hl7:high
| IVXB_TS | 1 … 1 | | | plCdntry |
| Schematron assert | role | error | |
| test | concat(substring(@value,1,4),'-',substring(@value,5,2),'-01') castable as xs:date | |
| Message | Pierwsze 6 cyfr daty powinno być w formacie YYYYMM | |
| Schematron report | role | error | |
| test | (number(hl7:high/@value)-number(hl7:low/@value))>2 | |
| Message | Zlecenie na zaopatrzenie można wystawić maksymalnie na trzy mięsiące | |
hl7:quantity
| PQ | 1 … 1 | M | | plCdntry |
@value
| real | 1 … 1 | R | |
@unit
| cs | 0 | NP | NP/not present |
hl7:product
| | 1 … 1 | M | | plCdntry |
@typeCode
| cs | 0 … 1 | F | PRD |
hl7:manufacturedProduct
| | 1 … 1 | M | | plCdntry |
@classCode
| cs | 0 … 1 | F | MANU |
hl7:id
| II | 0 … * | | | plCdntry |
hl7:manufacturedMaterial
| | 1 … 1 | M | | plCdntry |
@classCode
| cs | 0 … 1 | F | MMAT |
@determinerCode
| cs | 0 … 1 | F | KIND |
hl7:code
| CE | 1 … 1 | M | | plCdntry |
@code
| cs | 1 … 1 | R | |
@displayName
| st | 1 … 1 | R | |
@codeSystem
| CONF | 1 … 1 | F | 2.16.840.1.113883.3.4424.11.1.43 |