Difference between revisions of "DTr1 IVL TS"

(Automated ADBot page content)
(Automated ADBot page content)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
=IVL_TS Interval of Time Stamp=
 
=IVL_TS Interval of Time Stamp=
Datatype Release 1: IVL_TS
+
{| class="artdecorwiki"
 +
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors
 +
|-
 +
| style="height:30px; vertical-align:middle;" | '''IVL_TS''' || style="vertical-align:middle;" |  || style="vertical-align:middle;" | [[DTr1_IVL_TS.EPSOS.TZ|IVL_TS.EPSOS.TZ]] [[DTr1_IVL_TS.IPS.TZ|IVL_TS.IPS.TZ]] [[DTr1_IVL_TS.EPSOS.TZ.OPT|IVL_TS.EPSOS.TZ.OPT]] [[DTr1_IVL_TS.CH.TZ|IVL_TS.CH.TZ]]
 +
|}
 +
 
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-
 
| @value ||  optional  || ts
 
| @value ||  optional  || ts
 
|-
 
|-
| @operatorAEHIP ||  optional  || cs
+
| @operator
 +
*A
 +
*E
 +
*H
 +
*I
 +
*P
 +
||  optional  || cs
 
|-
 
|-
 
| @nullFlavor ||  optional  || cs
 
| @nullFlavor ||  optional  || cs
Line 21: Line 32:
 
|-
 
|-
 
|}
 
|}
==Core Schematron Rules CSR==
+
==Core Schematron Rules (CSR)==
The following rules are defined in the base core schematrons.
+
The following rules are defined in the base core schematrons ({{Error}} errors, {{Warning}} warnings, {{Info}} infos).
 
{{ConstraintBox|Rule ID: '''IVL_TS'''
 
{{ConstraintBox|Rule ID: '''IVL_TS'''
 
Extends Rule(s): [[DTr1_SXCM_TS|SXCM_TS]]  
 
Extends Rule(s): [[DTr1_SXCM_TS|SXCM_TS]]  
  
 
Constraints
 
Constraints
*{{Error}} dtr1-1-IVL_TS: null violation. Cannot have @nullFlavor and @value or child elements, or the other way around
+
*{{Error}} dtr1-2-IVL_TS: null violation. Cannot have @nullFlavor and @value or other child elements
*{{Error}} dtr1-2-IVL_TS: null violation. Cannot have @nullFlavor and @value on any child elements
 
 
*{{Error}} dtr1-3-IVL_TS: co-occurence violation. Cannot have @value and other child elements
 
*{{Error}} dtr1-3-IVL_TS: co-occurence violation. Cannot have @value and other child elements
*{{Error}} dtr1-4-IVL_TS: co-occurence violation. Cannot have center and other child elements
+
*{{Error}} dtr1-4-2-IVL_TS: co-occurence violation. Cannot have @value and child elements
 +
*{{Error}} dtr1-4-3-IVL_TS: co-occurence violation. Cannot have center and other elements
 +
*{{Error}} dtr1-4-4-IVL_TS: co-occurence violation. Cannot have width and have both low and high elements
 
*{{Error}} dtr1-5-IVL_TS: no updateMode on IVL attributes
 
*{{Error}} dtr1-5-IVL_TS: no updateMode on IVL attributes
 
*{{Error}} dtr1-6-IVL_TS: low/@value must not be equal to high/@value
 
*{{Error}} dtr1-6-IVL_TS: low/@value must not be equal to high/@value
 
*{{Error}} dtr1-1-PQR: width element: no unit without value
 
*{{Error}} dtr1-1-PQR: width element: no unit without value
 
*{{Error}} dtr1-2-PQR: width element: no translation
 
*{{Error}} dtr1-2-PQR: width element: no translation
*{{Error}} dtr1-7-IVL_TS: low/@value must be before high/@value
+
*{{Error}} dtr1-7-1-IVL_TS: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)
 +
*{{Error}} dtr1-7-2-IVL_TS: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)
 
*{{Error}} dtr1-8-IVL_TS: for width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed
 
*{{Error}} dtr1-8-IVL_TS: for width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed
*{{Info}} dtr1-9-IVL_TS: <value-of select&#061;"local-name()"/>/low "<value-of select&#061;"$theTS"/>" is not a valid timestamp.
+
*{{Info}} dtr1-9-IVL_TS: <value-of select&#061;"local-name()"/>/low "<value-of select&#061;"$theTSLow"/>" is not a valid timestamp.
 
*{{Info}} dtr1-9-IVL_TS: <value-of select&#061;"local-name()"/>/center "<value-of select&#061;"$theTS"/>" is not a valid timestamp.
 
*{{Info}} dtr1-9-IVL_TS: <value-of select&#061;"local-name()"/>/center "<value-of select&#061;"$theTS"/>" is not a valid timestamp.
*{{Info}} dtr1-9-IVL_TS: <value-of select&#061;"local-name()"/>/high "<value-of select&#061;"$theTS"/>" is not a valid timestamp.
+
*{{Info}} dtr1-9-IVL_TS: <value-of select&#061;"local-name()"/>/high "<value-of select&#061;"$theTSHigh"/>" is not a valid timestamp.
 +
*{{Error}} dtr1-7-IVL_TS: low/@value (<value-of select&#061;"$theTSLow"/>) must be before high/@value (<value-of select&#061;"$theTSHigh"/>)
 
}}
 
}}
==Additional Strict Schematron Rules SSR==
 
