@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/cda/stds/core/StructureDefinition/TEL> a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "TEL"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>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.</p>\n    </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/tools/StructureDefinition/logical-target>
     ] ;
     fhir:value [
       a fhir:Boolean ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
         ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "not-applicable"
         ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/tools/StructureDefinition/xml-namespace>
     ] ;
     fhir:value [
       a fhir:Uri ;
       fhir:v "urn:hl7-org:v3"^^xsd:anyURI ;
       fhir:l <urn:hl7-org:v3>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-container"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/tools/StructureDefinition/logical-container>
     ] ;
     fhir:value [
       a fhir:Uri ;
       fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"^^xsd:anyURI ;
       fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument>
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL"^^xsd:anyURI ;
     fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/TEL>
  ] ; # 
  fhir:version [ fhir:v "2.0.3-sd"] ; # 
  fhir:name [ fhir:v "TEL"] ; # 
  fhir:title [ fhir:v "TEL: TelecommunicationAddress (V3 Data Type)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-06-12T07:06:38+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level 7"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "structdog@lists.HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "A telephone number (voice or fax), e-mail address, or other locator for a resource 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."] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [
       fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
       fhir:l <http://hl7.org/v3>
     ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [
     fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TEL"^^xsd:anyURI ;
     fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/TEL>
  ] ; # 
  fhir:baseDefinition [
     fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ANY"^^xsd:anyURI ;
     fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/ANY>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2.0.3-sd"
       ]
     ] ) ;
     fhir:element ( [
       fhir:id [ fhir:v "TEL" ] ;
       fhir:path [ fhir:v "TEL" ] ;
       fhir:short [ fhir:v "Base for all types and resources" ] ;
       fhir:definition [ fhir:v "Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type." ] ;
       fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Base" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "value-null" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "value and nullFlavor are mutually exclusive (one must be present)" ] ;
         fhir:expression [ fhir:v "(value | nullFlavor).count() = 1" ]
       ] ) ;
       fhir:isModifier [ fhir:v false ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "TEL.nullFlavor" ] ;
       fhir:path [ fhir:v "TEL.nullFlavor" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Exceptional Value Detail" ] ;
       fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "ANY.nullFlavor" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>
         ]
       ]
     ] [
       fhir:id [ fhir:v "TEL.value" ] ;
       fhir:path [ fhir:v "TEL.value" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "TEL.value" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "url"^^xsd:anyURI ;
           fhir:l fhir:url
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/url"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/url>
         ] )
       ] )
     ] [
       fhir:id [ fhir:v "TEL.useablePeriod" ] ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype>
         ] ;
         fhir:value [
           a fhir:Canonical ;
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS>
         ]
       ] ) ;
       fhir:path [ fhir:v "TEL.useablePeriod" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Useable Period" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "TEL.useablePeriod" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS>
         ]
       ] [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS>
         ]
       ] [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS>
         ]
       ] [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS>
         ]
       ] )
     ] [
       fhir:id [ fhir:v "TEL.use" ] ;
       fhir:path [ fhir:v "TEL.use" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Use Code" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "TEL.use" ] ;
         fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse|2.0.0"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse?version=2.0.0>
         ]
       ]
     ] )
  ] ; # 
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "TEL" ] ;
       fhir:path [ fhir:v "TEL" ] ;
       fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "value-null" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "value and nullFlavor are mutually exclusive (one must be present)" ] ;
         fhir:expression [ fhir:v "(value | nullFlavor).count() = 1" ]
       ] )
     ] [
       fhir:id [ fhir:v "TEL.value" ] ;
       fhir:path [ fhir:v "TEL.value" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "url"^^xsd:anyURI ;
           fhir:l fhir:url
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/url"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/url>
         ] )
       ] )
     ] [
       fhir:id [ fhir:v "TEL.useablePeriod" ] ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype>
         ] ;
         fhir:value [
           a fhir:Canonical ;
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS>
         ]
       ] ) ;
       fhir:path [ fhir:v "TEL.useablePeriod" ] ;
       fhir:representation ( [ fhir:v "typeAttr" ] ) ;
       fhir:label [ fhir:v "Useable Period" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS>
         ]
       ] [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS>
         ]
       ] [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS>
         ]
       ] [
         fhir:code [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS>
         ]
       ] )
     ] [
       fhir:id [ fhir:v "TEL.use" ] ;
       fhir:path [ fhir:v "TEL.use" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:label [ fhir:v "Use Code" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [
           fhir:v "code"^^xsd:anyURI ;
           fhir:l fhir:code
         ] ;
         fhir:profile ( [
           fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
           fhir:l <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>
         ] )
       ] ) ;
       fhir:binding [
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [
           fhir:v "http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse|2.0.0"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/ValueSet/v3-TelecommunicationAddressUse?version=2.0.0>
         ]
       ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

