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 - JSON Profile

Active as of 2023-01-16

JSON representation of the PIVL-TS logical model.

Raw json | Download


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