DTr1 IVL MO

IVL_MO Interval of Monetary Amount

Datatype Release 1 Realm
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 (Alert.png errors, Warning.png warnings, Info.png infos).

Check-circle.svg Rule ID: IVL_MO

Extends Rule(s): SXCM_MO

Constraints

  • Alert.png dtr1-2-IVL_MO: null violation. Cannot have @nullFlavor and @value or other child elements
  • Alert.png dtr1-3-IVL_MO: co-occurence violation. Cannot have @value and other child elements except translations
  • Alert.png dtr1-4-2-IVL_MO: co-occurence violation. Cannot have @value and child elements
  • Alert.png dtr1-4-3-IVL_MO: co-occurence violation. Cannot have center and other elements
  • Alert.png dtr1-4-4-IVL_MO: co-occurence violation. Cannot have width and have both low and high elements
  • Alert.png dtr1-5-IVL_MO: no updateMode on IVL attributes
  • Alert.png dtr1-1-PQR: width element: no unit without value
  • Alert.png dtr1-2-PQR: width element: no translation
  • Alert.png dtr1-7-IVL_MO: low/@value must be lower than or equal to high/@value
  • Alert.png dtr1-7-1-IVL_MO: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)
  • Alert.png dtr1-7-2-IVL_MO: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)
  • Alert.png dtr1-8-IVL_MO: currency in low and high must be equal
  • Alert.png dtr1-9-IVL_MO: co-occurence violation. Cannot have translation and other child elements except translation