IVL_MO Interval of Monetary Amount
Datatype Release_1 | Realm | Flavors |
---|---|---|
IVL_MO |
Registered Attributes and Child Elements
@Attribute / Element | Cardinality | Datatype |
---|---|---|
@value | optional | real |
@currency | optional | cs |
@operator ( A | E | H | I | P ) | optional | cs |
@nullFlavor | optional | cs |
hl7:low | 0 .. 1 | IVXB_MO |
hl7:center | 0 .. 1 | MO |
hl7:width | 0 .. 1 | PQ |
hl7:high | 0 .. 1 | IVXB_MO |
Core Schematron Rules (CSR)
The following rules are defined in the base core schematrons ( errors, warnings and infos).
Rule ID: IVL_MO
Extends Rule(s): SXCM_MO
Level | Constraints | ID |
---|---|---|
null violation. Cannot have @nullFlavor and @value or other child elements | dtr1‑2‑IVL_MO | |
co-occurence violation. Cannot have @value and other child elements except translations | dtr1‑3‑IVL_MO | |
co-occurence violation. Cannot have @value and child elements | dtr1‑4‑2‑IVL_MO | |
co-occurence violation. Cannot have center and other elements | dtr1‑4‑3‑IVL_MO | |
co-occurence violation. Cannot have width and have both low and high elements | dtr1‑4‑4‑IVL_MO | |
no updateMode on IVL attributes | dtr1‑5‑IVL_MO | |
width element: no unit without value | dtr1‑1‑PQR | |
width element: no translation | dtr1‑2‑PQR | |
low/@value must be lower than or equal to high/@value | dtr1‑7‑IVL_MO | |
low must be lower than or equal to high. Found low boundary PINF (Positive Infinity) | dtr1‑7‑1‑IVL_MO | |
low must be lower than or equal to high. Found high boundary NINF (Negative Infinity) | dtr1‑7‑2‑IVL_MO | |
currency in low and high must be equal | dtr1‑8‑IVL_MO | |
co-occurence violation. Cannot have translation and other child elements except translation | dtr1‑9‑IVL_MO |