FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/ts-simple

Packageau.digitalhealth.cda.schema
TypeStructureDefinition
Idts-simple
FHIR VersionR5
Sourcehttp://ns.electronichealth.net.au/cda/https://build.fhir.org/ig/AuDigitalHealth/cda-au-schema/StructureDefinition-ts-simple.html
URLhttp://hl7.org/cda/stds/core/StructureDefinition/ts-simple
Version1.0.0
Statusactive
Date2025-07-21T22:05:27+00:00
Namets
Titlets: Point in Time
Realmau
Authoritynational
DescriptionA quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.
TypedateTime
Kindprimitive-type

Resources that use this resource

StructureDefinition
TSTS: PointInTime (V3 Data Type)

Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Primitive type 'ts'


Source

{
  "resourceType": "StructureDefinition",
  "id": "ts-simple",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
      "valueUri": "urn:hl7-org:v3"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-container",
      "valueUri": "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "has-range"
    }
  ],
  "url": "http://hl7.org/cda/stds/core/StructureDefinition/ts-simple",
  "version": "1.0.0",
  "name": "ts",
  "title": "ts: Point in Time",
  "status": "active",
  "experimental": false,
  "date": "2025-07-21T22:05:27+00:00",
  "publisher": "HL7",
  "description": "A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression.",
  "fhirVersion": "5.0.0",
  "kind": "primitive-type",
  "abstract": false,
  "type": "dateTime",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/dateTime",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "dateTime",
        "path": "dateTime",
        "short": "Primitive Type dateTime",
        "definition": "A date, date-time or partial date (e.g. just year or year + month).  If hours and minutes are specified, a UTC offset SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored.                 Dates SHALL be valid dates.",
        "comment": "UTC offset is allowed for dates and partial dates",
        "min": 0,
        "max": "*",
        "base": {
          "path": "dateTime",
          "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,
        "isSummary": false
      },
      {
        "id": "dateTime.id",
        "path": "dateTime.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references)",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "dateTime.extension",
        "path": "dateTime.extension",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "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"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "dateTime.value",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format",
            "valueString": "YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"
          }
        ],
        "path": "dateTime.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for dateTime",
        "definition": "The actual value",
        "min": 0,
        "max": "1",
        "base": {
          "path": "dateTime.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "dateTime"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?)?)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.DateTime"
          }
        ],
        "isModifier": false,
        "isSummary": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "dateTime.id",
        "path": "dateTime.id",
        "max": "0"
      },
      {
        "id": "dateTime.extension",
        "path": "dateTime.extension",
        "max": "0"
      },
      {
        "id": "dateTime.value",
        "extension": [
          {
            "url": "http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format",
            "valueString": "YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"
          }
        ],
        "path": "dateTime.value"
      }
    ]
  }
}