Clinical Document Architecture V2.0.1
2.1.0-draft1 - 1st Draft

This page is part of the CDA: Clinical Document Architecture (v2.1.0-draft1: CDA 2.1 Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions

Logical Model: PIVL-TS - TTL Profile

Active as of 2023-01-16

TTL representation of the PIVL-TS logical model.

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "PIVL-TS"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>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.</p>\n    </div>"
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" ];
     fhir:Extension.valueUri [ fhir:value "urn:hl7-org:v3" ]
  ]; # 
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"]; # 
  fhir:StructureDefinition.version [ fhir:value "2.1.0-draft1"]; # 
  fhir:StructureDefinition.name [ fhir:value "PIVL-TS"]; # 
  fhir:StructureDefinition.title [ fhir:value "PIVL-TS: PeriodicIntervalOfTime (V3 Data Type)"]; # 
  fhir:StructureDefinition.status [ fhir:value "active"]; # 
  fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean]; # 
  fhir:StructureDefinition.date [ fhir:value "2023-01-16T16:39:50+11:00"^^xsd:dateTime]; # 
  fhir:StructureDefinition.publisher [ fhir:value "Health Level 7"]; # 
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Cross-Group Projects" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cgp" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "cgp@lists.HL7.org" ]     ]
  ]; # 
  fhir:StructureDefinition.description [ fhir:value "An interval of time that recurs periodically. Periodic intervals have two properties, phase and period. The phase specifies the \"interval prototype\" that is repeated every period."]; # 
  fhir:StructureDefinition.fhirVersion [ fhir:value "5.0.0-snapshot3"]; # 
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ]; # 
  fhir:StructureDefinition.kind [ fhir:value "logical"]; # 
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; # 
  fhir:StructureDefinition.type [ fhir:value "PIVL_TS"]; # 
  fhir:StructureDefinition.baseDefinition [
     fhir:value "http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS";
     fhir:link <http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS>
  ]; # 
  fhir:StructureDefinition.derivation [ fhir:value "specialization"]; # 
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "PIVL_TS" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS" ];
       fhir:ElementDefinition.short [ fhir:value "Base for all types and resources" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Base" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.source [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
           fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "PIVL_TS.nullFlavor" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.nullFlavor" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.label [ fhir:value "Exceptional Value Detail" ];
       fhir:ElementDefinition.definition [ fhir:value "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "ANY.nullFlavor" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://terminology.hl7.org/ValueSet/v3-NullFlavor";
           fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "PIVL_TS.value" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format" ];
         fhir:Extension.valueCode [ fhir:value "YYYYMMDDHHMMSS.UUUU[+|-ZZzz]" ]       ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.value" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.definition [ fhir:value "A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TS.value" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "PIVL_TS.inclusive" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.inclusive" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies whether the limit is included in the interval (interval is closed) or excluded from the interval (interval is open)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "TS.inclusive" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "PIVL_TS.operator" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.operator" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.definition [ fhir:value "A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "SXCM_TS.operator" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "PIVL_TS.phase" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.phase" ];
       fhir:ElementDefinition.label [ fhir:value "Phase" ];
       fhir:ElementDefinition.definition [ fhir:value "A prototype of the repeating interval, specifying the duration of each occurrence and anchors the periodic interval sequence at a certain point in time." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "PIVL_TS.phase" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS" ]       ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "PIVL_TS.period" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.period" ];
       fhir:ElementDefinition.label [ fhir:value "Period" ];
       fhir:ElementDefinition.definition [ fhir:value "A time duration specifying as a reciprocal measure of the frequency at which the periodic interval repeats." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "PIVL_TS.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]       ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "PIVL_TS.alignment" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.alignment" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.label [ fhir:value "Alignment to the Calendar" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "PIVL_TS.alignment" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "PIVL_TS.institutionSpecified" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.institutionSpecified" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.label [ fhir:value "Institution Specified Timing" ];
       fhir:ElementDefinition.definition [ fhir:value "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\".)" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "PIVL_TS.institutionSpecified" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ]     ]
  ]; # 
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "PIVL_TS" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "PIVL_TS.phase" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.phase" ];
       fhir:ElementDefinition.label [ fhir:value "Phase" ];
       fhir:ElementDefinition.definition [ fhir:value "A prototype of the repeating interval, specifying the duration of each occurrence and anchors the periodic interval sequence at a certain point in time." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS" ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "PIVL_TS.period" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.period" ];
       fhir:ElementDefinition.label [ fhir:value "Period" ];
       fhir:ElementDefinition.definition [ fhir:value "A time duration specifying as a reciprocal measure of the frequency at which the periodic interval repeats." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "PIVL_TS.alignment" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.alignment" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.label [ fhir:value "Alignment to the Calendar" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "PIVL_TS.institutionSpecified" ];
       fhir:ElementDefinition.path [ fhir:value "PIVL_TS.institutionSpecified" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.label [ fhir:value "Institution Specified Timing" ];
       fhir:ElementDefinition.definition [ fhir:value "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\".)" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ]     ]
  ]. # 

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.