cda datatypes nblock voc common

Element : PIVLTS (XML Type: PIVL_TS )


Package : datatypes

XML Type : PIVL_TS

Comments : Note: because this type is defined as an extension of SXCM_T, all of the attributes and elements accepted for T are also accepted by this definition. However, they are NOT allowed by the normative description of this type. Unfortunately, we cannot write a general purpose schematron contraints to provide that extra validation, thus applications must be aware that instance (fragments) that pass validation with this might might still not be legal.


Parent : SXCMTS


Name Type cardinality Comment
phase
Element : phase
IVLTS 0...1 A prototype of the repeating interval specifying the duration of each occurrence and anchors the periodic interval sequence at a certain point in time.
period
Element : period
PQ 0...1 A time duration specifying a reciprocal measure of the frequency at which the periodic interval repeats.
alignment
Attribute : alignment
CalendarCycle 0...1 Specifies if and how the repetitions are aligned to the cycles of the underlying calendar (e.g., to distinguish every 30 days from "the 5th of every month".) A non-aligned periodic interval recurs independently from the calendar. An aligned periodic interval is synchronized with the calendar.
institutionSpecified
Attribute : institutionSpecified
Boolean 0...1 Indicates whether the exact timing is up to the party executing the schedule (e.g., to distinguish "every 8 hours" from "3 times a day".)

constraint_datatypes_period_unit

  • self.period.oclIsUndefined() or (not self.period.nullFlavor.oclIsUndefined()) or ( (not self.period.unit.oclIsUndefined()) and self.period.unit='s' or self.period.unit='min' or self.period.unit='h' or self.period.unit='d' or self.period.unit='wk' or self.period.unit='mo' )
  • common period unit are s, min, h, d, wk, mo

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PIVL_TS">
      
<xs:annotation>
         
<xs:documentation>
            Note: because this type is defined as an extension of SXCM_T,
            all of the attributes and elements accepted for T are also
            accepted by this definition.  However, they are NOT allowed
            by the normative description of this type.  Unfortunately,
            we cannot write a general purpose schematron contraints to
            provide that extra validation, thus applications must be
            aware that instance (fragments) that pass validation with
            this might might still not be legal.
         
</xs:documentation>
      
</xs:annotation>
      
<xs:complexContent>
         
<xs:extension base="SXCM_TS">
            
<xs:sequence>
               
<xs:element maxOccurs="1" minOccurs="0" name="phase" type="IVL_TS">
                  
<xs:annotation>
                     
<xs:documentation>
                        A prototype of the repeating interval specifying the
                        duration of each occurrence and anchors the periodic
                        interval sequence at a certain point in time.
                     
</xs:documentation>
                  
</xs:annotation>
               
</xs:element>
               
<xs:element maxOccurs="1" minOccurs="0" name="period" type="PQ">
                  
<xs:annotation>
                     
<xs:documentation>
                        A time duration specifying a reciprocal measure of
                        the frequency at which the periodic interval repeats.
                     
</xs:documentation>
                  
</xs:annotation>
               
</xs:element>
            
</xs:sequence>
            
<xs:attribute name="alignment" type="CalendarCycle" use="optional">
               
<xs:annotation>
                  
<xs:documentation>
                     Specifies if and how the repetitions are aligned to
                     the cycles of the underlying calendar (e.g., to
                     distinguish every 30 days from "the 5th of every
                     month".) A non-aligned periodic interval recurs
                     independently from the calendar. An aligned periodic
                     interval is synchronized with the calendar.
                  
</xs:documentation>
               
</xs:annotation>
            
</xs:attribute>
            
<xs:attribute default="false" name="institutionSpecified" type="bl" use="optional">
               
<xs:annotation>
                  
<xs:documentation>
                     Indicates whether the exact timing is up to the party
                     executing the schedule (e.g., to distinguish "every 8
                     hours" from "3 times a day".)
                  
</xs:documentation>
               
</xs:annotation>
            
</xs:attribute>
         
</xs:extension>
      
</xs:complexContent>
   
</xs:complexType>