PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.13-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedDateTime
description: This supports the exchange of dates and/or times.  The extension date and/or time is carried along with a code to identify the type of date and/or time.
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: ExtensionUKCoreTypedDateTime
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        dateTimeType:
          match: {}
          schema:
            short: Code to identify the type of time/date.
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: dateTimeType}
                type: uri
                index: 2
              value:
                short: A ValueSet to identify the type of date time.
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept: {type: CodeableConcept, short: A ValueSet to identify the type of date time., choiceOf: value, index: 5}
            required: [value, valueCodeableConcept]
        dateTime:
          match: {}
          schema:
            short: The specific business related date and/or  time.
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: uri, value: dateTime}
                type: uri
                index: 7
              value:
                short: The date and/or time.
                choices: [valueDateTime]
                index: 9
              valueDateTime: {type: dateTime, short: The date and/or time., choiceOf: value, index: 10}
            required: [value, valueDateTime]
  url:
    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedDateTime'}
    type: uri
    index: 11
  value:
    choices: []
    index: 13
package_version: 0.0.13-pre-release
extensions:
  dateTimeType:
    url: null
    short: Code to identify the type of time/date.
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: dateTimeType}
        type: uri
        index: 2
      value:
        short: A ValueSet to identify the type of date time.
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept: {type: CodeableConcept, short: A ValueSet to identify the type of date time., choiceOf: value, index: 5}
    required: [value, valueCodeableConcept]
  dateTime:
    url: null
    short: The specific business related date and/or  time.
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: uri, value: dateTime}
        type: uri
        index: 7
      value:
        short: The date and/or time.
        choices: [valueDateTime]
        index: 9
      valueDateTime: {type: dateTime, short: The date and/or time., choiceOf: value, index: 10}
    required: [value, valueDateTime]
class: extension
kind: complex-type
url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedDateTime
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.2.0