cda datatypes nblock voc common

Element : TEL (XML Type: TEL )


Package : datatypes

XML Type : TEL

Comments : A telephone number (voice or fax), e-mail address, or other locator for a resource (information or service) mediated by telecommunication equipment. The address is specified as a Universal Resource Locator (URL) qualified by time specification and use codes that help in deciding which address to use for a given time and purpose.


Parent : URL


Name Type cardinality Comment
useablePeriod
Element : useablePeriod
SXCMTS 0...* Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address.
use
Attribute : use
String 0...* One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need.

constraint_datatypes_value

  • self.value.oclIsUndefined() or self.matches(self.value, '^fax:.*$') or self.matches(self.value, '^file:.*$') or self.matches(self.value, '^ftp:.*$') or self.matches(self.value, '^http:.*$') or self.matches(self.value, '^https:.*$') or self.matches(self.value, '^mailto:.*$') or self.matches(self.value, '^mllp:.*$') or self.matches(self.value, '^modem:.*$') or self.matches(self.value, '^mfs:.*$') or self.matches(self.value, '^tel:.*$') or self.matches(self.value, '^telnet:.*$') or self.matches(self.value, '^im:.*$') or self.matches(self.value, '^sms:.*$') or self.matches(self.value, '^#.*$')
  • value attribute may have this form: fax:.*, file:.*, ftp:.*, http:.*, https:.*, mailto:.*, mllp:.*, modem:.*, mfs:.*, tel:.*, telnet:.*, im:.*, sms:.*, or '#.*' (CDA standard, datatypes description, URLScheme values)

constraint_datatypes_value2

  • self.value.oclIsUndefined() or self.matches(self.value, '^(\\w+:.+|#.+)$')
  • value attribute SHALL have this form : ^(\\w+:.+|#.+)$

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TEL">
      
<xs:annotation>
         
<xs:documentation>
            A telephone number (voice or fax), e-mail address, or
            other locator for a resource (information or service)
            mediated by telecommunication equipment. The address
            is specified as a Universal Resource Locator (URL)
            qualified by time specification and use codes that help
            in deciding which address to use for a given time and
            purpose.
         
</xs:documentation>
      
</xs:annotation>
      
<xs:complexContent>
         
<xs:extension base="URL">
            
<xs:sequence>
               
<xs:element maxOccurs="unbounded" minOccurs="0" name="useablePeriod" type="SXCM_TS">
                  
<xs:annotation>
                     
<xs:documentation>
                     Specifies the periods of time during which the
                     telecommunication address can be used.  For a
                     telephone number, this can indicate the time of day
                     in which the party can be reached on that telephone.
                     For a web address, it may specify a time range in
                     which the web content is promised to be available
                     under the given address.
                  
</xs:documentation>
                  
</xs:annotation>
               
</xs:element>
            
</xs:sequence>
            
<xs:attribute name="use" type="set_TelecommunicationAddressUse" use="optional">
               
<xs:annotation>
                  
<xs:documentation>
                     One or more codes advising a system or user which
                     telecommunication address in a set of like addresses
                     to select for a given telecommunication need.
                  
</xs:documentation>
               
</xs:annotation>
            
</xs:attribute>
         
</xs:extension>
      
</xs:complexContent>
   
</xs:complexType>