PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.nhsengland.stu1@1.1.0
    https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
description: This supports the exchange of time periods. The extension time period is carried along with a code to identify whether the data is recorded for legal or operational periods.
package_name: fhir.r4.nhsengland.stu1
derivation: constraint
name: ExtensionEnglandTypedPeriod
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        dateType:
          match: {}
          schema:
            short: Whether the Date Period is 'Legal' or 'Operational'.
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: dateType}
                type: uri
                index: 2
              value:
                short: A ValueSet to identify the type of period.
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, short: A ValueSet to identify the type of period., choiceOf: value, index: 5}
            required: [value, valueCoding]
        period:
          match: {}
          schema:
            short: The specific business related date or time period.
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: uri, value: period}
                type: uri
                index: 7
              value:
                short: The date or time period.
                choices: [valuePeriod]
                index: 9
              valuePeriod: {type: Period, short: The date or time period., choiceOf: value, index: 10}
            required: [value, valuePeriod]
  url:
    pattern: {type: uri, value: 'https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod'}
    type: uri
    index: 11
  value:
    choices: []
    index: 13
package_version: 1.1.0
extensions:
  dateType:
    url: null
    short: Whether the Date Period is 'Legal' or 'Operational'.
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: dateType}
        type: uri
        index: 2
      value:
        short: A ValueSet to identify the type of period.
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, short: A ValueSet to identify the type of period., choiceOf: value, index: 5}
    required: [value, valueCoding]
  period:
    url: null
    short: The specific business related date or time period.
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: uri, value: period}
        type: uri
        index: 7
      value:
        short: The date or time period.
        choices: [valuePeriod]
        index: 9
      valuePeriod: {type: Period, short: The date or time period., choiceOf: value, index: 10}
    required: [value, valuePeriod]
class: extension
kind: complex-type
url: https://fhir.nhs.uk/England/StructureDefinition/Extension-England-TypedPeriod
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0