The following rules are defined in the strict mode of core schematrons.
 
 
[[Category:DTr1|IVL_TS]]
 
[[Category:DTr1|IVL_TS]]

Latest revision as of 07:00, 7 April 2019

IVL_TS Interval of Time Stamp

Datatype Release 1 Realm Flavors
IVL_TS IVL_TS.EPSOS.TZ IVL_TS.IPS.TZ IVL_TS.EPSOS.TZ.OPT IVL_TS.CH.TZ

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@value   optional   ts
@operator
  • A
  • E
  • H
  • I
  • P
  optional   cs
@nullFlavor   optional   cs
hl7:low  0 .. 1  IVXB_TS
hl7:center  0 .. 1  TS
hl7:width  0 .. 1  PQ
hl7:high  0 .. 1  IVXB_TS

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_TS

Extends Rule(s): SXCM_TS

Constraints

  • Alert.png dtr1-2-IVL_TS: null violation. Cannot have @nullFlavor and @value or other child elements
  • Alert.png dtr1-3-IVL_TS: co-occurence violation. Cannot have @value and other child elements
  • Alert.png dtr1-4-2-IVL_TS: co-occurence violation. Cannot have @value and child elements
  • Alert.png dtr1-4-3-IVL_TS: co-occurence violation. Cannot have center and other elements
  • Alert.png dtr1-4-4-IVL_TS: co-occurence violation. Cannot have width and have both low and high elements
  • Alert.png dtr1-5-IVL_TS: no updateMode on IVL attributes
  • Alert.png dtr1-6-IVL_TS: low/@value must not be equal to high/@value
  • Alert.png dtr1-1-PQR: width element: no unit without value
  • Alert.png dtr1-2-PQR: width element: no translation
  • Alert.png dtr1-7-1-IVL_TS: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)
  • Alert.png dtr1-7-2-IVL_TS: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)
  • Alert.png dtr1-8-IVL_TS: for width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed
  • Info.png dtr1-9-IVL_TS: <value-of select="local-name()"/>/low "<value-of select="$theTSLow"/>" is not a valid timestamp.
  • Info.png dtr1-9-IVL_TS: <value-of select="local-name()"/>/center "<value-of select="$theTS"/>" is not a valid timestamp.
  • Info.png dtr1-9-IVL_TS: <value-of select="local-name()"/>/high "<value-of select="$theTSHigh"/>" is not a valid timestamp.
  • Alert.png dtr1-7-IVL_TS: low/@value (<value-of select="$theTSLow"/>) must be before high/@value (<value-of select="$theTSHigh"/>)