PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.nhsengland.stu1@1.4.0
    https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime
description: This supports the exchange of non-clinical business dates and 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.nhsengland.stu1
derivation: constraint
name: ExtensionEnglandTypedDateTime
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        type:
          match: {}
          schema:
            short: Code to identify the type of time/date.
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: type}
                type: uri
                index: 2
              value:
                short: A ValueSet to identify the type of business date time.
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, short: A ValueSet to identify the type of business date time., choiceOf: value, index: 5}
            required: [value, valueCoding]
        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.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime'}
    type: uri
    index: 11
  value:
    choices: []
    index: 13
package_version: 1.4.0
extensions:
  type:
    url: null
    short: Code to identify the type of time/date.
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: type}
        type: uri
        index: 2
      value:
        short: A ValueSet to identify the type of business date time.
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, short: A ValueSet to identify the type of business date time., choiceOf: value, index: 5}
    required: [value, valueCoding]
  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.nhs.uk/England/StructureDefinition/Extension-England-TypedDateTime
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0